/* =========================================================
   H9D Studio — Design System v5
   Apple × Leica × A24. Premium creative archive.
   Zero decoration. Pure intention.
   ========================================================= */

/* --- Custom Properties --------------------------------------- */
:root {
  /* Light palette */
  --bg:          #FAFAFA;
  --surface:     #FFFFFF;
  --surface-2:   #F2F2F4;

  /* Text */
  --text:        #2F2F31;
  --text-2:      #707070;
  --text-3:      #A8A8A8;

  /* Borders */
  --border:      #E8E8E8;
  --border-2:    #C8C8C8;

  /* Dark palette */
  --dark:        #0D0D0F;
  --dark-surf:   #161618;
  --dark-surf-2: #1E1E20;
  --charcoal:    #2F2F31;
  --dark-bdr:    rgba(255,255,255,0.09);
  --dark-bdr-2:  rgba(255,255,255,0.18);
  --ink:         #F5F5F7;
  --ink-2:       rgba(245,245,247,0.62);
  --ink-3:       rgba(245,245,247,0.32);

  /* Accent */
  --pink:        #ff2f73;
  --pink-dark:   #ff4b87;
  --pink-bg:     rgba(255, 47, 115, 0.08);

  /* Typography */
  --font: "Avenir Next", Avenir, "SF Pro Display", -apple-system,
          BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --nav-h:  64px;
  --max-w:  1280px;
  --pad:    clamp(1.5rem, 5vw, 4rem);

  /* Radius */
  --r-sm: 5px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow:      0 8px 24px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:   0 20px 56px rgba(0,0,0,0.13), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-dark: 0 24px 64px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);

  /* Motion */
  --t:      0.18s ease;
  --t-med:  0.28s ease;
  --t-slow: 0.45s ease;
}

/* --- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100svh;
}
img    { display: block; max-width: 100%; height: auto; }
a      { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul     { list-style: none; }
input, textarea, select { font: inherit; background: none; border: none; outline: none; }

/* --- Typography ---------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600; line-height: 1.12; letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1rem, 1.5vw, 1.2rem); }
p  { color: var(--text-2); line-height: 1.72; }

.eyebrow {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.75rem;
}

/* --- Layout -------------------------------------------------- */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.section    { padding: clamp(5rem, 8vw, 8rem) 0; }
.section-sm { padding: clamp(3rem, 5vw, 5rem) 0; }

