/* Crouser & Suh PLLC
   ------------------------------------------------------------------
   Palette derives from the firm's own mark: the monogram teal (#47787A)
   darkened into the ground colour, and a cool slate-green paper instead of
   the usual cream so the neutral-grey portrait backdrop sits cleanly on it.
   Type pairs Spectral (voice) with Archivo (apparatus: labels, data, nav).
   ------------------------------------------------------------------ */

:root {
  --ink:        #0E2128;
  --ink-2:      #143039;
  --ink-3:      #1D3F49;
  --seal:       #47787A;
  --seal-lt:    #7BA5A3;
  --seal-dim:   #35595B;
  --paper:      #FFFFFF;
  --paper-2:    #EBEEEB;
  --paper-3:    #F5F7F5;
  --rule:       #D2D7D3;
  --rule-dark:  rgba(255, 255, 255, .16);
  --body:       #22302F;
  --muted:      #5D6B67;
  --muted-dark: #9FB2B2;

  --font-display: 'Spectral', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-ui: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1280px;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --band: clamp(4.5rem, 9vw, 8.5rem);
  --hair: 1px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  /* never split a word across lines; let the browser choose break points that
     keep phrases intact rather than filling every line to the edge */
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
}

/* only addresses that genuinely cannot fit may break inside a word */
.panel__contact a, .footer a[href^='mailto'], .stat__v a { overflow-wrap: anywhere; }

h1, h2, h3, h4, .h-display, .h-section, .h-sub,
.person__name, .office__city, .matter__title, .value__name, .route__name,
.panel__name, .deflist h3, .route__item h4 {
  text-wrap: balance;
}

/* keep an atom together: phone numbers, visa codes, short labels */
.nb { white-space: nowrap; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; z-index: 200;
  font-family: var(--font-ui); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}
.skip:focus { left: 0; }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--seal);
  margin: 0 0 1.15rem;
}
.eyebrow--dark { color: var(--seal-lt); }

.h-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: .99;
  letter-spacing: -.022em;
  margin: 0;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.3vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0;
}
.h-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -.008em;
  margin: 0;
}
.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 46ch;
  margin: 1.35rem 0 0;
}
.prose p { margin: 0 0 1.15rem; max-width: 64ch; }
.prose p:last-child { margin-bottom: 0; }

.meta {
  font-family: var(--font-ui);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: var(--hair) solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 92px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.4rem); }
.nav a {
  font-family: var(--font-ui);
  font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--body); padding: .4rem 0; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--seal); transition: right .3s ease;
}
.nav a:hover::after, .nav a[aria-current='page']::after { right: 0; }
.nav a[aria-current='page'] { color: var(--seal); }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer;
  color: var(--body);
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .brand img { height: 40px; }
  .nav {
    position: fixed; inset: 84px 0 auto; background: var(--paper);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: .5rem var(--gut) 1.75rem;
    border-bottom: var(--hair) solid var(--rule);
    transform: translateY(-130%); transition: transform .38s cubic-bezier(.3,.8,.3,1);
    box-shadow: 0 24px 40px -28px rgba(14, 33, 40, .5);
  }
  .nav[data-open='true'] { transform: translateY(0); }
  .nav a { width: 100%; padding: .95rem 0; border-bottom: var(--hair) solid var(--rule); font-size: .84rem; }
  .nav a::after { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover;
}
/* The scrim is weighted to the left, where the copy sits, so the photograph
   stays legible on the right instead of being flattened everywhere. */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,33,40,.38) 0%, rgba(14,33,40,.06) 42%, rgba(14,33,40,.62) 100%),
    linear-gradient(96deg, rgba(14,33,40,.78) 0%, rgba(14,33,40,.46) 34%, rgba(14,33,40,0) 68%);
}
.hero__body { position: relative; padding-block: clamp(3.5rem, 9vw, 6.5rem); width: 100%; }
.hero .h-display { max-width: 15ch; }
.hero .lede { color: rgba(255,255,255,.82); max-width: 44ch; }
.hero__rule {
  width: 92px; height: 2px; background: var(--seal-lt);
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
}
.hero__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}
.hero__meridian {
  font-family: var(--font-ui); font-size: .74rem; font-weight: 600;
  letter-spacing: .26em; color: rgba(255,255,255,.72);
}

