/* =========================================================================
   Aptum Legal — Property Litigation
   "Aptum, sharpened": warm paper + off-white, hairline rules, square corners,
   orange reserved for structure (numerals, labels, rules, hovers).
   ========================================================================= */

/* -------------------------------------------------------------------------
   Fonts — all self-hosted; this build makes no third-party requests.

   Atlas Grotesk is the licensed brand face. Drop the three woff2 files into
   assets/fonts/ and these rules take over automatically; until then the stack
   falls through to Hanken Grotesk, the approved stand-in, self-hosted below.
   ------------------------------------------------------------------------- */
@font-face {
  font-family: 'Atlas Grotesk';
  src: local('Atlas Grotesk Light'), url('../fonts/AtlasGrotesk-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Atlas Grotesk';
  src: local('Atlas Grotesk Regular'), url('../fonts/AtlasGrotesk-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Atlas Grotesk';
  src: local('Atlas Grotesk Medium'), url('../fonts/AtlasGrotesk-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* Hanken Grotesk (variable, 300–500) — latin + latin-ext subsets, SIL OFL. */
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/HankenGrotesk-latin.woff2') format('woff2');
  font-weight: 300 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/HankenGrotesk-latin-ext.woff2') format('woff2');
  font-weight: 300 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* -------------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------------- */
:root {
  --ink:        #191713;
  --olive:      #323021;
  --paper:      #F0EEEA;
  --offwhite:   #F9F9F9;
  --orange:     #F27721;

  --rule:       #DCD8CE;
  --rule-soft:  #E7E4DC;
  --numeral:    #E2DED4;
  --frame:      #E7E4DC;

  --ink-78:     rgba(25, 23, 19, 0.78);
  --ink-60:     rgba(25, 23, 19, 0.60);
  --ink-55:     rgba(25, 23, 19, 0.55);
  --paper-75:   rgba(240, 238, 234, 0.75);
  --paper-45:   rgba(240, 238, 234, 0.45);

  --shell:      1360px;
  --gutter:     clamp(20px, 4vw, 56px);
  --section-y:  clamp(72px, 9vw, 130px);
  --sticky-top: 116px;

  --ease:       cubic-bezier(.22, 1, .36, 1);
  --font:       'Atlas Grotesk', 'Hanken Grotesk', Arial, Helvetica, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--orange); }

h1, h2, h3, p, blockquote, figure { margin: 0; }

::selection { background: var(--orange); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--offwhite);
  padding: 12px 20px; font-size: 14px; font-weight: 500;
}
.skip-link:focus { left: 0; color: var(--offwhite); }

/* Shared shell + section rhythm */
.shell,
.overview__inner, .quote__inner, .pillars__inner, .case__inner,
.team__inner, .cta__inner, .footer__inner, .site-header__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 18px;
}

.h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.arrow { line-height: 1; }

/* -------------------------------------------------------------------------
   Buttons + link styles
   Decision from review: black at rest, orange on interaction — orange stays
   scarce so the CTA band and accents keep their pull. The hero sits on dark,
   so its button is paper-on-dark and rewards with orange on hover.
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.btn--dark {
  background: var(--ink);
  color: var(--offwhite);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  gap: 0;
}
.btn--dark:hover { background: var(--orange); color: var(--offwhite); }

.btn--paper {
  background: var(--offwhite);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 20px 32px;
}
.btn--paper .arrow { font-size: 18px; }
.btn--paper:hover { background: var(--orange); color: #fff; }

.btn--outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 28px;
}
.btn--outline .arrow { font-size: 16px; }
.btn--outline:hover { background: var(--ink); color: var(--offwhite); }

.btn--ink {
  flex: none;
  background: var(--ink);
  color: var(--offwhite);
  font-size: 16px;
  font-weight: 400;
  padding: 22px 36px;
}
.btn--ink .arrow { font-size: 18px; }
.btn--ink:hover { background: var(--olive); color: #fff; }

.link-underline {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid rgba(25, 23, 19, 0.3);
  padding-bottom: 4px;
  transition: color .18s ease, border-color .18s ease;
}
.link-underline:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(240, 238, 234, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(25, 23, 19, 0.07);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(25, 23, 19, 0.08), 0 8px 30px rgba(25, 23, 19, 0.06);
}

.site-header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-header__logo { flex: none; display: flex; align-items: center; }
.site-header__logo img { height: 30px; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.nav__current {
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
}

.nav__group { position: relative; display: flex; align-items: center; }
.nav__parent { display: inline-flex; align-items: center; gap: 7px; }
.nav__caret { font-size: 9px; line-height: 1; opacity: 0.55; }

.nav__menu {
  position: absolute;
  top: 100%;
  left: -18px;
  padding-top: 18px;
  min-width: 190px;
  display: none;
}
.nav__group:hover > .nav__menu,
.nav__group:focus-within > .nav__menu,
.nav__group.is-open > .nav__menu { display: block; }

.nav__menu-panel,
.nav__menu--flyout {
  background: var(--offwhite);
  border: 1px solid rgba(25, 23, 19, 0.1);
  box-shadow: 0 14px 40px rgba(25, 23, 19, 0.1);
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.nav__menu a {
  padding: 11px 20px;
  font-size: 14.5px;
  transition: background .18s ease, color .18s ease;
}
.nav__menu a:hover { background: var(--paper); color: var(--orange); }

.nav__group--sub { position: relative; display: block; }
.nav__parent--sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav__menu--flyout {
  position: absolute;
  top: -8px;
  left: 100%;
  min-width: 210px;
  padding-top: 8px;
}

.site-header__actions { display: flex; align-items: center; gap: 20px; flex: none; }

.site-header__phone {
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(25, 23, 19, 0.2);
  cursor: pointer;
  padding: 0;
}
.burger__bars { display: block; width: 18px; height: 11px; position: relative; }
.burger__bars span {
  position: absolute; left: 0; right: 0;
  height: 1.5px; background: var(--ink);
}
.burger__bars span:nth-child(1) { top: 0; }
.burger__bars span:nth-child(2) { top: 5px; }
.burger__bars span:nth-child(3) { top: 10px; }

/* -------------------------------------------------------------------------
   Mobile menu
   ------------------------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter);
  overflow-y: auto;
}
.menu[hidden] { display: none; }

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.menu__top img { height: 28px; }

.menu__close {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  padding: 10px;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 40px;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.menu__nav > a {
  padding: 8px 0;
  border-bottom: 1px solid rgba(25, 23, 19, 0.08);
}
.menu__current { color: var(--orange); }

.menu__group {
  border-bottom: 1px solid rgba(25, 23, 19, 0.08);
  padding: 8px 0;
}
.menu__group > a { display: block; }

.menu__sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 10px 0 4px;
  padding-left: 20px;
  border-left: 2px solid var(--orange);
}
.menu__sub > a { font-size: 17px; font-weight: 400; padding: 5px 0; }

.menu__sub--deep {
  padding-left: 18px;
  margin: 0 0 4px;
  border-left: 1px solid rgba(25, 23, 19, 0.15);
}
.menu__sub--deep > a { font-size: 15px; font-weight: 300; padding: 4px 0; }

.menu__foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.menu__cta { display: none; }
.menu__phone { font-size: 17px; font-weight: 500; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.6;
  filter: grayscale(1);
  animation: kenBurns 14s ease-out both;
  will-change: transform;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(25, 23, 19, 0.94) 0%,
    rgba(25, 23, 19, 0.55) 45%,
    rgba(25, 23, 19, 0.25) 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(120px, 16vw, 220px) var(--gutter) clamp(56px, 7vw, 88px);
  color: var(--paper);
}

.hero__kicker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  animation: heroUp .9s var(--ease) both;
}

.hero__title {
  font-size: clamp(52px, 8.5vw, 116px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 22px 0 0;
  max-width: 12ch;
  text-wrap: balance;
  animation: heroUp .9s var(--ease) .08s both;
}

.hero__rule {
  width: 72px;
  height: 3px;
  background: var(--orange);
  margin: clamp(28px, 4vw, 44px) 0;
  transform-origin: left;
  animation: ruleGrow 1s var(--ease) .5s both;
}

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__standfirst {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  font-weight: 300;
  max-width: 30em;
  color: rgba(240, 238, 234, 0.72);
  text-wrap: pretty;
  animation: heroUp .9s var(--ease) .18s both;
}
.hero__standfirst span { font-weight: 400; color: var(--paper); }

.hero__cta { flex: none; animation: heroUp .9s var(--ease) .3s both; }

/* Credibility strip — greyscale at rest, colour on hover */
.credibility {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(240, 238, 234, 0.18);
  padding-top: clamp(24px, 3vw, 36px);
  animation: heroUp .9s var(--ease) .45s both;
}

.credibility__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 238, 234, 0.5);
  font-weight: 500;
  margin-bottom: 20px;
}

