/* =========================================================
   The Write Agency: For the page. For the screen.
   Plain CSS, no build step. Upload as-is to Hostinger.
   ========================================================= */

:root {
  --paper: #f4f3f1;
  --paper-2: #ecebe7;
  --sheet: #f8f5ec;
  --ink: #131112;   /* logo black */
  --ink-2: #161616;
  --ink-soft: #3b3b3b;
  --muted: #7a7873;
  --line: #dcd9d2;
  --orange: #fd6913;      /* logo orange */
  --orange-deep: #e05a0c; /* for small orange text on light paper */
  --cream: #efe9dc;

  --serif: "Crimson Text", Georgia, "Times New Roman", serif;   /* all titles + serif text */
  --typewriter: "Courier Prime", "Courier New", Courier, monospace;
  --sans: Futura, "Futura PT", "Jost", "Century Gothic", sans-serif;   /* Jost (free, Futura-style) where Futura isn't installed */
  --mono: "Courier Prime", "Courier New", monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec-pad: clamp(90px, 12vw, 160px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--orange); color: #fff; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--orange); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.dark { background: var(--ink); color: #eeece8; }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }

/* ---------- type ---------- */
.h-xl {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.h-lg { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.4vw, 60px); line-height: 1; }
.h-xl em, .h-lg em { font-style: italic; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.dark .eyebrow { color: #9a978f; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; }
.muted { color: var(--muted); }
.dark .muted { color: #8f8c85; }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s var(--ease);
}
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--orange); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(255,106,26,.7); }
.btn--line { border-color: rgba(0,0,0,.35); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: rgba(0,0,0,.04); transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: #fff; border: 0; }
.btn--orange:hover { background: var(--ink); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 34px;
  font-weight: 500; font-size: 16px;
  text-decoration: none;
  color: var(--orange);
  position: relative;
}
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow::before {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.link-arrow:hover::before { transform: scaleX(1); }
.link-arrow--orange { color: var(--orange-deep); }
.dark .link-arrow--orange { color: var(--orange); }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: -100%;
  z-index: 150; pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--gutter);
  color: var(--ink);
  transition: background .4s, color .4s, padding .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(12, 12, 12, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #efede9;
  padding-top: 16px; padding-bottom: 16px;
}
/* brand: logo mark + wordmark coloured like the logo (THE / AGENCY orange, WRITE ink) */
.nav__brand {
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 14px;
}
.nav__word b { font-weight: 500; color: var(--orange); }
.nav__mark { position: relative; display: block; width: 46px; transition: width .4s var(--ease); }
.nav__mark img { width: 100%; height: auto; transition: opacity .4s; }
.nav__mark-dark { position: absolute; inset: 0; opacity: 0; }
.nav.is-scrolled .nav__mark, .menu-open .nav__mark { width: 38px; }
.nav.is-scrolled .nav__mark-light, .menu-open .nav__mark-light { opacity: 0; }
.nav.is-scrolled .nav__mark-dark, .menu-open .nav__mark-dark { opacity: 1; }
.nav__links { display: flex; gap: 30px; font-size: 14px; }
.nav__links a { position: relative; text-decoration: none; padding: 4px 0; transition: color .25s; }
.nav__links a:not(:first-child)::before {
  content: ""; position: absolute; left: -15px; top: 50%; width: 1px; height: 12px;
  background: currentColor; opacity: .35; transform: translateY(-50%);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--orange); }
.nav:not(.is-scrolled) .nav__links a.is-active { color: var(--orange-deep); }

.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; z-index: 110; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.menu-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }
.menu-open .nav { color: #fff; background: transparent; backdrop-filter: none; }

.menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu a {
  font-family: var(--serif); font-size: clamp(38px, 10vw, 56px); line-height: 1.1; text-decoration: none;
  opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .2s;
}
.menu a i { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--orange); margin-right: 14px; vertical-align: middle; }
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(2) { transition-delay: .05s; } .menu.is-open a:nth-child(3) { transition-delay: .1s; }
.menu.is-open a:nth-child(4) { transition-delay: .15s; } .menu.is-open a:nth-child(5) { transition-delay: .2s; }
.menu.is-open a:nth-child(6) { transition-delay: .25s; } .menu.is-open a:nth-child(7) { transition-delay: .3s; }
.menu a:hover { color: var(--orange); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, #fdfcfb 0%, rgba(253,252,251,0) 70%),
    #f3f2f1;
  overflow: hidden;
  color: var(--ink);
}
.hero__paper {
  position: relative; z-index: 2;
  flex: 1;
  display: grid; place-items: center;
  padding: 120px var(--gutter) 34px;
  will-change: transform;
}
.hero__copy { text-align: center; position: relative; z-index: 2; }
.hero__title {
  font-family: var(--typewriter); font-weight: 400;
  font-size: clamp(34px, 6.2vw, 96px);
  line-height: 1.02; letter-spacing: -.075em; word-spacing: -.18em;
  min-height: 1.96em;
}
.hero__line { display: block; min-height: .98em; }
.caret {
  display: inline-block; width: .05em; height: .82em; margin-left: .04em;
  background: var(--orange); vertical-align: -.06em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__sub {
  margin-top: 24px;
  font-family: var(--mono); font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft);
}
.hero__ctas { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.js .hero__sub, .js .hero__ctas { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero.typed .hero__sub, .js .hero.typed .hero__ctas { opacity: 1; transform: none; }
.js .hero.typed .hero__ctas { transition-delay: .15s; }

.hero__machine { position: relative; z-index: 1; margin-top: -10px; will-change: transform; }
.hero__machine img {
  width: 100%; height: auto;
  min-height: 250px; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18px);
          mask-image: linear-gradient(to bottom, transparent 0, #000 18px);
}
.hero__machine.strike { animation: strike .09s ease-out; }
@keyframes strike { 50% { transform: translateY(2px); } }

/* viewfinder overlay */
.vf { position: absolute; inset: 96px var(--gutter) 22px; pointer-events: none; z-index: 1; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: rgba(0,0,0,.45); }
.vf__c { position: absolute; width: 30px; height: 30px; border: 0 solid rgba(0,0,0,.35); }
.vf__c--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf__c--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf__c--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf__c--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf__rec { position: absolute; top: 14px; left: 44px; display: flex; align-items: center; gap: 8px; }
.vf__rec b { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: blink 1.4s steps(1) infinite; }
.vf__tc { position: absolute; top: 14px; right: 44px; font-variant-numeric: tabular-nums; }
.vf__meta { position: absolute; bottom: 12px; left: 44px; }
.vf__meta--r { left: auto; right: 44px; }

/* Pinned to the viewport (not the hero) so it's visible on every screen size;
   its own dark pill keeps it readable over paper or metal. Fades out once you scroll. */
.hero__scroll {
  position: fixed; z-index: 90; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 30px; height: 48px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 16px;
  background: rgba(19,17,18,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: opacity .4s, visibility .4s;
}
.hero__scroll.is-hidden { opacity: 0; visibility: hidden; }
.hero__scroll span { position: absolute; left: -9999px; }
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   FILM STRIPS
   ========================================================= */
.strips {
  position: relative; height: 210px; overflow: hidden;
  background: var(--ink);
  display: grid; place-items: center;
}
.strip {
  position: absolute; left: -5%; right: -5%;
  padding: 26px 0;
  font-family: var(--mono); font-size: 17px; letter-spacing: .2em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden;
}
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 9px;
  background: repeating-linear-gradient(90deg, transparent 0 8px, var(--hole) 8px 20px, transparent 20px 26px);
}
.strip::before { top: 7px; } .strip::after { bottom: 7px; }
.strip--orange { --hole: var(--ink); background: var(--orange); color: #fff; transform: rotate(-3.2deg); z-index: 2; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.strip--ink { --hole: var(--ink); background: var(--cream); color: var(--ink); transform: rotate(2.4deg); }
.strip__track { display: inline-flex; gap: 28px; animation: marquee 38s linear infinite; }
.strip__track--rev { animation-direction: reverse; animation-duration: 46s; }
.strip__track i { font-style: normal; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: var(--sec-pad) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.06; letter-spacing: -.015em; }
.about__title em { color: #fff; white-space: nowrap; }
.about__body p + p { margin-top: 24px; color: #bdbab3; }

/* =========================================================
   JOURNEY: 3D book → film strip → screen
   ========================================================= */
.journey {
  --p: 0; --open: 0; --strip: 0; --screen: 0;
  position: relative; height: 330vh;
  background: #090909; color: #eeece8;
}
.journey__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(16px, 4vh, 44px);
  padding: 80px var(--gutter) 70px;
  background: radial-gradient(ellipse 60% 55% at 50% 58%, rgba(255,106,26,.09), transparent 70%);
}
.journey__captions { position: relative; text-align: center; width: 100%; }
.journey__captions .eyebrow { margin-bottom: 14px; }
.journey__captions h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.9vw, 54px); line-height: 1.1;
  position: absolute; left: 0; right: 0; top: 40px;
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.journey__captions h2:first-of-type { position: relative; top: 0; }
.journey__captions h2.is-on { opacity: 1; transform: none; }
.journey__captions em { color: var(--orange); }

.stage-fit { width: 100%; display: flex; justify-content: center; }
.stage {
  position: relative; flex: none;
  width: 1200px; height: 470px;
  perspective: 1700px;
  transform-origin: top center;
}

/* --- 3D book: a real hardback (cover from the catalogue) --- */
.book3d {
  --bw: 210px; --bh: 312px; --bd: 34px; --spine: #8f1419;
  position: absolute; left: 240px; top: 70px;
  width: var(--bw); height: var(--bh);
  transform-style: preserve-3d;
  transform: rotateX(calc(-10deg + var(--open) * 14deg)) rotateY(calc(-30deg + var(--open) * 30deg));
}
.book3d > div { position: absolute; }
.book3d__shadow { /* soft shadow under the book, widens as it opens */
  top: 6%; bottom: -6%; right: -4%; left: calc(-4% - var(--bw) * var(--open));
  background: radial-gradient(ellipse at center, rgba(0,0,0,.65), transparent 70%);
  filter: blur(14px); transform: translateZ(calc(var(--bd) / -2 - 2px));
}
.book3d__back { inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 12%), var(--spine); border-radius: 3px 6px 6px 3px; transform: translateZ(calc(var(--bd) / -2)); }
.book3d__spine {
  top: 0; bottom: 0; left: calc(var(--bd) / -2); width: var(--bd); border-radius: 4px;
  background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(255,255,255,.22) 42%, rgba(0,0,0,.05) 60%, rgba(0,0,0,.35)), var(--spine);
  transform: rotateY(-90deg);
}
/* page block edges: right, top and bottom */
.book3d__block, .book3d__top, .book3d__bottom { background: repeating-linear-gradient(90deg, #f4eddd 0 1px, #d9cfba 1px 2px); }
.book3d__block { top: 4px; bottom: 4px; width: calc(var(--bd) - 4px); left: calc(var(--bw) - 4px - (var(--bd) - 4px) / 2); transform: rotateY(90deg); }
.book3d__top, .book3d__bottom { left: 0; width: calc(var(--bw) - 4px); height: calc(var(--bd) - 4px); background: repeating-linear-gradient(180deg, #f4eddd 0 1px, #d9cfba 1px 2px); }
.book3d__top { top: calc(4px - (var(--bd) - 4px) / 2); transform: rotateX(90deg); }
.book3d__bottom { top: calc(var(--bh) - 4px - (var(--bd) - 4px) / 2); transform: rotateX(-90deg); }

/* right-hand page, revealed when the cover opens */
.book3d__page {
  top: 4px; bottom: 4px; left: 0; width: calc(var(--bw) - 4px);
  transform: translateZ(calc(var(--bd) / 2 - 2px));
  border-radius: 0 3px 3px 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 16%),
    linear-gradient(90deg, #ebe2cd, #f8f3e7 28%, #f3ecdd);
}
/* two pages that turn one after the other */
.book3d__leaf {
  top: 4px; bottom: 4px; left: 0; width: calc(var(--bw) - 4px);
  transform-style: preserve-3d; transform-origin: left center;
  transform: translateZ(calc(var(--bd) / 2 - 1.5px + var(--i) * .6px)) rotateY(calc(var(--turn) * var(--ang)));
}
.book3d__leaf--a { --i: 2; --turn: var(--leaf1, 0); --ang: -174deg; }
.book3d__leaf--b { --i: 1; --turn: var(--leaf2, 0); --ang: -169deg; }
.leaf__f, .leaf__b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 0 3px 3px 0; }
.leaf__f {
  background:
    linear-gradient(90deg, rgba(0,0,0,.24), rgba(0,0,0,0) 15%),
    linear-gradient(90deg, #ece3cf, #f9f5ea 30%, #f4eee0);
}
.leaf__b {
  transform: rotateY(180deg); border-radius: 3px 0 0 3px;
  background:
    linear-gradient(270deg, rgba(0,0,0,.24), rgba(0,0,0,0) 15%),
    linear-gradient(270deg, #ece3cf, #f9f5ea 30%, #f4eee0);
}
/* hard cover: front = real cover, inside = endpaper with the TWA mark */
.book3d__cover {
  inset: 0; transform-style: preserve-3d; transform-origin: left center;
  transform: translateZ(calc(var(--bd) / 2 + 1px)) rotateY(calc(var(--open) * -180deg));
}
.book3d__front, .book3d__inside { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2px 5px 5px 2px; overflow: hidden; }
.book3d__front { background: var(--spine); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.book3d__front img { width: 100%; height: 100%; object-fit: cover; }
.book3d__front::after { /* hinge groove + sheen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.35) 0, rgba(255,255,255,.18) 3%, rgba(0,0,0,.18) 5.5%, transparent 9%, transparent 70%, rgba(255,255,255,.06));
}
.book3d__inside {
  transform: rotateY(180deg); border-radius: 5px 2px 2px 5px;
  background: url("/assets/img/mark-color.png") center 42% / 64px auto no-repeat, linear-gradient(90deg, #efe6d3, #e6dbc4);
  box-shadow: inset 0 0 0 10px var(--spine), inset -16px 0 18px -10px rgba(0,0,0,.35);
}
.book3d__inside::after { content: "The Write Agency"; position: absolute; left: 0; right: 0; top: 58%; text-align: center; font-family: var(--mono); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: #8a7a62; }

/* printed pages inside the 3D book */
.pg { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 26px 22px 18px 24px; color: #2a221b; text-align: left; }
.leaf__b .pg { padding: 26px 24px 18px 22px; }
.pg--center { align-items: center; justify-content: center; text-align: center; }
.pg__run { font-family: var(--mono); font-size: 7px; letter-spacing: .26em; text-transform: uppercase; color: #8a7a62; text-align: center; margin-bottom: 18px; }
.pg__text { font-family: var(--serif); font-size: 13.5px; line-height: 1.6; }
.pg__drop { float: left; font-family: var(--serif); font-size: 46px; line-height: .78; margin: 5px 6px 0 0; color: var(--orange-deep); }
.pg__typed { font-family: var(--mono); font-size: 12px; line-height: 1.7; min-height: 9em; }
.pg__typed .caret { height: 1em; vertical-align: -.15em; }
.pg__num { margin-top: auto; text-align: center; font-family: var(--serif); font-size: 9px; color: #8a7a62; }
.pg__ttl { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: .95; letter-spacing: .06em; text-transform: uppercase; color: #8f1419; }
.pg__by { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 13px; color: #4a3c30; }
.pg__rule { width: 40px; height: 1px; background: #b9ad97; margin: 20px 0 14px; }
.pg__imprint { font-family: var(--mono); font-size: 7px; line-height: 1.7; letter-spacing: .22em; text-transform: uppercase; color: #8a7a62; }
.pg__mark { width: 30px; height: auto; margin-top: 10px; }
.pg__kicker { font-family: var(--mono); font-size: 8px; letter-spacing: .32em; text-transform: uppercase; color: var(--orange-deep); }
.pg__chapter { margin-top: 6px; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1; }
.pg__small { max-width: 140px; font-family: var(--mono); font-size: 7.5px; line-height: 1.9; letter-spacing: .18em; text-transform: uppercase; color: #8a7a62; }

/* --- film strip --- */
.reel-strip {
  position: absolute; left: 360px; top: 165px; width: 600px; height: 122px;
  background: #121212;
  border-top: 1px solid #262626; border-bottom: 1px solid #262626;
  clip-path: inset(0 calc((1 - var(--strip)) * 100%) 0 0);
  box-shadow: 0 30px 50px -25px rgba(0,0,0,.9);
}
.reel-strip::before, .reel-strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 9px;
  background: repeating-linear-gradient(90deg, transparent 0 6px, #e9e4d8 6px 15px, transparent 15px 22px);
  opacity: .85;
}
.reel-strip::before { top: 7px; } .reel-strip::after { bottom: 7px; }
.reel-strip__frames { position: absolute; inset: 22px 0 22px 92px; /* starts where the open book ends */ display: flex; gap: 0; transform: translateX(calc((1 - var(--strip)) * -40px)); }
.reel-strip figure {
  flex: 1; margin: 0 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(180deg, #1d1d1d, #151515); border-radius: 3px;
}
.reel-strip svg { width: 34px; height: 34px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reel-strip figcaption { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #cfcac0; }

/* --- cinema screen --- */
.cinema { position: absolute; left: 975px; top: 120px; width: 225px; height: 240px; opacity: calc(var(--screen) * 2.5); transform: translateY(calc((1 - var(--screen)) * 14px)); } /* appears in step 3 */
.cinema__screen {
  position: absolute; inset: 0 0 50px 0;
  border: 1px solid rgba(255,255,255,.18);
  background: radial-gradient(ellipse at 50% 40%, rgba(255,240,225,calc(var(--screen) * .95)), rgba(255,170,110,calc(var(--screen) * .55)) 70%, rgba(40,20,10,.6));
  box-shadow: 0 0 calc(var(--screen) * 90px) calc(var(--screen) * 10px) rgba(255,130,50,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px;
  color: #1a0f08;
}
.cinema__screen > * { opacity: calc(var(--screen) * 1.4 - .3); }
.cinema__now { font-family: var(--mono); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--orange-deep); }
.cinema__screen strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; margin-top: 6px; }
.cinema__screen em { font-family: var(--serif); font-size: 17px; }
.cinema__beam {
  position: absolute; left: -80px; top: -30px; width: 140px; height: 250px;
  background: linear-gradient(90deg, rgba(255,180,120,0), rgba(255,180,120,calc(var(--screen) * .16)));
  clip-path: polygon(0 48%, 100% 0, 100% 80%, 0 52%);
  filter: blur(4px);
}
.cinema::after { /* the stage floor */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 20px; height: 20px;
  background: radial-gradient(ellipse, rgba(255,130,50,calc(var(--screen) * .35)), transparent 70%);
}

.journey__scrub {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: min(560px, 84vw); display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: #7d7a74;
}
.journey__bar { flex: 1; height: 1px; background: #2b2b2b; position: relative; }
.journey__bar b { position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--p) * 100%); background: var(--orange); }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.sec-head { max-width: 780px; }
.sec-head__intro { margin-top: 24px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 640px; }
.dark .sec-head__intro { color: #bdbab3; }

/* =========================================================
   LITERARY SERVICES: chapters
   ========================================================= */
.lit { padding: var(--sec-pad) 0; }
.chapters { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 3vw, 44px); margin-top: 70px; perspective: 1400px; }
/* blue-lined notebook page: light-blue rules, red margin line; text sits on the lines */
.chapter, .duo__card--page {
  --rule: 28px; --margin: 54px;
  background:
    linear-gradient(90deg, transparent calc(var(--margin) - 1px), rgba(226,120,132,.75) calc(var(--margin) - 1px), rgba(226,120,132,.75) calc(var(--margin) + 1px), transparent calc(var(--margin) + 1px)),
    repeating-linear-gradient(180deg, transparent 0 calc(var(--rule) - 1px), rgba(122,170,222,.55) calc(var(--rule) - 1px) var(--rule)),
    radial-gradient(ellipse at 30% 20%, #ffffff, #f7f7f4 70%);
  background-position: 0 0, 0 calc(var(--rule) * 2 - 6px), 0 0;
  color: var(--ink);
  border: 1px solid #e3e1da; border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 26px 50px -28px rgba(0,0,0,.28);
}
.chapter::after, .duo__card--page::after { /* lifted page corner */
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 34px; height: 34px;
  background: linear-gradient(135deg, #e9e7e0 0 50%, var(--paper) 50%);
  box-shadow: -3px -3px 6px rgba(0,0,0,.06); pointer-events: none;
}
.chapter {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  padding: calc(var(--rule) * 2) clamp(28px, 3.5vw, 48px) calc(var(--rule) * 3) calc(var(--margin) + 22px);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.js .chapter.reveal.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.chapter__no, .duo__card--page .duo__kicker { display: block; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: var(--rule); color: var(--orange-deep); }
.chapter h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.6vw, 38px); line-height: calc(var(--rule) * 2); margin: 0 0 var(--rule); color: var(--ink); }
.chapter p, .duo__card.duo__card--page p { color: #2f2d2a; line-height: var(--rule); }
.chapter__tags { list-style: none; padding: 0; margin: var(--rule) 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chapter__tags li { font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid #b9c9dc; color: #4a5a70; background: rgba(255,255,255,.7); padding: 4px 10px; }
.chapter__folio { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* =========================================================
   FILM REPRESENTATION: slates
   ========================================================= */
.film { position: relative; padding: calc(var(--sec-pad) + 40px) 0; background: #131313; overflow: clip; } /* clip (not hidden) so the sticky 3D scene inside still sticks */
.film .journey, .film .journey__sticky { background: transparent; }
.film .journey { margin: 30px 0 10px; }
.letterbox { position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height 1.2s var(--ease); z-index: 1; }
.letterbox--top { top: 0; } .letterbox--bottom { bottom: 0; }
.film.in-view .letterbox { height: clamp(26px, 5vw, 64px); }
.film .wrap { position: relative; z-index: 2; }
.film__head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.film__tag { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.1; margin-top: 14px; color: #fff; }
.film__tag em { color: var(--orange); }

.leader { position: relative; width: clamp(130px, 15vw, 190px); aspect-ratio: 1; border-radius: 50%; background: #d9d4c8; overflow: hidden; color: #111; flex: none; }
.leader__sweep { position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(0,0,0,.55) 0deg, rgba(0,0,0,.55) var(--a, 0deg), transparent var(--a, 0deg)); animation: sweep 1s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes sweep { to { --a: 360deg; } }
.leader__rings { position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 56%, #111 56% 57.5%, transparent 57.5% 66%, #111 66% 67.5%, transparent 67.5%),
    linear-gradient(#111, #111) center / 1.5px 100% no-repeat,
    linear-gradient(#111, #111) center / 100% 1.5px no-repeat;
}
.leader__num { position: absolute; inset: 0; overflow: hidden; }
.leader__num span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--sans); font-weight: 600; font-size: clamp(56px, 7vw, 90px); line-height: 1;
  opacity: 0; animation: leaderNum 8s steps(1) infinite;
}
.leader__num span:nth-child(1) { animation-delay: 0s; } .leader__num span:nth-child(2) { animation-delay: 1s; }
.leader__num span:nth-child(3) { animation-delay: 2s; } .leader__num span:nth-child(4) { animation-delay: 3s; }
.leader__num span:nth-child(5) { animation-delay: 4s; } .leader__num span:nth-child(6) { animation-delay: 5s; }
.leader__num span:nth-child(7) { animation-delay: 6s; } .leader__num span:nth-child(8) { animation-delay: 7s; }
@keyframes leaderNum { 0% { opacity: 1; } 12.5%, 100% { opacity: 0; } }

.film__ourwork { margin-top: 70px; font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: #8f8c85; }
.slates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.slate { position: relative; padding-top: 30px; }
.slate:nth-child(2) { transition-delay: .08s; } .slate:nth-child(3) { transition-delay: .16s; } .slate:nth-child(4) { transition-delay: .24s; }
.slate__clap {
  position: absolute; left: 0; right: 0; top: 0; height: 30px;
  background: repeating-linear-gradient(-55deg, #f1eee7 0 18px, #0d0d0d 18px 36px);
  border: 1px solid #0d0d0d; border-radius: 3px 3px 0 0;
  transform-origin: 3px 100%;
  transform: rotate(-17deg);
  transition: transform .5s cubic-bezier(.6, -0.4, .3, 1.6);
}
.slate.in .slate__clap { transform: rotate(0); transition-delay: inherit; }
.slate:hover .slate__clap { transform: rotate(-10deg); transition-delay: 0s; }
.slate__body {
  position: relative; height: 100%;
  background: #0b0b0b; border: 1px solid rgba(255,255,255,.14);
  padding: 34px 24px 28px;
  transition: border-color .3s, transform .5s var(--ease);
}
.slate__body::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background: repeating-linear-gradient(55deg, #f1eee7 0 18px, #0d0d0d 18px 36px);
}
.slate:hover .slate__body { border-color: var(--orange); }
.slate__row {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px 10px; align-items: baseline;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8f8c85;
  border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 14px; margin-bottom: 20px;
}
.slate__row b { font-family: var(--mono); font-size: 22px; color: #fff; font-weight: 400; letter-spacing: 0; }
.slate h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.08; color: #fff; margin-bottom: 12px; }
.slate p { font-size: 15.5px; color: #b7b3ab; }

/* =========================================================
   TEAM: contact sheet
   ========================================================= */
.team { padding: var(--sec-pad) 0; }
/* team as a film contact sheet: dark strip, sprocket holes, frame markings (photos all black & white) */
.contact-sheet { margin: 64px auto 0; max-width: calc(1160px + var(--gutter) * 2); padding: 0 var(--gutter); }
.contact-sheet__strip {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: #121212; padding: 60px 18px 44px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.5);
  transform: rotate(-.6deg);
}
.contact-sheet__strip::before, .contact-sheet__strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 11px;
  background: repeating-linear-gradient(90deg, transparent 0 9px, #f3f2f1 9px 21px, transparent 21px 30px);
  opacity: .9;
}
.contact-sheet__strip::before { top: 16px; } .contact-sheet__strip::after { bottom: 14px; }
.contact-sheet__strip + .contact-sheet__strip { margin-top: 34px; transform: rotate(.5deg) translateX(14px); }
.contact-sheet__strip--short { width: calc(50% + 10px); grid-template-columns: repeat(2, 1fr); } /* 2 frames, same size as the 4 above */
.frame { position: relative; margin: 0; color: #fff; }
.frame__mark { position: absolute; top: -26px; left: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--orange); }
.frame__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #222; border-radius: 2px; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); }
.frame__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 50px rgba(0,0,0,.45); pointer-events: none; }
.frame figcaption { padding: 18px 2px 4px; }
.frame strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.15; }
.frame figcaption span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a8a49b; }
.frame--empty .frame__img, .frame--nophoto .frame__img { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, #1c1c1c 0 12px, #202020 12px 24px); }
.frame__ph { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6f6c66; text-align: center; }
.frame--empty strong { color: #8f8c85; font-style: italic; }

/* =========================================================
   BOOKS: 3D shelf
   ========================================================= */
.books { padding: var(--sec-pad) 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 46px; }
.chip {
  background: transparent; border: 1px solid rgba(0,0,0,.25); border-radius: 999px;
  padding: 10px 18px; font-size: 14px; transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.shelf {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 70px clamp(24px, 3vw, 44px);
  margin-top: 70px;
}
.bk { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.bk.is-hidden { display: none; }
.bk.is-entering { opacity: 0; transform: translateY(20px); }
.bk__stage { /* tall enough for the tallest cover (ratio 0.6 at 76% width); covers share a baseline */
  position: relative; margin: 10px 0 0; display: flex; align-items: flex-end; aspect-ratio: 60 / 76; }
/* flat, front-facing cover: no 3D, no hover movement */
.bk__cover {
  position: relative; width: 76%; aspect-ratio: 2 / 3; margin: 0 auto; overflow: hidden;
  border-radius: 2px 4px 4px 2px;
  box-shadow: 0 18px 28px -16px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.12);
}
.bk__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk__meta { margin: 18px auto 0; width: 76%; } /* same width as the cover, so the text lines up with its left edge */
.bk__meta h3 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.1; }
.bk__meta .bk__author { font-size: 14.5px; color: var(--ink-soft); margin-top: 3px; }
.bk__open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.bk__open:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; border-radius: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding: 0; list-style: none; }
.tags li { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); font-size: 11.5px; line-height: 1.4; color: var(--ink-soft); }
.tags--lg { margin-top: 14px; gap: 8px; }
.tags--lg li { padding: 4px 11px; font-size: 13px; }
.bk__more { margin-top: 8px; font-size: 13.5px; font-weight: 500; color: var(--orange-deep); }
.bk__more::after { content: " →"; }
.chip__n { display: inline-block; margin-left: 4px; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(0,0,0,.08); font-size: 12px; }
.chip.is-on .chip__n { background: rgba(255,255,255,.18); }

/* book detail panel */
.book-modal { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.55); overflow: auto; }
.book-modal::backdrop { background: rgba(10,9,10,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.book-modal[open] { animation: modalIn .45s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.book-modal__card { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 4vw, 48px); }
.book-modal__close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 28px; line-height: 1; color: var(--ink); }
.book-modal__close:hover { background: rgba(0,0,0,.07); }
.book-modal__cover { position: relative; aspect-ratio: 2 / 3; border-radius: 3px 6px 6px 3px; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(0,0,0,.5), inset 6px 0 10px -6px rgba(0,0,0,.4); align-self: start; }
.book-modal__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-modal__body .eyebrow { margin-bottom: 14px; }
.book-modal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.02; padding-right: 30px; }
.book-modal__sub { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-soft); }
.book-modal__author { margin-top: 10px; font-weight: 500; }
.book-modal__blurb { margin-top: 20px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.book-modal__note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.book-modal__ctas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

/* generated placeholder covers */
.cv { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 18px 16px 16px 20px; color: #fff; }
.cv small { font-family: var(--mono); font-size: 9px; letter-spacing: .24em; text-transform: uppercase; opacity: .8; }
.cv strong { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 32px); line-height: .98; margin-top: auto; }
.cv em { font-family: var(--mono); font-style: normal; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; margin-top: 12px; padding-top: 10px; border-top: 1px solid currentColor; opacity: .85; }
.cv i { position: absolute; pointer-events: none; }
.cv--romance { background: linear-gradient(160deg, #c2475a, #7c1d33); }
.cv--romance i { width: 120px; height: 120px; border-radius: 50%; right: -30px; top: 30px; background: radial-gradient(circle, rgba(255,210,200,.55), transparent 70%); }
.cv--crime { background: linear-gradient(170deg, #1b1b1b, #050505); }
.cv--crime i { left: 0; right: 0; top: 38%; height: 5px; background: var(--orange); box-shadow: 0 10px 0 -3px rgba(255,106,26,.5); }
.cv--myth { background: linear-gradient(165deg, #1f4746, #0d2122); }
.cv--myth i { width: 90px; height: 90px; left: 50%; top: 22%; margin-left: -45px; border: 1px solid rgba(240,210,150,.7); border-radius: 50%; box-shadow: 0 0 0 10px rgba(240,210,150,.12), 0 0 0 22px rgba(240,210,150,.07); }
.cv--nonfiction { background: linear-gradient(170deg, #ece5d4, #d8ceb7); color: var(--ink); }
.cv--nonfiction i { left: 20px; top: 46px; width: 40px; height: 40px; background: var(--orange); }

.books__foot { margin-top: 90px; padding-top: 34px; border-top: 1px solid rgba(0,0,0,.14); display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.books__foot p { max-width: 560px; color: var(--ink-soft); }
.books__ctas { display: flex; gap: 34px; flex-wrap: wrap; }
.books__ctas .link-arrow { margin-top: 0; }

/* =========================================================
   NETWORK: logo wall
   ========================================================= */
.network { padding: var(--sec-pad) 0; }
.logo-wall { margin-top: 64px; }
.logo-wall__group + .logo-wall__group { margin-top: 64px; }
.logo-wall__label { font-family: var(--mono); font-weight: 400; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.logo-wall__label::before { content: "▸ "; color: var(--orange); }
.logo-wall__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 34px 30px; align-items: center; }
.logo-wall__note { margin-top: 30px; font-size: 16px; font-weight: 600; color: var(--ink-soft); text-align: right; }
.logo-wall__grid li { display: flex; align-items: center; justify-content: center; height: 84px; }
/* logos sit straight on the paper background: white logo backgrounds melt into it */
.logo-wall__grid img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.network .wrap > .link-arrow { margin-top: 48px; }

/* =========================================================
   SUBMISSIONS: typewriter sheet
   ========================================================= */
.submit { padding: var(--sec-pad) 0; background: #0b0b0b; }
.submit__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.submit__intro em { color: var(--orange); }
.submit__intro .lead { margin-top: 34px; color: #e3e0da; }
.submit__intro p + p { margin-top: 20px; color: #bdbab3; }
.submit__intro p.muted { color: #8f8c85; font-size: 15px; }

.typewriter-form { position: relative; padding-top: 8px; }
.typewriter-form__carriage {
  position: relative; z-index: 2; height: 30px; margin: 0 -18px;
  background: linear-gradient(180deg, #2a2a2a, #0a0a0a 60%, #1b1b1b);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,.5);
}
.typewriter-form__carriage span { position: absolute; left: 14px; right: 14px; top: 9px; height: 10px; border-radius: 5px; background: linear-gradient(180deg, #ff8a4a, var(--orange) 50%, #c94707); }
.sheet {
  position: relative; z-index: 1; margin: -12px 10px 0;
  padding: 40px clamp(22px, 3.4vw, 46px) 40px;
  background: var(--sheet); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
/* typewriter feel stays on the sheet's header only; fields use the readable sans */
.sheet__head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
.sheet__head span { color: var(--muted); }
.sheet__note { font-size: 14px; color: var(--ink-soft); margin-bottom: 28px; }
.req { color: var(--orange-deep); font-weight: 600; }

.fset { border: 0; margin: 0 0 30px; padding: 0 0 28px; min-width: 0; border-bottom: 1px solid #e2dccd; }
.fset:last-of-type { border-bottom: 0; padding-bottom: 0; }
.fset legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.fset__no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 13.5px; font-weight: 600; flex: none; }

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label { display: block; font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field label small, .opt { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; min-height: 48px;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #d3cbb9; border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E") right 16px center no-repeat;
}
.field textarea { resize: vertical; min-height: 170px; line-height: 1.6; }
/* optional PDF / Word attachments */
.field input[type=file] { padding: 8px; font-size: 14.5px; color: var(--ink-soft); cursor: pointer; }
.field input[type=file]::file-selector-button { margin-right: 14px; padding: 8px 16px; border: 0; border-radius: 4px; background: var(--ink); color: #fff; font: 500 14px var(--sans); cursor: pointer; transition: background .2s; }
.field input[type=file]:hover::file-selector-button { background: var(--orange); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9ae96; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(253,105,19,.18); }
.field input::placeholder, .field textarea::placeholder { color: #a49c8b; }
.field__hint { font-size: 13.5px; color: var(--ink-soft); margin: -2px 0 8px; }
.field__foot { display: flex; justify-content: space-between; gap: 12px; }
.field__count { margin-left: auto; font-size: 12.5px; color: var(--muted); padding-top: 6px; font-variant-numeric: tabular-nums; }
.field__error { font-size: 13.5px; color: #b8290e; padding-top: 6px; min-height: 0; }
.field__error:empty { display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c62f12; box-shadow: 0 0 0 3px rgba(198,47,18,.12); }

/* phone field: intl-tel-input country selector, matched to the form */
.field .iti { display: block; width: 100%; --iti-hover-color: #f4efe5; --iti-border-color: #d3cbb9; --iti-dialcode-color: var(--ink-soft); --iti-dropdown-bg: #fff; --iti-arrow-color: var(--ink-soft); }
.field .iti__country-container { padding: 1px; }
.field .iti__selected-country { border-radius: 6px 0 0 6px; }
.field .iti__selected-country-primary { padding: 0 8px 0 14px; }
.field .iti__selected-dial-code { font-size: 16px; color: var(--ink); }
.field .iti__country-selector { min-width: 320px; border: 1px solid #d3cbb9; border-radius: 8px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.3); overflow: hidden; z-index: 20; }
.field .iti__search-input { min-height: 44px; border: 0; border-bottom: 1px solid #e2dccd; border-radius: 0; box-shadow: none; }
.field .iti__country { font-size: 14.5px; padding: 9px 12px; }
.field .iti__country.iti__highlight { background: #fff1e6; }

/* service choice cards (radio buttons) */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 14px 16px 14px 46px; border: 1px solid #d3cbb9; border-radius: 8px; background: #fff;
  position: relative; transition: border-color .2s, background .2s, box-shadow .2s;
}
.choice__box::before { /* radio circle */
  content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #b9ae96; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.choice__box b { font-weight: 600; font-size: 15.5px; }
.choice__box small { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.choice:hover .choice__box { border-color: #b9ae96; }
.choice input:checked + .choice__box { border-color: var(--orange); background: #fff6ef; box-shadow: 0 0 0 1px var(--orange); }
.choice input:checked + .choice__box::before { border-color: var(--orange); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--orange); }
.choice input:focus-visible + .choice__box { box-shadow: 0 0 0 3px rgba(253,105,19,.3); }
.field.invalid .choice__box { border-color: #c62f12; }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.sheet .btn { width: 100%; margin-top: 8px; padding: 18px 30px; font-size: 16.5px; font-weight: 600; border-radius: 6px; }
.sheet .btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.sheet .btn.is-loading::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sheet__status { margin-top: 14px; font-size: 14.5px; }
.sheet__status:empty { display: none; }
.sheet__status.ok { color: #1f7a3a; }
.sheet__status.err { color: #b8290e; padding: 12px 14px; background: #fdf0ec; border-radius: 6px; }
.sheet__status a { color: inherit; }

/* =========================================================
   CONTACT + FOOTER
   ========================================================= */
.contact { padding: clamp(70px, 8vw, 110px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 40px; align-items: start; }
.contact__grid p { color: var(--ink-soft); max-width: 460px; }
.contact__mails { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.contact__mails a { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); color: var(--ink); text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__mails a:hover { background-size: 100% 1px; }

.footer { padding: clamp(70px, 9vw, 120px) 0 34px; overflow: hidden; }
/* one footer: brand + Contact Us + office + follow, then a thin bottom bar */
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1.15fr 1fr auto; gap: 40px; align-items: start;
  margin-top: clamp(48px, 6vw, 72px); padding: 44px 0;
  border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__grid:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.footer__brand img { width: 92px; height: auto; }
.footer__lead { margin-top: 18px; color: #cfcbc3; max-width: 340px; font-size: 15.5px; }
.footer__addr { font-style: normal; color: #cfcbc3; line-height: 1.75; font-size: 15.5px; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; color: #8f8c85; }
.contact__logo { width: 120px; height: auto; margin-bottom: 22px; }
.footer__top { text-decoration: none; color: #eeece8; }
.footer__top:hover { color: var(--orange); }

.footer__lead { color: #cfcbc3; max-width: 420px; }
.footer__mails { display: flex; flex-direction: column; gap: 6px; }
.footer__mails a { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); color: #eeece8; text-decoration: none; transition: color .25s; overflow-wrap: anywhere; }
.footer__mails a:hover { color: var(--orange); }
.footer__label { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #9a978f; margin-bottom: 14px; }
.footer__icons, .contact__social { display: flex; gap: 12px; }
/* social icon buttons (footer + contact page) */
.social { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #eeece8; transition: background .25s, border-color .25s, color .25s; }
.social svg { width: 20px; height: 20px; }
.social:hover, .social:focus-visible { background: var(--orange); border-color: var(--orange); color: #fff; }
.contact .social { border-color: rgba(0,0,0,.22); color: var(--ink); }
.contact .social:hover { color: #fff; }

/* =========================================================
   INNER PAGE TITLE (paper + typed title + viewfinder)
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  min-height: clamp(420px, 62vh, 620px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 150px 0 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 30%, #fdfcfb 0%, rgba(253,252,251,0) 70%),
    #f3f2f1;
  color: var(--ink);
}
.page-hero .vf { inset: 96px var(--gutter) 64px; }
.page-hero__inner { position: relative; z-index: 2; padding-bottom: clamp(60px, 8vw, 96px); }
.crumbs { display: flex; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--ink); }
.crumbs a:hover { color: var(--orange-deep); }
.page-hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 7.4vw, 112px); line-height: 1.02; letter-spacing: -.02em; min-height: 1.02em; }
.page-hero__intro { margin-top: 26px; max-width: 640px; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-soft); }
.js .page-hero__intro { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .page-hero.typed .page-hero__intro { opacity: 1; transform: none; }
.page-hero__strip { /* orange film strip as the bottom edge */
  position: relative; z-index: 2; height: 34px; background: var(--orange);
}
.page-hero__strip::before, .page-hero__strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg, transparent 0 8px, var(--ink) 8px 20px, transparent 20px 26px);
}
.page-hero__strip::before { top: 5px; } .page-hero__strip::after { bottom: 5px; }

/* =========================================================
   HOME: services preview cards
   ========================================================= */
.duo-sec { padding: var(--sec-pad) 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 40px); margin-top: 64px; perspective: 1400px; }
.duo__card {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(32px, 4vw, 54px); min-height: 360px; text-decoration: none;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.js .duo__card.reveal.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.duo__card--page { padding: calc(var(--rule) * 2) clamp(28px, 3.5vw, 48px) calc(var(--rule) * 1.5) calc(var(--margin) + 22px); }
.duo__card--page h3 { color: var(--ink); line-height: calc(var(--rule) * 2); }
.duo__card--screen { background: #0f0e0f; color: #eeece8; border: 1px solid rgba(255,255,255,.1); padding-top: calc(clamp(32px, 4vw, 54px) + 22px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.duo__clap { position: absolute; left: 0; right: 0; top: 0; height: 22px; background: repeating-linear-gradient(-55deg, #f1eee7 0 18px, #0d0d0d 18px 36px); }
.duo__kicker { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--orange-deep); }
.duo__card--screen .duo__kicker { color: var(--orange); }
.duo__card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.02; }
.duo__card p { color: var(--ink-soft); max-width: 460px; }
.duo__card--screen p { color: #b7b3ab; }
.duo__more { margin-top: auto; padding-top: 18px; font-weight: 500; color: var(--orange-deep); }
.duo__card--screen .duo__more { color: var(--orange); }
.duo__more::after { content: " →"; display: inline-block; transition: transform .35s var(--ease); }
.duo__card:hover .duo__more::after { transform: translateX(6px); }
.books .shelf + .link-arrow { margin-top: 60px; }

/* =========================================================
   CALL-TO-ACTION BAND
   ========================================================= */
.cta-band { padding: clamp(80px, 10vw, 130px) 0; background: #0b0a0b; border-top: 1px solid rgba(255,255,255,.06); }
.cta-band__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.cta-band em { color: var(--orange); }
.cta-band p { color: #bdbab3; margin-bottom: 28px; max-width: 480px; }

/* =========================================================
   THANK YOU + 404 end cards
   ========================================================= */
.endcard {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 140px var(--gutter) 90px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, #fdfcfb 0%, rgba(253,252,251,0) 70%),
    #f3f2f1;
  color: var(--ink);
}
.endcard__inner { width: 100%; max-width: 1040px; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.endcard__inner--center { max-width: 640px; grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
.endcard__slate .slate__body { background: #0f0e0f; padding: 40px 34px 36px; }
.endcard__slate .eyebrow { margin: 6px 0 14px; }
.endcard__title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6vw, 82px); line-height: 1.04; }
.endcard__slate .endcard__title { color: #fff; }
.endcard__title--long { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.endcard__lead { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: #cfcbc3; }
.endcard--404 .endcard__lead { color: var(--ink-soft); }
.endcard__next h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); margin-bottom: 16px; }
.endcard__next p { color: var(--ink-soft); }
.endcard__next p + p { margin-top: 14px; }
.endcard__next a:not(.btn) { color: var(--orange-deep); }
.endcard__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.endcard__inner--center .endcard__ctas { justify-content: center; }
.leader__static { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--sans); font-weight: 600; font-size: clamp(34px, 4.4vw, 54px); }
.endcard--404 .leader { margin-bottom: 18px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .slates { grid-template-columns: repeat(2, 1fr); }
  .shelf { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .logo-wall__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  /* comfortable tap targets on touch screens (40px+) */
  .nav__brand { padding: 8px 0; }
  .link-arrow, .footer__top { padding: 10px 0; }
  .books__ctas .link-arrow { padding: 10px 0; }
  .crumbs a { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .about__grid, .submit__grid, .chapters { grid-template-columns: 1fr; }
  .about__grid { gap: 36px; }
  .duo, .cta-band__inner { grid-template-columns: 1fr; }
  .endcard__inner { grid-template-columns: 1fr; }
  .film__head { grid-template-columns: 1fr; }
  .leader { order: -1; width: 110px; }
  .contact__grid { grid-template-columns: 1fr; gap: 24px; }
  .books__foot { flex-direction: column; align-items: flex-start; }

  /* journey: stacked stage */
  .stage { width: 560px; height: 690px; }
  .book3d { left: 280px; top: 20px; }
  .reel-strip { left: 16px; top: 380px; width: 528px; }
  .reel-strip__frames { left: 0; }
  .cinema { left: 150px; top: 540px; width: 260px; height: 150px; }
  .cinema__screen { inset: 0; }
  .cinema__beam { display: none; }
  .cinema::after { display: none; }
}

@media (max-width: 640px) {
  .duo__card { min-height: 0; }
  .page-hero { padding-top: 120px; }
  .page-hero .vf { inset: 82px 14px 50px; }
  .hero__scroll { bottom: 16px; }
  body { font-size: 16px; }
  .nav__brand { font-size: 12.5px; letter-spacing: .1em; gap: 10px; }
  .nav__mark, .nav.is-scrolled .nav__mark { width: 36px; }
  .vf { inset: 82px 14px 14px; }
  .vf__meta { display: none; }
  .vf__rec, .vf__tc { top: 10px; }
  .vf__rec { left: 36px; } .vf__tc { right: 36px; }
  .hero__paper { padding-top: 110px; }
  .hero__title { font-size: clamp(30px, 9.6vw, 44px); }
  .hero__sub { letter-spacing: .2em; }
  .hero__machine img { min-height: 230px; }
  .strips { height: 160px; }
  .strip { font-size: 14px; }
  .slates { grid-template-columns: 1fr; }
  .field-row, .choices { grid-template-columns: 1fr; gap: 0; }
  .choices { gap: 10px; }
  /* team strips swipe sideways; sprocket holes are drawn on the strip so they continue */
  .contact-sheet { padding: 0; margin-top: 32px; }
  .contact-sheet__strip {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-left: 20px; padding-right: 20px; gap: 14px; transform: none !important; width: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    background:
      repeating-linear-gradient(90deg, transparent 0 9px, #f3f2f1 9px 21px, transparent 21px 30px) 0 16px / 100% 11px no-repeat,
      repeating-linear-gradient(90deg, transparent 0 9px, #f3f2f1 9px 21px, transparent 21px 30px) 0 calc(100% - 14px) / 100% 11px no-repeat,
      #121212;
    background-attachment: local, local, scroll;
  }
  .contact-sheet__strip::-webkit-scrollbar { display: none; }
  .contact-sheet__strip::before, .contact-sheet__strip::after { display: none; }
  .frame { flex: 0 0 72%; scroll-snap-align: center; }
  /* genre chips: one swipeable row instead of wrapping */
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }
  .shelf { grid-template-columns: repeat(2, 1fr); gap: 50px 18px; }
  .cv strong { font-size: 22px; }
  .bk__meta h3 { font-size: 21px; }
  .book-modal__card { grid-template-columns: 1fr; }
  .book-modal__cover { width: 58%; }
  .typewriter-form__carriage { margin: 0 -6px; }
  .sheet { margin: -12px 4px 0; }
}

/* reduced motion: keep everything still and readable */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
  .journey { height: auto; }
  .journey__sticky { position: relative; height: auto; min-height: 100vh; }
}

/* =========================================================
   PHONES: tighter vertical rhythm (less empty space)
   ========================================================= */
@media (max-width: 640px) {
  :root { --sec-pad: 56px; }
  .chapter, .duo__card--page { --margin: 34px; }
  .chapter { padding: calc(var(--rule) * 2) 20px calc(var(--rule) * 3) calc(var(--margin) + 14px); }
  .duo__card { padding: 30px 22px; }
  .duo__card--page { padding-left: calc(var(--margin) + 14px); }
  .duo__card--screen { padding-top: 52px; }
  .chapter h3, .duo__card h3 { font-size: clamp(24px, 7.4vw, 30px); }
  .logo-wall { margin-top: 36px; }
  .logo-wall__group + .logo-wall__group { margin-top: 40px; }
  .logo-wall__grid { grid-template-columns: repeat(3, 1fr); gap: 22px 18px; }
  .logo-wall__grid li { height: 64px; }
  .logo-wall__grid img { max-height: 54px; }

  /* home hero: ~85% of the screen instead of full height */
  .hero { min-height: 85vh; min-height: 85svh; }
  .hero__paper { padding-top: 96px; padding-bottom: 20px; }
  .vf { inset: 72px 14px 10px; }
  .strips { height: 120px; }
  .strip { padding: 20px 0; }

  /* inner-page title band: fits its content */
  .page-hero { min-height: 0; padding-top: 84px; }
  .page-hero .vf { inset: 66px 14px 40px; }
  .page-hero__inner { padding-top: 22px; padding-bottom: 34px; }
  .crumbs { margin-bottom: 16px; }
  .page-hero__intro { margin-top: 16px; }

  /* section heads and the gaps above content blocks */
  .eyebrow { margin-bottom: 14px; }
  .sec-head__intro { margin-top: 16px; }
  .chapters, .shelf { margin-top: 36px; }
  .duo { margin-top: 32px; }
  .slates { margin-top: 28px; }
  .film__ourwork { margin-top: 40px; }
  .film { padding: 72px 0; }
  .link-arrow { margin-top: 20px; }
  .books .shelf + .link-arrow { margin-top: 32px; }
    .books__foot { margin-top: 48px; padding-top: 24px; }
    .submit__intro .lead { margin-top: 22px; }

  /* bands, contact, end cards, footer */
  .cta-band { padding: 56px 0; }
  .cta-band p { margin-bottom: 20px; }
  .contact { padding: 56px 0; }
  .endcard { padding: 104px var(--gutter) 56px; }
  .footer { padding: 56px 0 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; margin-top: 36px; }
}

/* =========================================================
   CENTRED TITLES & DESCRIPTIONS (all pages)
   ========================================================= */
.page-hero__inner { text-align: center; }
.crumbs { justify-content: center; }
.page-hero__intro { margin-left: auto; margin-right: auto; }
.sec-head { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head__intro { margin-left: auto; margin-right: auto; }
.film__head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
.film__head .leader { order: -1; width: clamp(110px, 11vw, 150px); }
.film__head .sec-head__intro { max-width: 640px; }
.film__ourwork { text-align: center; }
/* section-level links follow their centred headings */
.lit .wrap > .link-arrow, .film .wrap > .link-arrow, .books .wrap > .link-arrow, .network .wrap > .link-arrow { display: flex; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }

/* team reels: straight, no tilt; the shorter strip sits centred under the first */
.contact-sheet__strip, .contact-sheet__strip + .contact-sheet__strip { transform: none; }
.contact-sheet__strip--short { margin-left: auto; margin-right: auto; }

/* submissions: one centred column: heading + intro, then the form */
.submit__grid { grid-template-columns: 1fr; max-width: 780px; margin-left: auto; margin-right: auto; gap: clamp(40px, 5vw, 64px); }
.submit__intro { text-align: center; }
.submit__intro .eyebrow { justify-content: center; }
.submit__intro p { max-width: 640px; margin-left: auto; margin-right: auto; }
.typewriter-form { width: 100%; text-align: left; }

/* larger "Seeking publishing representation…" line (CTA band + Submissions intro) */
.cta-band p { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: #d8d4cc; max-width: 560px; }
.submit__intro .lead { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.55; }


/* =========================================================
   TIGHTER SECTIONS ON TABLET/DESKTOP + FULL-WIDTH SUBMISSIONS
   ========================================================= */
.br-phone { display: none; }
@media (max-width: 640px) { .br-phone { display: inline; } }

@media (min-width: 641px) {
  :root { --sec-pad: clamp(64px, 7vw, 104px); }
  .page-hero { min-height: clamp(360px, 50vh, 520px); }
  .page-hero__inner { padding-bottom: clamp(40px, 5vw, 64px); }
  .chapters, .shelf, .duo, .logo-wall, .contact-sheet { margin-top: 44px; }
  .film { padding: calc(var(--sec-pad) + 16px) 0; }
  .film .journey { margin: 10px 0 0; }
  .film__ourwork { margin-top: 40px; }
  .slates { margin-top: 32px; }
  .books__foot { margin-top: 56px; }
  .cta-band { padding: clamp(56px, 6vw, 88px) 0; }
  .footer { padding-top: clamp(56px, 6vw, 88px); }

  /* submissions: heading on one line, text and form use the full content width */
  .submit__grid { max-width: none; gap: 48px; }
  .submit__intro p { max-width: 1000px; }
  .typewriter-form { max-width: 1000px; margin-left: auto; margin-right: auto; }
}

/* Our Team on phones: one card per row, as a vertical film strip with sprocket holes down both sides */
@media (max-width: 640px) {
  .contact-sheet { padding: 0 var(--gutter); }
  .contact-sheet__strip, .contact-sheet__strip--short {
    display: grid; grid-template-columns: 1fr; gap: 54px; overflow: visible; scroll-snap-type: none;
    width: auto; padding: 50px 40px 30px;
    background:
      repeating-linear-gradient(180deg, transparent 0 10px, #f3f2f1 10px 22px, transparent 22px 32px) 12px 0 / 11px 100% no-repeat,
      repeating-linear-gradient(180deg, transparent 0 10px, #f3f2f1 10px 22px, transparent 22px 32px) calc(100% - 12px) 0 / 11px 100% no-repeat,
      #121212;
    background-attachment: scroll;
  }
  .contact-sheet__strip + .contact-sheet__strip { margin-top: 28px; }
  .frame { flex: none; }
  .frame strong { font-size: 24px; }
}

/* phones: breathing room between the viewfinder row (REC / timecode) and the hero headline */
@media (max-width: 640px) {
  .hero__paper { padding-top: 136px; }
}

/* =========================================================
   20-SECOND POPUP: "Let's hear your story" (home page)
   ========================================================= */
.promo { width: min(540px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 10px; background: #131112; color: #eeece8; box-shadow: 0 40px 120px rgba(0,0,0,.6); overflow: visible; }
.promo::backdrop { background: rgba(10,9,10,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.promo[open] { animation: modalIn .5s var(--ease); }
.promo__card { position: relative; padding: 64px clamp(24px, 5vw, 44px) 36px; text-align: center; }
.promo__clap { /* clapperboard stick that snaps shut on open */
  position: absolute; left: 0; right: 0; top: 0; height: 30px; border-radius: 10px 10px 0 0;
  background: repeating-linear-gradient(-55deg, #f1eee7 0 18px, #0d0d0d 18px 36px);
  transform-origin: 3px 100%; animation: promoClap .55s cubic-bezier(.6, -0.4, .3, 1.6) .25s both;
}
@keyframes promoClap { from { transform: rotate(-16deg); } to { transform: rotate(0); } }
.promo__close { position: absolute; top: 40px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #cfcbc3; font-size: 26px; line-height: 1; }
.promo__close:hover { background: rgba(255,255,255,.08); color: #fff; }
.promo .eyebrow { justify-content: center; margin-bottom: 12px; }
.promo__title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 46px); line-height: 1.08; }
.promo__title em { color: var(--orange); }
.promo__text { margin: 16px auto 0; max-width: 420px; color: #cfcbc3; font-size: 16.5px; line-height: 1.6; }
.promo__ctas { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.promo__ctas .btn { min-width: 220px; }
.promo__later { background: none; border: 0; padding: 8px 4px; color: #9a978f; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.promo__later:hover { color: #eeece8; }
@media (prefers-reduced-motion: reduce) { .promo__clap { animation: none; } }

/* contact links scroll here: keep it clear of the fixed nav bar */
#footer-contact { scroll-margin-top: 110px; }

/* =========================================================
   TIGHTER SPACING between sections (overrides the values above)
   ========================================================= */
@media (min-width: 641px) {
  :root { --sec-pad: clamp(48px, 5vw, 72px); }
  .page-hero { min-height: clamp(300px, 40vh, 440px); padding-top: 124px; }
  .page-hero .vf { inset: 90px var(--gutter) 44px; }
  .page-hero__inner { padding-bottom: 52px; }
  .crumbs { margin-bottom: 18px; }
  .chapters, .shelf, .duo, .logo-wall, .contact-sheet { margin-top: 36px; }
  .film { padding: calc(var(--sec-pad) + 8px) 0; }
  .film__ourwork { margin-top: 32px; }
  .books .shelf + .link-arrow { margin-top: 44px; }
  .books__foot { margin-top: 44px; }
  .cta-band { padding: clamp(44px, 4.5vw, 64px) 0; }
  .contact { padding: var(--sec-pad) 0; }
  .footer { padding-top: clamp(44px, 4.5vw, 64px); }
}
@media (max-width: 640px) {
  :root { --sec-pad: 40px; }
  .page-hero__inner { padding-bottom: 26px; }
  .chapters, .shelf { margin-top: 28px; }
  .duo { margin-top: 24px; }
  .logo-wall { margin-top: 28px; }
  .film { padding: 48px 0; }
  .film__ourwork { margin-top: 28px; }
  .books .shelf + .link-arrow { margin-top: 24px; }
  .books__foot { margin-top: 36px; }
  .cta-band { padding: 40px 0; }
  .contact { padding: 40px 0; }
  .endcard { padding: 96px var(--gutter) 40px; }
  .footer { padding: 40px 0 24px; }
}

/* home page network: first 12 logos only (the Network page lists them all) */
.network--preview .logo-wall__grid li:nth-child(n+13) { display: none; }

/* Books page: less space above the genre filter */
.page-hero + .books { padding-top: 36px; }
.page-hero + .books .wrap > .chips:first-child { margin-top: 0; }
@media (max-width: 640px) { .page-hero + .books { padding-top: 24px; } }

/* Network page: less space above the logos */
.page-hero + .network { padding-top: 36px; }
.page-hero + .network .logo-wall { margin-top: 0; }
@media (max-width: 640px) { .page-hero + .network { padding-top: 24px; } }

/* Team page: less space between the orange strip and the team film strip */
.page-hero + .team { padding-top: 36px; }
.page-hero + .team .contact-sheet { margin-top: 0; }
@media (max-width: 640px) { .page-hero + .team { padding-top: 24px; } }

/* =========================================================
   COMPACT FOOTER; contact emails match the address text
   ========================================================= */
.footer { padding: 40px 0 22px; }
.footer__grid { gap: 32px; padding: 0 0 28px; }
.footer__brand img { width: 72px; }
.footer__lead { margin-top: 12px; font-size: 15.5px; }
.footer__label { margin-bottom: 10px; }
.footer__mails { gap: 0; }
.footer__mails a { font-family: inherit; font-size: 15.5px; line-height: 1.75; color: #cfcbc3; }
.footer__bar { padding-top: 18px; }
@media (max-width: 640px) {
  .footer { padding: 32px 0 20px; }
  .footer__grid { gap: 22px; padding: 0 0 24px; }
  .footer__brand img { width: 64px; }
  /* Office and Follow us side by side */
  .footer__grid { grid-template-columns: 1fr auto; }
  .footer__brand, .footer__grid > .footer__col:nth-child(2) { grid-column: 1 / -1; }
}

/* Book to screen on phones and tablets: the film reel runs vertically between the book and the screen */
@media (max-width: 860px) {
  .stage { width: 560px; height: 880px; }
  .book3d { left: 280px; top: 20px; }
  .reel-strip {
    left: 219px; top: 360px; width: 122px; height: 380px;
    border: 0; border-left: 1px solid #262626; border-right: 1px solid #262626;
    clip-path: inset(0 0 calc((1 - var(--strip)) * 100%) 0);
  }
  .reel-strip::before, .reel-strip::after {
    top: 0; bottom: 0; left: auto; right: auto; width: 9px; height: auto;
    background: repeating-linear-gradient(180deg, transparent 0 6px, #e9e4d8 6px 15px, transparent 15px 22px);
  }
  .reel-strip::before { left: 7px; } .reel-strip::after { right: 7px; }
  .reel-strip__frames { inset: 8px 22px; flex-direction: column; transform: translateY(calc((1 - var(--strip)) * -40px)); }
  .reel-strip figure { margin: 3px 0; gap: 4px; }
  .reel-strip svg { width: 26px; height: 26px; }
  .reel-strip figcaption { font-size: 9px; letter-spacing: .06em; }
  .cinema { left: 150px; top: 750px; width: 260px; height: 130px; }
}

/* "Let's hear your story." band: bigger Submit your work button; heading on two lines on desktop */
.cta-band .btn { padding: 20px 40px; font-size: 19px; }
@media (max-width: 640px) { .cta-band .btn { padding: 18px 34px; font-size: 17.5px; } }
@media (min-width: 861px) {
  .cta-band h2 em { display: block; }
}

/* About page: longer text, tighter paragraph spacing, two links side by side */
.about__body p + p { margin-top: 18px; }
.about__links { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 32px; }
.about__links .link-arrow { margin-top: 0; }

/* Page titles: one size on every page, sized so "Highlights from Our Catalogue" fits on one line (tablet and desktop) */
@media (min-width: 641px) {
  .page-hero__title { font-size: clamp(30px, 5.2vw, 76px); }
  .sec-head:has(.one-line) { max-width: none; }
  .one-line { white-space: nowrap; font-size: clamp(30px, 5.2vw, 76px); }
}

/* SITE FONTS: Crimson Text for titles (--serif) and Futura for body text (--sans) everywhere; set in :root at the top */
