/* =========================================================
   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: "Instrument Serif", "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --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(46px, 6.6vw, 98px);
  line-height: .98;
  letter-spacing: -.01em;
}
.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;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--orange); }
.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(--serif); font-weight: 400;
  font-size: clamp(54px, 7.8vw, 122px);
  line-height: .98; letter-spacing: -.012em;
  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; }

.hero__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px;
}
.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: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about__head .h-xl em { color: #fff; }
.about__mark { width: 220px; height: auto; margin-top: 64px; }
.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(32px, 4.6vw, 64px); line-height: 1.04;
  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 --- */
.book3d {
  --bw: 200px; --bh: 290px; --bd: 26px;
  position: absolute; left: 230px; top: 90px;
  width: var(--bw); height: var(--bh);
  transform-style: preserve-3d;
  transform: rotateX(calc(16deg - var(--open) * 8deg)) rotateY(calc(-34deg + var(--open) * 26deg)) rotateZ(-3deg);
}
.book3d > div { position: absolute; }
.book3d__back { inset: 0; background: #7d2f08; transform: translateZ(calc(var(--bd) / -2)); box-shadow: 30px 40px 60px rgba(0,0,0,.6); border-radius: 2px 6px 6px 2px; }
.book3d__block {
  top: 4px; bottom: 4px; left: calc(var(--bw) - var(--bd) / 2 - 3px); width: var(--bd);
  background: repeating-linear-gradient(90deg, #efe8d8 0 1.5px, #d9d0bd 1.5px 3px);
  transform: rotateY(90deg);
}
.book3d__spine {
  top: 0; bottom: 0; left: calc(var(--bd) / -2); width: var(--bd);
  background: linear-gradient(90deg, #a83e08, var(--orange) 50%, #a83e08);
  transform: rotateY(-90deg);
}
.book3d::before { /* first page, revealed when the cover opens */
  content: ""; position: absolute; inset: 4px 4px 4px 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 13px, rgba(0,0,0,.13) 13px 14px) 22px 46px / calc(100% - 44px) 200px no-repeat,
    #f6f1e4;
  transform: translateZ(calc(var(--bd) / 2 - 3px));
}
.book3d__leaf {
  top: 4px; bottom: 4px; left: 0; width: calc(var(--bw) - 4px);
  transform-origin: left center;
  transform: translateZ(calc(var(--bd) / 2 - 2px + var(--i) * .4px)) rotateY(calc(var(--open) * (-176deg + var(--i) * 30deg)));
  background: #f8f4ea;
  border-radius: 0 3px 3px 0;
  box-shadow: inset 8px 0 14px -10px rgba(0,0,0,.4);
}
.book3d__leaf span {
  position: absolute; inset: 40px 20px 50px;
  background: repeating-linear-gradient(180deg, transparent 0 12px, rgba(0,0,0,.12) 12px 13px);
}
.book3d__cover {
  inset: 0; transform-style: preserve-3d; transform-origin: left center;
  transform: translateZ(calc(var(--bd) / 2)) rotateY(calc(var(--open) * -168deg));
}
.book3d__front, .book3d__inside { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2px 6px 6px 2px; }
.book3d__front {
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), transparent 9%, rgba(255,255,255,.08) 11%, transparent 14%),
    linear-gradient(160deg, #ff7d33, var(--orange) 45%, #d24c06);
  color: #fff; padding: 28px 22px 22px 30px;
  display: flex; flex-direction: column;
}
.book3d__front small { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; opacity: .85; }
.book3d__front strong { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: .92; margin-top: auto; }
.book3d__front span { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.5); }
.book3d__inside { background: #e9e1cf; transform: rotateY(180deg); box-shadow: inset -10px 0 20px -12px rgba(0,0,0,.4); }

/* --- film strip --- */
.reel-strip {
  position: absolute; left: 432px; top: 178px; width: 528px; 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; 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; }
.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 1.3fr; gap: clamp(26px, 3vw, 44px); margin-top: 70px; perspective: 1400px; }
.chapter {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  padding: clamp(32px, 4vw, 54px);
  padding-bottom: 72px;
  background:
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(0,0,0,.045) 31px 32px),
    var(--sheet);
  border: 1px solid #e3ddce;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 4px 4px 0 -1px #f1ece0, 4px 4px 0 0 #e0d9c9, 8px 8px 0 -1px #efe9dc, 8px 8px 0 0 #dcd4c2, 0 30px 60px -30px rgba(0,0,0,.25);
}
.js .chapter.reveal.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.chapter:hover { box-shadow: 4px 4px 0 -1px #f1ece0, 4px 4px 0 0 #e0d9c9, 8px 8px 0 -1px #efe9dc, 8px 8px 0 0 #dcd4c2, 0 50px 80px -30px rgba(0,0,0,.3); }
.chapter::after { /* page curl corner */
  content: ""; position: absolute; right: -1px; bottom: -1px; width: 38px; height: 38px;
  background: linear-gradient(135deg, #e7e0cf 0 50%, var(--paper) 50%);
  box-shadow: -3px -3px 6px rgba(0,0,0,.06);
}
.chapter__no { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--orange-deep); }
.chapter h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3vw, 44px); line-height: 1.05; margin: 10px 0 18px; }
.chapter p { color: var(--ink-soft); }
.chapter__tags { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chapter__tags li { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid #cfc7b5; padding: 5px 11px; }
.chapter__folio { position: absolute; left: 0; right: 0; bottom: 26px; 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: hidden; }
.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; }
.contact-sheet { margin: 64px auto 0; max-width: calc(1000px + var(--gutter) * 2); padding: 0 var(--gutter); }
.contact-sheet__strip {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 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); }
.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; filter: grayscale(1) contrast(1.08); transform: scale(1.02); transition: filter .7s var(--ease), transform 1.1s var(--ease); }
.frame:hover .frame__img img { filter: grayscale(0) contrast(1); transform: scale(1.07); }
.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(22px, 2vw, 28px); line-height: 1.1; }
.frame figcaption span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a8a49b; }
.frame--empty .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 { perspective: 1100px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.bk.is-hidden { display: none; }
.bk.is-entering { opacity: 0; transform: translateY(20px); }
.bk__stage { position: relative; padding: 10px 0 26px; }
.bk__stage::after { /* shelf shadow */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 6px; height: 18px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.28), transparent 70%);
  transition: transform .6s var(--ease), opacity .6s;
}
.bk:hover .bk__stage::after { transform: scale(.85); opacity: .6; }
.bk__3d {
  --d: 26px;
  position: relative; width: 76%; aspect-ratio: 2 / 3; margin: 0 auto;
  transform-style: preserve-3d;
  transform: rotateY(32deg) rotateX(4deg);
  transition: transform .8s var(--ease);
}
.bk:hover .bk__3d, .bk:focus-within .bk__3d { transform: rotateY(4deg) rotateX(0) translateY(-14px); }
.bk__3d > * { position: absolute; }
.bk__front { inset: 0; transform: translateZ(calc(var(--d) / 2)); overflow: hidden; border-radius: 1px 4px 4px 1px; box-shadow: inset 4px 0 0 rgba(255,255,255,.1), inset 10px 0 12px -8px rgba(0,0,0,.4); }
.bk__front img { width: 100%; height: 100%; object-fit: cover; }
.bk__back { inset: 0; transform: translateZ(calc(var(--d) / -2)); background: #222; }
.bk__spine {
  top: 0; bottom: 0; left: calc(var(--d) / -2); width: var(--d);
  transform: rotateY(-90deg);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bk__spine span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
.bk__pages {
  top: 3px; bottom: 3px; right: calc(var(--d) / -2 + 2px); width: calc(var(--d) - 2px);
  transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f3eee2 0 1.5px, #ddd5c3 1.5px 3px);
}
.bk__meta { margin-top: 18px; }
.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__meta .bk__hook { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.bk__meta .bk__hook b { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-deep); }

/* 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: end credits
   ========================================================= */
.network { padding: var(--sec-pad) 0; }
.credits { margin-top: 70px; display: grid; gap: 46px; }
.credits__label {
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto 18px; padding: 0 var(--gutter);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: #9a978f;
}
.credits__label::before { content: "▸ "; color: var(--orange); }
.credits__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.credits__track { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee 60s linear infinite; padding: 6px 0 10px; }
.credits__track--rev { animation-direction: reverse; animation-duration: 72s; }
.credits__dup { display: contents; }
.credits__row:hover .credits__track { animation-play-state: paused; }

/* each logo sits on a cream card, like a frame; grey until hover */
.logo-tile {
  flex: none; display: grid; place-items: center;
  width: 190px; height: 112px; margin-right: 18px; padding: 16px 22px;
  background: var(--cream); border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 14px 30px -18px rgba(0,0,0,.8);
  transition: transform .45s var(--ease), background .45s;
}
.logo-tile img {
  max-width: 100%; max-height: 74px; width: auto; height: auto; object-fit: contain;
  mix-blend-mode: multiply; /* white logo backgrounds melt into the card */
  filter: grayscale(1) contrast(1.05); opacity: .78;
  transition: filter .45s var(--ease), opacity .45s;
}
.logo-tile:hover { transform: translateY(-4px); background: #fbf8f1; }
.logo-tile:hover img { filter: none; opacity: 1; }
@media (hover: none) { .logo-tile img { filter: none; opacity: 1; } } /* phones can't hover: show colour */

/* =========================================================
   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: 44px clamp(24px, 3.4vw, 46px) 40px;
  background: var(--sheet); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  font-family: var(--mono);
}
.js .typewriter-form.reveal .sheet { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease) .2s; }
.js .typewriter-form.reveal.in .sheet { clip-path: inset(0 0 -60px 0); }
.sheet__head { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 2px solid var(--ink); }
.sheet__head span { color: var(--muted); }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #6c6962; margin-bottom: 4px; }
.field label small { text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 8px 0 7px;
  font-family: var(--mono); font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px dashed #b4ad9e; border-radius: 0;
  transition: border-color .25s;
  outline: none;
}
.field select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background: 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 4px center no-repeat;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6;
  background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(0,0,0,.08) 25px 26px);
  background-attachment: local; border-bottom-style: dashed; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom: 1px solid var(--orange); }
.field input::placeholder, .field textarea::placeholder { color: #aaa293; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom: 1px solid #c62f12; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.sheet .btn { margin-top: 10px; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; font-size: 13.5px; padding: 16px 30px; }
.sheet__status { margin-top: 16px; font-size: 14px; min-height: 1.4em; }
.sheet__status.ok { color: #1f7a3a; }
.sheet__status.err { color: #c62f12; }
.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; }
.contact__social { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.contact__social a { text-decoration: none; font-weight: 500; }
.contact__social a:hover { color: var(--orange-deep); }

.footer { padding: clamp(70px, 9vw, 120px) 0 34px; overflow: hidden; }
.footer__big { font-family: var(--serif); font-size: clamp(48px, 10vw, 168px); line-height: .92; letter-spacing: -.02em; white-space: nowrap; }
.footer__big em { color: var(--orange); }
.footer__row { margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; gap: 30px; flex-wrap: wrap; font-size: 13.5px; color: #8f8c85; }
.footer__row img { width: 92px; height: auto; }
.contact__logo { width: 120px; height: auto; margin-bottom: 22px; }
.footer__addr { flex: 1; min-width: 240px; }
.footer__top { text-decoration: none; color: #eeece8; }
.footer__top:hover { color: var(--orange); }

/* =========================================================
   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); }
}

@media (max-width: 860px) {
  .about__grid, .submit__grid, .chapters { grid-template-columns: 1fr; }
  .about__mark { display: none; }
  .film__head { grid-template-columns: 1fr; }
  .leader { order: -1; width: 110px; }
  .contact__grid { grid-template-columns: 1fr; gap: 24px; }
  .contact__social { flex-direction: row; text-align: left; gap: 24px; }
  .books__foot { flex-direction: column; align-items: flex-start; }

  /* journey: stacked stage */
  .stage { width: 560px; height: 690px; }
  .book3d { left: 270px; top: 20px; }
  .reel-strip { left: 16px; top: 380px; width: 528px; }
  .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) {
  .logo-tile { width: 140px; height: 84px; padding: 12px 16px; margin-right: 12px; }
  .logo-tile img { max-height: 56px; }
  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(44px, 13.5vw, 64px); }
  .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 { grid-template-columns: 1fr; gap: 0; }
  .contact-sheet { padding: 0; }
  .contact-sheet__strip {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-left: 20px; padding-right: 20px; gap: 14px; transform: none !important;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .contact-sheet__strip::-webkit-scrollbar { display: none; }
  .frame { flex: 0 0 72%; scroll-snap-align: center; }
  .shelf { grid-template-columns: repeat(2, 1fr); gap: 50px 18px; }
  .cv strong { font-size: 22px; }
  .bk__meta h3 { font-size: 21px; }
  .footer__big { white-space: normal; }
  .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; }
}