/* --- Navigation ---------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav.scrolled { background: #111111; }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(2rem, 5vw, 4rem);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: clamp(40px, 4vw, 54px); width: auto; display: block; }

.nav-links {
  display: flex; align-items: center;
  gap: clamp(2rem, 3vw, 2.75rem);
}
.nav-links a {
  font-size: 0.82rem; font-weight: 400;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--t);
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--pink);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-links a:hover { color: #ffffff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: #ffffff; font-weight: 500; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links .nav-contact { color: rgba(255,255,255,.85); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: #ffffff; border-radius: 2px; transition: var(--t-med);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile nav overlay — tap outside to close */
.nav-overlay {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-overlay.visible { opacity: 1; pointer-events: auto; }

/* --- Hero — Light --------------------------------------------- */
.hero {
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(5.5rem, 10vw, 8.5rem);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-logo {
  height: clamp(72px, 10vw, 120px); width: auto; max-width: 80vw;
  display: block; margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}
.hero-headline {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: 0.01em;
  max-width: 440px;
  margin: 0 auto clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.75;
}
.hero-disciplines {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
  margin: 0 auto clamp(2rem, 3.5vw, 2.75rem);
}
.hero-disciplines span {
  font-size: 0.6rem; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-3);
}
.hd-sep {
  width: 1px; height: 10px; background: var(--border-2); flex-shrink: 0;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; flex-wrap: wrap;
}

/* --- Page Hero (interior pages) ------------------------------ */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { color: var(--pink); }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .desc {
  font-size: 1rem; color: var(--text-2);
  max-width: 520px; line-height: 1.72;
}

/* --- Section Heading ----------------------------------------- */
.section-heading { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-heading.row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.section-title { color: var(--text); font-size: clamp(1.2rem, 2vw, 1.6rem); }
.section-link  {
  font-size: 0.8rem; font-weight: 600; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: color var(--t);
}
.section-link:hover { color: var(--text); }
.section-link::after { content: '→'; font-size: 0.9em; }

/* --- Buttons ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.7rem 1.5rem; border-radius: var(--r-sm); cursor: pointer;
  transition: all var(--t); white-space: nowrap; border: 1.5px solid transparent;
}
.btn-primary { background: var(--pink); color: #fff; border-color: var(--pink); }
.btn-primary:hover {
  background: var(--pink-dark); border-color: var(--pink-dark);
  transform: translateY(-2px);
  transform: translateY(-1px); box-shadow: 0 4px 18px rgba(212,83,122,0.3);
}
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost  { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-2); }
.btn-white  { background: #fff; color: var(--dark); border-color: #fff; }
.btn-white:hover { background: var(--ink); }
.btn-ink    { background: var(--ink); color: var(--dark); border-color: var(--ink); }
.btn-ink:hover { background: #fff; }
.btn-dark-outline { background: transparent; color: var(--ink); border-color: var(--dark-bdr-2); }
.btn-dark-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-sm { font-size: 0.74rem; padding: 0.45rem 0.95rem; }
.btn-lg { font-size: 0.95rem; padding: 0.85rem 2rem; }

/* --- Stats Strip --------------------------------------------- */
.stats-strip {
  background: var(--surface); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0;
}
.stats-strip.dark {
  background: var(--dark-surf); border-top-color: var(--dark-bdr);
  border-bottom-color: var(--dark-bdr);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem; text-align: center; }
.stat-number {
  display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700;
  color: var(--text); line-height: 1; letter-spacing: -0.04em; margin-bottom: 0.375rem;
}
.stats-strip.dark .stat-number { color: var(--ink); }
.stat-label {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3);
}
.stats-strip.dark .stat-label { color: var(--ink-3); }

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* --- Editorial Work Grid (homepage) -------------------------- */
.home-editorial {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  background: var(--text);
}
.he-item {
  position: relative; overflow: hidden;
  background: var(--dark-surf); cursor: zoom-in;
}
.he-item.he-featured {
  grid-row: span 2;
}
.he-item img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block; aspect-ratio: 2/3;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.he-item.he-featured img { aspect-ratio: auto; height: 100%; }
.he-item:hover img { transform: scale(1.04); }
.he-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.22s;
  display: flex; align-items: flex-end; padding: 1.25rem;
}
.he-item:hover .he-item-overlay { opacity: 1; }
.he-item-title {
  font-size: 0.8rem; font-weight: 600; color: #fff; line-height: 1.3;
  transform: translateY(5px); transition: transform 0.22s;
}
.he-item:hover .he-item-title { transform: none; }

/* --- Dark Archive Section ------------------------------------ */
.archive-section {
  background: var(--dark);
  padding: clamp(5rem, 9vw, 9rem) 0;
}
.archive-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.archive-statement {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 600; line-height: 1.15; letter-spacing: -0.025em;
  color: var(--ink);
}
.archive-statement em {
  font-style: normal; color: var(--pink);
}
.archive-body {
  display: flex; flex-direction: column; gap: 2.5rem;
}
.archive-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.archive-stat-n {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.04em;
  color: var(--ink); display: block; line-height: 1;
}
.archive-stat-l {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 0.3rem; display: block;
}
.archive-text {
  font-size: 0.9375rem; color: var(--ink-2); line-height: 1.75; max-width: 380px;
}

/* --- Books Row (homepage preview) ---------------------------- */
.books-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.books-row-item {
  display: flex; flex-direction: column; gap: 0.75rem;
  text-decoration: none;
  transition: transform var(--t-med);
}
.books-row-item:hover { transform: translateY(-5px); }
.books-row-cover {
  aspect-ratio: 2/3; overflow: hidden;
  border-radius: var(--r); background: var(--surface-2);
  box-shadow: var(--shadow);
}
.books-row-cover img { width: 100%; height: 100%; object-fit: cover; }
.books-row-title {
  font-size: 0.84rem; font-weight: 600; color: var(--text); line-height: 1.3;
}
.books-row-cat {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
}

