/* Star City LLC — site styles */

:root {
  --ink: #101036;
  --indigo: #17164d;
  --indigo-2: #24236a;
  --brass: #b08f58;
  --brass-dark: #80632e;
  --brass-light: #d3b98a;
  --paper: #f7f4ee;
  --paper-2: #efe9dd;
  --line: #e2dccf;
  --field: #d6d0c3;
  --text: #2a2b44;
  --muted: #5f6178;
  --white: #ffffff;
  --error: #b3261e;

  --font-display: 'Alegreya SC', Georgia, serif;
  --font-body: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Alegreya', Georgia, serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--indigo);
  margin: 0;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

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

a {
  color: var(--indigo);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

address {
  font-style: normal;
}

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

::selection {
  background: var(--brass-light);
  color: var(--ink);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--white);
  color: var(--indigo);
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* Type helpers */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-dark);
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.on-dark .eyebrow {
  color: var(--brass-light);
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 22ch;
}

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

.section-head > div {
  max-width: 660px;
}

.section-head .lead {
  margin-top: 18px;
}

.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.32rem);
  line-height: 1.6;
  color: var(--muted);
}

.statement {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.3;
  font-weight: 400;
  color: var(--indigo);
  margin: 0 0 28px;
  text-wrap: balance;
}

.statement em {
  font-style: italic;
  color: var(--brass-dark);
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-brass {
  background: var(--brass);
  color: var(--ink);
}

.btn-brass:hover {
  background: var(--brass-light);
}

.btn-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-light:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-indigo {
  background: var(--indigo);
  color: var(--white);
}

.btn-indigo:hover {
  background: var(--indigo-2);
}

.btn-outline {
  color: var(--indigo);
  border-color: var(--indigo);
}

.btn-outline:hover {
  background: var(--indigo);
  color: var(--white);
}

.btn-small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.74rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-rule {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--indigo);
}

.link-rule::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--brass);
  transition: width 0.35s var(--ease);
}

.link-rule:hover::before,
.stretch-card:hover .link-rule::before {
  width: 60px;
}

.on-dark .link-rule {
  color: var(--white);
}

.stretch-card {
  position: relative;
}

.stretch-card .stretch-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.35s, box-shadow 0.35s;
}

.header-inner {
  max-width: 1320px;
  margin-inline: auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(16, 16, 54, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 32px -20px rgba(0, 0, 0, 0.6);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header.is-scrolled {
    background: rgba(16, 16, 54, 0.84);
    backdrop-filter: saturate(140%) blur(12px);
  }
}

.site-header.is-scrolled .header-inner {
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
  transition: height 0.35s var(--ease);
}

.is-scrolled .brand img {
  height: 34px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav ul a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brass-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.main-nav ul a:hover,
.main-nav ul a[aria-current='page'] {
  color: var(--white);
}

.main-nav ul a:hover::after,
.main-nav ul a[aria-current='page']::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 12px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none;
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .header-inner {
    padding-block: 14px;
  }

  .brand img {
    height: 36px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 55;
    width: min(340px, 86vw);
    height: 100dvh;
    padding: 104px 32px 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    background: var(--ink);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
    overflow-y: auto;
  }

  .nav-open .main-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav ul a {
    display: block;
    padding: 16px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav ul a::after {
    display: none;
  }

  .main-nav ul a[aria-current='page'] {
    color: var(--brass-light);
  }

  .nav-open .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 52;
    background: rgba(8, 8, 28, 0.55);
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-open .site-header {
    z-index: 60;
  }
}

/* Home hero (video) */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink) url('/assets/hero.jpg') center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 16, 54, 0.6) 0%, rgba(16, 16, 54, 0.12) 30%, rgba(16, 16, 54, 0.3) 58%, rgba(16, 16, 54, 0.9) 100%),
    linear-gradient(90deg, rgba(16, 16, 54, 0.55) 0%, rgba(16, 16, 54, 0) 65%);
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--header-h) + 64px) var(--gutter) clamp(96px, 14vh, 140px);
}

.hero h1 {
  max-width: 15ch;
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  line-height: 1.04;
}

.hero .lead {
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.88);
}

.hero .btn-row {
  margin-top: 36px;
}

.hero-controls {
  position: absolute;
  right: var(--gutter);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-controls[hidden] {
  display: none;
}

.video-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(16, 16, 54, 0.3);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s;
}

