/* ─────────────────────────────────────────────
   Vuelo — tokens
   Sampled from the logo: mint #B3EBB6 from the orbit ring, ink #1B2029
   from the eyes.

   Mint only measures 1.36:1 against white, so it can never carry text or a
   hairline. It is used for fills, and --mint-deep (4.50:1, passes AA) does
   the work wherever a stroke or small label needs to be green.
   ───────────────────────────────────────────── */

:root {
    --mint:      #B3EBB6;
    --mint-deep: #2D8832;
    --mint-soft: #EDFAEE;

    --ink:   #1B2029;
    --ink-2: #5A616B;
    --ink-3: #99A0A8;

    --rule:   #E7EAE8;
    --rule-2: #C7CCC9;

    --paper:   #FFFFFF;
    --paper-2: #F7FAF7;

    --serif: Georgia, "Times New Roman", serif;
    --sans:  system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

    --wrap: 1120px;
    --gutter: 28px;
    --nav-h: 64px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* On html, not body, so the fixed dot-field canvas (z-index:-1) paints
       above it instead of being hidden by body's own background. */
    background: var(--paper);
    color-scheme: light;
}

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-2);
    background: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.dotfield {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* ol included: the apply-page timeline is an <ol>, and its default markers
   would sit on top of the mint step bubbles and connector line. */
ul, ol { list-style: none; }

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

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

/* ─────────────────────────────────────────────
   Type
   ───────────────────────────────────────────── */

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--ink);
}

.display {
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.h2 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.h3 { font-size: 19px; line-height: 1.3; }

.lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-2);
}

.eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-3);
}

.eyebrow-accent { color: var(--mint-deep); }

/* ─────────────────────────────────────────────
   Nav
   ───────────────────────────────────────────── */

/* Dark bar on purpose: the logo's star body is white, so it only reads in
   full against ink. On the white page you would see just the ring and eyes. */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(27, 32, 41, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.nav-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #fff;
}

/* The star body is white by design, so at small sizes the mark reads as
   the mint ring plus the eyes. It needs a touch more room than a solid
   glyph would. */
.logo-mark {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}

.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }

.nav-links { display: flex; gap: 34px; }

.nav-links a {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.60);
    transition: color 0.18s ease;
}

.nav-links a:hover { color: #fff; }

/* Against ink, the true logo mint is finally usable as a mark. */
.nav-links a.is-active {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--mint);
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 2px;
    right: 2px;
    height: 1.5px;
    background: #fff;
    transition: transform 0.26s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 7px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   Buttons
   Mint fill with ink type measures 12:1, so the brand colour carries the
   primary action without costing legibility.
   ───────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 15px 32px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.btn-solid {
    background: var(--mint);
    color: var(--ink);
    border-color: var(--mint);
}

.btn-solid:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--rule-2);
}

.btn-ghost:hover {
    background: var(--mint);
    border-color: var(--mint);
    transform: translateY(-1px);
}

.link-arrow {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-2);
    border-bottom: 1px solid var(--rule-2);
    padding-bottom: 3px;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.link-arrow:hover { color: var(--mint-deep); border-color: var(--mint-deep); }

/* ─────────────────────────────────────────────
   Hero
   ───────────────────────────────────────────── */

.hero {
    padding: calc(var(--nav-h) + 48px) 0 72px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.globe-wrap {
    width: min(560px, 86vw);
    aspect-ratio: 1;
    position: relative;
    margin: 0 auto;
}

/* Soft mint bloom behind the globe. */
.globe-wrap::before {
    content: "";
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
        rgba(179, 235, 182, 0.30) 0%,
        rgba(179, 235, 182, 0.10) 50%,
        transparent 72%);
    filter: blur(26px);
    pointer-events: none;
}

#globe {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transition: opacity 0.9s ease;
    contain: layout paint;
    touch-action: none;
}

.globe-caption {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-top: 4px;
}

.hero-copy { max-width: 720px; margin: 30px auto 0; }
.hero-copy .display { margin-bottom: 20px; }
.hero-copy .lead { max-width: 520px; margin: 0 auto; }

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   Stats
   ───────────────────────────────────────────── */

.stats {
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--mint-soft);
}

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

.stat {
    padding: 56px 32px;
    text-align: center;
    border-left: 1px solid var(--rule);
}

.stat:first-child { border-left: 0; }