/* --- About Preview (homepage) -------------------------------- */
.about-preview {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-preview-img {
  border-radius: var(--r-lg);
  max-width: 180px;
}
.about-preview-img img { width: 100%; height: auto; display: block; }
.about-preview-body { display: flex; flex-direction: column; gap: 1.5rem; }
.about-preview-body p {
  font-size: 1rem; color: var(--text-2); line-height: 1.75; max-width: 440px;
}

/* --- CTA Box ------------------------------------------------- */
.cta-dark {
  background: var(--dark);
  padding: clamp(5rem, 9vw, 9rem) 0;
  text-align: center;
}
.cta-dark h2 { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.cta-dark p  { color: var(--ink-2); max-width: 400px; margin: 0 auto 2.5rem; }
.cta-dark .eyebrow { color: var(--pink); }

.cta-light {
  padding: clamp(5rem, 9vw, 9rem) 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-light h2 { color: var(--text); font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.cta-light p  { color: var(--text-2); max-width: 400px; margin: 0 auto 2.5rem; }

/* ============================================================
   WORK PAGE
   ============================================================ */

/* ─── WORK PORTFOLIO — SECTIONED LAYOUT ─────────────────────── */
.work-portfolio { background: var(--dark); }

.work-section {
  padding: clamp(3rem, 5vw, 5rem) 0;
  border-top: 1px solid var(--dark-bdr);
}
.work-section:first-child { border-top: none; padding-top: clamp(2.5rem, 4vw, 4rem); }

.work-section-head {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.work-section-label {
  display: block; font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink);
}
.work-section-title {
  font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 700;
  color: var(--ink); line-height: 1.2; letter-spacing: -0.01em;
}

/* Featured film posters — 3-col, large */
.work-grid-featured {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1vw, 0.875rem);
}
.work-grid-featured .keyart-item {
  aspect-ratio: 2 / 3; border-radius: var(--r-lg);
  box-shadow: 0 6px 24px rgba(0,0,0,0.55);
}

/* Film key art archive — 4-col, compact */
.work-grid-film {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.work-grid-film .keyart-item { aspect-ratio: 2 / 3; }

/* Brand & digital — 3-col, wider cards */
.work-grid-brand {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1vw, 0.875rem);
}
.work-grid-brand .keyart-item { aspect-ratio: 4 / 3; border-radius: var(--r); }

/* Publishing — 4-col, book cover proportions */
.work-grid-publishing {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}
.work-grid-publishing .keyart-item {
  aspect-ratio: 2 / 3; border-radius: var(--r);
  box-shadow: 0 6px 24px rgba(0,0,0,0.55);
}

/* Archive — 6-col, square */
.work-grid-archive {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}
.work-grid-archive .keyart-item { aspect-ratio: 1 / 1; opacity: 0.75; }
.work-grid-archive .keyart-item:hover { opacity: 1; }

/* CTA wrap */
.work-cta-wrap {
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--dark-bdr);
}

/* Base card */
.keyart-item {
  position: relative; overflow: hidden;
  background: #111; cursor: pointer;
}
.keyart-item::after {
  content: 'View';
  position: absolute; top: 0.55rem; right: 0.55rem; z-index: 2;
  padding: 0 0.45rem; height: 18px; border-radius: 4px;
  line-height: 18px; text-align: center;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  opacity: 0; transition: opacity 0.2s;
}
.keyart-item:hover::after { opacity: 1; }
.keyart-item img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.keyart-item:hover img { transform: scale(1.05); }
.keyart-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.08) 55%, transparent 100%);
  opacity: 0; transition: opacity 0.22s;
  display: flex; align-items: flex-end; padding: 1.1rem;
}
.keyart-item:hover .keyart-item-overlay { opacity: 1; }
.ki-meta { transform: translateY(5px); transition: transform 0.22s; }
.keyart-item:hover .ki-meta { transform: none; }
.ki-title { font-size: 0.78rem; font-weight: 600; color: #fff; line-height: 1.3; margin-bottom: 0.2rem; }
.ki-cat   { font-size: 0.55rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

/* ============================================================
   BOOKS PAGE
   ============================================================ */

/* Featured books — dark bg horizontal cards */
.books-featured-section { background: var(--dark); padding: clamp(2rem, 3.5vw, 3.5rem) 0; }
.books-featured-list { display: flex; flex-direction: column; gap: 0; }
.book-card-featured {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem); align-items: center;
  padding: clamp(1.25rem, 2vw, 1.75rem) 0;
  border-bottom: 1px solid var(--dark-bdr);
  transition: opacity var(--t);
}
.book-card-featured:last-child { border-bottom: none; }
.book-card-featured:hover { opacity: 0.92; }
.bcf-cover {
  width: clamp(60px, 8vw, 100px); flex-shrink: 0;
  border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-dark);
  background: var(--dark-surf);
}
.bcf-cover img { width: 100%; display: block; aspect-ratio: 2/3; object-fit: contain; }
.bcf-info { display: flex; flex-direction: column; gap: 0.4rem; }
.bcf-info .eyebrow { color: var(--pink); }
.bcf-info h3 { color: var(--ink); font-size: clamp(0.95rem, 1.6vw, 1.2rem); }
.bcf-info p  { color: var(--ink-2); font-size: 0.85rem; line-height: 1.65; max-width: 480px; margin-top: 0.15rem; }
.bcf-info .btn { margin-top: 0.5rem; align-self: flex-start; }

