/* ASTROS Playland & Cafe — brand colors from 10_COMPANY/brand (Color Palette) */
@font-face { font-family: "Jungle Adventurer"; src: url("/assets/fonts/JungleAdventurer.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Echotun"; src: url("/assets/fonts/Echotun.otf") format("opentype"); font-display: swap; }

:root {
  --blue: #2676FF;
  --yellow: #FAE200;
  --gold: #FFB817;
  --navy: #132654;
  --ink: #0B1638;
  --indigo: #4356CC;
  --red: #BE1E2D;
  --paper: #F2F6FF;
  --line: #DCE4F5;
  --text: #1B2545;
  --muted: #5A6688;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(19, 38, 84, .12);
  --display: "Jungle Adventurer", "Arial Black", system-ui, sans-serif;
  --body: ui-rounded, "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; color: var(--navy); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
h2 small { font-family: var(--body); font-size: .4em; font-weight: 700; text-transform: none; color: var(--muted); letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
.eyebrow { font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 .7em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.fine { font-size: .9rem; color: var(--muted); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent; font: 800 1rem/1 var(--body); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 4px 0 #c9b500; }
.btn-primary:hover { box-shadow: 0 6px 0 #c9b500; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: .65em 1.1em; font-size: .88rem; }
.btn-lg { padding: 1em 1.9em; font-size: 1.1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.text-link { font-weight: 800; text-decoration: none; }
.text-link::after { content: " →"; }

/* top bar + header */
.topbar { background: var(--ink); color: #cfd8f5; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; margin-left: 18px; }
.open-status.is-open::before, .open-status.is-closed::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: #38d27a; }
.open-status.is-closed::before { background: #ff6b6b; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 16px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-weight: 800; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--yellow); border-color: var(--yellow); }
.header-cta { display: flex; gap: 10px; }
.site-header .btn-outline { border-color: #fff; color: #fff; }
.site-header .btn-outline:hover { background: #fff; color: var(--navy); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 2px; margin: 5px 0; }

/* hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero-media.ph { place-content: start end; border: 0; padding: 18px 24px; text-align: right; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,56,.25) 0%, rgba(11,22,56,.55) 55%, rgba(11,22,56,.92) 100%); }
.hero-inner { position: relative; padding: 120px 0 36px; color: #fff; }
.hero h1 { color: #fff; font-size: clamp(3rem, 9vw, 6.5rem); text-shadow: 0 4px 24px rgba(0,0,0,.4); margin-bottom: .25em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .eyebrow { color: var(--yellow); }
.hero .lede { color: #e8edff; font-size: 1.25rem; max-width: 52ch; }

.facts { background: var(--yellow); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 22px 0; }
.facts-grid div { text-align: center; }
.facts-grid b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--navy); text-transform: uppercase; line-height: 1.1; }
.facts-grid span { font-size: .92rem; font-weight: 700; color: #3a3500; }

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: 40px 0 64px; }
.section-paper { background: var(--paper); }
.section-yellow { background: var(--yellow); }
.section-yellow .eyebrow { color: var(--navy); }
.section-navy { background: var(--navy); color: #dfe6ff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--yellow); }
.section-navy a:not(.btn) { color: var(--yellow); }
.stars { background-image: radial-gradient(circle at 12% 20%, rgba(255,255,255,.5) 1px, transparent 1.5px), radial-gradient(circle at 78% 62%, rgba(250,226,0,.6) 1px, transparent 1.5px), radial-gradient(circle at 44% 84%, rgba(255,255,255,.35) 1px, transparent 1.5px), radial-gradient(circle at 90% 14%, rgba(255,255,255,.4) 1.5px, transparent 2px); background-size: 220px 220px, 300px 300px, 180px 180px, 360px 360px; }
.grid { display: grid; gap: 24px; margin-top: 32px; }
.grid-1 { margin-top: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

/* media */
.media { width: 100%; object-fit: cover; background: var(--paper); }
.frame { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.frame.tour { aspect-ratio: 16 / 9; margin-bottom: 28px; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; }
.map-wide { aspect-ratio: 21 / 9; min-height: 320px; }
.ph { display: grid; place-content: center; gap: 6px; text-align: center; padding: 20px; min-height: 180px; color: #dfe6ff; background: linear-gradient(135deg, var(--indigo), var(--navy)); border: 2px dashed rgba(255,255,255,.35); }
.ph span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.ph b { font-size: 1rem; color: #fff; }
.ph code { font-size: .78rem; opacity: .8; }

/* cards */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card > .media { aspect-ratio: 4 / 3; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body p { color: var(--muted); margin: 0 0 .6em; }
.card-body .btn, .card-body .text-link { margin-top: auto; align-self: flex-start; }
.tile { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile h3 { font-size: 1.15rem; }
.tile p { color: var(--muted); margin: 0; }
.tile p a { font-weight: 800; }
.section-paper .tile { border-color: transparent; box-shadow: var(--shadow); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding: 5px 0 5px 30px; }
.ticks li::before { content: "★"; position: absolute; left: 2px; top: 4px; color: var(--gold); }
.ticks-lg li { font-size: 1.08rem; padding-block: 7px; }

/* pricing */
.price-grid { align-items: stretch; }
.price-card { position: relative; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.price-card h2, .price-card h3 { font-size: 1.5rem; }
.price-card .btn, .price-card .cta-row { margin-top: auto; align-self: flex-start; }
.price-card.featured { background: var(--navy); border-color: var(--navy); color: #dfe6ff; box-shadow: var(--shadow); }
.price-card.featured h2, .price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .fine { color: #aebbe6; }
.price { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--navy); margin: 0 0 .5em; }
.price small { font-family: var(--body); font-size: .95rem; font-weight: 700; color: var(--muted); }
.price-card.featured .price small { color: #aebbe6; }
.flag { position: absolute; top: -14px; right: 22px; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }

/* page hero */
.page-hero { background: var(--navy); color: #dfe6ff; padding: clamp(48px, 7vw, 88px) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero .lede { color: #dfe6ff; }
.page-hero .btn-outline { border-color: #fff; color: #fff; }
.page-hero .btn-outline:hover { background: #fff; color: var(--navy); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero-grid.solo { grid-template-columns: 1fr; }
.page-hero-media { border-radius: var(--radius); aspect-ratio: 4 / 3; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.page-hero-mascot { max-height: 300px; width: auto; justify-self: center; }

/* bands */
.band-blue { background: var(--blue); color: #fff; padding: 56px 0; }
.band-blue h2 { color: #fff; margin-bottom: .2em; }
.band-blue p { margin: 0; max-width: 52ch; }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.band-inner .cta-row { margin: 0; }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-strip .media { aspect-ratio: 1; border-radius: var(--radius); }
.review-line { margin-top: 32px; display: flex; gap: 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: 1.1rem; }
.review-line p { margin: 0; max-width: 60ch; }

.hours { margin: 1em 0; display: grid; gap: 4px; }
.hours div { display: flex; gap: 14px; }
.hours dt { font-weight: 800; min-width: 84px; }
.hours dd { margin: 0; }

/* menu */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chips a { padding: 8px 16px; border-radius: 999px; background: var(--paper); color: var(--navy); font-weight: 800; font-size: .9rem; text-decoration: none; }
.chips a:hover { background: var(--yellow); }
.menu-grid { columns: 2; column-gap: 48px; }
.menu-cat { break-inside: avoid; margin-bottom: 40px; }
.menu-cat h2 { font-size: 1.7rem; border-bottom: 4px solid var(--yellow); padding-bottom: 8px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.menu-list h3 { font-family: var(--body); font-weight: 800; font-size: 1.05rem; text-transform: none; letter-spacing: 0; margin: 0; }
.menu-list p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.menu-prices { text-align: right; font-weight: 800; color: var(--navy); white-space: nowrap; display: grid; align-content: start; }
.menu-prices small { font-weight: 600; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery .media { aspect-ratio: 4 / 3; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(11,22,56,.8); color: #fff; font-weight: 700; font-size: .85rem; padding: 5px 12px; border-radius: 999px; }

/* faq */
.faq-wrap { max-width: 860px; }
.faq-cat { margin-bottom: 44px; }
.faq-cat h2 { font-size: 1.7rem; }
details { border: 2px solid var(--line); border-radius: 16px; margin-bottom: 10px; background: #fff; }
summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 800; color: var(--navy); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.5rem; color: var(--blue); }
details[open] summary::after { content: "–"; }
details[open] { border-color: var(--blue); }
details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

.prose { max-width: 70ch; }
.prose p { font-size: 1.1rem; }

/* forms */
.form { background: var(--paper); border-radius: var(--radius); padding: 32px; display: grid; gap: 14px; }
.form h2 { font-size: 1.7rem; margin: 0; }
label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--navy); }
input, select, textarea { font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; }
.form-status { margin: 0; font-weight: 700; min-height: 1.4em; }
.form-status.ok { color: #1a8a4b; }
.form-status.err { color: var(--red); }
.newsletter { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 36px; }
.newsletter h2 { font-size: 2rem; margin-bottom: .2em; }
.newsletter p { margin: 0; color: var(--muted); }
.form-inline { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.form-inline .form-status { grid-column: 1 / -1; }
.contact-cards { gap: 14px; }

/* footer */
.site-footer { background: var(--ink); color: #b9c4ea; padding: 64px 0 96px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer h2 { font-size: 1.1rem; color: var(--yellow); margin-bottom: .8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid img { margin-bottom: 14px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.mobile-bar { display: none; }

/* responsive */
@media (max-width: 1240px) {
  .header-cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; margin: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); box-shadow: 0 -4px 20px rgba(0,0,0,.3); }
  .mobile-bar a { padding: 15px 8px; text-align: center; color: #fff; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
  .mobile-bar .mobile-bar-primary { background: var(--yellow); color: var(--navy); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .topbar-links a:last-child { display: none; }
  .open-status { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .split, .page-hero-grid, .newsletter, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split-rev > :first-child { order: 2; }
  .page-hero-mascot { max-height: 180px; }
  .facts-grid, .photo-strip, .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-grid { columns: 1; }
  .form-inline { grid-template-columns: 1fr; }
  .hero-inner { padding-bottom: 28px; }
}
@media (max-width: 520px) {
  .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* franchise highlights */
.stat .price { font-size: 2.2rem; white-space: nowrap; }
.footnotes { margin-top: 28px; display: grid; gap: 8px; }
.footnotes p { margin: 0; font-size: .82rem; font-style: italic; color: var(--muted); }

/* checkbox groups (careers form) */
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.checks legend { font-weight: 700; font-size: .92rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; }
.checks input { width: auto; accent-color: var(--blue); }

/* customer reviews */
.review { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.review .stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 3px; }
.review blockquote { margin: 0; font-size: 1.02rem; color: var(--text); }
.review blockquote::before { content: "\201C"; }
.review blockquote::after { content: "\201D"; }
.review figcaption { margin-top: auto; font-weight: 800; color: var(--navy); font-size: .92rem; }

/* videos with a separate landscape cut: still image per width while the video loads */
.media.has-wide { background: var(--poster) center / cover no-repeat; }
@media (min-width: 900px) { .media.has-wide { background-image: var(--poster-wide, var(--poster)); } }

/* Desktop banner fills the screen below the header, so more of the vertical video shows.
   106px = top bar + header. Raise the 1100px cap to go taller still on very large monitors. */
@media (min-width: 900px) {
  .hero { min-height: clamp(600px, calc(100vh - 106px), 1100px); }
}
