/* ============================================================================
   SUZANNE TAYLOR-KING — AUTHORITY PAGE
   Mobile-first. No build step.

   ---------------------------------------------------------------------------
   MODULE SYSTEM
   ---------------------------------------------------------------------------
   Five module types alternate down the page so no two screens read alike:

     .hero      full-bleed photograph, headline embedded over it
     .band      full-bleed photograph, copy overlaid in the empty half
     .grid-3
     .grid-4    long text runs broken into hairline-divided cells
     .panels    stylized stone panels with oversized numerals
     .split     photograph one side, copy the other, direction alternates
     .tiles     image-topped blocks (case studies)

   Held throughout: hairline rules over card borders, flat stone fills over
   shadowed boxes, no border-radius, no background patterns. The only gradients
   are legibility scrims behind text that sits on a photograph.

   ---------------------------------------------------------------------------
   PHOTOGRAPHY — all live, no placeholders
   ---------------------------------------------------------------------------
   Aspect ratios are locked by the .ratio-* helpers, so replacing any file at
   the same path reflows nothing. Subject placement drives the crop:

     hero-main.jpg       subject right   → object-position pushes right
     band-lobby.jpg      subject far right → .band--text-left
     band-colonnade.jpg  subject left    → .band--text-right
     portrait-*.jpg      vertical        → .ratio-portrait / .ratio-tall
     work-*.jpg          landscape       → .ratio-landscape
   ========================================================================= */

/* ---------------------------------------------------------------- TOKENS -- */
:root {
  --c-page:   #faf8f4;
  --c-tint:   #f2efe8;
  --c-stone:  #eae5db;   /* panel fill */
  --c-dark:   #0d0d0d;

  --c-accent: #9a7b5f;

  --c-ink:        #1b1b1b;
  --c-ink-strong: #0d0d0d;
  --c-ink-soft:   #4a4741;
  --c-ink-mute:   #8a857d;

  --c-ink-invert:      #f5f2eb;
  --c-ink-invert-soft: #b0aba2;
  --c-ink-invert-mute: #7d7970;

  --c-rule:        #ddd7cc;
  --c-rule-soft:   #e7e2d8;
  --c-rule-invert: #2e2d2a;

  --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-body: 1.0625rem;
  --lh-body: 1.7;

  --wrap:    1280px;
  --measure: 40rem;

  --nav-h: 62px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-page);
  color: var(--c-ink-soft);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-menu-open { overflow: hidden; }

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

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ol, ul { margin: 0; padding: 0; list-style: none; }
blockquote, figure, dl, dd, dt { margin: 0; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--c-dark); color: var(--c-ink-invert);
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- LAYOUT -- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--tint { background: var(--c-tint); }
.section--dark { background: var(--c-dark); color: var(--c-ink-invert-soft); }

/* Asymmetric editorial grid: label pinned in the left margin */
.ed { display: grid; gap: 0; }
.ed + * { margin-top: 3rem; }

.ed__label {
  margin: 0 0 1.75rem;
  font-family: var(--f-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
}
.ed__label--invert { color: var(--c-ink-invert-mute); }
.ed__main { max-width: var(--measure); }
.ed--flush { margin-top: 3.5rem; }

/* ------------------------------------------------------------ TYPOGRAPHY -- */
.h-section {
  margin: 0 0 2rem;
  font-family: var(--f-serif);
  font-size: clamp(2.1rem, 6vw, 3rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--c-ink-strong);
  text-wrap: balance;
}
.h-section--invert { color: var(--c-ink-invert); }

.copy { color: var(--c-ink-soft); }
.copy--invert { color: var(--c-ink-invert-soft); }
.copy strong { font-weight: 500; color: var(--c-ink-strong); }
.copy--invert strong { color: var(--c-ink-invert); }

/* Full-width serif statement */
.statement {
  margin: 3rem 0 2.5rem;
  font-family: var(--f-serif);
  font-size: clamp(2rem, 6.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--c-ink-strong);
}
.statement--wide { max-width: 20ch; }

.beat {
  margin: 2.5rem 0 0;
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 3.4vw, 1.85rem);
  font-weight: 300;
  line-height: 1.28;
  color: var(--c-ink-strong);
  max-width: 24ch;
}
.beat--invert { color: var(--c-ink-invert); }

