:root {
  --bg: #eef1f6;
  --bg-raised: #ffffff;
  --ink: #12161c;
  --muted: #3d444d;
  --line: #d7dde6;
  --line-strong: #c3cad4;
  --accent: #2f74c4;
  --accent-deep: #1e5a9e;
  --contact: #0d1b2e;
  --white: #ffffff;
  --max: 1120px;
  --nav: 72px;
  --radius: 20px;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-to-sub: 8px;
  --title-to-body: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav);
  background: rgba(238, 241, 246, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  border-radius: 8px;
  box-shadow: none;
}

.nav-links a.nav-cta::after {
  content: "→";
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  height: auto;
  background: none;
  transform: none;
  font-style: normal;
  line-height: 1;
  transition: transform 0.25s ease;
}

.nav-cta:hover,
.nav-links a.nav-cta:hover {
  color: var(--accent-deep);
  background: var(--bg-raised);
  border-color: var(--accent);
  transform: none;
  box-shadow: none;
}

.nav-links a.nav-cta:hover::after {
  transform: translateX(4px);
}

.nav-links a.nav-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 0;
}

.photo-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.page-cta {
  padding: 8px 0 96px;
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-soft::after {
  content: "→";
  font-style: normal;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn-soft:hover {
  background: var(--bg-raised);
  color: var(--accent-deep);
  border-color: var(--accent);
}

.btn-soft:hover::after {
  transform: translateX(4px);
}

.btn-soft:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 11px;
}

.nav-toggle span {
  top: 19px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ---------- Layout ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.kicker {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 46px);
  font-style: normal;
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: none;
  color: var(--ink);
  margin-bottom: var(--heading-to-sub);
}

.kicker + h1,
.kicker + h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-style: normal;
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--title-to-body);
}

h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(40px, 5.4vw, 62px);
  margin-bottom: var(--title-to-body);
}

h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  margin-bottom: var(--title-to-body);
}

h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 450;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--title-to-body);
}

h1 + .stack,
h2 + .stack,
h1 + .prose,
h2 + .prose,
h2 + .coverflow,
h2 + .steps,
h2 + .video-grid,
h2 + .points,
.wrap > .video-grid:first-child,
.wrap > .points:first-child {
  margin-top: 0;
}

.lede,
.prose p {
  color: var(--muted);
  font-size: 17px;
  max-width: 58ch;
}

.lede-emphasis {
  font-weight: 700;
  color: var(--ink);
}

.lede strong {
  font-weight: 700;
}

.lede .mark {
  font-weight: 700;
  color: var(--ink);
}

.prose strong {
  font-weight: 700;
}

.prose p + p,
.stack .lede + .lede {
  margin-top: 16px;
}

.section-follow {
  padding-top: 0;
}

.media-gap {
  margin-top: 48px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--accent-deep);
}

.more::after {
  content: "→";
  transition: transform 0.25s ease;
}

.more:hover::after {
  transform: translateX(5px);
}

/* ---------- Split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.frame {
  overflow: hidden;
  background: #d9e0ea;
  border-radius: var(--radius);
}

.frame.narrow {
  max-width: 520px;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.7s ease;
}

.frame:hover img {
  transform: scale(1.04);
}

.frame.wide img {
  aspect-ratio: 16 / 10;
}

.frame.square img {
  aspect-ratio: 1 / 1;
}

.frame.lower img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.frame.lower:hover img {
  transform: none;
}

/* ---------- Hero ---------- */

.hero {
  padding: 80px 0 40px;
}

.hero .split {
  gap: 64px;
}

.hero .frame {
  transform: rotate(1.35deg);
  box-shadow: 14px 22px 50px rgba(28, 24, 20, 0.12);
  transition: transform 0.45s ease;
}

.hero .frame:hover {
  transform: rotate(0deg);
}

.hero .frame img {
  aspect-ratio: 4 / 5;
}

/* ---------- Stats ---------- */

.stats {
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(18, 22, 28, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(47, 116, 196, 0.12);
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 44px);
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--accent);
}

.stat-num-long {
  font-size: clamp(24px, 2.5vw, 34px);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(47, 116, 196, 0.12);
  color: var(--accent);
}

.stat-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* ---------- Testimonials ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(28, 24, 20, 0.08);
}

