.home-page { background: var(--bg); }
.home-page .site-header { width: calc(100% - 4rem); max-width: 1440px; }
.home-hero { position: relative; isolation: isolate; width: 100%; min-height: 620px; height: calc(92svh - 82px); max-height: 1080px; padding: 40px max(2rem, calc((100vw - 1280px) / 2)) 64px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 28px; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; animation: flight-drift 28s ease-in-out infinite alternate; }
.home-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(8,11,14,.88), rgba(8,11,14,.35)), linear-gradient(0deg, rgba(8,11,14,.95), transparent 65%); }
.home-hero .hero-copy { max-width: 880px; color: #fff; }
.home-hero h1 { font-size: 76px; line-height: 1.08; font-weight: 850; letter-spacing: 0; }
.home-hero .split-flap { font-size: 54px; margin-top: 10px; }
.home-hero .hero-text { color: #e2e7e9; max-width: 640px; }
.home-hero .button.secondary { color: #fff; border-color: #9da5a9; }
.home-planner { max-width: 1100px; scroll-margin-top: 24px; }
.home-planner label:first-of-type { position: relative; }
.airport-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; max-height: 240px; overflow-y: auto; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 6px; }
.airport-suggestions[hidden] { display: none; }
.airport-option { display: grid; gap: 4px; padding: 12px; cursor: pointer; color: var(--text); border-bottom: 1px solid var(--line); }
.airport-option small { color: var(--muted); line-height: 1.4; }
.airport-option:hover, .airport-option[aria-selected="true"] { background: var(--panel); outline: 1px solid var(--amber); }
.home-hero { overflow: visible; }
.hero-image { clip-path: inset(0); }
.home-planner .eyebrow { color: #f3b84f; }
.home-planner .planner-card { grid-template-columns: 1.5fr 1fr 1.2fr auto; align-items: end; padding: 20px; background: var(--panel); border-radius: 4px; box-shadow: none; }
.hero-scroll { position: absolute; bottom: 24px; color: #e2e7e9; font-size: 13px; display: flex; gap: 24px; align-items: center; }
.hero-scroll span { font-size: 24px; }
.how-section { width: min(1280px, calc(100% - 4rem)); margin: auto; padding: 100px 0 70px; }
.home-page h2 { font-size: 48px; line-height: 1.1; letter-spacing: 0; }
.how-section .section-intro { max-width: 650px; }
.how-steps { list-style: none; padding: 0; margin: 48px 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.how-steps li { border-top: 1px solid var(--line); padding-top: 20px; }
.how-steps span { color: var(--blue); font-family: monospace; font-size: 13px; }
.how-steps h3 { margin-top: 28px; font-size: 24px; }
.home-page .board-heading { font-size: 36px; line-height: 1.15; }
.home-page .board-caption .split-flap { font-size: 20px; }
.home-page .board-flap { font-size: inherit; box-shadow: none; color: #f3b84f; vertical-align: middle; }
.home-page .board-flap .flap-character { font-size: inherit; color: #f3b84f; }
.home-page .board-caption { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 24px; font-family: monospace; }
.home-page .how-steps { display: block; border-bottom: 1px solid var(--line); }
.home-page .how-steps li { display: grid; grid-template-columns: 110px 340px 1fr; gap: 24px; align-items: start; padding: 28px 0; }
.home-page .how-steps .board-step { padding-top: 8px; font-size: 13px; }
.home-page .how-steps h3 { margin: 0; font-size: 24px; }
.home-page .how-steps p { margin: 0; }
.home-page .routes-section { background: var(--panel); }
.home-page .routes-section h3 { font-size: 24px; }
.home-page .routes-section .route-code { margin-bottom: 24px; }
.home-page .post-grid { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.home-page .post-card { background: transparent; border: 0; border-right: 1px solid var(--line); padding: 28px; }
.home-page .post-card:last-child { border-right: 0; }
@media (max-width: 1000px) { .home-page .how-steps li { grid-template-columns: 90px 1fr; } .home-page .how-steps p { grid-column: 2; } .home-page .routes-section h3 { font-size: 18px; } }
@media (max-width: 600px) { .home-page .board-heading { font-size: 26px; } .home-page .how-steps li { grid-template-columns: 1fr; gap: 16px; } .home-page .how-steps p { grid-column: 1; } .home-page .how-steps h3 { font-size: 23px; } .home-page .routes-section article { padding: 24px 16px; } .home-page .routes-section h3 { font-size: 24px; } .home-page .post-card { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 16px; } .home-page .post-card:last-child { border-bottom: 0; } }
@media (max-width: 360px) { .home-page .board-heading { font-size: 23px; } .home-page .how-steps h3, .home-page .routes-section h3 { font-size: 20px; } }
.how-steps p, .timing-note { color: var(--muted); line-height: 1.7; }
.timing-note { max-width: 900px; font-size: 13px; }
.home-page .routes-section, .home-page .latest-section { width: min(1280px, calc(100% - 4rem)); }
.home-page .route-code { margin-bottom: 32px; }
.home-page .post-card { box-shadow: none; min-height: 220px; }
.home-page .eyebrow, .home-page .post-card span { letter-spacing: 0; }
.home-page .site-nav { border: 0; background: transparent; }
:root[data-theme="light"] .home-hero::before { background: linear-gradient(90deg, rgba(8,11,14,.68), rgba(8,11,14,.08)), linear-gradient(0deg, rgba(8,11,14,.35), transparent 65%); }
@media (max-width: 600px) { .home-page .brand { order: 0; } .home-page .theme-control { order: 1; min-width: 78px; max-width: 112px; } .home-page .site-nav { order: 2; } }
@keyframes flight-drift { from { object-position: 45% 50%; } to { object-position: 55% 50%; } }
.reveal-section { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal-section.is-visible { opacity: 1; transform: none; }
@media (max-width: 900px) { .home-hero { height: auto; min-height: 760px; padding: 50px 24px 80px; } .home-hero h1 { font-size: 58px; } .home-planner .planner-card { grid-template-columns: 1fr 1fr; } .home-page .site-header { width: calc(100% - 2rem); flex-wrap: wrap; gap: 12px; } .how-steps { gap: 24px; } }
@media (max-width: 600px) { .home-hero { padding: 38px 20px 72px; gap: 28px; } .home-hero h1 { font-size: 42px; } .home-hero .split-flap { font-size: 34px; } .home-hero .hero-text { font-size: 16px; } .home-planner .planner-card { grid-template-columns: 1fr; padding: 16px; } .home-page .site-header { padding: 12px 0; } .home-page .brand { font-size: 14px; } .home-page .site-nav { width: 100%; justify-content: space-between; gap: 0; padding: 0; } .home-page .site-nav a { font-size: 12px; padding: 10px 5px; } .how-section { width: calc(100% - 40px); padding: 64px 0 40px; } .home-page h2 { font-size: 34px; } .how-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; } .how-steps h3 { margin-top: 16px; } .home-page .routes-section, .home-page .latest-section { width: calc(100% - 40px); } .home-page .routes-section { grid-template-columns: 1fr; } .home-page .routes-section article { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 24px 0; } .home-page .post-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hero-image, .home-page .split-flap::after { animation: none; } .reveal-section { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
