/* ═══════════════════════════════════════════════════════════════
   THE LETTERPRESS CUT — between the sea and the set
   Cream paper, ink & navy, brick accents. The Wes charm at
   professional volume: № markers, a stamp, one red flourish.
   Type: Cormorant Garamond · Lora · Jost · Special Elite (labels)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper: #f7f2e7;
  --mist: #eceee9;
  --ink: #29241c;
  --soft: #675f4f;
  --navy: #29486b;
  --navy-deep: #1e3550;
  --brick: #b3543f;
  --mustard: #c49102;
  --line: rgba(41, 36, 28, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --body: "Lora", Georgia, serif;
  --ui: "Jost", "Futura", sans-serif;
  --label: "Special Elite", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(179, 84, 63, 0.18); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

/* ── reveals ─────────────────────────────────────────────────── */
.js .r { opacity: 0; translate: 0 14px; }
.js .r.in {
  opacity: 1; translate: 0 0;
  transition: opacity 0.65s ease, translate 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 110ms);
}

/* ── nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(247, 242, 231, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-name {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.25rem; color: var(--ink); text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.2rem); }
.nav-links a {
  font-family: var(--ui); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--soft); text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }

/* ── buttons: letterpress ────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--ui); font-weight: 500; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, translate 0.25s ease;
}
.nav-cta {
  border: 1.5px solid var(--brick);
  border-radius: 2px;
  padding: 0.5rem 1rem !important;
  color: var(--brick) !important;
}
.nav-cta:hover { background: var(--brick); color: var(--paper) !important; }
.btn--brick { color: var(--brick); box-shadow: 2px 2px 0 rgba(179, 84, 63, 0.35); }
.btn--brick:hover { background: var(--brick); color: var(--paper); box-shadow: 1px 1px 0 rgba(179, 84, 63, 0.35); translate: 1px 1px; }
.btn--cream { color: var(--paper); box-shadow: 2px 2px 0 rgba(247, 242, 231, 0.28); }
.btn--cream:hover { background: var(--paper); color: var(--navy-deep); box-shadow: 1px 1px 0 rgba(247, 242, 231, 0.28); translate: 1px 1px; }
.btn-note { margin-top: 0.8rem; font-size: 0.85rem; font-style: italic; color: var(--soft); }
.btn-note--light { color: rgba(247, 242, 231, 0.7); }

/* ── hero ────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: clamp(4.5rem, 12vh, 8rem) 1.25rem clamp(3.5rem, 9vh, 6rem);
  max-width: 46rem;
  margin: 0 auto;
}
h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h2 { text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--navy); }
.hero-sub {
  margin: 1.5rem auto 2.2rem;
  max-width: 34rem;
  color: var(--soft);
}
.hero-wave { width: 150px; margin: 3rem auto 0; display: block; }
.hero-wave path { stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }
.js .hero-wave .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero-wave.in .draw { animation: draw 1.4s ease-out 0.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ── bands & № markers ───────────────────────────────────────── */
.band {
  padding: clamp(3.8rem, 9vh, 6.5rem) 1.25rem;
  text-align: center;
}
.band > * { margin-left: auto; margin-right: auto; }
.band--mist { background: var(--mist); }
.band--navy { background: linear-gradient(174deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--paper); }

.no {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem;
  font-family: var(--ui); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.4rem;
  width: fit-content;
}
.no span { color: var(--mustard); }
.no::before, .no::after {
  content: ""; width: 2.6rem; height: 1px; background: var(--line);
}
.no--light { color: var(--paper); }
.no--light::before, .no--light::after { background: rgba(247, 242, 231, 0.3); }

h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.2;
  max-width: 34rem;
}

/* ── № 1 · noise ─────────────────────────────────────────────── */
.noise-row {
  display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  margin-top: 2rem;
  font-style: italic;
  color: var(--soft);
}
.noise-row p { position: relative; }
.noise-row p + p::before {
  content: "·"; position: absolute; left: calc(-0.6 * clamp(1rem, 3vw, 2.5rem) - 2px);
  color: var(--mustard); font-style: normal;
}
.turn {
  margin-top: 2.2rem;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  max-width: 30rem;
}
.turn em { color: var(--brick); }

/* ── № 2 · guide ─────────────────────────────────────────────── */
.prose { max-width: 36rem; margin-top: 1.4rem; color: var(--soft); }
.chips {
  list-style: none;
  display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap;
  margin-top: 2rem;
}
.chips li {
  font-family: var(--ui); font-size: 0.78rem; letter-spacing: 0.05em;
  color: var(--soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 255, 255, 0.35);
}
.chips strong { font-weight: 600; color: var(--ink); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.12em; }

/* ── № 3 · work ──────────────────────────────────────────────── */
.band--work { padding-bottom: clamp(4rem, 10vh, 7rem); }
.tiles {
  columns: 3;
  column-gap: clamp(1.2rem, 2.6vw, 2rem);
  max-width: 68rem;
  margin: 2.6rem auto 0;
  text-align: left;
}
.tile { break-inside: avoid; margin-bottom: clamp(1.6rem, 3vw, 2.2rem); }
.plan-wrap { max-width: 46rem; margin: clamp(1rem, 2vh, 1.6rem) auto 0; }

