/* ============================================================
   Novus Page — Brand Design System v1.0
   Stylesheet implementing the brand book and build guide.
   ============================================================ */

/* --- 1. Tokens --------------------------------------------- */

:root {
  /* Colour */
  --paper:  #F5F1EB;
  --bone:   #EAE4D8;
  --ink:    #1A1A1A;
  --slate:  #6B6259;
  --rust:   #B5563B;

  --slate-30: rgba(107, 98, 89, 0.30);
  --slate-20: rgba(107, 98, 89, 0.20);
  --slate-15: rgba(107, 98, 89, 0.15);
  --slate-10: rgba(107, 98, 89, 0.10);
  --paper-80: rgba(245, 241, 235, 0.80);
  --paper-50: rgba(245, 241, 235, 0.50);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --sans:  "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;

  /* Spacing scale (8px base) */
  --s-1:   8px;
  --s-2:  16px;
  --s-3:  24px;
  --s-4:  32px;
  --s-5:  48px;
  --s-6:  64px;
  --s-7:  80px;
  --s-8:  96px;
  --s-9: 128px;
  --s-10: 160px;

  /* Layout */
  --content-max:  1240px;
  --body-max:      680px;
  --gutter-d:       80px;
  --gutter-m:       24px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 200ms;
  --t-med:  300ms;
  --t-slow: 600ms;

  /* Subtle paper-grain textures, generated as SVG fractalNoise.
     Used on .section--bone and .section--ink to add tactility without
     overpowering. Paper sections stay clean. */
  --texture-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' seed='3'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.38  0 0 0 0 0.35  0.08 0.08 0.08 0 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
  --texture-dark:  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' seed='5'/><feColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.94  0 0 0 0 0.92  0.10 0.10 0.10 0 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
}

/* --- 2. Reset & base --------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

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

figure { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover { color: var(--rust); }

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

p { margin: 0 0 var(--s-3); }
p:last-child { margin-bottom: 0; }

::selection { background: var(--rust); color: var(--paper); }

/* --- 3. Typography ----------------------------------------- */

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.h-section {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--s-4);
}

.h-sub {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 var(--s-3);
}

.intro {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
}

.caption {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.ui-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- 4. Layout --------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter-m);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--gutter-d); }
}

.body-col { max-width: var(--body-max); }

.section {
  padding-block: var(--s-8);
  position: relative;
}

@media (min-width: 768px) {
  .section { padding-block: var(--s-8); }
}

