/*
Theme Name: Harbor Slate Journal
Author: Ellis North Workshop
Description: A classic PHP WordPress theme with a Lumis-inspired editorial SaaS layout for flexible private publishing.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: nycff-theme
*/

:root {
  --nycff-bg: #ffffff;
  --nycff-surface: #f9fafb;
  --nycff-soft: #f3f4f6;
  --nycff-border: #e5e7eb;
  --nycff-border-strong: #d1d5db;
  --nycff-text: #000000;
  --nycff-muted: #616161;
  --nycff-dark: #1c1c1c;
  --nycff-accent: #124eeb;
  --nycff-accent-soft: #dae2f7;
  --nycff-accent-glow: #80b9ff;
  --nycff-font-body: "Inter", Arial, sans-serif;
  --nycff-font-heading: "Inter Display", "Inter", Arial, sans-serif;
  --nycff-shadow: 0 0.5px 0.9px rgba(0, 0, 0, 0.16), 0 1.8px 3.3px rgba(0, 0, 0, 0.14), 0 8px 14px rgba(0, 0, 0, 0.03);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--nycff-bg);
  color: var(--nycff-text);
  font-family: var(--nycff-font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.nycff-screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.nycff-site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--nycff-border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
}

.nycff-header__inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  min-height: 72px;
  padding: 14px 20px;
}

.nycff-brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: 0;
}

.nycff-brand__mark {
  background: linear-gradient(135deg, var(--nycff-accent), var(--nycff-accent-glow));
  border-radius: 4px;
  box-shadow: 0 0 0 5px var(--nycff-accent-soft);
  height: 12px;
  transform: rotate(45deg);
  width: 12px;
}

.nycff-brand__logo {
  border-radius: 6px;
  max-height: 34px;
  width: auto;
}