.video-toggle:hover {
  background: rgba(16, 16, 54, 0.6);
  border-color: var(--white);
}

.video-toggle svg {
  width: 16px;
  height: 16px;
}

.video-toggle .icon-play,
.video-toggle[data-state='paused'] .icon-pause {
  display: none;
}

.video-toggle[data-state='paused'] .icon-play {
  display: block;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
}

.scroll-cue::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  transform-origin: top;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-cue::after {
    animation: cue 2.4s var(--ease) infinite;
  }
}

@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .video-toggle {
    display: none;
  }
}

@media (max-height: 760px) {
  .scroll-cue {
    display: none;
  }
}

@media (max-width: 700px) {
  .scroll-cue {
    display: none;
  }

  .hero-controls {
    bottom: 22px;
  }

  .hero .btn-row .btn {
    flex: 1 1 auto;
  }
}

/* Ticker */

.ticker {
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
  display: flex;
  width: max-content;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 20px 15px;
  list-style: none;
}

.ticker-group li {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.06em;
}

.ticker-group li::after {
  content: '\2726';
  color: var(--brass);
  font-size: 0.75rem;
}

@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    animation: ticker 48s linear infinite;
  }

  .ticker:hover .ticker-track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    width: auto;
    justify-content: center;
  }

  .ticker-group {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ticker-group[aria-hidden='true'] {
    display: none;
  }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Sections */

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

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

.section-ink {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.section-ink h2,
.section-ink h3 {
  color: var(--white);
}

.section-ink .lead {
  color: rgba(255, 255, 255, 0.75);
}

.bg-mark {
  position: absolute;
  z-index: -1;
  right: -4%;
  top: 50%;
  height: 135%;
  width: auto;
  max-width: none;
  transform: translateY(-50%);
  opacity: 0.045;
  pointer-events: none;
}

/* Intro + stats */

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.intro-copy p {
  color: var(--muted);
}

.intro-copy .link-rule {
  margin-top: 28px;
}

.stats,
.stats-band {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.stat {
  margin: 0;
  padding: 30px 0 28px;
  border-bottom: 1px solid var(--line);
}

.stat:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.stat:nth-child(even) {
  padding-left: 30px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--indigo);
  font-variant-numeric: lining-nums tabular-nums;
}

.stat-num.stat-word {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.38;
  white-space: nowrap;
}

.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--muted);
}

.split + .stats-band {
  margin-top: clamp(56px, 7vw, 88px);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band .stat {
  padding: 34px 28px;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}

.stats-band .stat:first-child {
  padding-left: 0;
}

.stats-band .stat:last-child {
  border-right: 0;
}

/* Pillars (what we do) */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--brass-light);
  box-shadow: 0 28px 56px -32px rgba(16, 16, 54, 0.38);
}

.art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.art img {
  width: 86%;
  height: auto;
}

.pillar-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 30px 34px;
}

.pillar-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--brass-dark);
}

.pillar h3 {
  font-size: 1.75rem;
}

.pillar p {
  flex: 1;
  margin: 0;
  color: var(--muted);
}

.pillar .link-rule {
  margin-top: 8px;
}

/* Values */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.value {
  padding: 36px 28px 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.value:first-child {
  padding-left: 0;
  border-left: 0;
}

.value-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brass-light);
  letter-spacing: 0.08em;
}

.value h3 {
  margin: 18px 0 12px;
  font-size: 1.5rem;
}

.value p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Split CTA */

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

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 88px);
}

.cta-panel h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  max-width: 16ch;
  margin-bottom: 18px;
}

.cta-panel p {
  max-width: 44ch;
  margin-bottom: 30px;
}

.cta-panel-ink {
  background: var(--indigo);
  color: rgba(255, 255, 255, 0.8);
}

.cta-panel-ink h2 {
  color: var(--white);
}

.cta-panel-paper {
  background: var(--paper-2);
  color: var(--muted);
}