.section--hero {
  padding-top: clamp(var(--s-7), 14vh, 200px);
  padding-bottom: var(--s-9);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.section--bone {
  background-color: var(--bone);
  background-image: var(--texture-light);
  background-size: 240px 240px;
}
.section--ink {
  background-color: var(--ink);
  background-image: var(--texture-dark);
  background-size: 240px 240px;
  color: var(--paper);
}

/* Inverted child colours when sitting on a dark section.
   These reach inside .section--ink to handle elements that have their
   own colour declarations and would otherwise be unreadable. */
.section--ink .kicker { color: var(--paper-80); }
.section--ink .h-section,
.section--ink .display,
.section--ink .h-sub { color: var(--paper); }
.section--ink p,
.section--ink .lead-large,
.section--ink .intro { color: var(--paper); }
.section--ink .btn--secondary {
  border-color: var(--paper-80);
  color: var(--paper);
}
.section--ink .btn--secondary:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.section--cta { padding-block: var(--s-7); }

/* Quiet hero — type-led with a single elegant section break below */
.hero-quiet {
  position: relative;
  padding-block: clamp(72px, 14vh, 160px) clamp(48px, 10vh, 120px);
}

.hero-quiet .display {
  margin-top: var(--s-3);
  max-width: 18ch;
}

/* Hero with full-bleed image background.
   The image sits absolute, the overlay sits above it, and content sits above
   the overlay. The overlay is a paper-tinted gradient that's denser at the
   top-left where the headline sits, fading to clear at the bottom-right where
   the image's accent (rust glow, slate edge) breathes through cleanly. */
.hero-image {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-image__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-image__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Denser paper at top-left, fading toward bottom-right.
     Tuned so charcoal text always has at least 4.5:1 contrast in the
     top-left zone, while the image's gradient accent shows through
     in the bottom-right. */
  background:
    linear-gradient(
      135deg,
      rgba(245, 241, 235, 0.82) 0%,
      rgba(245, 241, 235, 0.65) 35%,
      rgba(245, 241, 235, 0.32) 65%,
      rgba(245, 241, 235, 0.10) 100%
    );
}

.hero-image__content {
  position: relative;
  z-index: 2;
}

/* Per-page fine-tuning. Each gradient image has the rust accent
   in a different position; we shift the overlay direction to
   keep the headline in the lightest, most legible zone. */
.hero-image--home .hero-image__overlay {
  /* Rust glow is bottom-right, slate is bottom-left → headline area top is light */
  background: linear-gradient(
    180deg,
    rgba(245, 241, 235, 0.78) 0%,
    rgba(245, 241, 235, 0.55) 45%,
    rgba(245, 241, 235, 0.18) 100%
  );
}

.hero-image--work .hero-image__overlay {
  /* Rust runs vertically along the right edge → fade horizontally L→R */
  background: linear-gradient(
    90deg,
    rgba(245, 241, 235, 0.80) 0%,
    rgba(245, 241, 235, 0.55) 45%,
    rgba(245, 241, 235, 0.15) 100%
  );
}

.hero-image--about .hero-image__overlay {
  /* Rust accent sits in the right-centre as a soft glow → very gentle overlay */
  background: linear-gradient(
    135deg,
    rgba(245, 241, 235, 0.72) 0%,
    rgba(245, 241, 235, 0.45) 50%,
    rgba(245, 241, 235, 0.15) 100%
  );
}

.hero-image--contact .hero-image__overlay {
  /* Rust diagonal in bottom-right → fade diagonally TL→BR */
  background: linear-gradient(
    135deg,
    rgba(245, 241, 235, 0.80) 0%,
    rgba(245, 241, 235, 0.55) 45%,
    rgba(245, 241, 235, 0.12) 100%
  );
}

@media (min-width: 900px) {
  .hero-quiet .display {
    font-size: clamp(64px, 8vw, 124px);
    max-width: 22ch;
  }
}

/* Hero divider — thin Ink rule with a single Rust dot */
.hero-rule {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: clamp(96px, 16vh, 180px);
  width: min(560px, 70%);
}

.hero-rule__line {
  flex: 1;
  height: 1px;
  background: var(--ink);
  opacity: 0.35;
}

.hero-rule__line:last-child {
  flex: 0 0 28px;
  opacity: 0.18;
}

.hero-rule__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
  flex: 0 0 auto;
}

/* Quiet italic tagline beneath the divider */
.hero-mark {
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
  max-width: 620px;
}

.hero-mark em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.72;
}

@media (min-width: 900px) {
  .hero-mark {
    margin-top: var(--s-7);
  }
}

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(107, 98, 89, 0.16);
  background: var(--bone);
  box-shadow: 0 36px 72px rgba(26, 26, 26, 0.10);
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(181, 86, 59, 0.08);
  mix-blend-mode: multiply;
  z-index: 1;
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 50%;
  filter: saturate(0.86) contrast(1.03);
}

.hero-portrait figcaption {
  position: absolute;
  right: var(--s-2);
  bottom: var(--s-2);
  z-index: 2;
  max-width: 190px;
  padding: 10px 12px;
  background: rgba(245, 241, 235, 0.82);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Editorial hero art — abstract wireframe illustration in place of portrait */
.hero-art {
  position: relative;
  margin: 0;
  padding: 0;
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 620px;
  margin-inline: auto;
  filter: drop-shadow(0 22px 42px rgba(26, 26, 26, 0.08));
}

.hero-art figcaption {
  margin-top: var(--s-3);
  text-align: right;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

@media (min-width: 900px) {
  .hero-art {
    transform: translateX(2%) rotate(-0.8deg);
  }
  .hero-art svg {
    max-width: 100%;
  }
}

@media (min-width: 900px) {
  .hero-editorial__grid {
    grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
    gap: var(--s-6);
  }

  .hero-editorial .display {
    font-size: clamp(48px, 5.6vw, 92px);
    max-width: 720px;
    margin-right: 0;
  }

  .hero-portrait {
    min-height: 620px;
    transform: translateX(4%) rotate(-1.2deg);
  }
}

/* Two-column asymmetric pattern: heading left, body right */
.col-asym {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

.side-note {
  max-width: 220px;
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--slate-15);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.25;
  color: var(--ink);
  opacity: 0.74;
}

@media (min-width: 900px) {
  .col-asym {
    grid-template-columns: 4fr 7fr;
    gap: var(--s-7);
    align-items: start;
  }

  .col-asym .body-col {
    padding-top: 2px;
  }
}

/* Reverse: body left, sidebar right */
.col-asym--rev {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .col-asym--rev {
    grid-template-columns: 7fr 4fr;
  }
}

/* --- 5. Navigation ----------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  transition: background var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: var(--bone);
  border-bottom-color: var(--slate-10);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}

.nav__brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav__brand:hover { color: var(--ink); }

.nav__brand .dot { color: var(--rust); }

.nav__links {
  display: none;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-block: 4px;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--rust);
}

/* Mobile menu toggle */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  margin-right: -10px;
  width: 44px;
  height: 44px;
}

@media (min-width: 768px) {
  .nav__toggle { display: none; }
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform var(--t-fast) var(--ease),
              opacity var(--t-fast) var(--ease);
}

.nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav__overlay {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--gutter-m);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}

