:root {
  --night: #070b14;
  --raised: #101827;
  --raised-2: #151f31;
  --teal: #4dd0e1;
  --mint: #70e2b7;
  --gold: #f8b84e;
  --white: #ecf2ff;
  --muted: #9aaac3;
  --line: rgba(142, 160, 188, 0.22);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--night); color: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 14px; border-radius: 4px; background: var(--white); color: var(--night); font-weight: 800; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 8px max(24px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid transparent; transition: background 180ms ease, border-color 180ms ease; }
.site-header.scrolled { background: rgba(7, 11, 20, 0.9); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); font-size: 18px; font-weight: 800; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 9px 12px; color: rgba(236, 242, 255, 0.82); font-size: 14px; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); }
.site-nav .nav-cta { margin-left: 8px; border: 1px solid rgba(77, 208, 225, 0.5); border-radius: 999px; color: var(--teal); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: rgba(7, 11, 20, 0.7); color: var(--white); }
.menu-button span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; }

.hero { position: relative; min-height: min(900px, 100svh); display: grid; align-items: center; padding: 130px max(24px, calc((100vw - var(--max)) / 2)) 86px; isolation: isolate; background: url("assets/portland-bill-sunset.webp") 63% center / cover no-repeat; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 32%; background: linear-gradient(0deg, var(--night), transparent); }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse 78% 100% at 10% 44%, rgba(5, 9, 17, 0.94) 0%, rgba(5, 9, 17, 0.71) 46%, rgba(5, 9, 17, 0.2) 77%), linear-gradient(0deg, rgba(5, 9, 17, 0.72), transparent 54%); }
.hero-copy { width: min(680px, 100%); }
.eyebrow, .kicker { margin: 0 0 16px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 7px rgba(112, 226, 183, 0.12); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(50px, 8vw, 100px); line-height: 0.94; letter-spacing: -0.06em; text-wrap: balance; }
h2 { margin-bottom: 24px; font-size: clamp(34px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
h3 { line-height: 1.15; }
.hero-lead { max-width: 650px; margin-bottom: 30px; color: rgba(236, 242, 255, 0.84); font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 6px; font-weight: 900; text-decoration: none; transition: transform 150ms ease, background 150ms ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--gold); color: #1a1204; }
.button.secondary { border-color: rgba(236, 242, 255, 0.38); background: rgba(7, 11, 20, 0.34); color: var(--white); backdrop-filter: blur(8px); }
.platform-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.hero-mark { position: absolute; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 66px; display: flex; align-items: center; gap: 9px; color: rgba(236, 242, 255, 0.64); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-mark i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 110px 0; }
.intro { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(48px, 9vw, 130px); border-bottom: 1px solid var(--line); }
.section-heading > p:not(.kicker), .intro-copy p, .feature-copy > p, .location-copy > p, .story-copy > p, .download-copy > p { color: var(--muted); font-size: 18px; }
.intro-copy strong { color: var(--white); }
.feature-section { position: relative; display: grid; grid-template-columns: 0.85fr 0.72fr; gap: clamp(50px, 9vw, 120px); align-items: center; }
.feature-number { position: absolute; top: 25px; right: 0; color: rgba(77, 208, 225, 0.06); font-size: clamp(120px, 22vw, 260px); font-weight: 900; line-height: 1; }
.feature-list { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 28px; color: var(--white); font-weight: 750; }
.feature-list li::before { content: ""; position: absolute; top: 0.73em; left: 0; width: 13px; height: 2px; background: var(--teal); }
.weather-card { position: relative; padding: clamp(26px, 4vw, 44px); overflow: hidden; border: 1px solid rgba(77, 208, 225, 0.24); border-radius: 22px; background: linear-gradient(145deg, rgba(21, 31, 49, 0.98), rgba(12, 19, 31, 0.98)); box-shadow: 0 30px 90px rgba(0,0,0,0.34); }
.weather-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--teal); }
.weather-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.weather-top strong { color: var(--white); }
.weather-label { margin: 52px 0 4px; color: var(--teal); font-weight: 800; }
.weather-card h3 { margin: 0 0 14px; color: var(--mint); font-size: clamp(35px, 5vw, 54px); letter-spacing: -0.04em; }
.weather-card > p:last-of-type { color: var(--muted); }
.weather-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.weather-stats span { color: var(--white); font-size: 20px; font-weight: 800; }
.weather-stats small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.weather-window { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: 30px; color: var(--teal); font-size: 13px; }
.weather-window span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(77, 208, 225, 0.1); }
.weather-window b { color: var(--white); }

