/* ═══════════════════════════════════════════════════════════════
   SNP Capital Consulting
   Palette, type and layout tokens. Everything downstream reads
   from here — see NOTES.md before changing any of it.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* surfaces, lightest to darkest */
  --paper:      #ffffff;
  --paper-2:    #f8f3f1;
  --paper-3:    #f1e9e6;
  --slab:       #14161b;   /* dark panels and footer */
  --slab-2:     #1d2027;

  /* ink */
  --ink:        #14161b;
  --ink-2:      #4e555f;
  --ink-3:      #79808c;
  --on-slab:    #f3f4f6;
  --on-slab-2:  #9ba2ae;

  /* rules */
  --rule:       #14161b16;
  --rule-2:     #14161b0d;
  --rule-slab:  #ffffff1f;

  /* accent — oxblood resolving into clay. The gradient is the
     signature; it only ever runs along the same rising diagonal. */
  --accent:     #8e3038;
  --accent-2:   #c2705c;
  --accent-ink: #7c2a31;
  --accent-soft:#f7ece9;
  --grad: linear-gradient(118deg, #8e3038 0%, #a5443c 48%, #c2705c 100%);

  /* geometry */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  /* rhythm */
  --sy:   clamp(74px, 9.5vw, 130px);
  --gut:  clamp(20px, 5vw, 64px);
  --wide: 1240px;

  /* type */
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body:    "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
}

/* ── reset ─────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.06;
}

p  { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--slab);
  color: var(--on-slab);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-size: .9rem;
}
.skip:focus { left: 0; }

/* ── shared shell ──────────────────────────────────────────── */

.shell {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gut);
}

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

.section--tint { background: var(--paper-2); }

.section, .contact-section { overflow: hidden; }

/* Centred vertically on purpose: rotating a wide ellipse grows its box far
   more than its height suggests (a 620x200 at -18deg occupies ~382px), and the
   sections clip. Centring gives the most clearance at both edges. */