.stat-num {
    font-family: var(--mono);
    font-size: clamp(44px, 7vw, 72px);
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}

.stat-label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-3);
    margin-top: 16px;
    line-height: 1.7;
}

/* ─────────────────────────────────────────────
   Why
   ───────────────────────────────────────────── */

.why {
    padding: 100px 0;
    border-bottom: 1px solid var(--rule);
}

.why-thesis {
    font-family: var(--serif);
    font-size: clamp(26px, 3.6vw, 42px);
    line-height: 1.16;
    letter-spacing: -0.015em;
    color: var(--ink);
    max-width: 840px;
    margin: 22px 0 60px;
    padding-left: 26px;
    position: relative;
}

.why-thesis::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.14em;
    bottom: 0.14em;
    width: 3px;
    background: var(--mint);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.why-grid p { margin-bottom: 16px; }
.why-grid p:last-child { margin-bottom: 0; }

.why-note {
    margin-top: 60px;
    padding: 30px 34px;
    background: var(--mint-soft);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--mint);
    font-family: var(--serif);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.5;
    color: var(--ink);
}

.why-note span {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--mint-deep);
    margin-top: 14px;
}

/* ─────────────────────────────────────────────
   Two-column editorial block
   ───────────────────────────────────────────── */

.duo { padding: 100px 0; }

.duo-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 88px;
    align-items: start;
}

.col-head {
    padding-bottom: 20px;
    margin-bottom: 36px;
    border-bottom: 2px solid var(--mint);
}

.steps { display: grid; gap: 34px; }

.step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    align-items: start;
}

.step-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--mint-deep);
    padding-top: 5px;
}

.step .h3 { margin-bottom: 6px; }
.step p { font-size: 15px; }

.covers { display: grid; }

.cover {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
    color: var(--ink);
}

.cover:first-child { padding-top: 0; }

.cover-mark {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--mint-deep);
    flex-shrink: 0;
}

.cover-note {
    margin-top: 22px;
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.7;
}

.duo-cta {
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.duo-cta p {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
    letter-spacing: -0.01em;
}

/* ─────────────────────────────────────────────
   Interior pages
   ───────────────────────────────────────────── */

.page-head {
    padding: calc(var(--nav-h) + 76px) 0 48px;
    border-bottom: 1px solid var(--rule);
}

.page-head .eyebrow { display: block; margin-bottom: 18px; }
.page-head .lead { margin-top: 18px; max-width: 540px; }

.page-body { padding: 72px 0 110px; flex: 1; }

.prose { max-width: 620px; }
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }

.section-label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-3);
    padding-bottom: 14px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--rule);
}

.block { margin-bottom: 64px; }
.block:last-child { margin-bottom: 0; }

.criteria { display: grid; }

.criterion {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
}

.criterion dt {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mint-deep);
    padding-top: 3px;
}

.criterion dd { font-size: 15px; color: var(--ink); }

.cta-block {
    margin-top: 56px;
    padding: 48px;
    text-align: center;
    background: var(--mint-soft);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--mint);
}

.cta-block .h3 { margin-bottom: 10px; }
.cta-block p { font-size: 15px; max-width: 400px; margin: 0 auto 28px; }

.fine {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-3);
    margin-top: 20px;
}

/* ─────────────────────────────────────────────
   Timeline
   ───────────────────────────────────────────── */

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

.t-step { position: relative; padding: 0 28px 0 0; }

.t-step::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 36px;
    right: 0;
    height: 2px;
    background: var(--mint);
}

.t-step:last-child::after { display: none; }

.t-num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--mint);
    border-radius: 50%;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 22px;
}

.t-step h3 { font-size: 18px; margin-bottom: 8px; }
.t-step p { font-size: 14px; padding-right: 20px; }

/* ─────────────────────────────────────────────
   Check lists
   ───────────────────────────────────────────── */

.checks { display: grid; }

.check {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    padding: 15px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
    color: var(--ink);
}

.check:first-child { padding-top: 0; }

.check svg {
    width: 13px;
    height: 13px;
    margin-top: 5px;
    color: var(--mint-deep);
    flex-shrink: 0;
}

.check span small {
    display: block;
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 3px;
}

/* ─────────────────────────────────────────────
   Impact row
   ───────────────────────────────────────────── */

.impact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--mint);
    background: var(--mint-soft);
}