.tile-frame {
  background: #fdfbf4;
  border: 1px solid var(--line);
  padding: 8px;
  box-shadow: 0 1px 2px rgba(41, 36, 28, 0.08), 0 10px 22px -12px rgba(41, 36, 28, 0.28);
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}
.tile:hover .tile-frame {
  translate: 0 -5px;
  box-shadow: 0 2px 3px rgba(41, 36, 28, 0.07), 0 20px 34px -14px rgba(41, 36, 28, 0.34);
}
.cap {
  margin-top: 0.65rem;
  font-family: var(--label);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: var(--soft);
}
.cap a { color: var(--brick); text-decoration: none; white-space: nowrap; }
.cap a:hover { text-decoration: underline; }

/* the office, drawn */
.tile--plan {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1rem, 2.5vw, 1.8rem) clamp(1rem, 2.5vw, 1.8rem) 0.9rem;
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(41, 72, 107, 0.07) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(41, 72, 107, 0.07) 27px 28px),
    #fbf7ec;
}
.tile--plan .cap { text-align: center; margin-top: 0.4rem; }
.mini-plan { width: min(100%, 40rem); margin: 0 auto; display: block; }
.mp-line { fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; }
.mp-fine { fill: none; stroke: var(--navy); stroke-width: 1; opacity: 0.7; }
.mp-hair { fill: none; stroke: var(--navy); stroke-width: 0.7; opacity: 0.32; }
.mp-dash { fill: none; stroke: var(--navy); stroke-width: 1; stroke-dasharray: 7 5; opacity: 0.55; }
.mp-t { font-family: var(--label); font-size: 11px; letter-spacing: 0.12em; fill: var(--soft); }

.work-plus {
  margin-top: 2.4rem;
  font-style: italic;
  color: var(--soft);
  max-width: 34rem;
}

/* ── № 4 · plan + proof ──────────────────────────────────────── */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 62rem;
  margin: 2.6rem auto 0;
}
.steps li { text-align: center; }
.step-n {
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  margin: 0 auto 0.8rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--ui); font-weight: 600; font-size: 0.95rem;
}
.steps h3 {
  font-family: var(--ui); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.steps p { margin-top: 0.35rem; font-size: 0.9rem; color: var(--soft); }

.proof {
  max-width: 34rem;
  margin-top: clamp(3rem, 7vh, 4.5rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.proof p:first-child {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.25rem; line-height: 1.55;
}
.proof cite {
  display: block; margin-top: 0.9rem;
  font-family: var(--ui); font-style: normal; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--soft);
}
.proof-note { margin-top: 1rem; font-size: 0.92rem; color: var(--soft); }

/* ── № 5 · talk ──────────────────────────────────────────────── */
.band--navy { position: relative; overflow: hidden; }
.stakes { max-width: 30rem; color: rgba(247, 242, 231, 0.78); font-style: italic; }
.close-line {
  position: relative;
  display: inline-block;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin: 1.4rem auto 2.4rem;
}
.close-line em { font-style: italic; color: #f0c9a8; }
.flourish {
  position: absolute; left: 4%; right: -2%; bottom: -0.34em;
  width: 98%; height: 0.42em;
}
.flourish path { stroke: var(--brick); stroke-width: 3; stroke-linecap: round; }
.js .flourish .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .in .flourish .draw { animation: draw 0.9s ease-out 0.9s forwards; }

.stamp {
  width: 62px;
  margin: 2.6rem auto 0;
  display: block;
  background: var(--paper);
  padding: 3px;
  rotate: 3deg;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  transition: rotate 0.3s ease;
}
.stamp:hover { rotate: -2deg; }
.stamp-field { fill: #e8ddc2; stroke: var(--navy); stroke-width: 2; }
.stamp-wave { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; }
.stamp-t { font-family: var(--label); font-size: 10px; letter-spacing: 0.12em; fill: var(--navy); }
.stamp-v { font-family: var(--label); font-size: 9px; fill: var(--brick); }

/* ── footer ──────────────────────────────────────────────────── */
.foot {
  text-align: center;
  padding: clamp(2.5rem, 6vh, 4rem) 1.25rem;
}
.foot-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.foot-links { display: flex; justify-content: center; gap: 1.8rem; margin-top: 0.7rem; }
.foot-links a {
  font-family: var(--ui); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--soft); text-decoration: none;
}
.foot-links a:hover { color: var(--brick); }
.foot-note { margin-top: 1.1rem; font-family: var(--label); font-size: 0.64rem; letter-spacing: 0.08em; color: rgba(41, 36, 28, 0.45); }

/* ── responsive ──────────────────────────────────────────────── */
@media (max-width: 60rem) {
  .tiles { columns: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
}
@media (max-width: 40rem) {
  .nav-links a:not(.nav-cta) { display: none; }
  .tiles { columns: 1; max-width: 26rem; }
  .noise-row { flex-direction: column; gap: 0.3rem; }
  .noise-row p + p::before { content: none; }
}

/* ── reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .r { opacity: 1; translate: 0 0; transition: none; }
  .js .hero-wave .draw, .js .flourish .draw { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .tile-frame, .tile:hover .tile-frame { transition: none; translate: 0 0; }
  .stamp, .stamp:hover { transition: none; rotate: 3deg; }
  .btn, .btn:hover { translate: 0 0; }
}