.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-ui); font-size: .76rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  padding: .95rem 1.6rem; border: var(--hair) solid currentColor;
  transition: background .28s ease, color .28s ease, border-color .28s ease;
  cursor: pointer; background: none; color: inherit;
}
.btn svg { transition: transform .28s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--light { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ink { color: var(--ink); border-color: var(--rule); }
.btn--ink:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- generic band ---------- */

.band { padding-block: var(--band); }
.band--tint { background: var(--paper-2); }
.band--soft { background: var(--paper-3); }
.band--ink { background: var(--ink); color: #fff; }
.band--ink .h-section, .band--ink .h-sub { color: #fff; }
.band--ink .lede, .band--ink .prose { color: rgba(255,255,255,.78); }
.band--ink .meta { color: var(--muted-dark); }

.band__head {
  display: grid; gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .band__head--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; }
}
.band__head .lede { margin-top: 0; }

/* ---------- the route (signature) ---------- */

.route { margin-top: clamp(1rem, 2vw, 2rem); }
.route__rail {
  display: grid; gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: var(--hair) solid var(--rule-dark);
  position: relative;
}
.route__station {
  position: relative; text-align: left;
  padding: 2.1rem 1.5rem 2.35rem 0;
  background: none; border: 0; border-right: var(--hair) solid var(--rule-dark);
  color: inherit; font: inherit; cursor: pointer;
  transition: opacity .3s ease;
}
.route__station:last-child { border-right: 0; }
.route__station::before {
  content: ''; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--seal-lt);
  transition: background .3s ease, transform .3s ease;
}
.route__station[aria-selected='true']::before { background: var(--seal-lt); transform: scale(1.25); }
.route__station::after {
  content: ''; position: absolute; top: -1px; left: 0; right: 100%;
  height: 2px; background: var(--seal-lt); transition: right .45s cubic-bezier(.3,.8,.3,1);
}
.route__station[aria-selected='true']::after { right: 0; }
.route__num {
  display: block; font-family: var(--font-ui); font-size: .7rem; font-weight: 600;
  letter-spacing: .2em; color: var(--seal-lt); margin-bottom: .85rem;
}
.route__name {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem); line-height: 1.28; letter-spacing: -.01em;
  color: rgba(255,255,255,.62); transition: color .3s ease; padding-right: .5rem;
}
.route__station[aria-selected='true'] .route__name,
.route__station:hover .route__name { color: #fff; }

.route__panel { padding-top: clamp(2.25rem, 4vw, 3.25rem); }
.route__panel[hidden] { display: none; }
.route__grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.route__item { border-top: var(--hair) solid var(--rule-dark); padding-top: 1.15rem; }
.route__item h4 {
  margin: 0 0 .5rem; font-family: var(--font-display); font-weight: 500;
  font-size: 1.06rem; letter-spacing: -.005em; color: #fff;
}
.route__item p { margin: 0; font-size: .95rem; line-height: 1.62; color: rgba(255,255,255,.68); }

@media (max-width: 780px) {
  .route__rail { grid-template-columns: 1fr; border-top: 0; }
  .route__station {
    border-right: 0; border-top: var(--hair) solid var(--rule-dark);
    padding: 1.4rem 0 1.5rem 1.6rem;
  }
  .route__station::before { top: -5px; left: 0; }
  .route__station::after { top: -1px; }
  .route__num { margin-bottom: .45rem; }
}

/* ---------- definition rows (bars / education / languages) ---------- */

.deflist { margin: 0; }
.deflist__group + .deflist__group { margin-top: 2.35rem; }
.deflist h3 {
  margin: 0 0 .85rem;
  font-family: var(--font-display); font-weight: 400; font-size: 1.22rem;
  letter-spacing: -.01em; color: var(--ink);
}
.deflist ul { list-style: none; margin: 0; padding: 0; }
.deflist li {
  padding: .8rem 0; border-bottom: var(--hair) dotted var(--rule);
  font-size: .99rem; line-height: 1.5;
}
.deflist li:first-child { border-top: var(--hair) solid var(--rule); }

/* ---------- attorney grid ---------- */

.people {
  display: grid; gap: clamp(1.5rem, 2.4vw, 2.25rem) clamp(1.1rem, 1.8vw, 1.6rem);
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}
.person {
  display: flex; flex-direction: column; align-items: stretch;
  width: 100%; text-align: left;
  background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer;
}
.person__shot {
  position: relative; overflow: hidden; background: #8B8F93;
  aspect-ratio: 4 / 5;
}
.person__shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.3,1), filter .5s ease;
}
.person:hover .person__shot img, .person:focus-visible .person__shot img {
  transform: scale(1.045);
}
.person__shot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,33,40,0) 55%, rgba(14,33,40,.55) 100%);
  opacity: 0; transition: opacity .45s ease;
}
.person:hover .person__shot::after, .person:focus-visible .person__shot::after { opacity: 1; }
.person__view {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-family: var(--font-ui); font-size: .66rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease;
}
.person:hover .person__view, .person:focus-visible .person__view { opacity: 1; transform: translateY(0); }
.person__name {
  display: block;
  margin: .85rem 0 .25rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  line-height: 1.26; letter-spacing: -.01em; color: var(--ink);
}
.person__role {
  display: block;
  font-family: var(--font-ui); font-size: .62rem; font-weight: 600;
  line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; color: var(--seal);
}
.person__view { font-size: .6rem; left: .8rem; bottom: .8rem; }