.pull {
  margin: 2.5rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--c-rule);
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 3.6vw, 2rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.008em;
  color: var(--c-ink-strong);
}
.pull em { display: block; font-style: italic; color: var(--c-ink-mute); }
.section--dark .pull { border-top-color: var(--c-rule-invert); color: var(--c-ink-invert); }

.module-lead {
  margin: 3.5rem 0 1.5rem;
  font-family: var(--f-serif);
  font-size: 1.5rem;
  color: var(--c-ink-strong);
}

/* ================================================== MODULE · HAIRLINE GRID = */
/* Cells sit on a rule-coloured bed; 1px gaps become the dividing hairlines. */
.grid-3, .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 2.5rem 0;
  background: var(--c-rule);
  border: 1px solid var(--c-rule);
}
.grid-3--invert, .grid-4--dark {
  background: var(--c-rule-invert);
  border-color: var(--c-rule-invert);
}

.cell {
  background: var(--c-page);
  padding: 1.75rem 1.5rem;
}
.section--tint .cell { background: var(--c-tint); }
.grid-3--invert .cell, .grid-4--dark .cell { background: var(--c-dark); }

.cell__num {
  margin: 0 0 0.9rem;
  font-family: var(--f-serif);
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--c-accent);
}
.cell__line {
  margin: 0;
  font-family: var(--f-serif);
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--c-ink-strong);
}
.grid-3--invert .cell__line, .grid-4--dark .cell__line { color: var(--c-ink-invert); }

.cell--plain { text-align: center; padding-block: 2.25rem; }
.cell--plain .cell__line { font-size: 1.45rem; }

.cell--pair .cell__over {
  margin: 0 0 0.4rem;
  font-family: var(--f-sans);
  font-size: 0.88rem;
  color: var(--c-ink-mute);
}
.cell--pair .cell__under {
  margin: 0;
  font-family: var(--f-serif);
  font-size: 1.25rem;
  line-height: 1.28;
  color: var(--c-ink-strong);
}

/* On black, bronze numerals sat too close to the background to read without
   squinting. Lifted to a pale sand, and the white line sized up. */
.cell--out .cell__num {
  font-family: var(--f-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #cbbfae;
}
.cell--out .cell__line {
  font-size: 1.45rem;
  line-height: 1.32;
  color: #fff;
}

/* Needs to out-specify `.grid-3--invert .cell`, which sets the dark fill */
.cell--cta,
.grid-3--invert .cell--cta { background: var(--c-accent); }
.cell--cta .cell__line,
.grid-3--invert .cell--cta .cell__line { color: #fff; font-size: 1.35rem; }

/* ===================================================== MODULE · CHIP LIST = */
.tried-block { margin: 3rem 0; }
.tried-block__lead {
  margin: 0 0 1.25rem;
  font-family: var(--f-serif);
  font-size: 1.4rem;
  color: var(--c-ink-strong);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.chips li {
  padding: 0.55rem 1rem;
  background: var(--c-stone);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--c-ink-soft);
}
.tried-block__after {
  max-width: 30rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-rule);
}
.tried-block__after em {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--c-ink-strong);
}

/* ======================================================== MODULE · PANELS = */
.panels { display: grid; gap: 1.25rem; margin: 3rem 0; }

.panel {
  position: relative;
  padding: 2.25rem 1.75rem 2rem;
  background: var(--c-stone);
  border-top: 2px solid var(--c-accent);
}
.section--tint .panel { background: #fff; }

.panel__num {
  margin: 0 0 1rem;
  font-family: var(--f-serif);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--c-accent);
}
.panel__title {
  margin-bottom: 0.8rem;
  font-family: var(--f-serif);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--c-ink-strong);
}
.panel__body { margin: 0; font-size: 0.95rem; }