.nycff-brand__name {
  color: var(--nycff-text);
  display: block;
  font-family: var(--nycff-font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nycff-nav {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.nycff-menu {
  align-items: center;
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nycff-menu__item {
  position: relative;
}

.nycff-menu a,
.nycff-menu__empty {
  border-radius: 8px;
  color: var(--nycff-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 12px;
}

.nycff-submenu {
  background: #ffffff;
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  box-shadow: var(--nycff-shadow);
  display: none;
  left: 0;
  list-style: none;
  margin: 0;
  min-width: 190px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 6px);
  z-index: 70;
}

.nycff-menu__item--has-children:hover > .nycff-submenu,
.nycff-menu__item--has-children:focus-within > .nycff-submenu {
  display: block;
}

.nycff-submenu .nycff-menu__link {
  display: flex;
  width: 100%;
}

.nycff-menu a:hover,
.nycff-menu a:focus {
  background: var(--nycff-soft);
  outline: none;
}

.nycff-header__actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nycff-mobile-menu {
  display: none;
}

.nycff-button {
  align-items: center;
  border: 1px solid var(--nycff-border-strong);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 40px;
  padding: 12px 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nycff-button:hover,
.nycff-button:focus {
  box-shadow: var(--nycff-shadow);
  outline: none;
  transform: translateY(-1px);
}

.nycff-button--primary {
  background: var(--nycff-accent);
  border-color: var(--nycff-accent);
  color: #ffffff;
}

.nycff-button--secondary {
  background: #ffffff;
  color: var(--nycff-text);
}

.nycff-menu-toggle {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  width: 40px;
  z-index: 80;
}

.nycff-menu-toggle::-webkit-details-marker {
  display: none;
}

.nycff-menu-toggle::marker {
  content: "";
}

.nycff-menu-toggle__bars {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 16px;
  justify-content: center;
  width: 18px;
}

.nycff-menu-toggle__bar {
  background: var(--nycff-dark);
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 18px;
}

.nycff-mobile-menu[open] .nycff-menu-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nycff-mobile-menu[open] .nycff-menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nycff-mobile-menu[open] .nycff-menu-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nycff-mobile-panel {
  background: #ffffff;
  border-bottom: 1px solid var(--nycff-border);
  display: none;
  left: 0;
  padding: 10px 20px 20px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 60;
}

.nycff-mobile-panel .nycff-menu {
  align-items: stretch;
  flex-direction: column;
  gap: 4px;
}

.nycff-mobile-panel .nycff-menu a,
.nycff-mobile-panel .nycff-menu__empty {
  border: 1px solid var(--nycff-border);
  justify-content: space-between;
  padding: 14px;
}

.nycff-mobile-panel .nycff-menu__item {
  width: 100%;
}

.nycff-mobile-panel .nycff-submenu {
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 4px;
  margin: 4px 0 0;
  min-width: 0;
  padding: 0 0 0 12px;
  position: static;
}

.nycff-mobile-menu[open] .nycff-mobile-panel {
  display: block;
}

.nycff-main {
  background: var(--nycff-bg);
}

.nycff-hero {
  overflow: hidden;
  padding: 64px 20px 74px;
}

.nycff-hero__wrap {
  margin: 0 auto;
  max-width: 1120px;
  min-height: 640px;
  position: relative;
}

.nycff-hero__media {
  background: var(--nycff-surface);
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  box-shadow: var(--nycff-shadow);
  inset: 0 0 0 31%;
  overflow: hidden;
  position: absolute;
}

.nycff-hero__media::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 26%, rgba(255, 255, 255, 0.16) 58%, rgba(255, 255, 255, 0) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.nycff-hero__media::after {
  background-image:
    linear-gradient(var(--nycff-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--nycff-border) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.22;
  position: absolute;
  z-index: 2;
}

.nycff-hero__image,
.nycff-hero__image-placeholder {
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.nycff-hero__image-placeholder {
  background:
    radial-gradient(circle at 20% 20%, var(--nycff-accent-soft), transparent 28%),
    linear-gradient(135deg, #ffffff, var(--nycff-surface));
}

.nycff-hero__card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  box-shadow: var(--nycff-shadow);
  max-width: 486px;
  padding: 30px;
  position: relative;
  top: 86px;
  z-index: 4;
}

.nycff-hero__badge {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  box-shadow: var(--nycff-shadow);
  color: var(--nycff-muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  line-height: 1;
  margin-bottom: 22px;
  padding: 9px 10px;
}

.nycff-hero__badge-dot {
  background: var(--nycff-accent);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.nycff-hero__title {
  color: var(--nycff-text);
  font-family: var(--nycff-font-heading);
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.nycff-hero__description {
  color: var(--nycff-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 20px 0 0;
  max-width: 430px;
}

.nycff-prompt {
  background: #ffffff;
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  box-shadow: var(--nycff-shadow);
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 12px;
}

.nycff-prompt__input {
  border: 0;
  color: var(--nycff-text);
  min-height: 46px;
  outline: none;
  padding: 0 4px;
  width: 100%;
}

.nycff-prompt__input::placeholder {
  color: var(--nycff-muted);
}

.nycff-prompt__footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.nycff-prompt__mini {
  color: var(--nycff-muted);
  font-family: "Fragment Mono", monospace;
  font-size: 11px;
}

.nycff-prompt__button {
  background: var(--nycff-dark);
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  min-height: 32px;
  padding: 8px 12px;
}

.nycff-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.nycff-hero__note {
  color: var(--nycff-muted);
  font-family: "Fragment Mono", monospace;
  font-size: 11px;
  margin: 10px 0 0;
}

.nycff-hero__chips {
  bottom: 28px;
  display: grid;
  gap: 12px;
  position: absolute;
  right: 28px;
  width: 260px;
  z-index: 5;
}

.nycff-hero__chip {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  box-shadow: var(--nycff-shadow);
  padding: 14px;
}

.nycff-hero__chip-label {
  color: var(--nycff-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
}

.nycff-hero__chip-value {
  color: var(--nycff-text);
  display: block;
  font-family: var(--nycff-font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.nycff-intro {
  border-top: 1px solid var(--nycff-border);
  padding: 44px 20px;
}

.nycff-intro__inner {
  align-items: start;
  display: grid;
  gap: 26px;
  grid-template-columns: 0.8fr 1.2fr;
  margin: 0 auto;
  max-width: 1120px;
}

.nycff-eyebrow {
  color: var(--nycff-accent);
  font-family: "Fragment Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.nycff-intro__text {
  color: var(--nycff-muted);
  font-size: 21px;
  line-height: 1.45;
  margin: 0;
}

.nycff-section {
  background: var(--nycff-surface);
  border-top: 1px solid var(--nycff-border);
  padding: 74px 20px;
}

.nycff-section__inner {
  margin: 0 auto;
  max-width: 1120px;
}

.nycff-section__header {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.nycff-section__title {
  color: var(--nycff-text);
  font-family: var(--nycff-font-heading);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 8px 0 0;
}

.nycff-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nycff-card {
  background: #ffffff;
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  box-shadow: var(--nycff-shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.nycff-card__media {
  background: var(--nycff-soft);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.nycff-card__image,
.nycff-card__placeholder {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.nycff-card__placeholder {
  background:
    linear-gradient(135deg, var(--nycff-accent-soft), transparent),
    linear-gradient(180deg, #ffffff, var(--nycff-soft));
}

.nycff-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.nycff-card__meta,
.nycff-single__meta,
.nycff-archive__meta {
  color: var(--nycff-muted);
  display: flex;
  flex-wrap: wrap;
  font-family: "Fragment Mono", monospace;
  font-size: 12px;
  gap: 8px;
  line-height: 1.35;
}

.nycff-card__title {
  font-family: var(--nycff-font-heading);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

.nycff-card__title a:hover,
.nycff-card__title a:focus {
  color: var(--nycff-accent);
  outline: none;
}

.nycff-card__excerpt {
  color: var(--nycff-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.nycff-card__more {
  color: var(--nycff-accent);
  font-size: 14px;
  font-weight: 800;
  margin-top: auto;
}

.nycff-empty {
  background: #ffffff;
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  color: var(--nycff-muted);
  padding: 28px;
}

.nycff-archive-header,
.nycff-single {
  margin: 0 auto;
  max-width: 920px;
  padding: 70px 20px;
}

.nycff-archive-header {
  border-bottom: 1px solid var(--nycff-border);
}

.nycff-archive-header__title,
.nycff-single__title {
  font-family: var(--nycff-font-heading);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin: 10px 0 16px;
}

.nycff-archive-header__description {
  color: var(--nycff-muted);
  font-size: 18px;
  max-width: 660px;
}

.nycff-single__hero {
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  box-shadow: var(--nycff-shadow);
  margin: 30px 0;
  overflow: hidden;
}

.nycff-single__image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.nycff-content {
  color: var(--nycff-dark);
  font-size: 18px;
  line-height: 1.8;
}

.nycff-content > * {
  margin-bottom: 1.2em;
}

.nycff-content h2,
.nycff-content h3,
.nycff-content h4 {
  color: var(--nycff-text);
  font-family: var(--nycff-font-heading);
  letter-spacing: 0;
  line-height: 1.15;
  margin-top: 1.6em;
}

.nycff-content a {
  color: var(--nycff-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nycff-content blockquote {
  border-left: 3px solid var(--nycff-accent);
  color: var(--nycff-muted);
  margin-left: 0;
  padding-left: 18px;
}

.nycff-single__footer {
  border-top: 1px solid var(--nycff-border);
  margin-top: 44px;
  padding-top: 22px;
}

.nycff-post-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 28px;
}

.nycff-post-nav a {
  background: #ffffff;
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  box-shadow: var(--nycff-shadow);
  color: var(--nycff-text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 14px;
}

.nycff-pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.nycff-pagination a {
  background: #ffffff;
  border: 1px solid var(--nycff-border);
  border-radius: 8px;
  color: var(--nycff-text);
  font-weight: 800;
  padding: 12px 14px;
}

.nycff-site-footer {
  background: var(--nycff-dark);
  color: #ffffff;
  padding: 54px 20px 30px;
}

.nycff-footer__inner {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.2fr 1fr;
  margin: 0 auto;
  max-width: 1120px;
}

.nycff-footer__title {
  font-family: var(--nycff-font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 14px;
}

.nycff-footer__text {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  max-width: 460px;
}

.nycff-footer__nav {
  justify-self: end;
}

.nycff-footer__nav .nycff-menu {
  align-items: flex-end;
  flex-direction: column;
}

.nycff-footer__nav .nycff-menu a,
.nycff-footer__nav .nycff-menu__empty {
  color: rgba(255, 255, 255, 0.76);
}

.nycff-footer__nav .nycff-menu a:hover,
.nycff-footer__nav .nycff-menu a:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nycff-footer__bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 36px auto 0;
  max-width: 1120px;
  padding-top: 22px;
}

.nycff-footer__copy {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  margin: 0;
}

@media (max-width: 1020px) {
  .nycff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nycff-hero__chips {
    display: none;
  }
}

@media (max-width: 780px) {
  .nycff-header__inner {
    min-height: 66px;
  }

  .nycff-nav,
  .nycff-header__cta {
    display: none;
  }

  .nycff-mobile-menu {
    display: block;
  }

  .nycff-hero {
    padding: 30px 16px 54px;
  }

  .nycff-hero__wrap {
    min-height: 0;
  }

  .nycff-hero__media {
    inset: auto 0 0 0;
    min-height: 330px;
    position: relative;
  }

  .nycff-hero__media::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.86) 78%, rgba(255, 255, 255, 1) 100%);
  }

  .nycff-hero__image,
  .nycff-hero__image-placeholder {
    min-height: 330px;
  }

  .nycff-hero__card {
    margin: -82px 14px 0;
    max-width: none;
    padding: 24px;
    top: auto;
  }

  .nycff-hero__title {
    font-size: 38px;
  }

  .nycff-prompt__footer,
  .nycff-section__header,
  .nycff-footer__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .nycff-prompt__button {
    width: 100%;
  }

  .nycff-intro__inner,
  .nycff-footer__inner {
    grid-template-columns: 1fr;
  }

  .nycff-footer__nav {
    justify-self: start;
  }

  .nycff-footer__nav .nycff-menu {
    align-items: flex-start;
  }

  .nycff-section {
    padding: 54px 16px;
  }

  .nycff-section__title,
  .nycff-footer__title {
    font-size: 32px;
  }

  .nycff-archive-header__title,
  .nycff-single__title {
    font-size: 40px;
  }
}

@media (max-width: 560px) {
  .nycff-grid {
    grid-template-columns: 1fr;
  }

  .nycff-hero__actions {
    flex-direction: column;
  }

  .nycff-button {
    width: 100%;
  }

  .nycff-intro__text {
    font-size: 18px;
  }
}