/* roster: the grid split by role, each band introduced by a ruled heading */
.roster + .roster { margin-top: clamp(3rem, 6vw, 5rem); }
.roster__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem; margin: 0 0 clamp(1.5rem, 2.6vw, 2.25rem);
  padding-bottom: .95rem; border-bottom: var(--hair) solid var(--rule);
}
.roster__role {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem); letter-spacing: -.012em; color: var(--ink);
}
.roster__count {
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; color: var(--seal);
}

/* ---------- attorney panel ---------- */

.panel {
  position: fixed; inset: 0; z-index: 120;
  visibility: hidden; pointer-events: none;
}
.panel[data-open='true'] { visibility: visible; pointer-events: auto; }
.panel__scrim {
  position: absolute; inset: 0; background: rgba(9, 22, 27, .58);
  opacity: 0; transition: opacity .45s ease; border: 0; width: 100%; cursor: pointer;
}
.panel[data-open='true'] .panel__scrim { opacity: 1; }
.panel__sheet {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(920px, 100%);
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .5s cubic-bezier(.32,.72,.28,1);
  box-shadow: -30px 0 60px -40px rgba(9, 22, 27, .7);
}
.panel[data-open='true'] .panel__sheet { transform: translateX(0); }
.panel__close {
  position: sticky; top: 0; z-index: 3; margin-left: auto;
  display: flex; align-items: center; gap: .6rem;
  background: var(--paper); border: 0; border-bottom: var(--hair) solid var(--rule);
  width: 100%; justify-content: flex-end;
  padding: 1.15rem var(--gut); cursor: pointer;
  font-family: var(--font-ui); font-size: .7rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; color: var(--muted);
}
.panel__close:hover { color: var(--ink); }
.panel__inner { padding: clamp(2rem, 4vw, 3.25rem) var(--gut) clamp(3rem, 6vw, 4.5rem); }
.panel__top { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 720px) {
  .panel__top { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
}
.panel__shot { background: #8B8F93; aspect-ratio: 4 / 5; overflow: hidden; }
.panel__shot img { width: 100%; height: 100%; object-fit: cover; }
.panel__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.06; letter-spacing: -.02em;
  margin: 0 0 .55rem; color: var(--ink);
}
.panel__role {
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase; color: var(--seal);
}
.panel__contact { margin-top: 1.6rem; border-top: var(--hair) solid var(--rule); padding-top: 1.2rem; }
.panel__contact dl { margin: 0; display: grid; gap: .55rem 1.5rem; grid-template-columns: auto 1fr; }
.panel__contact dt {
  font-family: var(--font-ui); font-size: .66rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  padding-top: .18rem;
}
.panel__contact dd { margin: 0; font-size: .99rem; }
.panel__contact a { color: var(--seal); border-bottom: var(--hair) solid rgba(71,120,122,.35); }
.panel__contact a:hover { border-bottom-color: var(--seal); }
.panel__bio { margin-top: clamp(2.25rem, 4vw, 3rem); }
.panel__cols {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  display: grid; gap: clamp(1.75rem, 3vw, 3rem);
}
@media (min-width: 720px) {
  .panel__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel__cols--single { grid-template-columns: minmax(0, 1fr); }
  .panel__cols--single .deflist {
    columns: 2; column-gap: clamp(1.75rem, 3vw, 3rem);
  }
  .panel__cols--single .deflist__group { break-inside: avoid; }
  .panel__cols--single .deflist__group:first-child { margin-top: 0; }
}

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.tags li {
  font-family: var(--font-ui); font-size: .68rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  border: var(--hair) solid var(--rule); padding: .48rem .8rem; color: var(--muted);
}

/* ---------- matters ---------- */

.matters { display: grid; gap: 0; }
.matter {
  display: grid; gap: .75rem clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: var(--hair) solid var(--rule);
}
.matter:last-child { border-bottom: var(--hair) solid var(--rule); }
@media (min-width: 860px) {
  .matter { grid-template-columns: 64px minmax(0, 300px) minmax(0, 1fr); align-items: start; }
}
.matter__num {
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; color: var(--seal); padding-top: .35rem;
}
.matter__title {
  font-family: var(--font-display); font-weight: 500; font-size: 1.16rem;
  letter-spacing: -.01em; margin: 0; color: var(--ink);
}
.matter ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(1.5rem, 3vw, 2.75rem); }
@media (max-width: 660px) { .matter ul { columns: 1; } }
.matter li {
  font-size: .96rem; line-height: 1.55; padding: .38rem 0;
  break-inside: avoid;
}
.matter li b { font-weight: 500; color: var(--ink); }
.matter li span { color: var(--muted); }