.nav__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav__overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__overlay-close svg {
  width: 24px;
  height: 24px;
}

/* When the menu is open, force the top nav (with brand and X) to be
   reliably above the fixed overlay. Sticky positioning isn't always
   trustworthy when body overflow is locked — fixed positioning is. */
body.is-nav-open .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 0;
}

.nav__overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.nav__overlay a {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  color: var(--ink);
}

/* --- 6. Buttons -------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 0;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--rust);
  color: var(--paper);
  border: 1px solid var(--rust);
}

.btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn--secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

/* --- 7. Process steps -------------------------------------- */

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--s-7);
}

.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  align-items: baseline;
}

@media (min-width: 768px) {
  .step {
    grid-template-columns: 160px 1fr;
    gap: var(--s-5);
  }
}

.step__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(86px, 10vw, 132px);
  font-style: italic;
  line-height: 1;
  color: rgba(181, 86, 59, 0.82);
  letter-spacing: -0.02em;
}

.step__mark {
  display: flex;
  align-items: flex-end;
  gap: var(--s-2);
  min-height: 64px;
}

.step__h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 var(--s-2);
}

.step__body { max-width: var(--body-max); }

/* --- 8. Pull quote ----------------------------------------- */

.pull-quote {
  padding-block: var(--s-7);
  text-align: left;
}

.pull-quote p {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  max-width: 820px;
  margin: 0;
  color: var(--ink);
}

/* --- 9. Founder block -------------------------------------- */

.founder {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  align-items: start;
}

@media (min-width: 768px) {
  .founder {
    grid-template-columns: 5fr 7fr;
    gap: var(--s-7);
  }
}

.founder__portrait {
  aspect-ratio: 4 / 5;
  background: var(--bone);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(107, 98, 89, 0.14);
  box-shadow: 0 28px 62px rgba(26, 26, 26, 0.10);
}

.founder__portrait::after {
  content: "Photograph forthcoming";
  position: absolute;
  inset: auto 16px 16px 16px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

/* When a real image is set, dim the placeholder caption */
.founder__portrait.has-image::after { display: none; }

.founder__portrait.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.90) contrast(1.02);
}

.founder__portrait figcaption {
  position: absolute;
  left: var(--s-2);
  bottom: var(--s-2);
  padding: 9px 11px;
  background: rgba(245, 241, 235, 0.84);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder__portrait--landscape {
  aspect-ratio: 4 / 3;
}

.founder__portrait--landscape img { object-position: 58% 50%; }

.founder--about {
  align-items: center;
}

@media (min-width: 768px) {
  .founder--about {
    grid-template-columns: 6fr 5fr;
  }
}

.signature-mark {
  margin-top: var(--s-5);
  width: 220px;
  max-width: 70%;
}

.trust-note {
  margin-top: var(--s-4);
  padding: 14px 0 0;
  border-top: 1px solid var(--slate-15);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--slate);
}

.text-link {
  border-bottom: 1px solid var(--slate-30);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.text-link:hover {
  border-bottom-color: var(--rust);
}

.geo-line {
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--slate-15);
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  max-width: 720px;
}

/* --- 10. FAQ ----------------------------------------------- */

.faq {
  border-top: 1px solid var(--slate-15);
  position: relative;
}