/* ========================================================= MODULE · SPLIT = */
.split { display: grid; gap: 2rem; margin: 3.5rem 0; }
.split__body { align-self: center; }

/* ========================================================= MODULE · TILES = */
.tiles { display: grid; gap: 2.5rem; margin-top: 3rem; }

.tile__media { margin-bottom: 1.5rem; }

.tile__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.tile__name {
  margin-bottom: 1rem;
  font-family: var(--f-serif);
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--c-ink-strong);
}
/* before → after strip */
.tile__frame {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
  padding-block: 0.8rem;
  border-block: 1px solid var(--c-rule);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-strong);
}
.tile__frame i { font-style: normal; color: var(--c-accent); }
.tile__body p { font-size: 0.95rem; }
/* Stays in the body sans so it reads as the last line of the same paragraph
   run — Cormorant's small x-height made it look smaller here, not bigger. */
.tile__turn {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--c-rule);
  font-family: var(--f-sans);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-ink-strong);
}

/* ================================================== ASPECT-RATIO HELPERS == */
.ratio-portrait,
.ratio-landscape,
.ratio-tall {
  overflow: hidden;
  background: var(--c-stone);
}
.ratio-portrait  { aspect-ratio: 2 / 3; }
.ratio-landscape { aspect-ratio: 4 / 3; }
.ratio-tall      { aspect-ratio: 3 / 4; }

.ratio-portrait > img,
.ratio-landscape > img,
.ratio-tall > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ------------------------------------------------------------------- NAV -- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav.is-solid {
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
  border-bottom-color: var(--c-rule);
}

.nav__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--c-ink-invert);
  transition: color 0.25s var(--ease);
}
.nav.is-solid .brand { color: var(--c-ink-strong); }

.brand__mark {
  width: 28px;
  filter: invert(1);          /* mark ships black; invert while over the photo */
  transition: filter 0.25s var(--ease);
}
.nav.is-solid .brand__mark { filter: none; }

.brand__word {
  font-family: var(--f-serif);
  font-size: 0.95rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.nav__links { display: none; }

.nav__toggle {
  width: 40px; height: 40px;
  margin-right: -8px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.nav__toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--c-ink-invert);
  transition: transform 0.3s var(--ease), background 0.25s var(--ease);
}
.nav.is-solid .nav__toggle span { background: var(--c-ink); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.nav__mobile {
  background: var(--c-page);
  border-top: 1px solid var(--c-rule);
  padding: 1.75rem 1.5rem 2rem;
}
.nav__mobile nav { display: flex; flex-direction: column; gap: 1.3rem; }
.nav__mobile a {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--c-ink-strong);
}

/* ------------------------------------------------------------------- CTA -- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cta .arrow { transition: transform 0.3s var(--ease); }
.cta:hover .arrow { transform: translateX(4px); }

.cta--solid {
  padding: 1rem 1.75rem;
  background: var(--c-ink-invert);
  color: var(--c-ink-strong);
}
.cta--solid:hover { background: #fff; }
.cta--invert { background: var(--c-accent); color: #fff; }
.cta--invert:hover { background: #ab8b6d; }

/* ------------------------------------------------------------------ HERO -- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 16%;   /* narrow crop lifts her clear of the text */
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,13,13,0.58) 0%, rgba(13,13,13,0.18) 12%, rgba(13,13,13,0) 22%),
    linear-gradient(to top,
      rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.9) 32%,
      rgba(13,13,13,0.66) 50%, rgba(13,13,13,0.24) 70%, rgba(13,13,13,0) 88%);
}

.hero__layer { position: relative; width: 100%; padding-block: 3.5rem 3rem; }
.hero__text { max-width: 34rem; }

.hero__eyebrow {
  margin: 0 0 1.35rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.78);
}
.hero__headline {
  margin: 0 0 1.5rem;
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--c-ink-invert);
}
.hero__headline em { display: block; margin-top: 0.16em; font-style: italic; color: #fff; }

.hero__subhead {
  max-width: 30rem;
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(245,242,235,0.86);
}
/* Names the offer — sized up so it reads as the second-loudest thing here,
   below the H1 but clearly above the subhead. */
.hero__tagline {
  max-width: 32rem;
  margin: 0 0 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(245,242,235,0.24);
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 5vw, 2.05rem);
  line-height: 1.24;
  letter-spacing: -0.008em;
  color: #fff;
}