/* ---------- offices ---------- */

.offices { display: grid; gap: 0; }
.office {
  display: grid; gap: .5rem clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.6rem, 2.6vw, 2.15rem) 0;
  border-top: var(--hair) solid var(--rule);
  align-items: baseline;
}
.office:last-child { border-bottom: var(--hair) solid var(--rule); }
@media (min-width: 780px) {
  .office { grid-template-columns: 64px minmax(0, 200px) minmax(0, 1fr) minmax(0, 220px) auto; }
  /* the map link always sits in the last column, even where an office has no
     phone line to fill the column before it */
  .office > .office__tag { grid-column: 5; }
}
.office__lines { margin: 0; font-size: .96rem; color: var(--muted); line-height: 1.62; }
.office__lines a { color: var(--seal); }
.office__lines a:hover { border-bottom: var(--hair) solid var(--seal); }
.office__idx {
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; color: var(--seal);
}
.office__city {
  font-family: var(--font-display); font-weight: 500; font-size: 1.2rem;
  letter-spacing: -.01em; color: var(--ink); margin: 0;
}
.office__addr { margin: 0; font-size: .99rem; color: var(--muted); }
.office__tag {
  font-family: var(--font-ui); font-size: .66rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* ---------- values ---------- */

.values { display: grid; gap: 0; }
.value {
  display: grid; gap: .55rem clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 2.6vw, 2.1rem) 0;
  border-top: var(--hair) solid var(--rule-dark);
}
.value:last-child { border-bottom: var(--hair) solid var(--rule-dark); }
@media (min-width: 820px) {
  .value { grid-template-columns: 64px minmax(0, 260px) minmax(0, 1fr); align-items: baseline; }
}
.value__idx {
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; color: var(--seal-lt);
}
.value__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin: 0; color: #fff; }
.value__name small {
  display: block; font-family: var(--font-ui); font-size: .64rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--seal-lt); margin-top: .35rem;
}
.value p { margin: 0; color: rgba(255,255,255,.72); font-size: .99rem; }

/* ---------- figure / media ---------- */

.figure { position: relative; overflow: hidden; background: var(--paper-2); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 3 / 4; }
.figure--wide { aspect-ratio: 16 / 9; }
.figure--square { aspect-ratio: 1 / 1; }

.split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