.faq::before {
  content: "?";
  position: absolute;
  right: 0;
  top: -82px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 120px;
  line-height: 1;
  color: rgba(181, 86, 59, 0.14);
}

.faq__item { border-bottom: 1px solid var(--slate-15); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-block: 24px;
  text-align: left;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}

.faq__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform var(--t-fast) var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%;
  left: 50%;
}

.faq__icon::before {
  width: 16px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1px;
  height: 16px;
  transform: translate(-50%, -50%);
  transition: transform var(--t-fast) var(--ease);
}

.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after { background: var(--rust); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-med) var(--ease),
              opacity var(--t-med) var(--ease);
  opacity: 0;
}

.faq__a > div {
  overflow: hidden;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: var(--body-max);
}

.faq__a > div > p { padding-bottom: 24px; margin: 0; }

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* --- 11. Form ---------------------------------------------- */

.form { display: flex; flex-direction: column; gap: var(--s-4); max-width: var(--body-max); }

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--slate-30);
  border-radius: 0;
  padding: 10px 0;
  outline: none;
  width: 100%;
  resize: vertical;
  transition: border-color var(--t-fast) var(--ease);
  font-feature-settings: "ss01";
}

.field textarea { min-height: 120px; }

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--rust);
}

.form__success {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.4;
  color: var(--ink);
  display: none;
}

.form.is-sent .form__success { display: block; }
.form.is-sent .form__fields,
.form.is-sent .form__submit { display: none; }

/* --- 12. Footer -------------------------------------------- */

.footer {
  background-color: var(--ink);
  background-image: var(--texture-dark);
  background-size: 240px 240px;
  color: var(--paper);
  padding-block: var(--s-7);
}

.footer a { color: var(--paper); }
.footer a:hover { color: var(--rust); }

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 5fr 4fr 4fr;
    gap: var(--s-7);
  }
}

.footer__brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.05;
  color: var(--paper);
}

.footer__brand .dot { color: var(--rust); }

.footer__intro {
  font-size: 16px;
  line-height: 1.6;
}

.footer h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--paper-80);
  margin: 0 0 var(--s-3);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  color: var(--paper-80);
  font-size: 15px;
}

.footer__bottom {
  margin-top: var(--s-7);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(245, 241, 235, 0.10);
  font-size: 14px;
  color: var(--paper-50);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* --- 12.5 Page routing (single-file site) ------------------ */

.page {
  display: none;
  opacity: 0;
  transition: opacity 240ms var(--ease);
}

.page.is-active {
  display: block;
  opacity: 1;
}

/* --- 13. Motion -------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-slow) var(--ease),
              transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

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

/* Wordmark first-load gesture: 'Novus' loads italic, settles roman.
   Used once per session on the home page only. */
.wordmark-gesture .wm-italic {
  font-style: italic;
  animation: settle 800ms var(--ease) 200ms forwards;
}

@keyframes settle {
  0%   { font-style: italic; }
  100% { font-style: normal; }
}

/* --- 14. Shift section hero image ------------------------- */

.shift-sketch {
  margin: var(--s-8) auto 0;
  max-width: 920px;
  width: 100%;
}

.shift-sketch img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 14px 36px -22px rgba(26, 26, 26, 0.18);
  background: var(--bone);
}

@media (max-width: 720px) {
  .shift-sketch {
    margin-top: var(--s-7);
  }
}

.project-plates {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.project-plate {
  min-height: 180px;
  padding: var(--s-3);
  border: 1px solid var(--slate-20);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.project-plate::after {
  content: "NP";
  position: absolute;
  right: var(--s-2);
  bottom: -18px;
  font-family: var(--serif);
  font-size: 74px;
  color: rgba(107, 98, 89, 0.10);
  letter-spacing: -0.06em;
}

.project-plate span,
.project-plate em {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--slate);
  font-style: normal;
}

.project-plate strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  max-width: 10ch;
}

.project-plate--bone { background: var(--bone); }

.project-plate--rust {
  background: var(--rust);
  color: var(--paper);
  border-color: var(--rust);
}

.project-plate--rust span,
.project-plate--rust em { color: rgba(245, 241, 235, 0.76); }
.project-plate--rust::after { color: rgba(245, 241, 235, 0.16); }

@media (min-width: 720px) {
  .project-plates { grid-template-columns: repeat(3, 1fr); }
}