/* ====================================================== MODULE · BAND ===== */
.band {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.band__media { position: absolute; inset: 0; z-index: -1; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }

.band__layer { position: relative; width: 100%; }
.band__text { max-width: 34rem; }

.band__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245,242,235,0.7);
}
.band__line {
  margin: 0 0 1.25rem;
  font-family: var(--f-serif);
  font-size: clamp(2rem, 6vw, 2.9rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
}
.band__body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245,242,235,0.88);
}
/* Second mention of the offer by name — also sized up */
.band__kicker {
  margin: 1.75rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(245,242,235,0.24);
  font-family: var(--f-serif);
  font-size: clamp(1.45rem, 4.4vw, 1.95rem);
  line-height: 1.24;
  letter-spacing: -0.008em;
  color: #fff;
}

/* Scrim direction follows where the subject sits in each frame */
.band--text-left .band__media img  { object-position: 72% center; }
.band--text-right .band__media img { object-position: 28% center; }

.band__media::after { content: ""; position: absolute; inset: 0; }
.band--text-left .band__media::after {
  background: linear-gradient(to top,
    rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.8) 35%,
    rgba(13,13,13,0.45) 60%, rgba(13,13,13,0.1) 85%);
}
.band--text-right .band__media::after {
  background: linear-gradient(to top,
    rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.8) 35%,
    rgba(13,13,13,0.45) 60%, rgba(13,13,13,0.1) 85%);
}

/* --------------------------------------------------------------- OPTIONS -- */
.options { display: grid; gap: 3rem; margin-top: 3rem; }

.option { border-top: 2px solid var(--c-accent); padding-top: 2rem; }
.option__media { margin-bottom: 2rem; }

.option__num {
  margin: 0 0 0.75rem;
  font-family: var(--f-serif);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--c-accent);
}
.option__title {
  margin-bottom: 0.6rem;
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--c-ink-strong);
}
.option__tag {
  margin: 0 0 1.75rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
}
.option__body p { font-size: 0.97rem; }

/* Arrow lists */
.arrows { margin: 1.75rem 0 2rem; }
.arrows li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.85rem;
  border-top: 1px solid var(--c-rule-soft);
  font-size: 0.97rem;
  color: var(--c-ink);
}
.arrows li:last-child { border-bottom: 1px solid var(--c-rule-soft); }
.arrows li::before { content: "\2192"; position: absolute; left: 0; color: var(--c-accent); }

/* ----------------------------------------------------------------- CLOSE -- */
.close-cta {
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--c-rule-invert);
}

/* ---------------------------------------------------------------- FOOTER -- */
.footer {
  padding-block: 4rem 2.5rem;
  background: var(--c-page);
  border-top: 1px solid var(--c-rule);
}
.footer__grid { display: grid; gap: 2.75rem; }
.footer__mark { width: 36px; margin-bottom: 1.1rem; }
.footer__name {
  margin: 0 0 0.35rem;
  font-family: var(--f-serif);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-strong);
}
.footer__role { margin: 0; font-size: 0.8rem; color: var(--c-ink-mute); }

.footer__note {
  max-width: 32ch;
  font-family: var(--f-serif);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--c-ink-soft);
}
.footer__note p { margin-bottom: 0.5em; }

.footer__nav { display: flex; flex-direction: column; gap: 0.85rem; }
.footer__nav a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-ink-mute);
  transition: color 0.25s var(--ease);
}
.footer__nav a:hover { color: var(--c-accent); }

.footer__copy {
  margin: 3.5rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--c-rule-soft);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--c-ink-mute);
}

/* ============================================================== ANIMATION == */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ============================================================= RESPONSIVE == */