.stats { display: grid; gap: 0; margin-top: clamp(2rem, 4vw, 3rem); }
.stat {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding: 1.05rem 0; border-top: var(--hair) solid var(--rule);
}
.stat:last-child { border-bottom: var(--hair) solid var(--rule); }
.stat__k {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  color: var(--seal); min-width: 4.5rem; letter-spacing: -.02em;
}
.stat__v { font-size: .97rem; color: var(--muted); }
.stat__k--label {
  font-family: var(--font-ui); font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; color: var(--seal); min-width: 5rem;
}
.stat__v a { color: var(--seal); border-bottom: var(--hair) solid rgba(71,120,122,.3); }
.stat__v a:hover { border-bottom-color: var(--seal); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; }
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 660px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.15fr);
  }
}
.footer__logo { height: 48px; width: auto; margin-bottom: 1.6rem; }
.footer h4 {
  margin: 0 0 1.15rem; font-family: var(--font-ui); font-size: .68rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase; color: var(--seal-lt);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: .3rem 0; font-size: .96rem; }
.footer__base {
  margin-top: clamp(2.75rem, 5vw, 4rem); padding-top: 1.6rem;
  border-top: var(--hair) solid var(--rule-dark);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: var(--font-ui); font-size: .68rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.45);
}

/* ---------- page masthead (interior pages) ---------- */

.masthead {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5rem);
}
.masthead__media { position: absolute; inset: 0; opacity: .82; }
.masthead__media img { width: 100%; height: 100%; object-fit: cover; }
.masthead__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(14,33,40,.92) 0%, rgba(14,33,40,.66) 38%, rgba(14,33,40,.14) 78%),
    linear-gradient(180deg, rgba(14,33,40,.35) 0%, rgba(14,33,40,.15) 55%, rgba(14,33,40,.45) 100%);
}
.masthead__body { position: relative; }
.masthead .h-display { font-size: clamp(2.3rem, 5.2vw, 4.1rem); max-width: 18ch; }
.masthead .lede { color: rgba(255,255,255,.78); }

/* ---------- reveal ---------- */

[data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity .85s cubic-bezier(.2,.7,.3,1), transform .85s cubic-bezier(.2,.7,.3,1);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

.note {
  font-family: var(--font-ui); font-size: .74rem; line-height: 1.65;
  color: var(--muted); margin-top: 2rem; max-width: 78ch;
}
.band--ink .note { color: rgba(255,255,255,.5); }

/* ---------- legal pages ---------- */

/* minmax(0, …) on every track: an auto track would take its size from the
   body's 74ch max-width and push the page wider than the viewport on phones */
.legal {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 940px) {
  .legal { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
  .legal__nav { position: sticky; top: 118px; }
}
.legal__nav h2 {
  margin: 0 0 1.1rem; font-family: var(--font-ui); font-size: .68rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase; color: var(--seal);
}
.legal__nav ul { list-style: none; margin: 0; padding: 0; }
.legal__nav li { border-top: var(--hair) solid var(--rule); }
.legal__nav li:last-child { border-bottom: var(--hair) solid var(--rule); }
.legal__nav a {
  display: block; padding: .8rem 0; font-size: .96rem; color: var(--muted);
  transition: color .25s ease;
}
.legal__nav a:hover { color: var(--ink); }
.legal__nav a[aria-current='page'] { color: var(--seal); }

.legal__body { max-width: 74ch; }
.legal__body h2 {
  margin: clamp(2.5rem, 4.5vw, 3.5rem) 0 1.1rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.35rem, 2.1vw, 1.7rem); letter-spacing: -.012em; color: var(--ink);
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 {
  margin: 2rem 0 .7rem; font-family: var(--font-display); font-weight: 500;
  font-size: 1.06rem; color: var(--ink);
}
.legal__body p { margin: 0 0 1.15rem; }
.legal__body ul, .legal__body ol { margin: 0 0 1.35rem; padding-left: 1.15rem; }
.legal__body li { margin-bottom: .55rem; }
.legal__body a { color: var(--seal); border-bottom: var(--hair) solid rgba(71,120,122,.35); }
.legal__body a:hover { border-bottom-color: var(--seal); }
.legal__updated {
  font-family: var(--font-ui); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding-top: 1.4rem; margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: var(--hair) solid var(--rule);
}
.legal__table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .95rem;
}
.legal__table th, .legal__table td {
  text-align: left; padding: .8rem 1rem .8rem 0; border-bottom: var(--hair) solid var(--rule);
  vertical-align: top;
}
.legal__table th {
  font-family: var(--font-ui); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.legal__scroll { overflow-x: auto; }

.footer__legal { list-style: none; margin: 0; padding: 0; }
.footer__legal li { padding: .3rem 0; font-size: .9rem; }
