:root {
  --sea-deep: #144c57;
  --sea: #2f7b82;
  --sea-soft: #79b7b4;
  --foam: #effaf7;
  --foam-strong: #ffffff;
  --sand: #f8f0df;
  --sand-deep: #eacfa5;
  --coral: #d98468;
  --ink: #17363c;
  --muted: #537078;
  --line: rgba(20, 76, 87, 0.14);
  --glass: rgba(255, 255, 255, 0.68);
  --shadow: 0 18px 50px rgba(26, 78, 84, 0.14);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1120px, calc(100vw - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f7fcfa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }

.ocean-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #dff4ef 0%, #f8fbf7 54%, #fff 100%); }
.sun-glow { position: absolute; width: 390px; height: 390px; border-radius: 50%; right: -90px; top: 48px; background: radial-gradient(circle, rgba(255, 238, 180, .88), rgba(255, 243, 200, 0)); filter: blur(4px); }
.wave { position: absolute; width: 140%; left: -18%; border-radius: 48% 52% 0 0 / 100% 100% 0 0; opacity: .7; transform: rotate(-2deg); }
.wave-one { height: 320px; top: 410px; background: rgba(120, 190, 185, .34); }
.wave-two { height: 340px; top: 470px; left: -7%; background: rgba(78, 152, 158, .18); transform: rotate(2deg); }
.wave-three { height: 290px; top: 550px; background: rgba(255,255,255,.5); }

.hero { position: relative; min-height: 780px; padding-bottom: 80px; overflow: hidden; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding-top: calc(18px + env(safe-area-inset-top)); }
.brand { display: flex; gap: 10px; align-items: center; letter-spacing: .02em; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.64); color: var(--sea-deep); font-size: 24px; box-shadow: 0 8px 22px rgba(20,76,87,.1); }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.share-button, .icon-button, .text-button { border: 0; color: var(--sea-deep); background: rgba(255,255,255,.68); border-radius: 999px; padding: 10px 14px; font-weight: 700; box-shadow: 0 8px 25px rgba(20,76,87,.09); }
.share-button { display: flex; gap: 6px; align-items: center; }