/* ---- 640px ---- */
@media (min-width: 40em) {
  .wrap, .nav__inner, .nav__mobile { padding-inline: 2.5rem; }

  .brand__mark { width: 32px; }
  .brand__word { font-size: 1.05rem; }

  .hero__layer { padding-block: 4rem 3.5rem; }
  .hero__headline { font-size: clamp(2.9rem, 6.6vw, 3.6rem); }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .panels { grid-template-columns: repeat(3, 1fr); }
  .tiles  { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

/* ---- 960px ---- */
@media (min-width: 60em) {
  :root { --nav-h: 76px; }

  .nav__links { display: flex; align-items: center; gap: 2.25rem; }
  .nav__links a {
    position: relative;
    padding-bottom: 3px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(245,242,235,0.82);
    transition: color 0.3s var(--ease);
  }
  .nav.is-solid .nav__links a { color: var(--c-ink-soft); }
  .nav__links a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .nav__links a:hover { color: #fff; }
  .nav.is-solid .nav__links a:hover { color: var(--c-ink-strong); }
  .nav__links a:hover::after { transform: scaleX(1); }

  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
  .brand__word { font-size: 1.15rem; }

  /* Editorial grid engages */
  .ed { grid-template-columns: 10rem minmax(0, 1fr); gap: 0 4.5rem; }
  .ed__label {
    margin: 0;
    padding-top: 0.65rem;
    position: sticky;
    top: calc(var(--nav-h) + 2.5rem);
    align-self: start;
  }
  .ed--flush .ed__main { grid-column: 2; }

  /* Hero */
  .hero { align-items: center; }
  .hero__layer { padding-block: 0; }
  .hero__text { max-width: 36rem; }
  .hero__headline { font-size: clamp(3.2rem, 4.4vw, 4.2rem); }
  .hero__media img { object-position: 74% center; }
  .hero__media::after {
    background:
      linear-gradient(to bottom, rgba(13,13,13,0.5) 0%, rgba(13,13,13,0.12) 14%, rgba(13,13,13,0) 24%),
      linear-gradient(to right, rgba(13,13,13,0.86) 0%, rgba(13,13,13,0.62) 34%, rgba(13,13,13,0.18) 60%, rgba(13,13,13,0) 78%),
      linear-gradient(to top, rgba(13,13,13,0.4) 0%, rgba(13,13,13,0) 45%);
  }

  /* Bands: copy sits in the empty half, scrim runs from that side */
  .band--text-right .band__text { margin-left: auto; }
  .band--text-left .band__media::after {
    background:
      linear-gradient(to right, rgba(13,13,13,0.88) 0%, rgba(13,13,13,0.6) 38%, rgba(13,13,13,0.1) 66%, rgba(13,13,13,0) 82%);
  }
  .band--text-right .band__media::after {
    background:
      linear-gradient(to left, rgba(13,13,13,0.88) 0%, rgba(13,13,13,0.6) 38%, rgba(13,13,13,0.1) 66%, rgba(13,13,13,0) 82%);
  }

  /* Modules go three and four across */
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .tiles  { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

  .cell { padding: 2.25rem 1.75rem; }

  /* Splits */
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4rem; align-items: center; }
  .split--media-right { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }

  /* Options side by side; the media one keeps its photo above the head */
  .options { grid-template-columns: repeat(2, 1fr); gap: 4rem; align-items: start; }

  /* Grids and modules indent to the copy column */
  .grid-3, .grid-4, .panels, .tried-block, .split, .tiles, .options, .statement, .module-lead {
    margin-left: calc(10rem + 4.5rem);
  }
  .statement { max-width: 26ch; }

  .footer__grid { grid-template-columns: 1fr 1fr auto; gap: 4rem; align-items: start; }
}

/* ---- 1280px ---- */
@media (min-width: 80em) {
  .ed { grid-template-columns: 12rem minmax(0, 1fr); gap: 0 6rem; }
  .grid-3, .grid-4, .panels, .tried-block, .split, .tiles, .options, .statement, .module-lead {
    margin-left: calc(12rem + 6rem);
  }
}