/* Page hero (inner pages) */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(64px, 9vw, 112px)) 0 clamp(96px, 11vw, 148px);
  color: var(--white);
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(176, 143, 88, 0.22), transparent 62%),
    linear-gradient(160deg, var(--indigo) 0%, var(--ink) 72%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.page-hero-mark {
  position: absolute;
  z-index: -1;
  right: max(-40px, calc((100vw - 1320px) / 2));
  bottom: -18%;
  height: 128%;
  width: auto;
  max-width: none;
  opacity: 0.07;
  pointer-events: none;
}

.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  max-width: none;
  height: clamp(56px, 8vw, 110px);
  opacity: 0.06;
  pointer-events: none;
}

.page-hero h1 {
  max-width: 18ch;
  margin: 0 0 22px;
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.06;
}

.page-hero .lead {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero .btn-row {
  margin-top: 34px;
}

/* Two-column content */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
}

.split-top {
  align-items: start;
}

.prose h2 {
  margin-bottom: 26px;
}

.prose p {
  color: var(--muted);
}

.prose p.strong {
  color: var(--indigo);
  font-weight: 700;
}

.pull-quote {
  margin: 0;
  padding-left: 30px;
  border-left: 2px solid var(--brass);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  line-height: 1.38;
  color: var(--indigo);
}

.pull-quote p {
  margin: 0;
}

.pull-quote footer {
  margin-top: 20px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-dark);
}

/* Criteria (acquisitions) */

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.criteria-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.criteria-card .art {
  aspect-ratio: 16 / 9;
}

.criteria-card .art img {
  width: 62%;
}

.criteria-body {
  padding: 34px 34px 38px;
}

.criteria-body h3 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.criteria-body > p {
  color: var(--muted);
}

.tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid var(--brass-light);
  color: var(--brass-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.checklist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-top: 1px solid var(--line);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 19px;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--brass);
  border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}

.spec-list {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-list dt,
.spec-list dd {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  padding-top: 27px;
  padding-right: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-dark);
}

.spec-list dd {
  font-size: 1.15rem;
  color: var(--text);
}

.spec-list dd span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: 26px;
  border-top: 2px solid var(--indigo);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--brass);
  font-variant-numeric: lining-nums;
}

.step h3 {
  margin: 16px 0 10px;
  font-size: 1.4rem;
}

.step p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* Services (management) */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  padding: 38px 34px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 0.3s;
}

.service:hover {
  background: var(--paper);
}

.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border: 1px solid var(--brass-light);
  border-radius: 50%;
  color: var(--brass-dark);
}

.icon svg {
  width: 24px;
  height: 24px;
}

.service h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.service p {
  color: var(--muted);
  font-size: 1.04rem;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.highlight {
  padding: 8px 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.highlight:first-child {
  padding-left: 0;
  border-left: 0;
}

.highlight h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.highlight p {
  color: rgba(255, 255, 255, 0.72);
}

/* Forms */

.form-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.form-card {
  padding: clamp(28px, 4vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -56px rgba(16, 16, 54, 0.45);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.form-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.form-card > p {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
  margin-top: 32px;
}

.span-2 {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field label,
.field legend {
  padding: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo);
}

.field .req {
  color: var(--brass-dark);
}

.field .optional {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--field);
  border-radius: 0;
  background: #fdfcf9;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317164d' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #bdb5a4;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(23, 22, 77, 0.12);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--error);
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--field);
  background: #fdfcf9;
  font-size: 1rem;
  color: var(--text);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.choice input:hover + span {
  border-color: var(--indigo);
}

.choice input:checked + span {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 30px;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status {
  margin-top: 26px;
  padding: 22px 24px;
  background: var(--paper);
  border-left: 3px solid var(--brass);
}

.form-status[hidden] {
  display: none;
}

.form-status p {
  margin-bottom: 14px;
}

.form-status .btn-row {
  gap: 10px;
}

/* Contact person card */

.person-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 38px 36px 40px;
  background: var(--indigo);
  color: rgba(255, 255, 255, 0.8);
}

.person-card h3 {
  margin: 22px 0 4px;
  color: var(--white);
  font-size: 1.7rem;
}

.person-role {
  margin-bottom: 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.monogram {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--brass-light);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--brass-light);
  flex: none;
}

.contact-rows {
  margin: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-rows div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-rows dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact-rows dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-rows a {
  color: var(--white);
  text-decoration: none;
}

.contact-rows a:hover {
  color: var(--brass-light);
  text-decoration: underline;
}

/* Team */

.team-group + .team-group {
  margin-top: 56px;
}

.team-group h3 {
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.member:hover {
  transform: translateY(-3px);
  border-color: var(--brass-light);
  box-shadow: 0 22px 40px -30px rgba(16, 16, 54, 0.4);
}

.member .monogram {
  width: 58px;
  height: 58px;
  border: 0;
  background: var(--indigo);
  color: var(--brass-light);
  font-size: 1.25rem;
}

.member-name {
  display: block;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--indigo);
}

.member-role {
  display: block;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--muted);
}

.member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-links a {
  color: var(--brass-dark);
  text-decoration: none;
}

.member-links a:hover {
  color: var(--indigo);
  text-decoration: underline;
}

/* Reach (about) */

.reach-art {
  width: min(100%, 440px);
  height: auto;
  margin-inline: auto;
}

.reach-art text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Contact page */

.routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.route {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--indigo);
}

.route h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.route > p {
  color: var(--muted);
  font-size: 1.04rem;
}

.route-lines {
  flex: 1;
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
}

.route-lines li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.route-lines strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-dark);
}

