/* fl4less — shared styles
   Palette: ink #0d2b33, gulf #0f7b78, sea-glass #eef6f4, flamingo #ef4f7a, citrus #f6c445 */

:root {
  --ink: #0d2b33;
  --ink-soft: #40595f;
  --gulf: #0f7b78;
  --gulf-deep: #0a5a58;
  --glass: #eef6f4;
  --paper: #fbfdfc;
  --line: #cfe2de;
  --flamingo: #ef4f7a;
  --flamingo-deep: #d23a66;
  --citrus: #f6c445;
  --radius: 14px;
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; }
a { color: var(--gulf-deep); text-underline-offset: 3px; }
a:hover { color: var(--flamingo-deep); }
:focus-visible { outline: 3px solid var(--flamingo); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- header ---------- */
.site-header { background: var(--glass); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 1.4rem; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding-block: .25rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--flamingo); color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--glass); padding-block: 2.5rem 5rem; position: relative; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px;
  background: var(--paper);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V22c100 22 200 22 300 0s200-22 300 0 200 22 300 0 200-22 300 0v22z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V22c100 22 200 22 300 0s200-22 300 0 200 22 300 0 200-22 300 0v22z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 11ch; }
.hero .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 34ch; margin-top: 1.25rem; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; }
  .hero { padding-block: 4rem 6.5rem; }
}

/* boarding-pass search card */
.pass { background: #fff; border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(13,43,51,.35); position: relative; }
.pass-top { padding: 1.4rem 1.4rem 1.2rem; }
.pass-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.pass-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.pass-fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .25rem; }
.field input, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 8px; padding: .65rem .75rem; min-height: 46px;
}
.field input:focus, .field select:focus { border-color: var(--gulf); outline: none; box-shadow: 0 0 0 3px rgba(15,123,120,.2); }
.pass-tear { position: relative; border-top: 2px dashed var(--line); margin: 0 1.2rem; }
.pass-tear::before, .pass-tear::after {
  content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--glass);
}
.pass-tear::before { left: -2.05rem; }
.pass-tear::after { right: -2.05rem; }
.pass-bottom { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 1.2rem; }
.pass-note { font-size: .9rem; color: var(--ink-soft); margin: 0; max-width: 24ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--flamingo); color: #fff; border: 0; border-radius: 999px;
  padding: .85rem 1.6rem; min-height: 48px;
}
.btn:hover { background: var(--flamingo-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

.quick-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem; font-weight: 600; }
.quick-links a { color: var(--ink); }

/* ---------- sections ---------- */
section { padding-block: 4rem; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); margin-top: .75rem; font-size: 1.1rem; }

