/* ==========================================================================
   Brownlee Land Services
   --------------------------------------------------------------------------
   Contents
     1.  Fonts
     2.  Tokens
     3.  Reset & base
     4.  Layout primitives  (.shell, .section, .eyebrow, .btn)
     5.  Header & navigation
     6.  Hero
     7.  Capabilities
     8.  Selected experience
     9.  How Brownlee works
     10. About
     11. Contact & form
     12. Footer
     13. Motion & reveal
   ========================================================================== */


/* 1. Fonts ================================================================= */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  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;
}


/* 2. Tokens ================================================================ */

:root {
  /* brand */
  --teal:        #247F7A;   /* brand accent: graphics, rules, primary button */
  --teal-ink:    #21716C;   /* same hue, darkened for small text (WCAG AA) */
  --teal-deep:   #1B615D;
  --ink:         #202223;   /* primary dark */
  --paper:       #F5F3EE;   /* warm off-white */

  /* derived surfaces & text */
  --paper-tint:  #EFECE5;
  --body:        #43474A;
  --muted:       #616669;
  --rule:        #DCD8CF;
  --rule-strong: #C9C4B9;

  /* dark band */
  --dark-bg:     #202223;
  --dark-text:   #EAE7E1;
  --dark-muted:  #9AA0A1;
  --dark-rule:   rgba(234, 231, 225, 0.16);

  /* type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          Helvetica, Arial, sans-serif;

  /* rhythm */
  --shell:       1220px;
  --gutter:      clamp(1.25rem, 5vw, 4.5rem);
  --section-y:   clamp(3.75rem, 7.4vw, 7.75rem);
  --header-h:    clamp(66px, 8vw, 88px);
}


/* 3. Reset & base ========================================================== */

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

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

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

::selection { background: rgba(36, 127, 122, 0.18); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 1rem; }

/* Fine paper grain so the off-white does not read as flat screen white. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url('/assets/img/grain.png');
  background-size: 128px 128px;
  opacity: 0.34;
  mix-blend-mode: multiply;
}


/* 4. Layout primitives ===================================================== */

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

.section {
  position: relative;
  z-index: 2;
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
}

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

.section--dark {
  background: var(--dark-bg);
  color: var(--dark-muted);
  border-top-color: transparent;
}
.section--dark h2, .section--dark h3 { color: var(--dark-text); }
.section--dark .eyebrow { color: #6FB3AE; }

.section__head { margin-bottom: clamp(2.5rem, 4.2vw, 3.75rem); }

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--teal-ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  line-height: 1;
}

.section__title {
  max-width: 20ch;
  font-size: clamp(1.9rem, 4.1vw, 3.15rem);
}
.section__title--wide { max-width: 36ch; }

.section__lead {
  max-width: 46ch;
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
}
.section--dark .section__lead { color: var(--dark-muted); }

/* Buttons: squared, understated, no fills beyond the single primary. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  padding: 0.95rem 1.75rem;
  background: var(--teal);
  border-color: var(--teal);
  color: #FFF;
  font-family: inherit;
}
.btn--primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }

.btn--quiet {
  padding: 0.95rem 0.25rem;
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--rule-strong);
}
.btn--quiet:hover { color: var(--teal-ink); box-shadow: inset 0 -1px 0 var(--teal); }


/* 5. Header & navigation =================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 238, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--rule); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: clamp(148px, 17vw, 188px); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.35rem);
}
.nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 450;
  text-decoration: none;
  color: var(--body);
  transition: color 0.2s ease;
}
.nav__list a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::after { transform: scaleX(1); }
.nav__list a[aria-current='true'] { color: var(--ink); }
.nav__list a[aria-current='true']::after { transform: scaleX(1); }

.nav-toggle { display: none; }


/* 6. Hero ================================================================== */

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

/* The stage lets the linework run off the right edge of the viewport while the
   masthead strip below stays inside the shell. */
.hero__stage {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.75rem, 3.2vw, 3rem) clamp(1.75rem, 3.4vw, 3rem);
}

.hero__inner { position: relative; }   /* sits above the linework */

.hero__title {
  font-size: clamp(2.5rem, 6.1vw, 4.9rem);
  line-height: 1.01;
  letter-spacing: -0.037em;
  text-wrap: initial;      /* the manual <br> sets the break */
}