.hero-content { padding-top: 124px; }
.eyebrow, .mini-label { margin: 0; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; color: var(--sea); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; margin-bottom: 22px; color: var(--sea-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 10vw, 112px); font-weight: 500; line-height: .95; letter-spacing: -.07em; }
h1 span { color: var(--coral); }
h2 { margin-bottom: 12px; color: var(--sea-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 6vw, 58px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
h3 { margin-bottom: 8px; color: var(--sea-deep); font-size: 21px; line-height: 1.18; }
.hero-copy { max-width: 660px; color: var(--ink); font-size: 19px; }
.hero-actions, .resort-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--sea-deep); box-shadow: 0 12px 28px rgba(20,76,87,.22); }
.button.ghost { border-color: rgba(20,76,87,.15); background: rgba(255,255,255,.56); color: var(--sea-deep); }
.button.compact { min-height: 42px; padding: 10px 16px; }
.glass { border: 1px solid rgba(255,255,255,.64); background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.countdown-card { display: inline-flex; gap: 30px; align-items: end; margin-top: 50px; padding: 18px 20px; border-radius: var(--radius-md); }
.countdown-card strong { display: block; color: var(--sea-deep); font-size: 22px; }
.countdown-date { color: var(--muted); font-size: 14px; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; display: grid; place-items: center; gap: 5px; color: var(--muted); transform: translateX(-50%); }
.scroll-cue span { width: 20px; height: 32px; border: 1px solid rgba(20,76,87,.28); border-radius: 999px; }
.scroll-cue span::after { display: block; width: 4px; height: 4px; margin: 8px auto; border-radius: 50%; background: var(--sea); content: ""; animation: drift 1.8s ease-in-out infinite; }
.scroll-cue small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
@keyframes drift { 50% { transform: translateY(10px); opacity: .25; } }

.section { padding: 92px 0; }
.tinted-section { background: linear-gradient(135deg, rgba(228,246,242,.86), rgba(248,240,223,.62)); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.section-note { max-width: 460px; margin-bottom: 0; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dashboard-card, .flight-card, .dining-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.72); box-shadow: 0 13px 35px rgba(33,90,96,.08); }
.dashboard-card { min-height: 235px; }
.highlight-card { background: linear-gradient(145deg, #195660, #2d7980); }
.highlight-card .mini-label, .highlight-card h3, .highlight-card p { color: white; }
.card-icon { display: grid; width: 40px; height: 40px; margin-bottom: 25px; place-items: center; border-radius: 50%; background: rgba(121,183,180,.2); color: var(--sea-deep); font-size: 18px; }
.highlight-card .card-icon { background: rgba(255,255,255,.16); color: #fff; }
.dashboard-card p { color: var(--muted); font-size: 14px; }
.text-link { color: var(--sea); font-size: 13px; font-weight: 800; }
.copy-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.icon-button { padding: 7px 10px; font-size: 11px; }

.day-tabs { display: flex; gap: 10px; margin-bottom: 18px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day-tab { min-width: 138px; padding: 15px 16px; border: 1px solid rgba(20,76,87,.11); border-radius: 18px; background: rgba(255,255,255,.58); color: var(--sea-deep); text-align: left; transition: .2s ease; }
.day-tab strong, .day-tab small { display: block; }
.day-tab small { margin-bottom: 5px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.day-tab:hover, .day-tab.active { background: var(--sea-deep); color: white; transform: translateY(-2px); }
.day-tab.active small { color: rgba(255,255,255,.72); }
.day-panel { display: grid; grid-template-columns: .88fr 1.12fr; gap: 30px; padding: 30px; border-radius: var(--radius-lg); }
.day-intro { display: flex; min-height: 320px; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 22px; background: linear-gradient(155deg, rgba(20,76,87,.98), rgba(47,123,130,.86)); color: white; }
.day-intro h3 { max-width: 400px; color: white; font-family: Georgia, serif; font-size: 38px; font-weight: 500; letter-spacing: -.04em; }
.day-intro p, .day-intro .mini-label { color: rgba(255,255,255,.8); }
.day-goal { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 14px; }
.timeline { display: grid; align-content: center; gap: 16px; }
.timeline-item { display: grid; grid-template-columns: 86px 1fr; gap: 15px; align-items: start; }
.timeline-time { color: var(--sea); font-size: 13px; font-weight: 800; }
.timeline-copy { position: relative; padding-left: 18px; color: var(--ink); font-size: 14px; }
.timeline-copy::before { position: absolute; top: .38em; left: 0; width: 8px; height: 8px; border: 2px solid var(--sea); border-radius: 50%; content: ""; }

.flight-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.flight-card-header { display: flex; justify-content: space-between; gap: 14px; align-items: start; margin-bottom: 24px; }
.pill { border-radius: 999px; background: var(--sand); color: #8b6739; padding: 7px 10px; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.flight-leg { display: grid; grid-template-columns: 72px 1fr 72px; gap: 9px; align-items: center; }
.flight-leg div:last-child { text-align: right; }
.flight-leg strong, .flight-leg small { display: block; }
.flight-leg strong { color: var(--sea-deep); font-size: 25px; }
.flight-leg small { color: var(--muted); font-size: 12px; }
.route-line { position: relative; height: 1px; background: var(--line); text-align: center; }
.route-line::after { position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--sea); content: ""; }
.route-line span { position: relative; top: -18px; color: var(--sea); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.connection { margin: 24px 0; padding: 8px 10px; border-radius: 999px; background: var(--foam); color: var(--muted); font-size: 12px; text-align: center; }
.card-footnote { margin: 22px 0 0; color: var(--muted); font-size: 12px; }

.dining-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dining-card { display: flex; min-height: 300px; flex-direction: column; justify-content: space-between; }
.dining-card.open { background: linear-gradient(145deg, #fbf5e8, #fffdf7); }
.dining-date { color: var(--sea); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dining-meta { color: var(--muted); font-size: 14px; }
.dining-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.small-link { border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px; color: var(--sea-deep); font-size: 11px; font-weight: 800; }

.resort-section { background: linear-gradient(135deg, #194e58, #2e7c82); color: white; }
.resort-section h2, .resort-section .eyebrow { color: white; }
.resort-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.large-copy { max-width: 570px; color: rgba(255,255,255,.77); font-size: 20px; }
.resort-section .button.primary { color: var(--sea-deep); background: #fff; }
.resort-section .button.ghost { border-color: rgba(255,255,255,.24); color: #fff; background: rgba(255,255,255,.08); }
.amenity-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.amenity-cloud span { padding: 12px 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.88); font-size: 14px; }
.amenity-cloud span:nth-child(3n + 1) { transform: translateY(-5px); }
.amenity-cloud span:nth-child(4n) { transform: translateY(8px); }

.checklist-toolbar { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 18px; padding: 16px 18px; border-radius: var(--radius-md); }
.progress-track { height: 9px; overflow: hidden; border-radius: 999px; background: rgba(47,123,130,.13); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sea), var(--sea-soft)); transition: width .35s ease; }
.text-button { padding: 8px 11px; box-shadow: none; font-size: 12px; }
.checklist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.checklist-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.72); }
.checklist-card h3 { font-size: 18px; }
.check-item { display: flex; gap: 10px; align-items: start; margin-top: 11px; color: var(--muted); font-size: 13px; }
.check-item input { width: 17px; height: 17px; accent-color: var(--sea); flex: 0 0 auto; }
.check-item input:checked + span { color: #7d9397; text-decoration: line-through; }

.notes-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; }
.notes-card { padding: 16px; border-radius: var(--radius-md); }
textarea { width: 100%; min-height: 200px; resize: vertical; border: 0; outline: none; background: transparent; color: var(--ink); line-height: 1.5; }
textarea::placeholder { color: #91a4a7; }
.notes-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shortcut { display: flex; gap: 13px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.68); transition: .2s ease; }
.shortcut:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(33,90,96,.1); }
.shortcut span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--foam); color: var(--sea); font-size: 18px; }
.shortcut strong, .shortcut small { display: block; }
.shortcut small { color: var(--muted); }

footer { padding: 62px 0 calc(62px + env(safe-area-inset-bottom)); background: #143f48; color: white; }
footer h2, footer .eyebrow { color: white; }
.footer-content { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.back-top { color: rgba(255,255,255,.82); font-size: 13px; font-weight: 800; }
.toast { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 5; padding: 12px 14px; border-radius: 999px; background: #143f48; color: white; font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .dashboard-grid, .dining-grid { grid-template-columns: repeat(2, 1fr); }
  .day-panel, .resort-layout, .notes-layout { grid-template-columns: 1fr; }
  .links-grid, .checklist-grid { grid-template-columns: repeat(2, 1fr); }
  .day-intro { min-height: 250px; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 22px, 560px); }
  .hero { min-height: 735px; }
  .hero-content { padding-top: 108px; }
  .hero-copy { font-size: 17px; }
  .countdown-card { width: 100%; justify-content: space-between; gap: 10px; }
  .scroll-cue { display: none; }
  .section { padding: 68px 0; }
  .section-heading, .footer-content { display: block; }
  .section-note { font-size: 14px; }
  .dashboard-grid, .flight-columns, .dining-grid, .checklist-grid, .links-grid { grid-template-columns: 1fr; }
  .dashboard-card { min-height: auto; }
  .day-panel { gap: 14px; padding: 14px; }
  .day-intro { min-height: 220px; padding: 20px; }
  .day-intro h3 { font-size: 31px; }
  .timeline { padding: 8px 2px 6px; }
  .timeline-item { grid-template-columns: 75px 1fr; gap: 7px; }
  .checklist-toolbar { grid-template-columns: 1fr auto; }
  .progress-track { grid-column: 1 / -1; grid-row: 2; }
  .back-top { display: inline-block; margin-top: 18px; }
}