/* Catalog grid */
.books-catalog-section { padding: clamp(4rem, 6vw, 7rem) 0; }
.books-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.book-card {
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: transform var(--t-med);
}
.book-card:hover { transform: translateY(-4px); }
.book-card-cover {
  aspect-ratio: 2/3; overflow: hidden;
  border-radius: var(--r); background: var(--surface-2);
  box-shadow: var(--shadow);
}
.book-card-cover img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s; }
.book-card:hover .book-card-cover img { transform: scale(1.03); }
.book-cover-placeholder {
  display: flex; align-items: center; justify-content: center;
}
.book-cover-placeholder span {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); text-align: center; padding: 1rem; line-height: 1.6;
}
.book-card-info { display: flex; flex-direction: column; flex: 1; }
.bc-title { font-size: 0.875rem; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 0.2rem; }
.bc-cat   { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.5rem; }
.bc-desc  { font-size: 0.78rem; color: var(--text-2); line-height: 1.55; margin-bottom: 0.875rem; flex: 1; }
.bc-action { margin-top: auto; }

/* Subscribe section */
.subscribe-section {
  background: var(--dark); padding: clamp(5rem, 9vw, 9rem) 0;
}
.subscribe-inner {
  max-width: 520px; margin: 0 auto; text-align: center;
}
.subscribe-inner .eyebrow { color: var(--pink); }
.subscribe-inner h2 { color: var(--ink); margin-bottom: 0.875rem; }
.subscribe-inner p  { color: var(--ink-2); margin-bottom: 2rem; }
.subscribe-form {
  display: flex; background: var(--dark-surf-2); border: 1px solid var(--dark-bdr-2);
  border-radius: var(--r-sm); overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
  max-width: 420px; margin: 0 auto;
}
.subscribe-form:focus-within { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(212,83,122,0.15); }
.subscribe-form input {
  flex: 1; padding: 0.875rem 1.1rem; color: var(--ink);
  font-size: 0.875rem; min-width: 0;
}
.subscribe-form input::placeholder { color: var(--ink-3); }
.subscribe-form button {
  background: var(--pink); color: #fff; font-weight: 600; font-size: 0.78rem;
  padding: 0 1.25rem; white-space: nowrap; transition: background var(--t); flex-shrink: 0;
}
.subscribe-form button:hover { background: var(--pink-dark); }
.subscribe-note { margin-top: 0.875rem; font-size: 0.68rem; color: var(--ink-3); }