.hero__lead {
  max-width: 44ch;
  margin-top: clamp(1.25rem, 1.9vw, 1.65rem);
  font-size: clamp(1.09375rem, 1.55vw, 1.28125rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  margin-top: clamp(1.5rem, 2.5vw, 2.15rem);
}

/* --- survey plat: bleeds off the right edge, dissolves under the headline -- */
.hero__plate {
  position: absolute;
  right: calc(-1 * clamp(0.75rem, 1.6vw, 1.5rem));
  top: 0;
  height: 100%;
  width: min(58%, 845px);
  overflow: hidden;
  pointer-events: none;
}

.hero__plate picture,
.hero__plate img { display: block; width: 100%; height: 100%; }

.hero__plate img {
  object-fit: cover;
  object-position: center right;
  /* Dissolves westward so the drawing never competes with the headline, and
     so the plat's own paper tone never meets --paper as a visible seam. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.35) 28%, #000 58%);
          mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.35) 28%, #000 58%);
}

/* Softens the top and bottom edges into the page rather than cutting a band. */
.hero__plate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--paper) 0,
    rgba(245, 243, 238, 0) 15%,
    rgba(245, 243, 238, 0) 82%,
    var(--paper) 100%
  );
}

/* --- masthead strip under the hero --- */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem clamp(1.25rem, 3vw, 2.75rem);
  margin: 0;
  padding-block: 1rem 1.1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.4;
}
.hero__meta span { position: relative; }
.hero__meta span + span::before {
  content: '';
  position: absolute;
  left: calc(clamp(1.25rem, 3vw, 2.75rem) / -2);
  top: 0.35em;
  bottom: 0.35em;
  width: 1px;
  background: var(--rule-strong);
}


/* 7. Capabilities ========================================================== */

.practice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.practice__item {
  padding-inline: clamp(1.5rem, 3vw, 2.75rem);
  border-left: 1px solid var(--rule);
}
.practice__item:first-child { padding-left: 0; border-left: 0; }
.practice__item:last-child { padding-right: 0; }