.wash {
  position: absolute;
  z-index: 0;
  top: 50%;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
  width: min(62vw, 660px);
  height: min(19vw, 205px);
  transform: translateY(-50%) rotate(-18deg);
}
.wash--right {
  right: -10%;
  background: linear-gradient(104deg, #8e30382e 0%, #b8574a4d 46%, #c2705c5c 100%);
}
/* the firm's own glyph, oversized — the same device as the CTA band, so the
   page has one recurring figure rather than a new idea in every section */
.ghost-n {
  position: absolute;
  z-index: 0;
  right: 4%;
  top: 20%;
  width: min(24vw, 280px);
  height: auto;
  color: var(--accent);
  opacity: .05;
  pointer-events: none;
}

.wash--left {
  left: -12%;
  background: linear-gradient(104deg, #c2705c4d 0%, #a5443c40 52%, #8e30382b 100%);
}



/* ── type helpers ──────────────────────────────────────────── */

.label {
  font-family: var(--mono);
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 22px;
}

/* the one place a heading is allowed to take colour: the words
   the sentence actually turns on */
.hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
@supports not (background-clip: text) {
  .hl { color: var(--accent); }
}

.lede {
  font-size: clamp(1.09rem, 1.55vw, 1.24rem);
  line-height: 1.56;
  color: var(--ink-2);
}

/* ── buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: .96rem;
  font-weight: 500;
  letter-spacing: -.005em;
  padding: 15px 30px;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid {
  background: var(--slab);
  color: var(--on-slab);
  box-shadow: 0 6px 20px #14161b1f;
}
.btn--solid:hover { box-shadow: 0 12px 28px #14161b2e; }

.btn--accent {
  background-image: var(--grad);
  color: #fff;
  box-shadow: 0 6px 20px #8e30382e;
}
.btn--accent:hover { box-shadow: 0 12px 30px #8e303840; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn--ghost:hover { border-color: #14161b3d; background: #14161b06; }

.btn__arrow { transition: transform .22s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ═══ MASTHEAD ═════════════════════════════════════════════ */

.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.masthead:not(.is-solid) .masthead__inner::after {
  content: "";
  position: absolute;
  left: var(--gut);
  right: var(--gut);
  bottom: 0;
  height: 1px;
  background: #ffffff29;
}

.masthead.is-solid {
  background: #ffffffd9;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--rule-2);
  box-shadow: 0 1px 22px #14161b0a;
}

.masthead__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
/* the N of the wordmark is drawn, not set: two uprights joined by
   the rising diagonal. Sized to Sora's cap height so it sits in the
   word rather than beside it. */
.glyph-n {
  display: inline-block;
  height: .705em;
  width: .781em;
  vertical-align: baseline;
  margin-inline: .028em;
}

.wordmark__text {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--ink);
  white-space: nowrap;
  transition: color .3s ease;
}

/* over the photograph the masthead is reversed out; once .is-solid lands it
   returns to ink on white. The drawn N follows via currentColor. */
.masthead .wordmark__text { color: #fff; --n-diagonal: url(#snpGradLight); }
.masthead .nav a { color: #ffffffd1; }
.masthead .nav a:hover,
.masthead .nav a.is-current { color: #fff; }
.masthead .nav__cta { background: #fff; color: var(--ink) !important; }
.masthead .nav__cta:hover { background: #f0f1f3; }

.masthead.is-solid .wordmark__text { color: var(--ink); --n-diagonal: url(#snpGrad); }
.masthead.is-solid .nav a { color: var(--ink-2); }
.masthead.is-solid .nav a:hover,
.masthead.is-solid .nav a.is-current { color: var(--ink); }
.masthead.is-solid .nav__cta { background: var(--slab); color: var(--on-slab) !important; }
.masthead.is-solid .nav__cta:hover { background: #262a33; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav a {
  font-size: .935rem;
  color: var(--ink-2);
  transition: color .3s ease;
  position: relative;
  padding-block: 4px;
  transition: color .2s ease;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1.5px;
  border-radius: 2px;
  background-image: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a.is-current::after { transform: scaleX(1); }
.nav a.is-current { color: var(--ink); }

.nav__cta {
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--slab);
  color: var(--on-slab) !important;
  font-weight: 500;
  transition: background-color .22s ease, transform .22s ease;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: #262a33; transform: translateY(-1px); }

/* ═══ HERO ═══════════════════════════════════════════════ */

/* Runs the full width of the viewport and sits under the masthead,
   which floats over it until the page scrolls past. */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 88vh, 840px);
  display: grid;
  align-items: center;
  background: var(--slab);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 46%; }

/* Three layers, each with a job. The point is that the treatment follows the
   copy rather than sweeping the frame — a wash across the whole photograph
   reads as applied; a falloff that hugs the text column reads as inevitable. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* 1 — falloff hugging the text column. Base is a near-black oxblood, not
       a saturated red: at high alpha it has to read dark-with-warmth, or the
       photograph disappears behind a slab. Angled 6° off horizontal so it
       never reads as a flat band. */
    linear-gradient(96deg,
      #2b0c10fa 0%,
      #2f0f13ed 24%,
      #3d1116d4 44%,
      #4f181ea6 58%,
      #7c2a3154 67%,
      #a5443c1f 75%,
      transparent 84%),
    /* 1b — mirror falloff for the right-hand column. Neutral, no brand: two
       red edges would close the frame in and the photograph would go. */
    linear-gradient(266deg,
      #141012d1 0%,
      #141012b0 14%,
      #1410128c 25%,
      #1410124f 33%,
      #1410121c 41%,
      transparent 48%),
    /* 2 — vignette: seats the frame and keeps the overlaid nav legible */
    linear-gradient(180deg, #141012c9 0%, #1410129e 11%, #1410125e 22%, #1410121f 32%, transparent 42%, transparent 52%, #14101233 64%, #1410127a 78%, #141012c4 92%, #141012d6 100%),
    /* 3 — a whisper of brand across the whole photograph */
    linear-gradient(115deg, #8e30382e 0%, #8e30380f 52%, #c2705c14 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  gap: clamp(36px, 5vw, 76px);
  align-items: stretch;
  padding-block: clamp(132px, 15vh, 176px) clamp(64px, 9vh, 108px);
}

.hero__text { max-width: none; align-self: center; }

/* brand and actions share the right column: the logotype states who, the
   buttons state what to do next. Stacked so they read as one block. */
.hero__side {
  display: grid;
  align-content: space-between;
  gap: 40px;
  justify-items: end;
  width: 100%;
}
.hero__side .actions { display: grid; gap: 12px; width: 100%; margin: 0; }
.hero__side .btn { width: 100%; justify-content: center; }

/* The rising diagonal stops being a field and becomes a line: one 2px rule
   under the wordmark, echoing the N. It reads far better at this size than
   it ever did as a wash. */
.hero__brand {
  display: grid;
  justify-items: end;
  text-align: right;
  gap: 11px;
  margin-bottom: clamp(28px, 3.6vw, 44px);
}
.hero__brand-word {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1;
  color: #fff;
  --n-diagonal: url(#snpGradLight);
}
.hero__brand-rule {
  width: 92px;
  height: 2px;
  border-radius: 2px;
  background-image: linear-gradient(100deg, #d9968a 0%, #f2d0c4 100%);
}
.hero__brand-sub {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(.58rem, .72vw, .66rem);
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #ffffffbd;
  padding-left: .3em;
}

/* Names the four practices before the headline makes its argument, and fills
   the band between the floating masthead and the copy. */
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: clamp(.62rem, .78vw, .69rem);
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #ffffffc4;
}
.hero__kicker-rule {
  flex: 0 0 auto;
  width: 42px;
  height: 2px;
  border-radius: 2px;
  background-image: linear-gradient(100deg, #d9968a 0%, #f2d0c4 100%);
}

.hero__title {
  font-size: clamp(2.05rem, 3.7vw, 3.35rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 22px;
}

.hero__text .lede { color: #ffffffd6; max-width: 46ch; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 0;
}

.btn--glass {
  background: #ffffff1f;
  color: #fff;
  border: 1px solid #ffffff47;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: #ffffff33; border-color: #ffffff66; }

/* ═══ SECTION HEADS ════════════════════════════════════════ */

.section__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-areas: "label ." "title note";
  column-gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 68px);
}
.section__head .label { grid-area: label; }
.section__title {
  grid-area: title;
  font-size: clamp(2rem, 3.9vw, 3.05rem);
  font-weight: 300;
  letter-spacing: -.035em;
  margin-bottom: 0;
}
.section__note {
  grid-area: note;
  font-size: 1.06rem;
  color: var(--ink-2);
  max-width: 44ch;
  padding-bottom: .4em;
  margin: 0;
}

/* ═══ PRACTICES ════════════════════════════════════════════ */

.practices {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.practice {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.practice:hover {
  transform: translateY(-4px);
  border-color: #14161b26;
  box-shadow: 0 24px 48px -30px #14161b40;
}

.practice__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #8e30383d;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 500;
  color: var(--accent-ink);
  margin: 0 0 26px;
  flex-shrink: 0;
}

.practice h3 {
  font-size: clamp(1.24rem, 1.7vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -.022em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.practice > p {
  font-size: 1rem;
  color: var(--ink-2);
  margin-bottom: 26px;
}

.practice__foot { margin-top: auto; }

.practice__rule {
  height: 1px;
  background: var(--rule);
  margin-bottom: 20px;
}

.deliverables {
  display: grid;
  gap: 11px;
}
.deliverables li {
  position: relative;
  padding-left: 22px;
  font-size: .935rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
  background-image: var(--grad);
}

/* ═══ CLIENTS ══════════════════════════════════════════════ */

.clients {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.client {
  background: var(--paper-2);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-lg);
  padding: clamp(28px, 2.8vw, 38px);
  transition: transform .3s ease, background-color .3s ease;
}
.client:hover { transform: translateY(-4px); background: var(--paper-3); }

.client__dot {
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background-image: var(--grad);
  margin-bottom: 24px;
}

.client h3 {
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.client p {
  font-size: .975rem;
  color: var(--ink-2);
}

/* ═══ STATEMENT ════════════════════════════════════════════ */

.statement { padding-block: clamp(28px, 3.4vw, 52px) var(--sy); }

.statement__panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--slab);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: stretch;
}
.statement__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, #8e303836 0%, transparent 52%);
  pointer-events: none;
}

.statement__plate { margin: 0; position: relative; }
.statement__plate img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.statement__body {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 4.6vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.statement__quote {
  font-family: var(--display);
  font-size: clamp(1.42rem, 2.5vw, 2.05rem);
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: -.028em;
  color: var(--on-slab);
  margin-bottom: 26px;
}

.statement__sub {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--on-slab-2);
  max-width: 52ch;
  margin-bottom: 26px;
}

.statement__cap {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  line-height: 1.6;
  color: #ffffff9e;
  border-top: 1px solid var(--rule-slab);
  padding-top: 18px;
  margin: 0;
  max-width: 46ch;
}

/* ═══ METHOD ═══════════════════════════════════════════════ */

/* Numbered here because the content genuinely is a sequence: you
   cannot reach step 4 without step 3. The diagonal connector is
   the same rising line as the logotype. */

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  padding-block: clamp(26px, 3vw, 36px);
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }

.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-image: var(--grad);
  color: #fff;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .02em;
}

.step__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
}

.step__title {
  font-size: clamp(1.16rem, 1.6vw, 1.36rem);
  font-weight: 500;
  letter-spacing: -.022em;
  line-height: 1.22;
  margin-bottom: 8px;
}
.step__meta {
  font-family: var(--mono);
  font-size: .71rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0;
}
.step__text {
  font-size: 1rem;
  color: var(--ink-2);
  margin: 0;
}

/* ═══ CTA BAND ═════════════════════════════════════════════ */

.cta { padding-block: var(--sy) 0; }

.cta__panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--r-xl);
  display: grid;
  align-items: center;
  min-height: clamp(320px, 30vw, 400px);
  padding: clamp(40px, 5.5vw, 76px);
  background: linear-gradient(66deg, #642027 0%, #7c2a31 26%, #8e3038 48%, #a5443c 72%, #c2705c 100%);
}

/* the firm's own glyph, oversized and cropped, gives the panel a form
   instead of leaving it a flat sheet of colour */
.cta__ghost {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: 21%;
  max-width: 250px;
  height: auto;
  color: #fff;
  opacity: .12;
  pointer-events: none;
}

.cta__body {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.cta__title {
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.08;
  color: var(--on-slab);
  margin-bottom: 20px;
}
.cta__note {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #ffffffbd;
  margin-bottom: 32px;
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 24px #0000003d;
}
.btn--light:hover { box-shadow: 0 14px 34px #00000052; }

/* ═══ CONTACT ══════════════════════════════════════════════ */

.contact-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--sy);
}

.contact__panel {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: clamp(34px, 4.4vw, 66px);
  box-shadow: 0 30px 70px -40px #14161b30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.contact__head .section__title { margin-bottom: 18px; }
.contact__head .section__note { max-width: 34ch; margin-bottom: 32px; }

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: clamp(.95rem, 1.55vw, 1.18rem);
  font-weight: 500;
  letter-spacing: -.028em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  background-image: var(--grad);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
  transition: background-size .3s ease, color .2s ease;
  max-width: 100%;
  overflow-wrap: break-word;
}
.contact__email:hover { color: var(--accent-ink); background-size: 40% 2px; }

.contact__details {
  display: grid;
  gap: 26px;
  margin: 0;
}
.contact__details > div {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.contact__details dt {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact__details dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
.contact__sub {
  display: block;
  margin-top: 6px;
  font-size: .89rem;
  color: var(--ink-3);
}

/* ═══ FOOTER ═══════════════════════════════════════════════ */

.footer {
  background: var(--slab);
  color: var(--on-slab-2);
  padding-block: clamp(52px, 6vw, 80px) 34px;
  font-size: .93rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(38px, 4vw, 56px);
  border-bottom: 1px solid var(--rule-slab);
}

.footer__brand .wordmark__text { color: var(--on-slab); font-size: 1.1rem; --n-diagonal: url(#snpGradLight); }
.footer__tag {
  margin: 18px 0 0;
  max-width: 34ch;
  line-height: 1.6;
  color: var(--on-slab-2);
}

.footer__col h2 {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #ffffffa3;
  margin: 0 0 18px;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a { color: var(--on-slab-2); transition: color .2s ease; }
.footer__links a:hover { color: var(--on-slab); }

.footer__address {
  font-style: normal;
  line-height: 1.65;
  color: var(--on-slab-2);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
  padding-top: 26px;
  font-size: .86rem;
  color: #ffffff9e;
}
.footer__base p { margin: 0; }

/* ═══ REVEALS ══════════════════════════════════════════════ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .62s cubic-bezier(.22,.61,.36,1) var(--d, 0ms),
              transform .62s cubic-bezier(.22,.61,.36,1) var(--d, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ═══ RESPONSIVE ═══════════════════════════════════════════ */

@media (max-width: 900px) {
  .section__head {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "label" "title" "note";
  }
  .section__title { margin-bottom: 20px; }
  .section__note { max-width: 58ch; padding-bottom: 0; }
}

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__title br { display: none; }
  /* dissolve the side column so its two halves take their own place in the
     stack: logotype opens, buttons close */
  .hero__side { display: contents; }
  .hero__brand { order: 1; justify-items: start; text-align: left; }
  .hero__text { order: 2; max-width: none; align-self: start; }
  .hero__side .actions { order: 3; max-width: 320px; width: 100%; }
  .hero__brand-sub { padding-left: 0; }
  /* Once the columns stack there is no right-hand column to protect, and a
     horizontal falloff would land across the middle of the copy. The whole
     scrim switches to running top-to-bottom. */
  .hero::before {
    background:
      linear-gradient(166deg,
        #2b0c10f7 0%, #2f0f13e6 26%, #3d1116cc 46%,
        #4f181ea3 62%, #7c2a3161 74%, #a5443c26 86%, transparent 96%),
      linear-gradient(180deg, #141012ad 0%, #1410122b 16%, transparent 40%, #141012bd 100%),
      linear-gradient(150deg, #8e30382e 0%, #8e30380f 52%, #c2705c14 100%);
  }
  .cta__body { max-width: none; }
  .statement__panel { grid-template-columns: minmax(0, 1fr); }
  .statement__plate { order: 2; }
  .statement__plate img { min-height: 240px; max-height: 320px; }
  .step__main { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .contact__panel { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .hero__title br { display: none; }
  .cta__title br { display: none; }
  /* the scrim runs left-to-right; on a narrow panel that leaves the
     copy sitting on the bright half of the skyline */
  .cta__panel::after {
    background: linear-gradient(163deg, #0f1115f5 0%, #0f1115d6 58%, #c2705c4d 100%);
  }
  .cta__panel { min-height: 0; padding: 36px 28px 40px; }
  .cta__ghost { display: none; }
  .practices { grid-template-columns: minmax(0, 1fr); }
  .clients { grid-template-columns: minmax(0, 1fr); }

  .masthead__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 12px 10px;
    min-height: 0;
  }
  .wordmark { align-self: flex-start; }
  .nav {
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--rule-2);
  }
  .nav a { font-size: .845rem; }
  .nav__cta { padding: 8px 16px; }
  html { scroll-padding-top: 132px; }
}

@media (max-width: 560px) {
  /* the sweep is tuned for a wide box; upright it has to run top-to-bottom
     or the copy ends up on the bright half of the skyline */
  .hero__inner { padding-block: 152px 64px; }
  .hero { min-height: clamp(520px, 82vh, 700px); }
  .hero__bg img { object-position: 62% 42%; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .nav { flex-wrap: wrap; row-gap: 12px; }
}