/* Free download strip (books.html — light background) */
.free-download-strip {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(2rem, 3.5vw, 3rem) 0;
}
.fds-inner {
  display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
}
.fds-body { flex: 1; min-width: 0; }
.fds-body .eyebrow { display: block; margin-bottom: 0.5rem; }
.fds-body h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--text);
  margin-bottom: 0.4rem; line-height: 1.2;
}
.fds-body p { font-size: 0.875rem; color: var(--text-2); margin: 0; max-width: 380px; line-height: 1.6; }
.fds-form { flex-shrink: 0; width: min(380px, 100%); }
.fds-form .subscribe-form {
  background: var(--surface); border-color: var(--border); max-width: none; margin: 0;
}
.fds-form .subscribe-form input { color: var(--text); }
.fds-form .subscribe-form input::placeholder { color: var(--text-3); }
.fds-note { margin-top: 0.625rem; font-size: 0.65rem; color: var(--text-3); text-align: center; }
.fds-name-input {
  display: block; width: 100%; padding: 0.75rem 1rem; margin-bottom: 0.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
  color: var(--text); font-size: 0.875rem; font-family: inherit;
  transition: border-color var(--t), box-shadow var(--t);
}
.fds-name-input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(212,83,122,0.15); }
.fds-name-input::placeholder { color: var(--text-3); }
.fds-consent {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.68rem; color: var(--text-3); margin-top: 0.625rem;
  cursor: pointer; line-height: 1.5; user-select: none;
}
.fds-consent input[type="checkbox"] { margin-top: 0.15rem; flex-shrink: 0; accent-color: var(--pink); }
@media (max-width: 768px) {
  .fds-inner { flex-direction: column; gap: 1.5rem; }
  .fds-form { width: 100%; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.about-img  {
  border-radius: var(--r-lg);
  max-width: 300px;
}
.about-img img { width: 100%; height: auto; display: block; }

/* Hunter portrait — prevents any parent from clipping face on mobile */
.hunter-portrait {
  width: min(100%, 320px);
  max-width: 320px;
  margin: 0 auto;
  overflow: visible;
  border-radius: 18px;
}
.hunter-portrait img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
}
@media (max-width: 768px) {
  .hunter-portrait {
    width: min(82vw, 260px);
    max-width: 260px;
    overflow: visible;
  }
  .hunter-portrait img {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
  }
}

.about-bio p { margin-bottom: 1.1rem; font-size: 0.9375rem; color: var(--text-2); line-height: 1.78; }
.about-bio p:first-of-type { color: var(--text); font-size: 1.0625rem; }
.veteran-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2); border: 1px solid var(--border-2); border-radius: 100px;
  padding: 0.3rem 0.875rem; margin-bottom: 1.5rem;
}
.quote-block { border-left: 2px solid var(--pink); padding-left: 1.5rem; margin: 1.75rem 0; }
.quote-block p    { font-size: 1rem; font-style: italic; color: var(--text); line-height: 1.65; }
.quote-block cite { display: block; margin-top: 0.6rem; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-style: normal; }

/* Creative Range section */
.creative-range-section {
  background: #111111;
  padding: clamp(3rem, 6vw, 6rem) 0;
}
.creative-range-section .section-header { margin-bottom: 2.5rem; }
.creative-range-section .section-title { max-width: 640px; }
.creative-range-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.creative-range-card {
  background: #181818;
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background var(--t);
}
.creative-range-card:last-child { border-right: none; }
.creative-range-card:hover { background: #1e1e1e; }
.creative-range-icon {
  font-size: 1.1rem;
  color: var(--pink);
  margin-bottom: 1rem;
  display: block;
}
.creative-range-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.creative-range-card p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}