.route-lines a {
  text-decoration: none;
}

.route-lines a:hover {
  text-decoration: underline;
}

.route .btn {
  align-self: flex-start;
}

.office {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.office-details h2 {
  margin-bottom: 22px;
}

.office-details address {
  margin-bottom: 26px;
  font-size: 1.25rem;
  color: var(--indigo);
}

.direct-lines {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.direct-lines li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.direct-lines span {
  font-weight: 700;
  color: var(--indigo);
}

.direct-lines .links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.direct-lines a {
  color: var(--muted);
  text-decoration: none;
}

.direct-lines a:hover {
  color: var(--indigo);
  text-decoration: underline;
}

.map-frame {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.02);
}

/* 404 */

.not-found {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.not-found .big {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
}

/* Footer */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.02rem;
}

.site-footer .skyline {
  opacity: 0.035;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
  gap: 40px;
  padding-top: clamp(72px, 9vw, 112px);
  padding-bottom: 56px;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 22px;
}

.footer-title {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  padding: 4px 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brass-light);
  text-decoration: underline;
}

.site-footer address {
  margin-bottom: 14px;
}

.footer-contact p {
  margin-bottom: 14px;
}

.footer-contact span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin: 0;
}

/* Reveal on scroll */

[data-reveal] {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(26px);
}

[data-reveal='2'] { transition-delay: 0.1s; }
[data-reveal='3'] { transition-delay: 0.2s; }
[data-reveal='4'] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal].reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pillar,
  .member {
    transition: none;
  }

  .pillar:hover,
  .member:hover {
    transform: none;
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .value:nth-child(n + 3) {
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

  .stats-band .stat:nth-child(2) {
    border-right: 0;
  }

  .stats-band .stat:nth-child(3) {
    padding-left: 0;
  }

  .stats-band .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .intro-grid,
  .split,
  .criteria-grid,
  .form-layout,
  .cta-split,
  .office {
    grid-template-columns: 1fr;
  }

  .pillars,
  .routes {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .services {
    grid-template-columns: 1fr 1fr;
  }

  .highlights {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .highlight,
  .highlight:first-child {
    padding: 0;
    border-left: 0;
  }

  .person-card {
    position: static;
  }

  .map-frame {
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1.0625rem;
  }

  .form-grid,
  .services,
  .values-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .value,
  .value:first-child,
  .value:nth-child(3) {
    padding: 28px 0 4px;
    margin-top: 0;
    border-left: 0;
  }

  .value + .value {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .stats-band .stat {
    padding: 26px 16px;
  }

  .stats-band .stat:nth-child(odd) {
    padding-left: 0;
  }

  .stat:nth-child(even) {
    padding-left: 18px;
  }

  .stat-label {
    font-size: 0.92rem;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .spec-list dt {
    padding: 22px 0 4px;
    border-bottom: 0;
  }

  .spec-list dd {
    padding-top: 0;
  }

  .criteria-body,
  .pillar-body {
    padding: 26px 22px 30px;
  }

  .service {
    padding: 30px 24px;
  }

  .person-card {
    padding: 32px 24px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .member {
    flex-direction: row;
    align-items: center;
    padding: 20px;
  }

  .form-actions .btn {
    width: 100%;
  }

  .footer-grid {
    gap: 32px;
  }
}