.practice__index {
  margin: 0 0 1.75rem;
  color: var(--teal-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

.practice__name {
  margin-bottom: 1.15rem;
  font-size: clamp(1.1875rem, 1.7vw, 1.4375rem);
  letter-spacing: -0.02em;
}

.practice__body { max-width: 38ch; }


/* 8. Selected experience =================================================== */

.records {
  border-top: 1px solid var(--dark-rule);
}

.record {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: baseline;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--dark-rule);
}

/* An engagement can carry more than one figure, so the column is a stack. */
.record__figure {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  color: var(--dark-text);
}
.record__line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.record__value {
  font-size: clamp(2.1rem, 4.1vw, 3.05rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
/* Stacked figures step down so the block stays the weight of a single metric. */
.record--multi .record__value { font-size: clamp(1.45rem, 2.5vw, 1.95rem); }

.record__unit {
  color: var(--dark-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* The area or basin, set as a label rather than a headline. */
.record__name {
  margin-bottom: 0.7rem;
  color: var(--dark-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.4;
}
.record__body p { max-width: 60ch; font-size: 1rem; }

/* Secondary block: same grid as the records, but no figures - it should read as
   a footnote to the section, not as four more headline metrics. */
.records__more {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem) 0;
}
.records__more-label {
  margin: 0;
  color: #6FB3AE;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.4;
}
.records__more-body p { max-width: 62ch; font-size: 1rem; }

/* Closing line: the reach of the work, without listing it out. */
.records__reach {
  max-width: 74ch;
  margin: clamp(2.25rem, 4vw, 3.25rem) 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--teal);
  color: var(--dark-text);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.6;
}


/* 9. How Brownlee works ==================================================== */

.approach__copy {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(1.09375rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.statement {
  max-width: 68ch;
  margin: clamp(2.5rem, 4.5vw, 4rem) 0 0;
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 2px solid var(--teal);
  color: var(--ink);
  font-size: clamp(1.25rem, 2.15vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.25;
}


/* 10. About ================================================================ */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about__portrait { margin: 0; }
.about__portrait img { width: 100%; }
.about__portrait figcaption {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule-strong);
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.about__copy { max-width: 56ch; }
.about__copy p { font-size: 1.0625rem; }

.about__place {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule-strong);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}


/* 11. Contact & form ======================================================= */

#contact { padding-block: clamp(3.25rem, 5.5vw, 5.5rem); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(2.25rem, 4.5vw, 4rem);
  align-items: start;
}

.contact__lead {
  max-width: 38ch;
  margin-top: 1.25rem;
  font-size: 1.0625rem;
}
.contact__details { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.contact__name {
  margin-bottom: 0.15rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.contact__line { margin: 0; }
/* Phone and email stack, each underline hugging its own text. */
.contact__links {
  display: grid;
  justify-items: start;
  gap: 0.4rem;
  margin: 1.15rem 0 0;
}
.contact__links a {
  color: var(--teal-ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -1px 0 rgba(36, 127, 122, 0.35);
  transition: box-shadow 0.2s ease, color 0.2s ease;
}
.contact__links a:hover {
  color: var(--teal-deep);
  box-shadow: inset 0 -1px 0 var(--teal-deep);
}

.form { display: grid; gap: 1.5rem; }

.field { display: grid; gap: 0.5rem; }
.field label {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.4rem 0 0.65rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.0625rem;
  line-height: 1.5;
  transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 5.25rem; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--teal);
}
.field input:focus-visible,
.field textarea:focus-visible { outline: none; }
.field.is-invalid input,
.field.is-invalid textarea { border-bottom-color: #A8443B; }

/* honeypot */
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 0.5rem;
}
.form__status {
  margin: 0;
  max-width: 40ch;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form__status.is-error { color: #A8443B; }
.form__status.is-ok { color: var(--teal-deep); }


/* 12. Footer =============================================================== */

.site-footer {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem);
  background: var(--paper-tint);
  border-top: 1px solid var(--rule);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.site-footer__mark { width: 38px; height: auto; }
.site-footer__name {
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.008em;
}
.site-footer__place { margin: 0; font-size: 0.9375rem; color: var(--muted); }

.site-footer__links { display: flex; gap: 1.75rem; }
.site-footer__links a {
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 transparent;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}
.site-footer__links a:hover {
  color: var(--teal-ink);
  box-shadow: inset 0 -1px 0 var(--teal);
}

.site-footer__legal {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}


/* 13. Motion & reveal ====================================================== */

/* The plat settles in rather than appearing; nothing else moves on load. */
.hero__plate img {
  animation: plate-in 1.1s cubic-bezier(0.22, 0.7, 0.24, 1) both;
}
@keyframes plate-in {
  from { opacity: 0; transform: scale(1.015); }
  to   { opacity: 1; transform: none; }
}

/* Scroll reveal: small, quiet. Applied by main.js only when supported. */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.24, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

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


/* ==========================================================================
   Responsive
   ========================================================================== */

/* --- tablet --------------------------------------------------------------- */
@media (max-width: 1000px) {
  /* The plat leads as a masthead band above the words. */
  .hero__stage { overflow: visible; }
  .hero__plate {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 40vh;
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  }
  .hero__plate img {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
            mask-image: linear-gradient(to right, transparent 0, #000 14%);
  }
  .hero__plate::after { display: none; }
  .hero__title { max-width: 16ch; }

  .practice { grid-template-columns: minmax(0, 1fr); }
  .practice__item {
    padding: 2.25rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .practice__item:first-child { padding-top: 0; border-top: 0; }
  .practice__index { margin-bottom: 1rem; }
  .practice__body { max-width: 60ch; }

  .about,
  .contact { grid-template-columns: minmax(0, 1fr); }

  .about__portrait { max-width: 320px; }
}

/* --- mobile --------------------------------------------------------------- */
@media (max-width: 720px) {
  body { font-size: 1rem; }

  /* Nav collapses to a single panel below the header. */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    background: none;
    border: 0;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-toggle__bars {
    display: grid;
    gap: 5px;
    width: 20px;
  }
  .nav-toggle__bars span {
    display: block;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle[aria-expanded='true'] .nav-toggle__bars span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .nav-toggle[aria-expanded='true'] .nav-toggle__bars span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .nav.is-open { display: block; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-inline: var(--gutter);
  }
  .nav__list li + li { border-top: 1px solid var(--rule); }
  .nav__list a {
    padding-block: 1.05rem;
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.015em;
  }
  .nav__list a::after { display: none; }

  .hero__stage { padding-top: 1.75rem; }
  .hero__plate { aspect-ratio: 16 / 9; max-height: 30vh; }
  .hero__title {
    font-size: clamp(2.15rem, 9.4vw, 3rem);
    letter-spacing: -0.032em;
  }
  .hero__actions { gap: 1.25rem; }
  .btn--primary { padding-inline: 1.4rem; }

  .hero__meta {
    gap: 0.5rem 1.35rem;
    font-size: 0.6875rem;
    letter-spacing: 0.11em;
  }
  .hero__meta span + span::before { display: none; }

  .nav-toggle { font-size: 0.75rem; }

  /* Figures stack above their description rather than shrinking awkwardly. */
  .record {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }
  .record__value { font-size: 2.4rem; }
  .record--multi .record__value { font-size: 1.6rem; }

  .records__more { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }


  .about__portrait { max-width: 100%; }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 430px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }
  .hero__actions .btn--quiet { padding-inline: 0; }
}