.credibility__row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.6vw, 56px);
  flex-wrap: wrap;
}
.credibility__row img {
  height: clamp(72px, 7vw, 96px);
  width: auto;
  filter: grayscale(1);
  transition: filter .3s ease, transform .3s ease;
}
.credibility__row img:hover { filter: grayscale(0); transform: scale(1.05); }

/* -------------------------------------------------------------------------
   01 — Overview
   ------------------------------------------------------------------------- */
.overview { background: var(--offwhite); border-top: 1px solid var(--rule-soft); }

.overview__inner {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.overview__head { position: sticky; top: var(--sticky-top); }

.overview__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink-78);
  max-width: 38em;
}

.overview__lead {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
}

/* -------------------------------------------------------------------------
   Quote
   ------------------------------------------------------------------------- */
.quote {
  background: var(--olive);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.quote__glyph {
  position: absolute;
  top: -0.18em;
  right: -0.05em;
  font-size: clamp(300px, 38vw, 560px);
  line-height: 1;
  font-weight: 400;
  color: rgba(240, 238, 234, 0.05);
  pointer-events: none;
  user-select: none;
}

.quote__inner {
  padding-top: clamp(80px, 10vw, 150px);
  padding-bottom: clamp(80px, 10vw, 150px);
  position: relative;
}
.quote__col { max-width: 1000px; }

.quote__mark {
  color: var(--orange);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.6;
  font-weight: 400;
  margin-bottom: 34px;
}

.quote__text {
  font-size: clamp(23px, 2.9vw, 38px);
  line-height: 1.38;
  font-weight: 300;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.quote__meta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.quote__dash { width: 40px; height: 1px; background: var(--orange); }
.quote__cite { font-size: 15.5px; font-weight: 400; color: rgba(240, 238, 234, 0.85); }

.quote__link {
  margin-left: auto;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid rgba(240, 238, 234, 0.35);
  padding-bottom: 4px;
  color: var(--paper);
  transition: color .18s ease, border-color .18s ease;
}
.quote__link:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* -------------------------------------------------------------------------
   02 — The Aptum difference
   ------------------------------------------------------------------------- */
.pillars { background: var(--offwhite); }
.pillars__inner { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.pillars__title { margin-bottom: clamp(44px, 6vw, 72px); }

.pillars__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }

.pillar {
  border-left: 1px solid var(--rule);
  padding: 24px 36px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 300px;
  transition: background .35s ease, transform .5s var(--ease);
}
.pillar--last { border-right: 1px solid var(--rule); }
.pillar:hover { background: var(--paper); transform: translateY(-6px); }

.pillar__num {
  font-size: clamp(56px, 5vw, 84px);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  color: var(--numeral);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.pillar__label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}

.pillar__text {
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.32;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink-60);
  text-wrap: pretty;
}
.pillar__text span { font-weight: 400; color: var(--ink); }

/* -------------------------------------------------------------------------
   03 — Case study
   ------------------------------------------------------------------------- */
.case { background: var(--paper); border-top: 1px solid var(--rule-soft); }

.case__inner {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.case__media {
  overflow: hidden;
  height: min(72vh, 680px);
  position: sticky;
  top: var(--sticky-top);
}
.case__media img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.case__title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.16;
  margin-bottom: clamp(36px, 4vw, 52px);
  max-width: 18em;
}

.ledger { display: flex; flex-direction: column; }

.ledger__row { border-top: 1px solid var(--rule); padding: 28px 0; }
.ledger__row--last { border-bottom: 1px solid var(--rule); }

.ledger__label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 14px;
}

