@font-face {
  font-family: "Golos Text";
  src: url("../../web/fonts/golos-text-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F, U+1C80-1C8F;
}

@font-face {
  font-family: "Golos Text";
  src: url("../../web/fonts/golos-text-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-024F;
}

@font-face {
  font-family: "Manrope";
  src: url("../../web/styleboard/fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F, U+1C80-1C8F;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("../../../../design/excursion-previews/fonts/AlumniSans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f4f6f2;
  --surface: #fffefa;
  --surface-sea: #e7f2f0;
  --ink: #263336;
  --muted: #5f6d6f;
  --line: #d8e2df;
  --sea: #006d79;
  --sea-strong: #005761;
  --sea-soft: #dff1f1;
  --sun: #f2c35f;
  --sun-soft: #fff4d6;
  --success: #176f52;
  --warning: #8a5b00;
  --danger: #b94424;
  --deep: #14324a;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { background: var(--canvas); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

main {
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--surface);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: clamp(28px, 4vw, 64px);
  overflow: hidden;
  background: var(--canvas);
}

.hero::before {
  position: absolute;
  width: min(640px, 62vw);
  height: min(640px, 62vw);
  right: -14vw;
  top: -22vw;
  border-radius: 50%;
  background: var(--sea-soft);
  content: "";
}

.hero-topline,
.hero-copy,
.hero-palette,
.hero-note { position: relative; z-index: 1; }

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { width: 150px; height: auto; }

.gate-chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sea-strong);
  background: rgba(255, 254, 250, .72);
  font-size: 13px;
  font-weight: 650;
}

.hero-copy {
  max-width: 880px;
  margin-top: clamp(96px, 13vw, 174px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--sea);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p { text-wrap: pretty; }

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: .96;
}

.lede {
  max-width: 68ch;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-palette {
  display: grid;
  grid-template-columns: 1.2fr .82fr .98fr;
  max-width: 930px;
  min-height: 116px;
  margin-top: clamp(52px, 7vw, 88px);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(38, 51, 54, .12);
}

.hero-palette div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.hero-palette span { font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.hero-palette strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.palette-sea { color: var(--surface); background: var(--sea); }
.palette-sun { color: var(--ink); background: var(--sun); }
.palette-paper { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-note span { color: var(--success); }

.section {
  padding: clamp(72px, 8vw, 124px) clamp(24px, 6vw, 88px);
}

.section-intro { max-width: 760px; }
.section-intro.compact { max-width: 900px; }

h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 710;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.section-intro > p:last-child {
  max-width: 68ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.audit { background: var(--surface); }

.truth-line {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-top: 64px;
}

.truth-photo {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--sea-soft);
}

.truth-photo img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.truth-photo span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--sun);
  font-size: 13px;
  font-weight: 700;
}

.truth-principles { border-top: 1px solid var(--line); }
.truth-principles p { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.truth-principles b { color: var(--ink); }

.directions { color: var(--surface); background: var(--sea); }
.directions .kicker { color: #bfe3e2; }
.directions h2 { max-width: 17ch; }

.direction {
  overflow: hidden;
  border-radius: 16px;
}

.direction-primary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  min-height: 380px;
  margin-top: 64px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 22px 54px rgba(0, 45, 51, .24);
}

.direction-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 5vw, 62px); }

.direction-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.direction-label span { font-size: 13px; font-weight: 700; }
.direction-label b { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.direction-primary .direction-label span { color: var(--sea); }

.direction h3 {
  max-width: 17ch;
  margin: 54px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.direction p { max-width: 58ch; margin: 22px 0 0; color: var(--muted); }

.direction-swatch { display: flex; min-height: 104px; }
.direction-swatch i { flex: 1; background: var(--swatch); }
.swatch-one { display: grid; grid-template-columns: repeat(2, 1fr); min-height: 100%; }

.direction-alternates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.direction-alternates .direction { display: flex; min-height: 430px; flex-direction: column; padding: clamp(26px, 4vw, 46px) clamp(26px, 4vw, 46px) 0; color: var(--ink); }
.direction-light { background: #e7f0f0; }
.direction-deep { color: var(--surface) !important; background: var(--deep); }
.direction-deep p, .direction-deep .direction-label b { color: #b9cbd4; }
.direction-alternates h3 { margin-top: 72px; font-size: clamp(1.8rem, 3.2vw, 3rem); }
.direction-alternates .direction-swatch { margin: auto clamp(-46px, -4vw, -26px) 0; }

.rejected {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.24);
}

.rejected p { max-width: 76ch; margin: 0; color: #d8ecea; }
.rejected-pair { display: flex; flex: 0 0 auto; }
.rejected-pair i { width: 36px; height: 36px; border-radius: 50%; background: #0a24e9; }
.rejected-pair i + i { margin-left: -10px; background: #c8f45a; }

.type { background: var(--canvas); }

.type-specimen {
  margin-top: 64px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 16px;
  color: var(--surface);
  background: var(--sea-strong);
}

.type-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.type-meta span { color: inherit; opacity: .72; }
.type-display { max-width: 13ch; margin: 90px 0 0; font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 700; letter-spacing: -.035em; line-height: .98; }
.type-body { max-width: 70ch; margin: 28px 0 0; color: #cae1df; font-size: 17px; }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 56px; font-variant-numeric: tabular-nums; }
.numbers span { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.24); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 650; }

.type-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.type-option { min-height: 240px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.type-option p { margin: 60px 0 6px; font-size: clamp(1.55rem, 3vw, 2.5rem); font-weight: 650; letter-spacing: -.025em; }
.type-option small { color: var(--muted); font-size: 13px; }
.manrope { font-family: "Manrope", sans-serif; }
.alumni p { font-family: "Alumni Sans", sans-serif; font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 660; letter-spacing: .01em; line-height: .9; }

.semantics { background: var(--surface); }
.semantic-ribbon { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr; margin-top: 56px; overflow: hidden; border-radius: 16px; }
.token { display: flex; min-height: 156px; flex-direction: column; justify-content: space-between; padding: 22px; color: var(--surface); }
.token span { font-size: 12px; font-weight: 700; }
.token b { font-size: 13px; font-variant-numeric: tabular-nums; }
.token-sea { background: var(--sea); }
.token-sun { color: var(--ink); background: var(--sun); }
.token-success { background: var(--success); }
.token-warning { background: var(--warning); }
.token-danger { background: var(--danger); }
.contrast-note { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contrast-note span { padding: 9px 12px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.contrast-pass { color: var(--success); background: #e3f2ea; }
.contrast-fail { color: var(--danger); background: #fae9e4; }

.photo {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  background: var(--surface-sea);
}

.photo-copy h2 { max-width: 12ch; }
.photo-copy > p:not(.kicker) { max-width: 58ch; margin: 26px 0 0; color: var(--muted); }
.photo-copy .legal-note { font-size: 13px; }

.photo-mosaic { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, minmax(180px, 280px)); gap: 12px; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.photo-main { grid-row: 1 / 3; }

.platforms { background: var(--surface); }
.platform-strip { display: grid; grid-template-columns: repeat(8, minmax(82px, 1fr)); margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platform-strip figure { display: grid; min-width: 0; place-items: center; gap: 14px; margin: 0; padding: 28px 10px; border-right: 1px solid var(--line); }
.platform-strip figure:last-child { border-right: 0; }
.platform-strip figure span { display: grid; width: 48px; height: 48px; place-items: center; }
.platform-strip img { width: 32px; max-height: 32px; }
.platform-strip figcaption { overflow: hidden; max-width: 100%; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.neutral-mark span { border-radius: 50%; color: var(--sea); background: var(--sea-soft); font-size: 18px; font-weight: 700; letter-spacing: .08em; }

.decision {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(40px, 7vw, 100px);
  padding: clamp(72px, 9vw, 140px) clamp(24px, 6vw, 88px);
  color: var(--surface);
  background: var(--deep);
}

.decision .kicker { color: var(--sun); }
.decision h2 { max-width: 14ch; }
.decision > div > p:last-child { max-width: 62ch; margin: 26px 0 0; color: #b9cbd4; }
.decision-list { border-top: 1px solid rgba(255,255,255,.22); }
.decision-list span { display: block; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.22); color: #b9cbd4; }
.decision-list b { display: block; margin-bottom: 4px; color: var(--surface); }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .truth-line,
  .direction-primary,
  .photo,
  .decision { grid-template-columns: 1fr; }
  .direction-alternates,
  .type-options { grid-template-columns: 1fr; }
  .swatch-one { min-height: 220px; }
  .semantic-ribbon { grid-template-columns: repeat(2, 1fr); }
  .token-sea { grid-column: 1 / 3; }
  .platform-strip { grid-template-columns: repeat(4, 1fr); }
  .platform-strip figure:nth-child(4) { border-right: 0; }
  .platform-strip figure:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .hero { padding: 24px 18px 52px; }
  .logo { width: 124px; }
  .gate-chip { min-height: 32px; padding-inline: 10px; font-size: 11px; }
  .hero-copy { margin-top: 80px; }
  h1 { max-width: 100%; font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero-palette { grid-template-columns: 1fr; }
  .hero-palette div { min-height: 86px; }
  .section { padding: 72px 18px; }
  h2 { font-size: clamp(2.25rem, 12vw, 3.4rem); }
  .truth-photo, .truth-photo img { min-height: 320px; }
  .direction-primary { min-height: 0; }
  .direction h3 { margin-top: 54px; }
  .direction-alternates .direction { min-height: 390px; padding-inline: 24px; }
  .direction-alternates .direction-swatch { margin-inline: -24px; }
  .rejected { align-items: flex-start; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .semantic-ribbon { grid-template-columns: 1fr; }
  .token-sea { grid-column: auto; }
  .token { min-height: 112px; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 160px; }
  .photo-main { grid-column: 1 / 3; grid-row: auto; }
  .platform-strip { grid-template-columns: repeat(2, 1fr); }
  .platform-strip figure { border-bottom: 1px solid var(--line); }
  .platform-strip figure:nth-child(even) { border-right: 0; }
  .platform-strip figure:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-palette div,
  .platform-strip figure { transition: background-color 160ms var(--ease), color 160ms var(--ease); }
}
