@font-face {
  font-family: Montserrat;
  src: url('/assets/montserrat-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff9ee;
  --white: #fffefa;
  --ink: #211a32;
  --muted: #594f64;
  --line: #d8cad0;
  --purple: #49317d;
  --coral: #ff8b64;
  --red: #ab3826;
  --lavender: #ebe3fc;
  --peach: #ffdfd5;
  --mint: #daf2e8;
  --yellow: #ffea9d;
  --font: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--paper); }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2 { font-weight: 750; letter-spacing: -.062em; line-height: 1.02; }
h2 { font-size: clamp(2.35rem, 5vw, 4rem); }
h3 { font-size: 1.13rem; letter-spacing: -.032em; line-height: 1.26; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.shell { width: min(1152px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; top: 9px; left: 9px; padding: .6em 1em; background: var(--white); z-index: 4; transform: translateY(-170%); }
.skip:focus { transform: translateY(0); }

.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 1.16rem; font-weight: 800; line-height: .95; letter-spacing: -.054em; }
.brand img { flex: 0 0 auto; object-fit: contain; }
.brand-sub { display: block; font-size: .52rem; letter-spacing: .17em; margin-top: 5px; }
nav { display: flex; align-items: center; gap: clamp(18px, 3.2vw, 42px); }
nav a { text-decoration: none; color: var(--ink); font-size: .84rem; font-weight: 700; }
nav a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { padding: 8px 14px; border: 1px solid var(--ink); border-radius: 99px; background: var(--yellow); }
.nav-cta span { margin-left: 4px; }

.hero { background: radial-gradient(ellipse at 11% 80%, #fce4d6 0%, transparent 57%), var(--paper); }
.hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(24px, 5vw, 68px); padding-block: clamp(54px, 7vw, 98px); }
.eyebrow { color: var(--purple); font-size: .69rem; font-weight: 800; letter-spacing: .145em; line-height: 1.45; margin-bottom: 14px; }
.hero-label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hero-label span, .status-dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero-label b { color: var(--muted); }
h1 { font-size: clamp(3.2rem, 5.6vw, 5.15rem); }
h1 em { font-style: normal; color: var(--red); }
.hero-description { max-width: 464px; font-size: 1rem; margin-top: 21px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--ink); border-radius: 10px; text-decoration: none; font-size: .84rem; font-weight: 780; line-height: 1.3; }
.button span { font-size: 1.02rem; }
.primary { background: var(--coral); color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.primary:hover { background: #ffa687; }
.outline { background: var(--white); color: var(--ink); }
.outline:hover, .secondary:hover { background: var(--yellow); }
.secondary { color: var(--ink); background: var(--white); justify-content: space-between; }

.seat-map { padding: 12px 14px 17px; border: 1px solid var(--ink); border-radius: 30px; background: var(--lavender); box-shadow: 7px 7px 0 #45315b; }
.seat-graphic { position: relative; isolation: isolate; aspect-ratio: 1.29; }
.seat-graphic::before, .seat-graphic::after { content: ""; position: absolute; inset: 10% 11% 15%; border: 1px dashed #9c80c1; border-radius: 50%; transform: rotate(-21deg); z-index: -1; }
.seat-graphic::after { inset: 18% 18% 21%; border-style: solid; border-color: #c5b0e3; transform: rotate(27deg); }
.seat-planet { position: absolute; top: 47%; left: 50%; width: 39%; aspect-ratio: 1; border: 1px solid #321d45; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 37% 27%, #fff0a7 0%, #ffc45e 25%, #ff9268 57%, #e6575c 100%); box-shadow: inset -11px -10px 0 #b94e6224, 0 9px 0 #5b3d791f; }
.seat-planet span { position: absolute; inset: 35% -23% 34%; border: 2px solid #50326c; border-top-color: transparent; border-radius: 50%; transform: rotate(-23deg); }
.seat { position: absolute; display: grid; place-items: center; left: var(--x); top: var(--y); width: 16%; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; transform: translate(-50%, -50%); background: var(--seat-color); box-shadow: 0 3px 0 var(--ink); }
.seat--one { --x: 47%; --y: 14%; --seat-color: var(--mint); }
.seat--two { --x: 80%; --y: 30%; --seat-color: var(--peach); }
.seat--three { --x: 75%; --y: 72%; --seat-color: #ffebac; }
.seat--four { --x: 33%; --y: 76%; --seat-color: var(--white); }
.seat--open { --x: 15%; --y: 43%; --seat-color: #6845a2; color: white; border: 2px dashed white; outline: 1px solid var(--ink); box-shadow: none; font-size: clamp(1.25rem, 4vw, 2.6rem); font-weight: 600; line-height: 1; }
.seat i { display: block; position: relative; width: 45%; height: 55%; color: var(--purple); }
.seat i::before, .seat i::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); background: currentColor; }
.seat i::before { top: 5%; width: 44%; aspect-ratio: 1; border-radius: 50%; }
.seat i::after { bottom: 6%; width: 90%; height: 41%; border-radius: 55% 55% 23% 23% / 80% 80% 22% 22%; }
.seat-sparkle { position: absolute; color: var(--purple); font-size: clamp(1.5rem, 3.7vw, 2.45rem); line-height: 1; }
.seat-sparkle--top { top: 7%; right: 5%; }
.seat-sparkle--bottom { bottom: 10%; left: 8%; }
.seat-legend { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 7px; }
.seat-legend span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid #b39fca; border-radius: 99px; color: var(--ink); background: var(--white); font-size: .69rem; font-weight: 750; }
.seat-legend i { width: 8px; height: 8px; border: 1px solid var(--purple); border-radius: 50%; }
.seat-legend span:last-child { background: var(--yellow); }
.seat-legend span:last-child i { background: var(--purple); }

.status { background: var(--yellow); border-block: 1px solid #d7b967; }
.status-inner { display: grid; grid-template-columns: repeat(4,1fr); padding-block: 16px; }
.status-inner > div { padding-inline: 21px 12px; border-left: 1px solid #cdb47c; }
.status-inner > div:first-child { border: 0; padding-left: 0; }
.status dt { color: var(--muted); text-transform: uppercase; font-weight: 800; font-size: .63rem; letter-spacing: .12em; }
.status dd { margin-top: 2px; font-size: .9rem; font-weight: 780; }
.status-dot { background: #29674f; vertical-align: 1px; margin-right: 3px; }

.section { padding-block: clamp(57px, 7vw, 97px); scroll-margin-top: 20px; }
.summary { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(30px, 8vw, 125px); }
.summary-heading .text-link { margin-top: 20px; }
.intro { font-size: clamp(1.31rem, 2.5vw, 1.8rem); font-weight: 680; line-height: 1.35; letter-spacing: -.038em; }
.key-points { display: grid; gap: 14px; margin-top: 22px; }
.key-points div { display: flex; gap: 12px; align-items: flex-start; }
.key-points p { color: var(--muted); font-size: .91rem; }
.key-points strong { color: var(--ink); }
.bullet-icon { flex: 0 0 28px; display: grid; place-items: center; height: 26px; border-radius: 50%; background: var(--peach); color: var(--purple); font-size: .62rem; font-weight: 800; }
.key-points div:nth-child(2) .bullet-icon { background: var(--mint); }
.key-points div:nth-child(3) .bullet-icon { background: var(--lavender); }
.text-link { color: var(--purple); font-size: .87rem; font-weight: 780; text-decoration-thickness: 1px; text-underline-offset: 4px; display: inline-block; }
.text-link:hover { color: var(--red); }
.text-link span { margin-left: 3px; }

.timeline-section { background: var(--lavender); border-block: 1px solid #d3c5e8; }
.section-heading { margin-bottom: 29px; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 13px; color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 16px; border: 1px solid #beacd8; border-radius: 16px; background: var(--white); }
.timeline li:nth-child(2) { background: #fff4cc; }
.timeline li:nth-child(3) { background: #ebfaf4; }
.timeline li:nth-child(4) { background: #fff0e9; }
.step { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 11px; border-radius: 50%; background: var(--purple); color: white; font-size: .7rem; font-weight: 800; }
.timeline h3 { margin-bottom: 7px; }
.timeline p, .path p, .area-desc { color: var(--muted); font-size: .88rem; line-height: 1.52; }
.timeline small { display: block; color: var(--purple); margin-top: 10px; line-height: 1.4; font-size: .74rem; font-weight: 780; }
.source-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }

.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.path { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(21px,3.1vw,35px); border: 1px solid var(--ink); border-radius: 22px; background: var(--peach); box-shadow: 0 4px 0 var(--ink); }
.path.contributor { background: var(--mint); }
.path-top { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.path-icon { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 1.29rem; }
.contributor .path-icon { background: var(--lavender); }
.pill { font-size: .63rem; letter-spacing: .11em; font-weight: 800; color: var(--purple); }
.path h3 { font-size: clamp(1.78rem, 3.1vw, 2.56rem); font-weight: 750; line-height: 1.07; letter-spacing: -.057em; }
.path p { margin-block: 10px 18px; max-width: 355px; }
.path .button { margin-top: auto; }
.areas-head { margin-block: 44px 16px; }
.areas-head h3 { font-size: 1.38rem; }
.areas-head p { color: var(--muted); margin-top: 4px; font-size: .89rem; }
.area-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.area { display: grid; gap: 5px; align-content: start; text-align: left; position: relative; min-height: 98px; padding: 14px 28px 13px 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); color: var(--ink); }
.area:nth-child(4n + 1) { background: #fff1c8; }
.area:nth-child(4n + 2) { background: #f3ecff; }
.area:nth-child(4n + 3) { background: #e6f6ef; }
.area:nth-child(4n) { background: #ffede6; }
.area:hover { border-color: var(--purple); box-shadow: 0 3px 0 var(--purple); }
.area strong { line-height: 1.24; font-size: .88rem; }
.area-desc { font-size: .76rem; }
.area-arrow { position: absolute; top: 9px; right: 10px; color: var(--purple); }
.questions { background: #f8ecda; border-top: 1px solid var(--line); }
.questions-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; }
details { border-bottom: 1px solid #cdbec1; padding: 11px 0; }
details:first-child { border-top: 1px solid #cdbec1; }
summary { cursor: pointer; font-weight: 700; }
details p { padding: 8px 0 0 17px; color: var(--muted); font-size: .89rem; }
.footer { background: #322345; color: #fff8eb; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 24px; gap: 15px; }
.footer-inner > a:last-child:hover { color: var(--yellow); }
.footer p, .footer-inner > a:last-child { font-size: .79rem; }
.footer p span { margin-inline: 4px; }

dialog { border: 1px solid var(--ink); border-radius: 19px; padding: 22px clamp(17px,4.5vw,40px) 32px; width: min(680px, calc(100% - 24px)); max-height: calc(100% - 24px); background: var(--paper); color: var(--ink); box-shadow: 0 17px 60px #20143762; }
dialog::backdrop { background: #241831a6; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dialog-bar .eyebrow { margin: 0; }
.close { border: 1px solid var(--ink); background: var(--lavender); color: var(--ink); border-radius: 50%; line-height: 1; width: 34px; height: 34px; font-size: 1.42rem; }
dialog h2 { font-size: clamp(1.9rem,6vw,2.9rem); margin-bottom: 10px; }
form { display: grid; gap: 16px; }
.form-intro, .field-note { color: var(--muted); font-size: .89rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, form label { font-size: .85rem; font-weight: 730; }
legend { padding: 0; margin-bottom: 6px; }
#skill-guidance { margin-bottom: 7px; }
form label small, legend small { color: var(--muted); font-weight: 500; margin-left: 3px; }
form label:not(.chip,.checkline) { display: block; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #92829e; border-radius: 8px; color: var(--ink); background: var(--white); font-weight: 500; }
textarea { resize: vertical; }
.chips, .match-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 9px; border: 1px solid var(--line); cursor: pointer; background: var(--white); font-size: .74rem; }
.chip:has(:checked) { background: var(--lavender); border-color: var(--purple); color: var(--purple); }
input[type=checkbox] { accent-color: var(--purple); }
.match-box { padding: 10px 12px; border-radius: 9px; background: var(--mint); font-size: .82rem; }
.match-box > strong { display: block; margin-bottom: 4px; }
.match-tags span { padding: 2px 7px; border-radius: 99px; color: var(--ink); background: #bce5d3; font-size: .73rem; font-weight: 770; }
.checkline { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.checkline input { margin-top: 5px; }
form > .button { justify-self: start; }
.form-error { color: var(--red); font-size: .84rem; font-weight: 740; }
.result { display: grid; gap: 12px; }
.result textarea { width: 100%; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.success-state { padding: 15px; border: 1px solid #78a48f; border-radius: 12px; background: var(--mint); }
.success-state p { margin-top: 6px; }
.review { min-height: 75vh; }
.review h1 { font-size: clamp(2.4rem,6vw,4.65rem); margin-bottom: 16px; }
.review-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin-block: 18px; }
.review-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.review article { padding: 17px; border: 1px solid var(--line); border-radius: 13px; overflow-wrap: anywhere; background: var(--white); }
.review-name { font-size: 1.55rem; }
.review article > p { font-size: .85rem; color: var(--muted); margin-block: 5px 9px; }
.review dl { font-size: .89rem; }
.review dt { font-weight: 740; margin-top: 8px; }
.review dd { white-space: pre-wrap; }

@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 875px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .77fr); }
  h1 { font-size: clamp(2.65rem, 5.5vw, 4rem); }
  .area-grid { grid-template-columns: repeat(2,1fr); }
  .area { min-height: 78px; }
}
@media (max-width: 670px) {
  .shell { width: calc(100% - 34px); }
  .top-inner { min-height: 60px; gap: 12px; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 7px 10px; }
  .hero-inner { grid-template-columns: 1fr; gap: 25px; padding-block: 39px 32px; }
  h1 { font-size: clamp(2.06rem, 9.4vw, 4rem); }
  .hero-description { font-size: .92rem; margin-top: 13px; }
  .hero-actions { margin-top: 17px; gap: 8px; }
  .seat-map { width: min(100% - 6px, 400px); border-radius: 23px; box-shadow: 5px 5px 0 #45315b; }
  .status-inner { grid-template-columns: 1fr 1fr; gap: 12px 0; padding-block: 14px; }
  .status-inner > div { padding-left: 12px; }
  .status-inner > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .summary, .questions-inner { grid-template-columns: 1fr; gap: 20px; }
  .summary-heading br { display: none; }
  .timeline { gap: 9px; }
  .timeline li { padding: 11px; }
  .footer-inner { flex-wrap: wrap; }
  .footer p { order: 3; flex-basis: 100%; }
}
@media (max-width: 460px) {
  .path-grid, .review-list { grid-template-columns: 1fr; }
  .hero-actions .button { min-height: 40px; padding: 7px 9px; font-size: .76rem; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
