:root {
  --navy: #081d3a; --deep: #0a3157; --aqua: #06ccd6; --teal: #0fa39e; --yellow: #ffd300;
  --cloud: #f4f6f8; --ink: #10283f; --muted: #5d7082; --line: #dde5ec; --sand: #fff7dc;
  --shadow: 0 18px 55px rgba(8,29,58,.13); --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cloud); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
[id] { scroll-margin-top: 84px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 30; height: 70px; padding: 10px clamp(18px,5vw,72px); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(1.6); border-bottom: 1px solid rgba(8,29,58,.08); }
.brand img { width: 190px; max-height: 46px; object-fit: contain; }
.button { display: inline-flex; min-height: 50px; padding: 12px 22px; align-items: center; justify-content: center; border: 2px solid transparent; border-radius: 999px; font-weight: 850; text-decoration: none; cursor: pointer; box-shadow: 0 8px 24px rgba(8,29,58,.12); transition: transform .16s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 4px solid rgba(6,204,214,.4); outline-offset: 3px; }
.button:disabled { opacity: .7; cursor: progress; transform: none; }
.button-small { min-height: 42px; padding: 8px 18px; }
.button-navy { color: #fff; background: var(--navy); }
.button-yellow { color: var(--navy); background: var(--yellow); }
.eyebrow { margin: 0 0 10px; color: var(--teal); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.03em; }
h2 { margin-bottom: 12px; color: var(--navy); font-size: clamp(2rem,4vw,3.4rem); }
h3 { color: var(--navy); font-size: 1.2rem; }

/* The same clear, iPhone-style glass as the video graphics. */
.glass { position: relative; border-radius: 28px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,.08) 45%, rgba(255,255,255,.14) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(1.8) brightness(.9); backdrop-filter: blur(10px) saturate(1.8) brightness(.9);
  border: 1.5px solid rgba(255,255,255,.6);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(255,255,255,.2), 0 24px 60px rgba(0,0,0,.28);
  text-shadow: 0 1px 12px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.4); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.05) 22%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 72%, rgba(255,255,255,.1) 100%); }
.glass > * { position: relative; }
.pane { border-radius: 22px; background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 40px rgba(0,0,0,.18); }

.hero { position: relative; min-height: 680px; padding: 90px clamp(20px,7vw,110px) 110px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url(assets/hero.jpg) center 40%/cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,29,58,.55) 0%, rgba(8,29,58,.15) 55%, rgba(8,29,58,0) 100%); }
.hero-card { z-index: 2; max-width: 720px; padding: 46px 48px 40px; }
.hero .eyebrow { color: #fff; opacity: .95; }
.hero h1 { font-size: clamp(2.6rem,5.6vw,5rem); margin-bottom: 18px; }
.hero h1 em { color: var(--yellow); font-family: Georgia, serif; font-weight: 500; }
.hero-lede { margin: 0; font-size: clamp(1.02rem,1.6vw,1.22rem); }
.hero-actions { margin-top: 28px; }
.hero-actions .button { text-shadow: none; }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: .88rem; font-weight: 700; }
.amanda-chip { position: absolute; z-index: 2; right: clamp(20px,5vw,72px); bottom: 64px; display: flex; gap: 14px; align-items: center; max-width: 380px; padding: 14px 18px; font-size: .9rem; }
.amanda-chip img { width: 66px; height: 66px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 2px solid rgba(255,255,255,.8); }
.amanda-chip p { margin: 0; }
.amanda-chip strong { display: block; }
.credit { position: absolute; z-index: 2; right: 14px; bottom: 10px; font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.9); text-shadow: 0 1px 6px rgba(0,0,0,.7); }