/* Disciplines grid */
.disciplines-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px; background: var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.discipline-item { background: var(--surface); padding: 2rem; transition: background var(--t); }
.discipline-item:hover { background: var(--surface-2); }
.discipline-icon { font-size: 0.875rem; color: var(--text-3); margin-bottom: 1rem; }
.discipline-name { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.discipline-desc { font-size: 0.78rem; color: var(--text-2); line-height: 1.6; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.contact-info-item {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:first-child { border-top: 1px solid var(--border); }
.cil-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.cil-value { font-size: 0.925rem; color: var(--text); }
.cil-value a { color: var(--pink); }
.cil-value a:hover { text-decoration: underline; }

/* ============================================================
   CLIENTS PAGE
   ============================================================ */
.clients-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.client-card { background: var(--surface); transition: background var(--t); }
.client-card:hover { background: var(--surface-2); }
.client-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.client-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.client-card:hover .client-card-img img { transform: scale(1.03); }
.client-card-body { padding: 1.25rem; border-top: 1px solid var(--border); }
.cc-type { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.3rem; }
.cc-name { font-size: 0.925rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.cc-desc { font-size: 0.78rem; color: var(--text-2); line-height: 1.6; }

/* ============================================================
   FORMS
   ============================================================ */
.form-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(2rem, 4vw, 3.5rem);
  position: relative; overflow: hidden;
}
.form-box::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}
.form-group  { margin-bottom: 1.1rem; }
.form-label  { display: block; font-size: 0.74rem; font-weight: 600; color: var(--text-2); margin-bottom: 0.35rem; letter-spacing: 0.01em; }
.form-control {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 0.75rem 1rem; color: var(--text); font-size: 0.875rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-bg); }
.form-control::placeholder { color: var(--text-3); }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.4rem 0.95rem; border-radius: 100px;
  border: 1px solid var(--dark-bdr-2); background: transparent;
  font-size: 0.72rem; font-weight: 600; color: var(--ink-3);
  cursor: pointer; transition: all var(--t); letter-spacing: 0.02em;
}
.filter-btn:hover { border-color: rgba(255,255,255,0.35); color: var(--ink-2); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--dark); }
.filter-count { font-size: 0.56rem; opacity: 0.5; }