.locations { width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr); align-items: stretch; padding: 0; background: var(--raised); }
.location-photo { min-height: 650px; background: linear-gradient(90deg, transparent 62%, var(--raised)), url("assets/portland-bill-sunset.webp") 58% center / cover no-repeat; }
.location-copy { align-self: center; max-width: 590px; padding: 90px max(24px, calc((100vw - var(--max)) / 2)) 90px clamp(40px, 6vw, 90px); }
.location-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 38px; }
.location-details div { padding: 18px 10px 18px 0; border-top: 1px solid var(--line); }
.location-details span { display: block; color: var(--white); font-weight: 900; }
.location-details small { color: var(--muted); }

.connected .section-heading { max-width: 760px; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 60px; border: 1px solid var(--line); background: var(--line); }
.step-grid article { min-height: 260px; padding: 30px; background: var(--night); }
.step-grid article > span { color: var(--teal); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.step-grid h3 { margin: 64px 0 12px; font-size: 21px; }
.step-grid p { color: var(--muted); font-size: 14px; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 9vw, 130px); align-items: center; border-top: 1px solid var(--line); }
.story-quote { padding: clamp(30px, 5vw, 54px); border-left: 4px solid var(--gold); background: var(--raised); }
blockquote { margin: 0; color: var(--white); font-family: Georgia, serif; font-size: clamp(27px, 4vw, 43px); line-height: 1.25; }

.download { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(48px, 8vw, 100px); align-items: center; margin-bottom: 80px; padding: clamp(36px, 6vw, 72px); border: 1px solid rgba(248, 184, 78, 0.28); border-radius: 26px; background: radial-gradient(circle at 12% 10%, rgba(248,184,78,0.12), transparent 34%), var(--raised); }
.store-grid { display: grid; gap: 14px; }
.store-card { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7, 11, 20, 0.48); }
.store-card .store-icon, .play-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--white); color: var(--night); font-size: 18px; }
.store-card small, .store-card strong { display: block; line-height: 1.3; }
.store-card small { color: var(--muted); font-size: 11px; }
.store-card strong { font-size: 20px; }
.store-card b { padding: 5px 8px; border-radius: 999px; background: rgba(112, 226, 183, 0.1); color: var(--mint); font-size: 10px; text-transform: uppercase; }

footer { width: min(var(--max), calc(100% - 48px)); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin: 0 auto; padding: 44px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 50%; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--white); font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { text-underline-offset: 4px; }
footer > p { grid-column: 1 / -1; margin: 0; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; } }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-nav { position: absolute; inset: 76px 16px auto; display: none; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7, 11, 20, 0.98); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 13px; }
  .site-nav .nav-cta { margin: 4px 0 0; text-align: center; }
  .hero { min-height: 820px; background-position: 67% center; }
  .hero-mark { display: none; }
  .intro, .feature-section, .story, .download { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; }
  .location-photo { min-height: 460px; background: linear-gradient(0deg, var(--raised), transparent 40%), url("assets/portland-bill-sunset.webp") 61% center / cover no-repeat; }
  .location-copy { max-width: none; padding: 20px 24px 80px; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .site-header { padding-inline: 16px; }
  .brand { font-size: 16px; }
  .hero { min-height: 780px; padding: 118px 24px 70px; align-items: end; background-position: 69% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,9,17,0.98) 0%, rgba(5,9,17,0.77) 51%, rgba(5,9,17,0.18) 100%); }
  h1 { font-size: clamp(47px, 16vw, 70px); }
  .section { width: min(100% - 32px, var(--max)); padding: 76px 0; }
  .weather-card { border-radius: 16px; }
  .weather-stats { gap: 8px; }
  .weather-stats span { font-size: 17px; }
  .weather-window { grid-template-columns: auto 1fr; }
  .weather-window b { grid-column: 2; }
  .location-details { grid-template-columns: 1fr; }
  .location-photo { min-height: 390px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid article { min-height: auto; }
  .step-grid h3 { margin-top: 30px; }
  .download { width: calc(100% - 32px); padding: 30px 22px; }
  .store-card { grid-template-columns: 42px 1fr; }
  .store-card b { grid-column: 2; justify-self: start; }
  footer { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