.card blockquote {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.card cite {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.video-grid.three {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.video-card h3 {
  margin-top: var(--title-to-body);
  margin-bottom: 8px;
  font-weight: 600;
}

.video-card p {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.embed {
  position: relative;
  background: var(--contact);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
}

.embed iframe,
.embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed video {
  object-fit: cover;
  background: #000;
}

.embed-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #d8d2c4;
  text-align: center;
  padding: 24px;
}

.embed-placeholder span {
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 8px;
}

.embed-placeholder small {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- Page header ---------- */

.page-head {
  padding: 72px 0 0;
}

.page-head .wrap > :last-child:is(h1, h2) {
  margin-bottom: 0;
}

.page-head + .section-tight:has(.wrap > .frame:first-child),
.page-head + .section-tight:has(.wrap > .video-grid:first-child),
.page-head + .section-tight:has(.wrap > .prose:first-child) {
  padding-top: var(--title-to-body);
}

.page-head p:not(.kicker),
.page-head .lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 58ch;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin: 48px 0;
  align-items: stretch;
}

.gallery > .frame,
.gallery > .frame img {
  height: 100%;
  min-height: 480px;
}

.gallery > .frame img {
  aspect-ratio: auto;
}

.gallery-stack {
  display: grid;
  gap: 16px;
}

.gallery-stack .frame img {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin-top: 48px;
}

.points h2,
.points h3 {
  margin-bottom: var(--title-to-body);
}

.points .lede + .lede {
  margin-top: 12px;
}

.point-num {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  margin-bottom: 10px;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 36px;
  right: calc(25% - 8px);
  height: 1px;
  background: var(--line-strong);
  pointer-events: none;
}

.step {
  position: relative;
  padding: 0 32px 0 0;
  background: none;
  border: none;
  border-radius: 0;
}

.step:last-child {
  padding-right: 0;
}

.step-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  margin-bottom: var(--heading-to-sub);
}

.step-num span {
  display: inline-block;
  padding-right: 12px;
  background: var(--bg);
  font-family: var(--serif);
  font-size: 36px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.step h3 {
  margin-bottom: var(--title-to-body);
}

.step .lede {
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- Form ---------- */

.contact {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 80% at 85% 15%, rgba(47, 116, 196, 0.55), transparent 58%),
    radial-gradient(ellipse 55% 50% at 8% 90%, rgba(30, 90, 158, 0.4), transparent 52%),
    var(--contact);
  color: var(--bg);
  padding: 104px 0;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.contact h2 {
  color: #fff;
  max-width: 18ch;
}

.coverflow {
  margin-top: 36px;
  margin-bottom: 8px;
}

.coverflow-stage {
  display: grid;
  min-height: 0;
  padding: 8px 10% 12px;
  touch-action: pan-y;
}

.coverflow-slide {
  grid-area: 1 / 1;
  width: min(72%, 560px);
  justify-self: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.72);
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 0;
}

.coverflow-slide h3 {
  margin-top: var(--title-to-body);
  margin-bottom: var(--title-to-body);
}

.coverflow-slide p {
  color: var(--muted);
  font-size: 14px;
}

.coverflow-slide.is-prev,
.coverflow-slide.is-next {
  opacity: 0.45;
  pointer-events: auto;
  z-index: 1;
  cursor: pointer;
}

.coverflow-slide.is-prev {
  transform: translateX(-28%) scale(0.78);
}

.coverflow-slide.is-next {
  transform: translateX(28%) scale(0.78);
}

.coverflow-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 3;
}

.coverflow-slide:not(.is-active) h3,
.coverflow-slide:not(.is-active) p {
  opacity: 0;
}

.coverflow-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.coverflow-counter {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  min-width: 3.5ch;
}

.coverflow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.coverflow-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
}

.coverflow-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.coverflow-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.storyline {
  list-style: none;
  position: relative;
  display: grid;
  gap: 80px;
  margin-top: 56px;
}

.storyline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--line-strong);
  transform: translateX(-50%);
}

.storyline li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  position: relative;
}

.storyline li:nth-child(even) .storyline-photo {
  grid-column: 2;
  grid-row: 1;
}

.storyline li:nth-child(even) .storyline-copy {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.storyline-year {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.storyline-year::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 2px solid var(--accent);
  background: var(--bg);
  border-radius: 50%;
  transform: translateY(-50%);
}

.storyline li:nth-child(odd) .storyline-year::before {
  left: -53px;
}

.storyline li:nth-child(even) .storyline-year {
  margin-left: auto;
}

.storyline li:nth-child(even) .storyline-year::before {
  right: -53px;
}

.storyline-photo {
  overflow: hidden;
  background: #d9e0ea;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(18, 22, 28, 0.05);
}

.storyline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.7s ease;
}

.storyline-photo:hover img {
  transform: scale(1.04);
}

.storyline li:first-child img {
  object-position: top;
}

.storyline li:nth-child(2) img {
  object-position: 50% 38%;
}

.storyline li:nth-child(4) img {
  object-position: 50% 30%;
}

.storyline-copy {
  padding: 4px 4px 4px 8px;
}

.storyline li:nth-child(even) .storyline-copy {
  padding: 4px 8px 4px 4px;
}

.storyline-year {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 6px;
}

.storyline-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  max-width: 28ch;
}