/* Light filter bar */
.filter-bar.light .filter-btn { border-color: var(--border); color: var(--text-2); background: var(--surface); }
.filter-bar.light .filter-btn:hover { border-color: var(--border-2); color: var(--text); }
.filter-bar.light .filter-btn.active { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  visibility: hidden; opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.lightbox.open { visibility: visible; opacity: 1; }
.lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.88); cursor: default;
}
.lightbox-content {
  position: relative; display: flex; flex-direction: column;
  align-items: center; gap: 1rem; z-index: 1;
  max-width: min(90vw, 540px); cursor: default;
}
.lightbox-image {
  display: block; max-width: 90vw; max-height: 88vh; object-fit: contain;
  border-radius: var(--r-sm); box-shadow: 0 28px 70px rgba(0,0,0,0.8);
}
.lightbox-meta { text-align: center; }
.lightbox-meta strong {
  display: block; font-size: 0.875rem; font-weight: 600; color: #fff; margin-bottom: 0.2rem;
}
.lightbox-meta span {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--pink);
}
.lightbox-counter {
  font-size: 0.62rem; font-weight: 500; color: rgba(255,255,255,0.3); margin-top: -0.25rem;
}
.lightbox-close {
  position: absolute; top: -3rem; right: 0;
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06);
  transition: all var(--t); cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.lightbox-close:hover { color: #fff; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.12); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06);
  transition: all var(--t); cursor: pointer; z-index: 2; font-size: 1.25rem;
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-prev:hover, .lightbox-next:hover {
  color: #fff; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.12);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2rem, 3vw, 2.5rem);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; align-items: start;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-brand-logo { height: 20px; width: auto; display: block; margin-bottom: 1rem; }
.footer-brand-copy { font-size: 0.78rem; color: var(--ink-2); line-height: 1.65; max-width: 230px; }
.footer-col h4 {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.8rem; color: var(--ink-2); transition: color var(--t); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-copy  { font-size: 0.7rem; color: var(--ink-3); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: 0.7rem; color: var(--ink-3); transition: color var(--t); }
.footer-legal a:hover { color: var(--ink-2); }

/* ============================================================
   LEGAL & MISC
   ============================================================ */
.legal-content { max-width: 680px; }
.legal-content h2 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin: 2.25rem 0 0.75rem; }
.legal-content p, .legal-content li { font-size: 0.875rem; line-height: 1.75; color: var(--text-2); margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.25rem; }
.legal-content li { list-style: disc; }
.legal-content a { color: var(--pink); }
.legal-content a:hover { text-decoration: underline; }

/* Download page */
.download-page { min-height: 100svh; display: flex; flex-direction: column; background: var(--dark); }
.download-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 4rem var(--pad); }
.download-card {
  max-width: 460px; width: 100%; text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--dark-surf); border: 1px solid var(--dark-bdr);
  border-radius: var(--r-xl); box-shadow: var(--shadow-dark);
  position: relative; overflow: hidden;
}
.download-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}
.download-check {
  width: 52px; height: 52px; background: rgba(212,83,122,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 1.25rem; color: var(--pink);
}

/* Alerts */
.alert { display: flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.1rem; border-radius: var(--r-sm); border: 1px solid; font-size: 0.875rem; margin-bottom: 1.5rem; }
.alert-ok  { background: rgba(34,197,94,0.06); border-color: rgba(34,197,94,0.2); color: #15803d; }
.alert-err { background: rgba(239,68,68,0.06); border-color: rgba(239,68,68,0.2); color: #dc2626; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.fade-up { animation: fadeUp 0.65s ease both; }
[data-delay="1"] { animation-delay: 0.08s; }
[data-delay="2"] { animation-delay: 0.18s; }
[data-delay="3"] { animation-delay: 0.28s; }

/* ============================================================
   UTILITIES
   ============================================================ */
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .home-editorial { grid-template-columns: 2fr 1fr; }
  .home-editorial .he-featured { grid-row: span 2; }
  .work-grid-archive  { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  .nav-logo img { height: 44px; }

  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: min(280px, 75vw);
    background: #111111; border-left: 1px solid rgba(255,255,255,.08);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 2rem 1.75rem; gap: 0;
    transition: right var(--t-slow); z-index: 99;
    box-shadow: -8px 0 40px rgba(0,0,0,0.7);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 0.72rem; padding: 0.875rem 0; width: 100%;
    color: rgba(255,255,255,.85) !important; border-bottom: 1px solid rgba(255,255,255,.08);
    letter-spacing: 0.08em; font-weight: 400; text-transform: uppercase;
  }
  .nav-links a:hover { color: #ffffff !important; }
  .nav-links a::after { display: none; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }

  .home-editorial { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .he-item.he-featured { grid-column: span 2; grid-row: span 1; }
  .he-item.he-featured img { aspect-ratio: 16/9; height: auto; }

  .archive-inner { grid-template-columns: 1fr; gap: 3rem; }
  .books-row { grid-template-columns: repeat(2, 1fr); }
  .about-preview { grid-template-columns: 1fr; }
  .about-preview-img { max-width: 220px; }

  .work-grid-featured { grid-template-columns: repeat(2, 1fr); }
  .work-grid-film     { grid-template-columns: repeat(3, 1fr); }
  .work-grid-brand    { grid-template-columns: repeat(2, 1fr); }
  .work-grid-publishing { grid-template-columns: repeat(2, 1fr); }
  .work-grid-archive  { grid-template-columns: repeat(4, 1fr); }

  .about-grid { grid-template-columns: 1fr; }
  .about-img  { max-width: 260px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .creative-range-grid { grid-template-columns: repeat(2, 1fr); }
  .creative-range-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .creative-range-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .creative-range-card:last-child { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .books-catalog { grid-template-columns: repeat(2, 1fr); }
  .clients-grid  { grid-template-columns: 1fr; }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-content { max-width: 94vw; }
}
@media (max-width: 480px) {
  .hero-logo { height: clamp(56px, 20vw, 80px); }
  .hero-disciplines { gap: 0.75rem; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; max-width: 240px; margin-left: auto; margin-right: auto; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .books-catalog { gap: 1rem; }
  .archive-stats { grid-template-columns: 1fr 1fr; }
  .work-grid-featured { grid-template-columns: 1fr; }
  .work-grid-film     { grid-template-columns: repeat(2, 1fr); }
  .work-grid-brand    { grid-template-columns: 1fr; }
  .work-grid-publishing { grid-template-columns: repeat(2, 1fr); }
  .work-grid-archive  { grid-template-columns: repeat(3, 1fr); }
  .creative-range-grid { grid-template-columns: 1fr; }
  .creative-range-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .creative-range-card:last-child { border-bottom: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal  { opacity: 1 !important; transform: none !important; }
  .fade-up { animation: none !important; opacity: 1 !important; }
}