/* --- Pricing ------------------------------------------------ */
.pricing-section {
  border-top: 1px solid var(--slate-10);
}

.pricing-menu {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--slate-20);
  border-bottom: 1px solid var(--slate-20);
}

.pricing-menu article {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--slate-15);
}

.pricing-menu article:last-child {
  border-bottom: 0;
}

.pricing-menu span {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 500;
  margin-bottom: var(--s-2);
}

.pricing-menu strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: var(--s-3);
}

.pricing-menu p {
  color: var(--ink);
  max-width: 340px;
  font-size: 16px;
}

.pricing-note {
  margin-top: var(--s-4);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  max-width: 760px;
}

.pricing-extra {
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--slate-15);
  max-width: var(--body-max);
}

.pricing-extra .kicker { margin-bottom: var(--s-2); }

.pricing-extra .h-sub { margin-bottom: var(--s-4); max-width: 720px; }

.pricing-extra__body p {
  margin: 0 0 var(--s-3);
}

.pricing-extra__body p:last-child { margin-bottom: 0; }

.pricing-extra__meta {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-top: var(--s-4) !important;
}

@media (min-width: 900px) {
  .pricing-menu {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-menu article {
    padding: var(--s-5) var(--s-4);
    border-bottom: 0;
    border-right: 1px solid var(--slate-15);
  }

  .pricing-menu article:first-child {
    padding-left: 0;
  }

  .pricing-menu article:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}

/* --- Work entries (editorial) ------------------------------ */

.work-entries {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: var(--s-7);
}

.work-entry {
  border-top: 1px solid var(--slate-20);
  padding-top: var(--s-5);
}

.work-entry__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: baseline;
  margin-bottom: var(--s-4);
}

.work-entry__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--rust);
  line-height: 1;
}

.work-entry__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
}

.work-entry__meta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0;
}

.work-entry__body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 var(--s-3);
  max-width: 64ch;
}

.work-entry__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--rust);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity var(--t-fast) var(--ease);
}

.work-entry__link:hover {
  color: var(--rust);
  opacity: 0.7;
}

.work-entry__link svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .work-entry__head {
    grid-template-columns: 60px 1fr;
    gap: var(--s-4);
  }
  .work-entry__num {
    font-size: 22px;
    padding-top: 6px;
  }
}

@media (max-width: 560px) {
  .work-entry__title { font-size: 24px; }
  .work-entry__body { font-size: 16px; }
}

.case-card {
  min-height: 320px;
  padding: var(--s-4);
  border: 1px solid rgba(107, 98, 89, 0.24);
  background: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.case-card::before {
  content: "";
  position: absolute;
  inset: var(--s-3);
  border: 1px solid rgba(107, 98, 89, 0.12);
}

.case-card__num {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  font-family: var(--serif);
  font-size: 70px;
  font-style: italic;
  color: rgba(181, 86, 59, 0.20);
  line-height: 1;
}

.case-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  max-width: 13ch;
  margin: 0 0 var(--s-3);
  position: relative;
}

.case-card > p:last-child {
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--slate);
  position: relative;
}

@media (min-width: 900px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-card--wide { grid-column: 1 / -1; }
}

.studio-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  margin-top: var(--s-7);
}

.studio-notes article {
  border-top: 1px solid var(--slate-15);
  padding-top: var(--s-2);
}

.studio-notes span {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}

.studio-notes strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .studio-notes { grid-template-columns: repeat(4, 1fr); }
}

/* --- 15. Misc ---------------------------------------------- */

/* Contact: calendar embed */
.calendar-embed {
  min-height: 480px;
  background: var(--bone);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--s-3);
  max-width: var(--body-max);
}

/* Live Cal.com embed — full-bleed within the card, no padding frame */
.calendar-embed--live {
  max-width: 900px;
  min-height: 680px;
  padding: 0;
  background: var(--paper);
  border: 1px solid rgba(27, 25, 21, 0.08);
  overflow: hidden;
  align-items: stretch;
  justify-content: stretch;
}
.calendar-embed--live #cal-inline-embed { flex: 1; }
.calendar-embed--live noscript p {
  padding: var(--s-5);
  font-size: 16px;
  color: var(--ink);
}
.calendar-embed .label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--slate);
}
.calendar-embed h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.calendar-embed p { font-size: 16px; max-width: 480px; color: var(--ink); margin: 0; }