.storyline li:nth-child(even) .storyline-text {
  margin-left: auto;
}

.media-gap {
  margin-top: 28px;
}

.contact .kicker {
  color: #9ec4f0;
  opacity: 1;
}

.contact .lede {
  color: rgba(238, 241, 246, 0.78);
  margin-bottom: 28px;
}

.contact-perks {
  list-style: none;
  display: grid;
  gap: 14px;
}

.contact-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(238, 241, 246, 0.88);
  font-size: 15px;
  line-height: 1.45;
}

.contact-perks li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='10' fill='%232f74c4'/%3E%3Cpath d='M6 10.2l2.4 2.4L14 7.2' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #fff;
  color: var(--ink);
  padding: 32px;
  border-radius: 24px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 80px rgba(47, 116, 196, 0.25);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field > label:not(.check) {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
  color: var(--ink);
}

.field input {
  background: #eef1f6;
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  padding: 14px 16px;
  font-size: 16px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 116, 196, 0.18);
}

.field input::placeholder {
  color: #8a94a1;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.check input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.check a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn {
  appearance: none;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  grid-column: 1 / -1;
  width: 100%;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(47, 116, 196, 0.38);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(47, 116, 196, 0.45);
}

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.form-status {
  grid-column: 1 / -1;
  font-size: 14px;
  min-height: 1.4em;
}

.form-status.error {
  color: #b42318;
}

.form-status.ok {
  color: #067647;
}

/* ---------- Legal ---------- */

.legal {
  padding: 80px 0 120px;
}

.legal h1 {
  margin-bottom: 32px;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal h2 {
  font-size: 22px;
  margin: 32px 0 12px;
}

.legal h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 28px 0 10px;
  color: var(--ink);
}

.legal ul {
  max-width: 68ch;
  margin: 0 0 16px 1.15em;
  color: var(--muted);
}

.legal li + li {
  margin-top: 8px;
}

.legal .legal-caps {
  font-size: 13px;
  line-height: 1.55;
  text-transform: uppercase;
}

.legal p,
.legal address {
  font-style: normal;
  color: var(--muted);
  max-width: 68ch;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--contact);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  font-size: 13px;
  color: rgba(238, 241, 246, 0.55);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 600;
}

.footer-ig svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-links a:hover,
.footer-consent:hover {
  color: #fff;
}

.footer-ig:hover {
  color: #d9e8fb;
}

.footer-consent {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.footer-consent:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

/* ---------- Consent banner ---------- */

.consent-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  pointer-events: none;
}

.consent-root.is-open {
  display: block;
}

.consent-root.is-panel {
  pointer-events: auto;
}

.consent-backdrop {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 46, 0.4);
}

.consent-root.is-panel .consent-backdrop {
  display: block;
}

.consent-box {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 20px;
  box-shadow: 0 18px 50px rgba(18, 22, 28, 0.16);
  color: var(--ink);
  pointer-events: auto;
}

.consent-root.is-panel .consent-box {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.consent-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.consent-box h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.consent-lead {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: none;
}

.consent-lead a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-cats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
}

.consent-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.consent-cat strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.consent-cat span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.consent-switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.consent-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.consent-switch input:disabled {
  cursor: not-allowed;
}

.consent-switch i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background: #c3cad4;
  pointer-events: none;
  transition: background 0.2s ease;
}

.consent-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.consent-switch input:checked + i {
  background: var(--accent);
}

.consent-switch input:checked + i::after {
  transform: translateX(18px);
}

.consent-switch input:focus-visible + i {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consent-btn {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.consent-btn:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.consent-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.consent-btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}

.consent-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.consent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: none;
}

.consent-root.is-panel .consent-close {
  display: block;
}

.consent-close:hover {
  color: var(--ink);
}

@media (max-width: 600px) {
  .consent-box {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px 18px 16px;
  }

  .consent-actions {
    flex-direction: column;
  }

  .consent-btn {
    width: 100%;
  }
}