section:not(.hero) { padding: 80px clamp(20px,7vw,110px); }
.section-heading { max-width: 860px; margin-bottom: 30px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.setup-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
label, .field-label { display: block; margin-bottom: 8px; font-weight: 850; color: var(--navy); }
select, input { width: 100%; min-height: 50px; padding: 10px 14px; color: var(--navy); background: #fff; border: 2px solid #d8e2eb; border-radius: 12px; }
.sailing-summary { margin-top: 18px; }
.sailing-summary strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 1.25rem; }
.route { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.route i { width: 18px; height: 2px; background: var(--aqua); }
.choice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.choice { padding: 14px 12px; color: var(--ink); background: var(--cloud); border: 2px solid transparent; border-radius: 16px; cursor: pointer; text-align: left; }
.choice strong, .choice small { display: block; }
.choice small { margin-top: 4px; color: var(--muted); }
.choice.selected { background: #e9fbfd; border-color: var(--aqua); }
.countdown { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; color: var(--teal); font-weight: 800; }
.countdown span:first-child { font-size: 2.6rem; font-weight: 950; color: var(--navy); }

.clock { color: #fff; background: radial-gradient(circle at 85% 0%, #0e4a7a, var(--navy) 60%); }
.clock h2, .clock h3 { color: #fff; }
.clock .eyebrow { color: var(--aqua); }
.clock .section-heading > p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.clock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.clock-card { padding: 24px 26px; display: grid; gap: 6px; }
.clock-card .k { font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.clock-card strong { font-size: clamp(1.5rem,3vw,2.2rem); }
.chip { justify-self: start; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800; background: rgba(255,255,255,.14); }
.chip.soon { background: var(--yellow); color: var(--navy); }
.chip.open { background: var(--aqua); color: var(--navy); }
.chip.closed { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.order-title { margin: 36px 0 14px; }
.show-order { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.show { padding: 22px; display: flex; gap: 16px; }
.rank { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 950; font-size: 1.2rem; }
.show strong { display: block; font-size: 1.15rem; }
.show small { color: var(--aqua); font-weight: 800; }
.show p { margin: 8px 0; color: rgba(255,255,255,.82); font-size: .92rem; }
.show blockquote, .missed { margin: 10px 0 0; font-family: Georgia, serif; font-style: italic; color: #fff; }
.show cite, .missed cite { display: block; margin-top: 6px; font: 700 .76rem Inter, system-ui, sans-serif; font-style: normal; color: var(--aqua); letter-spacing: .03em; }
.missed { margin-top: 22px; max-width: 760px; }
.missed strong { font-family: Inter, system-ui, sans-serif; font-style: normal; color: var(--yellow); margin-right: 6px; }
.missed cite { display: block; margin-top: 6px; }
.fine { margin-top: 18px; color: rgba(255,255,255,.62); font-size: .82rem; }

.picks { background: #fff; }
.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.split > div:first-child { max-width: 740px; }
.meter { min-width: 260px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.meter div { padding: 10px; text-align: center; background: var(--cloud); }
.meter div + div { border-left: 1px solid var(--line); }
.meter strong, .meter span { display: block; }
.meter strong { color: var(--navy); font-size: 1.3rem; }
.meter span { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.filter-row { display: flex; gap: 8px; margin: 6px 0 20px; overflow-x: auto; }
.filter { flex: none; padding: 9px 15px; color: var(--navy); background: var(--cloud); border: 1px solid var(--line); border-radius: 999px; font-weight: 800; cursor: pointer; }
.filter.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.activity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.activity { position: relative; padding: 22px; display: flex; flex-direction: column; background: var(--cloud); border: 2px solid transparent; border-radius: 22px; }
.activity[data-state="must"] { background: #eafcfd; border-color: var(--aqua); }
.activity[data-state="nice"] { background: var(--sand); border-color: #f1cf4d; }
.activity[data-state="skip"] { opacity: .55; }
.activity.hidden { display: none; }
.activity .icon { font-size: 1.8rem; }
.activity h3 { margin: 8px 0 6px; }
.activity p { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.activity .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.activity .meta span { padding: 3px 8px; background: rgba(255,255,255,.8); border-radius: 7px; font-size: .7rem; font-weight: 850; color: var(--navy); }
.state { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-top: 12px; }
.state button { padding: 7px 4px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 9px; font-size: .74rem; font-weight: 900; cursor: pointer; }
.state button.active[data-value="must"] { color: var(--navy); background: var(--aqua); border-color: var(--aqua); }
.state button.active[data-value="nice"] { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.state button.active[data-value="skip"] { color: #fff; background: var(--muted); border-color: var(--muted); }

.plan { color: #fff; background: var(--navy); }
.plan h2 { color: #fff; }
.plan .eyebrow { color: var(--aqua); }
.plan-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.plan-heading p { color: rgba(255,255,255,.7); }
.plan-alert { margin-bottom: 16px; padding: 13px 18px; color: var(--navy); background: var(--yellow); border-radius: 12px; font-weight: 750; }
.itinerary { display: grid; gap: 12px; }
.day { display: grid; grid-template-columns: 90px minmax(170px,.38fr) 1fr; gap: 18px; padding: 20px; align-items: start; }
.dn { color: var(--aqua); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.dp strong { display: block; font-size: 1.1rem; }
.dp small { color: rgba(255,255,255,.6); }
.evs { display: flex; gap: 8px; flex-wrap: wrap; }
.ev { padding: 8px 11px; color: var(--navy); background: #fff; border-radius: 10px; font-size: .82rem; font-weight: 800; }
.ev.must { background: var(--aqua); }
.ev.base { background: var(--yellow); }

.save { background: linear-gradient(135deg, #0ea5ff, var(--aqua)); }
.save-shell { max-width: 1180px; margin: auto; padding: clamp(26px,4vw,52px); display: grid; grid-template-columns: 1.25fr .85fr; gap: 40px; align-items: start; background: #fff; border-radius: 34px; box-shadow: 0 35px 80px rgba(8,29,58,.2); }
.save h2 { font-size: clamp(2rem,3.6vw,3rem); }
.save-lede { color: var(--muted); font-size: 1.06rem; margin: 0; }
.pdf-list { list-style: none; padding: 0; margin: 16px 0 26px; display: grid; gap: 11px; }
.pdf-list li { position: relative; padding-left: 36px; }
.pdf-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--aqua); color: var(--navy); font-weight: 900; font-size: .8rem; }
.pdf-peek { display: flex; gap: 12px; }
.pdf-peek img { width: 31%; aspect-ratio: 8.5/11; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(8,29,58,.16); background: #fff; }
.pdf-peek img:nth-child(2) { transform: translateY(14px); }
.save-form { background: var(--cloud); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; gap: 8px; }
.form-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.form-head img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 3px solid var(--yellow); }
.form-head p { margin: 0; color: var(--ink); font-weight: 600; }
.save-form label:not(.check) { margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: .92rem; margin: 6px 0 0; }
.check input { width: auto; min-height: 0; margin-top: 4px; accent-color: var(--teal); }
.choice-set { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 6px 14px 12px; margin: 8px 0 0; min-width: 0; }
.choice-set legend { font-weight: 800; color: var(--ink); padding: 0 6px; font-size: .95rem; }
.choice-set .check { margin: 8px 0 0; }
.save-form .button { margin-top: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.privacy { margin: 2px 0 0; font-size: .8rem; }
.privacy a { color: var(--muted); }
.save-status { min-height: 1.2em; margin: 0; color: #b3261e; font-weight: 700; font-size: .9rem; }
.sent-card { display: flex; gap: 14px; align-items: flex-start; background: #e9fbfd; border: 2px solid var(--aqua); border-radius: 20px; padding: 22px; }
.sent-card img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.sent-card p { margin: 6px 0; }
.sent-card small { color: var(--muted); }
/* The text beside Amanda's photo may shrink and a long email address may break; otherwise the address pushes the card
   past its box and widens the page (Brian's iPhone, 2026-09-14). */
.sent-card > div { min-width: 0; }
.sent-card b { overflow-wrap: anywhere; }
.linkish { background: none; border: 0; padding: 0; color: var(--navy); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

footer { padding: 36px clamp(20px,7vw,110px); display: grid; grid-template-columns: 130px 1fr minmax(240px,.7fr); gap: 26px; align-items: center; color: #fff; background: #051327; }
footer > img { width: 120px; }
footer p { margin: 6px 0 0; color: rgba(255,255,255,.7); }
footer small { color: rgba(255,255,255,.5); }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 50; padding: 12px 18px; color: #fff; background: var(--navy); border-radius: 999px; opacity: 0; transform: translate(-50%,30px); transition: .18s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

.day-tabs { display: none; }

@media (max-width: 980px) {
  .setup-grid, .clock-grid, .show-order { grid-template-columns: 1fr; }
  .save-shell { display: flex; flex-direction: column; gap: 0; }
  .save-copy { display: contents; }
  .save-side { order: 2; margin-top: 8px; }
  .pdf-peek { order: 3; margin-top: 28px; }
  .activity-grid { grid-template-columns: repeat(2,1fr); }
  .amanda-chip { position: relative; right: auto; bottom: auto; margin-top: 18px; }
  .hero { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .brand img { width: 140px; }
  .hero { min-height: auto; padding: 44px 16px 70px; }
  .hero-card { padding: 28px 22px; }
  section:not(.hero) { padding: 60px 16px; }
  .choice-grid, .activity-grid { grid-template-columns: 1fr; }
  .split, .plan-heading { display: block; }
  .plan-heading .button { margin-top: 14px; }
  .meter { min-width: 0; margin-top: 18px; }
  .day { grid-template-columns: 70px 1fr; }
  .evs { grid-column: 1 / -1; }
  footer { grid-template-columns: 80px 1fr; }
  footer small { grid-column: 1 / -1; }
  /* Phones (2026-09-14). The weekend plan is one day per screen, swiped sideways or reached from the day tabs. */
  .day-tabs { display: flex; gap: 6px; margin: 0 0 12px; overflow-x: auto; scrollbar-width: none; }
  .day-tabs button { flex: 1 1 0; min-width: 72px; min-height: 44px; padding: 6px 10px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; font-weight: 850; text-align: left; cursor: pointer; }
  .day-tabs small { display: block; font-size: .72rem; font-weight: 600; line-height: 1.25; color: rgba(255,255,255,.72); }
  .day-tabs button[aria-pressed="true"] { color: var(--navy); background: var(--aqua); border-color: var(--aqua); }
  .day-tabs button[aria-pressed="true"] small { color: var(--navy); }
  .itinerary { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .day { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
  .day .dn { display: none; }
  .evs { flex-direction: column; flex-wrap: nowrap; }
  .ev { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: .92rem; }
  /* Must, Nice or Skip as compact rows with the three-way choice under each; the filters wrap instead of running off the edge. */
  .filter-row { flex-wrap: wrap; overflow: visible; }
  .filter { min-height: 44px; padding: 8px 12px; font-size: .88rem; }
  .activity-grid { gap: 8px; }
  .activity { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; padding: 12px 14px; align-items: start; }
  .activity .icon { grid-row: span 3; font-size: 1.4rem; line-height: 1.2; }
  .activity h3 { margin: 0; font-size: 1rem; }
  .activity p { margin: 0; font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .activity .meta { margin-top: 4px; }
  .state { grid-column: 1 / -1; margin-top: 10px; }
  .state button { min-height: 44px; font-size: .85rem; }
  /* The reservation clock as one compact card. */
  .clock-grid { display: block; padding: 2px 16px; border-radius: 22px; background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.22); }
  .clock-card { grid-template-columns: 1fr auto; align-items: baseline; padding: 14px 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .clock-card + .clock-card { border-top: 1px solid rgba(255,255,255,.18); }
  .clock-card strong { font-size: 1.1rem; text-align: right; }
  .clock-card .chip { grid-column: 1 / -1; }
  .show { padding: 16px; gap: 12px; }
  .rank { width: 36px; height: 36px; font-size: 1rem; }
  /* The save form without three nested boxes, and 44px choices. */
  section.save { padding: 36px 10px; }
  .save-shell { padding: 22px 16px; border-radius: 26px; }
  .save-form { padding: 16px; }
  .choice-set .check { min-height: 44px; padding: 8px 0; margin: 2px 0 0; }
  .site-header .button-small { min-height: 44px; }
}
