/* Vacay Flash — sale-tag yellow, departure-board navy */
:root {
  --tag: #FFD23F;        /* sale-tag yellow, page ground */
  --tag-deep: #F5B700;   /* pressed yellow */
  --ink: #13213C;        /* departure-board navy */
  --ink-soft: #2B3A57;
  --paper: #FFFDF6;      /* ticket paper */
  --sale: #E63946;       /* price-tag red */
  --sea: #1B998B;        /* status green */
  --flap: #1C2D4F;       /* flap cell */
  --radius-ticket: 18px;
  --wrap: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--tag);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sale); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

/* ---------- header ---------- */
.site-head { padding: 1.25rem 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo svg { width: 38px; height: 38px; }
.logo-word {
  white-space: nowrap;
  font-size: 1.55rem; font-weight: 900; letter-spacing: -.02em;
  font-variation-settings: "wdth" 125; line-height: 1;
}
.head-link {
  font-weight: 700; text-decoration: none; padding: .55rem 1rem;
  border: 2px solid var(--ink); border-radius: 999px; font-size: .95rem;
  white-space: nowrap;
}
.head-link:hover { background: var(--ink); color: var(--tag); }

/* ---------- hero ---------- */
.hero { padding: 1.5rem 0 4rem; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero h1 {
  margin: 0;
  font-size: clamp(4.1rem, 16.5vw, 7.8rem);
  line-height: .86;
  font-weight: 900;
  letter-spacing: -.02em;
  word-spacing: .12em;
  font-variation-settings: "wdth" 62;
  text-transform: none;
}
.hero h1 span { display: block; }
.hero h1 .gone {
  color: var(--paper);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}
.hero .lede { max-width: 34rem; font-size: 1.2rem; margin: 1.5rem 0 1.75rem; color: var(--ink-soft); }

.signup { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 34rem; }
.signup label { position: absolute; left: -9999px; }
.signup input[type="email"] {
  flex: 1 1 15rem; min-width: 0;
  font: inherit; font-size: 1.05rem;
  padding: .95rem 1.1rem;
  border: 3px solid var(--ink); border-radius: 12px;
  background: var(--paper); color: var(--ink);
}
.btn {
  font: inherit; font-weight: 800; font-size: 1.05rem;
  padding: .95rem 1.4rem;
  border: 3px solid var(--ink); border-radius: 12px;
  background: var(--sale); color: var(--paper);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.fine { font-size: .9rem; color: var(--ink-soft); margin: .85rem 0 0; max-width: 34rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  display: none; max-width: 34rem; margin-top: 1rem;
  padding: .85rem 1rem; border-radius: 12px; font-weight: 700;
  background: var(--paper); border: 3px solid var(--sea);
}
.notice.show { display: block; }
.notice.err { border-color: var(--sale); }

/* ---------- departure board ---------- */
.board {
  background: var(--ink);
  border-radius: 20px;
  padding: 1.1rem 1.1rem 1.25rem;
  box-shadow: 10px 10px 0 var(--ink-soft);
  color: var(--paper);
  transform: rotate(1.2deg);
}
.board-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 .3rem .8rem; font-weight: 800; font-size: .95rem;
}
.board-top .live { display: inline-flex; align-items: center; gap: .45rem; color: var(--tag); }
.board-top .live::before {
  content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--tag);
  animation: blink 1.6s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
.board table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.board th {
  text-align: left; font-weight: 700; font-size: .78rem; color: #9FB0CC;
  padding: 0 .45rem .1rem;
}
.board td { padding: 0; }
.cells { display: flex; gap: 2px; }
.cell {
  position: relative;
  width: 1.18em; height: 1.6em;
  display: grid; place-items: center;
  background: linear-gradient(to bottom, var(--flap) 49%, rgba(0,0,0,.5) 49%, rgba(0,0,0,.5) 51%, var(--flap) 51%);
  border-radius: 3px;
  font-weight: 800;
  font-variation-settings: "wdth" 80;
  font-size: clamp(.78rem, 2.3vw, 1.02rem);
  overflow: hidden;
}
.cell.flip { animation: flap .14s ease-in; }
@keyframes flap { 0% { transform: scaleY(1); } 50% { transform: scaleY(.1); } 100% { transform: scaleY(1); } }
.status-cell .cell { color: var(--tag); }
.status-cell.watch .cell { color: #7DE2D1; }
.board-foot { margin: .7rem .3rem 0; font-size: .82rem; color: #9FB0CC; }

/* ---------- sections ---------- */
section { padding: 4.5rem 0; }
.on-paper { background: var(--paper); }
.on-ink { background: var(--ink); color: var(--paper); }
h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: .95; letter-spacing: -.02em; word-spacing: .1em; font-weight: 900;
  font-variation-settings: "wdth" 70;
  max-width: 18ch;
}
.section-intro { max-width: 38rem; font-size: 1.15rem; margin: 0 0 2.5rem; color: var(--ink-soft); }
.on-ink .section-intro { color: #C9D3E6; }

/* trip types as a departures list, not cards */
.departures { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.departures li {
  display: grid;
  grid-template-columns: 1fr;
  gap: .25rem;
  padding: 1.15rem 0;
  border-bottom: 2px dashed rgba(19,33,60,.35);
}
.departures h3 {
  margin: 0; font-size: 1.45rem; font-weight: 900; letter-spacing: -.01em;
  font-variation-settings: "wdth" 85;
}
.departures p { margin: 0; color: var(--ink-soft); }
.departures .where { font-weight: 700; color: var(--ink); }

/* steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.steps li::before {
  content: counter(step);
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tag); color: var(--ink);
  font-weight: 900; font-size: 1.5rem;
}
.steps h3 { margin: .2rem 0 .35rem; font-size: 1.35rem; font-weight: 800; }
.steps p { margin: 0; color: #C9D3E6; max-width: 34rem; }

/* flash club: boarding pass */
.pass {
  position: relative;
  display: grid; grid-template-columns: 1fr;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-ticket);
  overflow: hidden;
}
.pass-main { padding: 2rem 1.5rem; }
.pass-stub {
  padding: 1.75rem 1.5rem 2rem;
  background: var(--sale); color: var(--paper);
  border-top: 3px dashed var(--ink);
}
.pass h2 { max-width: none; }
.pass ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.pass li { margin: .35rem 0; }
.pass-stub p { margin: 0 0 1rem; font-weight: 700; font-size: 1.1rem; }
.pass-stub .signup input[type="email"] { border-color: var(--ink); }
.pass-stub .btn { background: var(--ink); color: var(--tag); box-shadow: 4px 4px 0 #7A1E25; }
.pass-stub .fine { color: #FFE3E5; }

/* faq */
.faq { max-width: 46rem; border-top: 3px solid var(--ink); }
.faq details { border-bottom: 2px solid rgba(19,33,60,.25); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 800; font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: .85rem;
  font-size: 1.8rem; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.2rem; color: var(--ink-soft); max-width: 40rem; }

/* footer */
.site-foot { background: var(--ink); color: #C9D3E6; padding: 3rem 0 2.5rem; font-size: .95rem; }
.site-foot .wrap { display: grid; gap: 1.5rem; }
.site-foot .logo-word { color: var(--tag); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-foot nav a { color: var(--paper); font-weight: 700; text-decoration: none; }
.site-foot nav a:hover { text-decoration: underline; }
.disclosure { max-width: 46rem; margin: 0; }

/* simple pages */
.page { padding: 2rem 0 5rem; }
.page .doc {
  background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius-ticket);
  padding: 2rem 1.5rem; max-width: 48rem;
}
.page h1 {
  margin: 0 0 .5rem; font-size: clamp(2.4rem, 7vw, 3.8rem); line-height: .95;
  font-weight: 900; letter-spacing: -.03em; font-variation-settings: "wdth" 70;
}
.page h2 { font-size: 1.5rem; margin: 2rem 0 .5rem; font-variation-settings: "wdth" 90; }
.page p, .page li { color: var(--ink-soft); max-width: 42rem; }
.page .updated { font-size: .9rem; }
.contact-form { display: grid; gap: 1rem; max-width: 34rem; margin-top: 1.5rem; }
.contact-form label { font-weight: 700; display: grid; gap: .35rem; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .85rem 1rem; border: 3px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink);
}
.contact-form textarea { min-height: 9rem; resize: vertical; }
.contact-form .btn { justify-self: start; }

/* ---------- breakpoints ---------- */
@media (min-width: 720px) {
  .departures li { grid-template-columns: 15rem 1fr; gap: 2rem; align-items: baseline; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; }
  .pass-main { padding: 2.5rem; }
  .pass-stub { padding: 2.5rem; }
  .page .doc { padding: 3rem; }
  .site-foot .wrap { grid-template-columns: 1fr auto; align-items: start; }
}
@media (min-width: 1000px) {
  .hero { padding: 2.5rem 0 5.5rem; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
  .pass { grid-template-columns: 1.4fr 1fr; }
  .pass-stub { border-top: 0; border-left: 3px dashed var(--ink); display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 420px) {
  .site-head .logo-word { font-size: 1.3rem; }
  .logo svg { width: 32px; height: 32px; }
  .head-link { padding: .45rem .8rem; font-size: .88rem; }
  .board { transform: none; box-shadow: 6px 6px 0 var(--ink-soft); padding: .8rem .7rem 1rem; }
  .cell { width: 1.02em; }
  .board .col-trip { display: none; }
  .hero h1 .gone { -webkit-text-stroke-width: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .cell.flip { animation: none; }
  .board-top .live::before { animation: none; }
  .btn { transition: none; }
}