.contact-option {
  overflow: hidden;
  isolation: isolate;
}

.contact-option::before {
  position: absolute;
  right: 8vw;
  top: 18px;
  z-index: -1;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(130px, 22vw, 280px);
  line-height: 1;
  color: rgba(181, 86, 59, 0.10);
}

.contact-option--one::before { content: "01"; }
.contact-option--two::before { content: "02"; color: rgba(107, 98, 89, 0.10); }

.contact-option .form,
.contact-option .calendar-embed {
  position: relative;
}

@media (min-width: 900px) {
  .contact-option .form,
  .contact-option .calendar-embed {
    margin-left: min(16vw, 220px);
  }
}

.cta-finale {
  overflow: hidden;
  isolation: isolate;
  position: relative;
}

.cta-finale::before {
  content: "&";
  position: absolute;
  right: min(8vw, 120px);
  top: 50%;
  transform: translateY(-52%);
  z-index: -1;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(220px, 36vw, 520px);
  line-height: 1;
  color: rgba(181, 86, 59, 0.11);
}

.cta-finale::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--slate-15) 0 40px, transparent 40px 56px);
}

/* Contact: option numbers (1. 2.) in serif */
.option-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--slate);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}

.footer__monogram {
  width: 132px;
  margin-top: var(--s-5);
  color: rgba(245, 241, 235, 0.44);
}

.footer__closing {
  margin-top: var(--s-4);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
}

.divider-or {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-block: var(--s-7);
  color: var(--slate);
  font-family: var(--sans);
  font-style: italic;
  font-size: 16px;
}

.divider-or::before,
.divider-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--slate-15);
}

.studio-stamp {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--s-4);
}

.kicker { /* Above-headline mini-tag */
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--s-3);
}

@media (max-width: 720px) {
  .studio-stamp { font-size: 11px; letter-spacing: 0.14em; margin-bottom: var(--s-3); }
  .kicker { font-size: 12px; letter-spacing: 0.10em; margin-bottom: var(--s-2); }
}

.lead-large {
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 720px;
}

/* 404 specific */
.notfound {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.notfound .display { margin-bottom: var(--s-3); }

/* ============================================================
   Mobile compaction
   Keeps desktop typography and rhythm exactly as designed.
   On screens <=720px, tightens type, line-heights, vertical
   padding, and hero proportions so the page feels native to
   the device rather than a shrunk-down desktop layout.
   ============================================================ */

@media (max-width: 720px) {

  /* Body type */
  body { font-size: 16px; line-height: 1.55; }

  /* Display headlines — let them scale down on small phones.
     Original was clamp(48px, 7.5vw, 96px) — floor of 48 was too big. */
  .display { font-size: clamp(36px, 9vw, 56px); line-height: 1.08; }
  .hero-quiet .display { max-width: 16ch; }

  /* Section headings */
  .h-section { font-size: clamp(26px, 6vw, 36px); line-height: 1.18; margin-bottom: var(--s-3); }
  .h-sub { font-size: 22px; }

  /* Lead/body sizes */
  .lead-large { font-size: 17px; line-height: 1.55; }
  .intro { font-size: 17px; }
  .pricing-menu p { font-size: 15px; }
  .pricing-menu strong { font-size: clamp(28px, 6vw, 36px); }

  /* Pull quote — compress significantly */
  .pull-quote { padding-block: var(--s-6); }
  .pull-quote p { font-size: 20px; line-height: 1.35; }

  /* Section padding compression */
  .section { padding-block: var(--s-6); }
  .section--bone { padding-block: var(--s-6); }
  .section--cta { padding-block: var(--s-7); }

  /* Hero — drop forced full-screen, let content set the height */
  .section--hero {
    padding-top: clamp(48px, 8vh, 88px);
    padding-bottom: var(--s-6);
    min-height: auto;
  }
  .hero-quiet { padding-block: clamp(56px, 8vh, 96px) clamp(40px, 6vh, 72px); }

  /* Hero rule — pull tighter on mobile */
  .hero-rule { margin-top: clamp(48px, 10vh, 96px); }

  /* Btn row spacing tighter */
  .btn-row { gap: 12px; }

  /* Footer compaction */
  .footer { padding-block: var(--s-6); }
  .footer__intro { font-size: 15px; line-height: 1.55; }
}