/* fare board */
.origins { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.origins button {
  font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem 1rem; min-height: 42px;
}
.origins button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.board { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.board li a {
  display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: baseline;
  padding: 1rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.board li a:hover { background: var(--glass); }
.board .when { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.board .meta { grid-column: 1; color: var(--ink-soft); font-size: .95rem; }
.board .price { grid-row: 1 / span 2; grid-column: 2; font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--gulf-deep); }
.board-empty { padding: 1.25rem 0; color: var(--ink-soft); border-top: 2px solid var(--ink); }
.fineprint { font-size: .9rem; color: var(--ink-soft); margin-top: 1rem; }

/* guide feature (home) */
.feature { background: var(--ink); color: #fff; }
.feature h2 { color: #fff; }
.feature .wrap { display: grid; gap: 2.5rem; }
.feature p { color: #cfe2e0; }
.feature .topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.feature .topics li { border-top: 1px solid rgba(255,255,255,.22); padding: 1rem 0; }
.feature .topics li:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.feature .topics a { color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.feature .topics a:hover { color: var(--citrus); }
.feature .topics span { display: block; color: #b6cfcc; font-size: .95rem; margin-top: .15rem; }
@media (min-width: 900px) { .feature .wrap { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }

/* how it works (home) */
.method { display: grid; gap: 2rem; }
.method h3 { margin-bottom: .4rem; }
.method p { color: var(--ink-soft); margin: 0; }
@media (min-width: 900px) { .method { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; } .method > div:first-child h3 { font-size: 1.6rem; } }

/* coming next */
.soon { background: var(--glass); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.chips li { background: #fff; border: 1.5px dashed var(--gulf); color: var(--gulf-deep); border-radius: 999px; padding: .4rem 1rem; font-weight: 600; }

/* ---------- guide pages ---------- */
.guide-hero { background: var(--glass); padding-block: 3rem 3.5rem; }
.guide-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); max-width: 16ch; }
.guide-hero .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40ch; margin-top: 1rem; }
.disclosure { font-size: .9rem; color: var(--ink-soft); border-left: 4px solid var(--citrus); padding: .25rem 0 .25rem .9rem; margin-top: 1.5rem; max-width: 52ch; }
.crumbs { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs span { color: var(--ink); }

/* location search ("find any place") */
.place-search { position: relative; max-width: 26rem; margin-top: 1.5rem; }
.place-search label { display: block; font-weight: 600; margin-bottom: .4rem; }
.place-search input {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 8px; padding: .65rem .75rem; min-height: 46px;
}
.place-search input:focus { border-color: var(--gulf); outline: none; box-shadow: 0 0 0 3px rgba(15,123,120,.2); }
.place-search .suggestions {
  list-style: none; margin: .4rem 0 0; padding: .4rem; position: absolute; z-index: 5; left: 0; right: 0;
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px -14px rgba(13,43,51,.35);
  max-height: 16rem; overflow-y: auto;
}
.place-search .suggestions li + li { border-top: 1px solid var(--line); }
.place-search .suggestions a { display: block; padding: .6rem .5rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.place-search .suggestions a:hover { background: var(--glass); }

.guide { padding-block: 0 4rem; }
.guide section { padding-block: 2.75rem 0; }
.guide h2 { margin-bottom: 1rem; }
.guide h3 { margin: 1.5rem 0 .4rem; }
.guide ul.plain { padding-left: 1.2rem; }
.guide ul.plain li { margin-bottom: .5rem; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; padding: 1.25rem 0; margin: 0; list-style: none; font-weight: 600; border-bottom: 1px solid var(--line); }

.seasons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; list-style: none; padding: 0; margin: 1.25rem 0 .75rem; }
@media (min-width: 640px) { .seasons { grid-template-columns: repeat(12, 1fr); } }
.seasons li { border-radius: 8px; padding: .55rem .2rem .5rem; text-align: center; font-family: var(--display); font-weight: 700; line-height: 1.1; }
.seasons li small { display: block; font-family: var(--body); font-weight: 500; font-size: .72rem; margin-top: .2rem; }
.seasons .best { background: var(--gulf); color: #fff; }
.seasons .mixed { background: var(--citrus); color: var(--ink); }
.seasons .high { background: var(--flamingo); color: #fff; }

.areas { margin: 1rem 0; border-top: 2px solid var(--ink); }
.areas div { display: grid; gap: .2rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.areas dt { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.areas dd { margin: 0; color: var(--ink-soft); }
@media (min-width: 720px) { .areas div { grid-template-columns: 14rem 1fr; } }

.callout { background: var(--glass); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 1.75rem 0; }
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout .btn { margin-top: .5rem; }

.checklist { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li { padding: .65rem 0 .65rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: 13px; height: 13px; border: 2px solid var(--gulf); border-radius: 3px; }

details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
details:first-of-type { border-top: 2px solid var(--ink); }
summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
details p { margin: .6rem 0 0; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfe2e0; padding-block: 2.5rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: .75rem; }
.site-footer p { max-width: 62ch; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 480px) { .pass-fields { grid-template-columns: 1fr; } .pass-tear::before { left: -1.95rem; } .pass-tear::after { right: -1.95rem; } }

/* live park waits + crowd strip */
.park-status { margin: .25rem 0 1rem; color: var(--ink-soft); }
.park-status strong { color: var(--ink); }
#wait-mode { margin-bottom: 0; }
#wait-mode button { min-height: 38px; padding: .3rem .9rem; font-size: .95rem; }
.waits { margin-top: 1rem; }
.waits li { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; align-items: baseline; padding: .8rem .25rem; border-bottom: 1px solid var(--line); }
.waits .ride { font-weight: 600; }
.waits .mins { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--gulf-deep); }
.waits .mins.long { color: var(--flamingo-deep); }
.waits .mins.mins-down { color: var(--ink-soft); font-size: 1.1rem; }
.land-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: 1.5rem 0 .25rem; }
.land-name:first-child { margin-top: 1rem; }
#wait-mode { margin-top: .5rem; }
.seasons.crowd { grid-template-columns: repeat(7, 1fr); }
.seasons.crowd li { padding-block: .5rem .45rem; }
.seasons.crowd .none { background: var(--glass); color: var(--ink-soft); }
.seasons.crowd .dow { display: block; font-family: var(--body); font-weight: 500; font-size: .7rem; }
.seasons.crowd .day { display: block; font-size: 1.05rem; }