.impact > div { padding: 32px 26px; border-left: 1px solid var(--rule); }
.impact > div:first-child { border-left: 0; }

.impact-num {
    font-family: var(--mono);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}

.impact-label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--ink-3);
    margin-top: 12px;
    line-height: 1.6;
}

/* ─────────────────────────────────────────────
   Sponsors
   ───────────────────────────────────────────── */

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.sponsor {
    border: 1px solid var(--rule);
    background: var(--paper);
    padding: 34px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.sponsor:hover {
    border-color: var(--mint);
    background: var(--mint-soft);
    transform: translateY(-2px);
}

.sponsor-logo {
    width: 100%;
    height: 72px;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--ink-3);
    margin-bottom: 22px;
}

.sponsor-name {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 8px;
}

.sponsor-link {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mint-deep);
}

/* ─────────────────────────────────────────────
   Contact
   ───────────────────────────────────────────── */

.contact-email {
    font-family: var(--serif);
    font-size: clamp(28px, 5vw, 48px);
    letter-spacing: -0.02em;
    color: var(--ink);
    display: inline-block;
    border-bottom: 2px solid var(--mint);
    padding-bottom: 8px;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.contact-email:hover { color: var(--mint-deep); border-color: var(--mint-deep); }

.contact-meta {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 26px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--ink-3);
}

.contact-meta span { display: inline-flex; align-items: center; gap: 8px; }

.pip {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint-deep);
    flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .pip { animation: pulse 2.4s ease-in-out infinite; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.3; transform: scale(0.8); }
}

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

.social {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    border: 1px solid var(--rule);
    background: var(--paper);
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-2);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social:hover {
    border-color: var(--mint);
    background: var(--mint-soft);
    color: var(--ink);
}

.social svg { width: 18px; height: 18px; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--rule);
}

.split h3 { margin-bottom: 8px; }
.split p { font-size: 15px; }

/* ─────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────── */

.footer {
    background: var(--paper);
    color: var(--ink-2);
    margin-top: auto;
    padding: 56px 0 36px;
    border-top: 3px solid var(--mint);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--rule);
}

/* .logo is white for the dark nav, so the footer wordmark overrides it. */
.footer .logo { color: var(--ink); }

.footer-tag {
    font-size: 14px;
    max-width: 280px;
    margin-top: 14px;
    line-height: 1.6;
    color: var(--ink-3);
}

.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }

.footer-links a {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-2);
    transition: color 0.18s ease;
}

.footer-links a:hover { color: var(--mint-deep); }

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-3);
}

.footer-bottom a:hover { color: var(--mint-deep); }

/* ─────────────────────────────────────────────
   Reveal
   ───────────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ─────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────── */

@media (max-width: 900px) {
    .duo-grid { grid-template-columns: 1fr; gap: 56px; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .why-grid { grid-template-columns: 1fr; gap: 44px; }

    .timeline { grid-template-columns: 1fr; gap: 34px; }
    .t-step { padding-right: 0; }
    .t-step::after { display: none; }
    .t-num { margin-bottom: 14px; }
    .t-step p { padding-right: 0; }

    .impact { grid-template-columns: 1fr; }
    .impact > div { border-left: 0; border-top: 1px solid var(--rule); }
    .impact > div:first-child { border-top: 0; }
}

@media (max-width: 760px) {
    :root { --gutter: 20px; }

    .nav-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(27, 32, 41, 0.98);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        display: none;
    }

    .nav-links.is-open { display: flex; }

    .nav-links a {
        padding: 16px var(--gutter);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 12px;
    }

    .hero { padding: calc(var(--nav-h) + 28px) 0 56px; }

    .stats-grid { grid-template-columns: 1fr; }
    .stat { border-left: 0; border-top: 1px solid var(--rule); padding: 40px 20px; }
    .stat:first-child { border-top: 0; }

    .duo { padding: 72px 0; }
    .duo-cta { flex-direction: column; align-items: flex-start; }

    .why { padding: 72px 0; }
    .why-thesis { padding-left: 18px; margin-bottom: 44px; }
    .why-note { padding: 24px 22px; margin-top: 44px; }

    .criterion { grid-template-columns: 1fr; gap: 6px; }
    .cta-block { padding: 36px 24px; }

    .page-head { padding: calc(var(--nav-h) + 48px) 0 36px; }
    .page-body { padding: 48px 0 80px; }

    .footer-top { gap: 28px; }
}