.ledger__text {
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink-78);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 36em;
}

.case .btn--outline { margin-top: 40px; }

/* -------------------------------------------------------------------------
   04 — Team
   ------------------------------------------------------------------------- */
.team { background: var(--offwhite); }
.team__inner { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.team__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 1.8vw, 28px);
}

.member { display: flex; flex-direction: column; color: var(--ink); }
.member:hover { color: var(--ink); }

.member__frame {
  overflow: hidden;
  aspect-ratio: 3 / 3.7;
  background: var(--frame);
}
.member__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transition: filter .5s ease, transform .8s var(--ease);
}
.member:hover .member__frame img { filter: grayscale(0); transform: scale(1.04); }

.member__meta {
  border-top: 2px solid var(--ink);
  margin-top: 16px;
  padding-top: 14px;
}
.member__name { font-size: 18px; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
.member__role {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-55);
  margin-top: 4px;
  line-height: 1.4;
}
.member__cta {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--orange);
  margin-top: 12px;
}

/* -------------------------------------------------------------------------
   CTA band
   ------------------------------------------------------------------------- */
.cta {
  background: var(--orange);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.cta__watermark {
  position: absolute;
  bottom: -0.32em;
  left: -0.02em;
  font-size: clamp(140px, 20vw, 300px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: rgba(25, 23, 19, 0.07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.cta__inner {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

.cta__title {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.025em;
  max-width: 14em;
  text-wrap: balance;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--paper-75); }

.footer__inner {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: 36px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.footer__brand { display: flex; flex-direction: column; gap: 28px; }
.footer__logo {
  height: 30px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0) invert(0.95);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14.5px;
  font-weight: 300;
}
.footer__nav a { color: var(--paper-75); }
.footer__nav a:hover { color: var(--orange); }

.footer__offices {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 300;
}

.office__city {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 12px;
}

.footer__legal {
  border-top: 1px solid rgba(240, 238, 234, 0.12);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 300;
  color: var(--paper-45);
}
.footer__disclaimer { max-width: 46em; }
.footer__legal a { color: var(--paper-45); }
.footer__legal a:hover { color: var(--orange); }

/* -------------------------------------------------------------------------
   Motion — staged hero entrance, scroll reveals, parallax
   ------------------------------------------------------------------------- */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ruleGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes kenBurns {
  from { transform: scale(1.08) translateY(0); }
  to   { transform: scale(1) translateY(-1.5%); }
}

/* Reveals only hide when JS is present to bring them back. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--rd, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Pillars both reveal and lift on hover — keep the hover transform winning
   once the card has arrived, and keep its background transition alive. */
.js .pillar.reveal {
  transition: opacity .9s var(--ease), transform .9s var(--ease), background .35s ease;
}
.js .pillar.reveal.is-visible:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .hero__kicker, .hero__title, .hero__rule,
  .hero__standfirst, .hero__cta, .credibility { animation: none; }
  .hero__rule { transform: none; }
  * { transition-duration: .01ms !important; }
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .nav, .site-header__phone { display: none; }
  .burger { display: inline-flex; }

  .overview__inner { grid-template-columns: 1fr; gap: 40px; }
  .overview__head { position: static; }

  .pillars__grid { grid-template-columns: 1fr; }
  /* Stacked cards size to their text — a fixed min-height only leaves a
     hole between the last line and the divider. */
  .pillar { border-left: none; border-right: none; border-top: 1px solid var(--rule); padding: 36px 0; min-height: 0; }

  .case__inner { grid-template-columns: 1fr; }
  .case__media { height: 420px; position: static; }

  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }

  .credibility__row { gap: 24px 32px; }

  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__offices { grid-template-columns: 1fr; }

  .hero__row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .team__grid { grid-template-columns: 1fr; gap: 44px; }
  .footer__legal { flex-direction: column; gap: 10px; }

  /* Logo + CTA + burger can't share a 390px bar without overflowing, so the
     booking CTA moves into the menu and the header keeps logo + burger. */
  .site-header__inner .btn--dark { display: none; }
  .site-header__inner { gap: 16px; }
  .menu__cta { display: inline-flex; }
}

/* Lock background scroll while the mobile menu is open */
html.menu-open, html.menu-open body { overflow: hidden; }