@media (min-width: 861px) {
  .nav-mobile-only {
    display: none;
  }

  .page-opp .split.reverse {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    direction: ltr;
  }

  .page-opp .split.reverse > :not(.frame) {
    max-width: 640px;
  }

  .page-opp .split.reverse > .frame {
    width: 100%;
    max-width: 100%;
    order: 2;
  }

  .page-opp .frame.lower img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .page-opp .wrap:has(> .points):has(> .frame) {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 56px 64px;
    align-items: start;
  }

  .page-opp .wrap:has(> .points) .points {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 0;
  }

  .page-opp .wrap:has(> .points) .frame.narrow {
    max-width: none;
    margin-top: 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: 6px;
  }

  .split,
  .split.reverse,
  .stats-grid,
  .cards,
  .video-grid,
  .video-grid.three,
  .gallery,
  .photo-row,
  .photo-row.three,
  .points,
  .steps,
  .form,
  .contact-grid,
  .storyline li {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .storyline {
    gap: 40px;
    margin-top: 24px;
  }

  .storyline::before {
    left: 0;
    transform: none;
  }

  .storyline li {
    gap: 8px;
    padding-left: 28px;
  }

  .storyline li:nth-child(even) .storyline-photo,
  .storyline li:nth-child(even) .storyline-copy {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
  }

  .storyline li:nth-child(even) .storyline-text {
    margin-left: 0;
  }

  .storyline-copy,
  .storyline li:nth-child(even) .storyline-copy {
    padding: 0;
  }

  .storyline-year,
  .storyline li:nth-child(odd) .storyline-year,
  .storyline li:nth-child(even) .storyline-year {
    display: inline-flex;
    flex-direction: row;
    margin-left: 0;
    margin-right: 0;
  }

  .storyline-year::before,
  .storyline li:nth-child(odd) .storyline-year::before,
  .storyline li:nth-child(even) .storyline-year::before {
    left: -28px;
    right: auto;
    transform: translate(-50%, -50%);
  }

  .steps {
    gap: 0;
  }

  .steps::before {
    left: 18px;
    right: auto;
    top: 22px;
    bottom: 8px;
    width: 1px;
    height: auto;
  }

  .step {
    padding: 0 0 40px 56px;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step-num {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .step-num span {
    padding: 0;
    font-size: 18px;
    width: 36px;
    text-align: center;
    background: var(--bg);
  }

  .step h3,
  .step .lede {
    max-width: none;
  }

  .hero,
  .section {
    padding: 28px 0;
  }

  .section-tight {
    padding: 20px 0;
  }

  .page-head {
    padding: 36px 0 0;
  }

  .page-head + .section-tight:has(.wrap > .frame:first-child),
  .page-head + .section-tight:has(.wrap > .video-grid:first-child),
  .page-head + .section-tight:has(.wrap > .prose:first-child) {
    padding-top: var(--title-to-body);
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 16px;
  }

  .split,
  .hero .split {
    gap: 0;
  }

  .split > :not(.frame) {
    display: contents;
  }

  .split .kicker {
    order: 1;
  }

  .split h1,
  .split h2 {
    order: 2;
  }

  .split .stack {
    order: 3;
  }

  .split > .frame {
    order: 4;
    margin-top: var(--title-to-body);
  }

  .split .more {
    order: 5;
    margin-top: 16px;
  }

  .wrap:has(> .frame):has(> .prose) {
    display: flex;
    flex-direction: column;
  }

  .wrap:has(> .frame):has(> .prose) > .prose {
    order: 1;
  }

  .wrap:has(> .frame):has(> .prose) > .prose.media-gap {
    margin-top: 0;
  }

  .wrap:has(> .frame):has(> .prose) > .frame {
    order: 2;
    margin-top: var(--title-to-body);
  }

  .storyline-copy {
    order: 1;
  }

  .storyline-photo {
    order: 2;
  }

  .media-gap {
    margin-top: 12px;
  }

  .gallery {
    gap: 10px;
    margin: 16px 0;
  }

  .photo-row {
    gap: 10px;
    margin: 12px 0 0;
  }

  .video-grid {
    gap: 16px;
  }

  .coverflow-stage {
    padding: 4px 4% 8px;
  }

  .coverflow-slide {
    width: min(78%, 520px);
  }

  .stats {
    padding: 12px 0 4px;
  }

  .stats-grid {
    gap: 8px;
  }

  .stat {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
  }

  .stat-icon {
    order: 0;
    margin-bottom: 0;
    width: 36px;
    height: 36px;
  }

  .stat-icon svg {
    width: 20px;
    height: 20px;
  }

  .stat-text {
    min-width: 0;
    flex: 1;
  }

  .stat-num {
    font-size: 26px;
    margin-bottom: 2px;
  }

  .gallery > .frame,
  .gallery > .frame img {
    min-height: 0;
    height: auto;
  }

  .gallery > .frame img {
    aspect-ratio: 4 / 5;
  }

  .contact {
    padding: 64px 0;
  }

  .form {
    padding: 24px;
  }

  .contact h2 {
    max-width: none;
  }

  .hero .frame {
    transform: none;
  }

  .frame-mobile-wide img {
    aspect-ratio: 16 / 9;
    object-position: top;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .frame img,
  .storyline-photo img,
  .card,
  .stat,
  .nav-cta,
  .nav-links a.nav-cta::after,
  .btn,
  .btn-soft,
  .btn-soft::after,
  .more::after,
  .nav-links a::after,
  .consent-switch i,
  .consent-switch i::after,
  .hero .frame,
  .coverflow-slide {
    animation: none;
    transition: none;
  }

  .hero .frame {
    transform: none;
  }
}
