/* The Islander trip planner. The foundation is the free resource starter (docs/phone-standard.md) and the Utopia
   planner's look; the Islander's own colors are the sea, the sand, palm green and parrot coral.
   Phones get these base styles; wider screens only add columns, in the block at the end. */
:root {
  --navy: #081d3a; --deep: #0a3157; --sea: #0a9fb3; --aqua: #06ccd6; --yellow: #ffd300; --coral: #e8553a;
  --palm: #13895a; --sand: #fff6e3; --cloud: #f2f6f8; --ink: #10283f; --muted: #4f6476; --line: #dbe4eb;
  --shadow: 0 16px 44px rgba(8,29,58,.12); --radius: 22px;
}
* { 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; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 124px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }
p, h1, h2, h3, li, figcaption, label, span, b { overflow-wrap: anywhere; }

/* The review bar sits in the page, not over it (rule 6). */
.review-bar { display: grid; gap: 8px; padding: 10px 16px; color: var(--navy); background: #fff3b0; border-bottom: 1px solid #e8d36a; font-size: .92rem; }
.review-bar p { margin: 0; }
.review-actions { display: flex; flex-wrap: wrap; gap: 8px; }
body.show-new [data-new] { background: #fff09a; box-shadow: 0 0 0 2px #fff09a; border-radius: 4px; color: var(--navy); }
body.show-new .glass [data-new], body.show-new .save [data-new] { color: var(--navy); text-shadow: none; }

/* Header and trip bar stay put; every control is at least 44px (rule 5). */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 8px 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: 120px; }
.trip-bar { position: sticky; top: 64px; z-index: 29; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 16px; background: var(--navy); color: #fff; box-shadow: 0 6px 20px rgba(8,29,58,.18); }
.trip-line { flex: 1; min-width: 0; margin: 0; font-size: .82rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pdf-pill { flex: none; margin: 0; padding: 4px 10px; white-space: nowrap; color: var(--navy); background: var(--yellow); border-radius: 999px; font-size: .76rem; font-weight: 850; }
.pdf-pill.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 22px; color: #fff; background: var(--navy); border: 2px solid transparent; border-radius: 999px; font-weight: 850; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(8,29,58,.14); transition: transform .16s ease, opacity .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.button-small { min-height: 44px; padding: 8px 16px; font-size: .92rem; }
.button-yellow { color: var(--navy); background: var(--yellow); }
.button-navy { color: #fff; background: var(--navy); }
.button-line { color: var(--navy); background: #fff; border-color: var(--line); box-shadow: none; }
.button-ghost { color: var(--navy); background: #fff; border-color: #e8d36a; box-shadow: none; }
.button:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

section { padding: 40px 16px; }
.eyebrow { margin: 0 0 8px; color: var(--sea); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-light { color: var(--yellow); }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.1; color: var(--navy); letter-spacing: -.02em; }
h1 { font-size: 2.3rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.15rem; }
.q { margin-top: 28px; }
.lede { margin: 0 0 14px; color: var(--muted); }

/* The opening: the ship, and Amanda's first line. */
.hero { position: relative; padding: 0 0 20px; background: var(--navy); }
.hero-photo { display: block; width: 100%; height: 300px; object-fit: cover; object-position: 50% 60%; }
.hero-inner { position: relative; margin: -90px 12px 0; padding: 22px 18px; color: #fff; }
.glass { border-radius: 26px; background: linear-gradient(150deg, rgba(10,49,87,.92), rgba(8,29,58,.94)); border: 1.5px solid rgba(255,255,255,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 24px 60px rgba(0,0,0,.3); }
.hero h1 { color: #fff; }
.lede-light { margin: 0 0 14px; color: #e6eef5; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .88rem; font-weight: 750; }
.badges li { padding: 6px 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.from-amanda { display: flex; gap: 12px; align-items: center; margin: 0 0 18px; padding: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; }
.from-amanda img { flex: none; width: 58px; height: 58px; object-fit: cover; border: 3px solid var(--yellow); border-radius: 50%; }
.from-amanda figcaption { min-width: 0; font-size: .95rem; }
.from-label { display: block; color: var(--yellow); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.credit { margin: 8px 16px 0; color: #b9c8d6; font-size: .72rem; text-align: right; }

/* Choices: chips and option cards, 48px and up (rule 5). */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.chip { min-height: 48px; padding: 10px 18px; background: #fff; border: 2px solid var(--line); border-radius: 999px; font-weight: 750; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.chip:hover { border-color: var(--sea); }
.chip.on { color: #fff; background: var(--navy); border-color: var(--navy); }
.chip.on::before { content: "✓ "; color: var(--yellow); }
.options { display: grid; gap: 10px; margin-bottom: 8px; }
.option { display: grid; gap: 2px; min-height: 56px; padding: 12px 16px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 18px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.option b { color: var(--navy); }
.option span { color: var(--muted); font-size: .92rem; }
.option:hover { border-color: var(--sea); }
.option.on { background: var(--sand); border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.option.on b::before { content: "✓ "; color: var(--palm); }
.option[aria-disabled=true] { opacity: .5; }
.next { margin-top: 22px; }

.kids { margin: 18px 0 6px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.kid-list { display: grid; gap: 10px; margin-bottom: 12px; }
.kid { display: grid; gap: 6px; }
.kid-row { display: flex; gap: 10px; align-items: center; }
.kid-row select { flex: 1; min-width: 0; min-height: 48px; padding: 8px 12px; background: #fff; border: 2px solid var(--line); border-radius: 12px; }
.kid-row button { flex: none; min-width: 44px; min-height: 44px; background: #fff; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.club { margin: 0; padding: 8px 12px; background: #e9f8f2; border-radius: 12px; color: #0d4d33; font-size: .9rem; animation: rise .35s ease both; }
.club b { color: #0a3d28; }

/* The ports: a map band that never takes a swipe (rule 1), and cards that turn over. */
.map-band { position: relative; height: 260px; margin: 6px -16px 18px; background: #cfe9f0; overflow: hidden; }
.map { position: absolute; inset: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 20px; color: var(--muted); text-align: center; }
.pin { position: relative; width: 12px; height: 12px; pointer-events: none; }
.pin i { display: block; width: 12px; height: 12px; background: #fff; border: 3px solid var(--navy); border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .3s, background .3s; }
.pin span { position: absolute; padding: 1px 5px; color: var(--navy); background: rgba(255,255,255,.88); border-radius: 6px; font-size: .64rem; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.pin[data-side=right] span { left: 16px; top: -3px; }
.pin[data-side=left] span { right: 16px; top: -3px; }
.pin[data-side=above] span { bottom: 16px; left: 50%; transform: translateX(-50%); }
.pin[data-side=below] span { top: 16px; left: 50%; transform: translateX(-50%); }
.pin.on i { background: var(--coral); border-color: #fff; transform: scale(1.5); }
.pin.on span { color: #fff; background: var(--coral); }
.pin.home span { background: var(--yellow); }
.pin.fit i { background: var(--aqua); }
.pin.home i { background: var(--yellow); }
.pin.dim { opacity: .55; }
.pin.dim span { display: none; }
.lit { margin: 0 0 18px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); animation: rise .35s ease both; }
.lit h3 { margin-bottom: 8px; font-size: 1rem; }
.lit-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lit-list li { display: flex; gap: 10px; align-items: baseline; font-size: .92rem; }
.nights { flex: none; padding: 2px 9px; color: #fff; background: var(--sea); border-radius: 999px; font-size: .75rem; font-weight: 850; }
.port-grid { display: grid; gap: 14px; }
/* A card turns over by swapping faces with a quarter-turn, so each side is as tall as its own content (rule 2). */
.port { position: relative; perspective: 1400px; }
.face { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.port.turned .face { animation: turn .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes turn { from { opacity: .2; transform: rotateY(-80deg); } to { opacity: 1; transform: none; } }
.back { padding: 16px; }
.back .amanda-note { padding-right: 52px; }
.port.flipped .front, .port:not(.flipped) .back { display: none; }
.port-photo { position: relative; height: 170px; background: linear-gradient(135deg, var(--sea), var(--aqua)); }
.port-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.port-photo .ph { display: grid; place-items: center; height: 100%; color: #fff; font-size: 2.6rem; }
.port-photo small { position: absolute; right: 8px; bottom: 6px; padding: 1px 6px; color: #fff; background: rgba(0,0,0,.45); border-radius: 6px; font-size: .62rem; }
.port-body { display: grid; gap: 8px; padding: 14px 16px 16px; }
.port-body h3 { margin: 0; font-size: 1.3rem; }
.port-body h3 small { color: var(--muted); font-size: .85rem; font-weight: 650; letter-spacing: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.facts li { padding: 3px 10px; background: var(--cloud); border-radius: 999px; font-size: .8rem; font-weight: 700; }
.facts li.fit { color: #fff; background: var(--palm); }
.facts li.tender { color: #7a3a00; background: #ffe3c7; }
.port-actions { display: flex; gap: 10px; margin-top: 4px; }
.heart { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; color: var(--coral); background: #fff; border: 0; border-radius: 50%; box-shadow: 0 6px 16px rgba(0,0,0,.25); font-size: 1.5rem; cursor: pointer; transition: transform .2s; }
.heart[aria-pressed=true] { color: #fff; background: var(--coral); animation: pop .4s ease; }
@keyframes pop { 50% { transform: scale(1.25); } }
.back h4 { margin: 12px 0 6px; color: var(--navy); font-size: .95rem; }
.amanda-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.amanda-note img { flex: none; width: 40px; height: 40px; object-fit: cover; border: 2px solid var(--yellow); border-radius: 50%; }
.amanda-note p { min-width: 0; margin: 0; font-size: .95rem; }
.do-list { margin: 0; padding-left: 18px; font-size: .93rem; }
.do-list li { margin-bottom: 4px; }
.quote { margin: 10px 0 0; padding: 10px 12px; background: var(--sand); border-left: 4px solid var(--yellow); border-radius: 0 12px 12px 0; font-size: .92rem; }
.quote q { font-style: italic; }
.quote cite { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; font-style: normal; font-weight: 700; }

/* Must, Nice or Skip. */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.filter { min-height: 44px; padding: 8px 14px; background: #fff; border: 2px solid var(--line); border-radius: 999px; font-weight: 750; cursor: pointer; }
.filter.on { color: #fff; background: var(--sea); border-color: var(--sea); }
.must-count { margin: 0 0 10px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.space-list { display: grid; gap: 12px; }
.space { display: grid; gap: 10px; padding: 12px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background .2s; }
.space.must { border-color: var(--palm); background: #f2fbf7; }
.space.skip { opacity: .62; }
.space-top { display: flex; gap: 12px; align-items: flex-start; }
.space-top img { flex: none; width: 92px; height: 92px; object-fit: cover; border-radius: 14px; }
.space-text { min-width: 0; }
.space-text h4 { margin: 0 0 2px; color: var(--navy); font-size: 1.02rem; line-height: 1.2; }
.space-text p { margin: 0; color: var(--muted); font-size: .9rem; }
.tag { display: inline-block; margin: 4px 6px 0 0; padding: 1px 8px; background: var(--cloud); border-radius: 999px; font-size: .74rem; font-weight: 800; }
.tag.extra { color: #7a3a00; background: #ffe3c7; }
.tag.adult { color: #fff; background: var(--deep); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg button { min-height: 44px; background: var(--cloud); border: 2px solid transparent; border-radius: 12px; font-weight: 800; cursor: pointer; }
.seg button[aria-pressed=true][data-v=must] { color: #fff; background: var(--palm); }
.seg button[aria-pressed=true][data-v=nice] { color: var(--navy); background: var(--yellow); }
.seg button[aria-pressed=true][data-v=skip] { color: #fff; background: #6b7c8c; }

/* The plan. */
.plan { background: #fff; }
.trip-card { padding: 18px; color: #fff; background: linear-gradient(135deg, var(--deep), var(--navy)); border-radius: var(--radius); box-shadow: var(--shadow); animation: rise .5s ease both; }
.trip-card h3 { margin: 4px 0 8px; color: #fff; font-size: 1.5rem; }
.trip-intro { margin: 0; color: var(--yellow); font-weight: 800; }
.route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.route li { padding: 4px 10px; background: rgba(255,255,255,.14); border-radius: 999px; font-size: .85rem; font-weight: 750; animation: rise .4s ease both; }
.route li.sea { background: rgba(6,204,214,.25); }
.route li.arrow { padding: 0; background: none; opacity: .7; }
.block { margin-top: 24px; }
.why { margin: 0; padding-left: 20px; }
.why li { margin-bottom: 6px; }
.weigh { padding: 14px 16px; background: #fff4ec; border-left: 4px solid var(--coral); border-radius: 0 16px 16px 0; }
.weigh p { margin: 0; }
.days { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: d; }
.day { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px; background: var(--cloud); border-radius: 18px; animation: rise .45s ease both; }
.day-n { display: grid; place-items: center; align-content: center; height: 56px; color: #fff; background: var(--sea); border-radius: 14px; font-size: .7rem; font-weight: 800; line-height: 1.1; text-align: center; }
.day-n b { font-size: 1.2rem; }
.day.sea-day .day-n { background: var(--deep); }
.day.home .day-n { background: var(--yellow); color: var(--navy); }
.day h4 { margin: 0 0 2px; color: var(--navy); font-size: 1.02rem; }
.day p { margin: 0; color: var(--muted); font-size: .9rem; }
.day ul { margin: 6px 0 0; padding-left: 18px; font-size: .9rem; }
.slot { color: var(--sea); font-weight: 800; }
.guest-list { display: grid; gap: 10px; }
.also { padding: 14px 16px; border: 2px dashed var(--line); border-radius: 18px; }
.also h4 { margin: 0 0 4px; color: var(--navy); }
.also p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Dates: chips that wrap (rule 3), 44px each (rule 5). */
.dates { display: grid; gap: 12px; }
.month h4 { margin: 0 0 6px; color: var(--navy); font-size: .95rem; }
.date-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.date { min-height: 44px; padding: 8px 14px; background: #fff; border: 2px solid var(--line); border-radius: 12px; font-weight: 750; cursor: pointer; }
.date[aria-pressed=true] { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.date[aria-pressed=true]::before { content: "★ "; }
.fine { margin: 10px 0 0; color: var(--muted); font-size: .8rem; }
.day-date { margin-left: 6px; color: var(--sea); font-size: .85rem; font-weight: 800; }
.day h4 small { margin-left: 6px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.event { margin: 0 0 6px; color: var(--yellow); font-weight: 800; }
.back-best { margin-top: 14px; }
.alts { display: grid; gap: 12px; }
.alt { display: grid; gap: 6px; padding: 14px 16px; background: #fff; border: 2px solid var(--line); border-radius: 18px; }
.alt h4 { margin: 0; color: var(--navy); font-size: 1.05rem; }
.alt p { margin: 0; color: var(--muted); font-size: .9rem; }
.alt .alt-n { display: flex; gap: 8px; align-items: center; color: var(--palm); font-weight: 800; }
.alt .alt-why { color: var(--ink); }
.alt .button { justify-self: start; margin-top: 4px; }

/* The guide: what only the PDF has, side by side, and a peek at its pages. */
.compare { display: grid; gap: 8px; margin: 0 0 22px; }
.cmp-head { display: none; }
.cmp-row { display: grid; gap: 4px; padding: 12px 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; }
.cmp-row b { color: var(--yellow); }
.cmp-page { color: #a9bccd; font-size: .86rem; }
.cmp-page::before { content: "On this page: "; font-weight: 800; }
.cmp-pdf { color: #fff; }
.cmp-pdf::before { content: "In your guide: "; color: var(--yellow); font-weight: 800; }
.peek-title { margin: 0 0 10px; color: #fff; }
.peek-title small { color: #a9bccd; font-size: .8rem; font-weight: 700; }
.peek { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 0 -16px 18px; padding: 0 16px 6px; scrollbar-width: none; }
.peek-page { flex: 0 0 62%; min-width: 0; margin: 0; scroll-snap-align: start; }
.peek-frame { position: relative; width: 100%; height: 300px; overflow: hidden; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); pointer-events: none; }
.peek-frame::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(rgba(255,255,255,0), #fff 75%); }
.peek-scale { width: 560px; transform-origin: 0 0; }
.peek-scale .page { box-shadow: none; }
.peek-page figcaption { margin-top: 6px; color: #e6eef5; font-size: .85rem; font-weight: 700; }

/* The offer and the form: 50px fields and 44px choices (rule 5). */
.save { color: #fff; background: var(--navy); }
.save h2 { color: #fff; }
.save-inner { max-width: 640px; margin: 0 auto; }
.adds { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.adds li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; }
.adds li::before { content: "✓"; flex: none; color: var(--yellow); font-weight: 900; }
.adds li span { min-width: 0; }
.adds .count { margin-left: auto; flex: none; padding: 1px 8px; color: var(--navy); background: var(--yellow); border-radius: 999px; font-size: .74rem; font-weight: 850; }
.from-amanda-dark { background: rgba(255,255,255,.08); }
.save-form { display: grid; gap: 8px; margin-top: 8px; padding: 20px 16px; color: var(--ink); background: #fff; border-radius: 22px; }
.save-form label:not(.check) { margin-top: 6px; color: var(--navy); font-weight: 800; }
.save-form input:not([type=radio]) { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; }
.choice-set { min-width: 0; margin: 8px 0 0; padding: 4px 14px 10px; border: 1px solid var(--line); border-radius: 16px; }
.choice-set legend { padding: 0 6px; font-weight: 800; }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 10px 0; font-size: .95rem; }
.check input { margin-top: 4px; accent-color: var(--sea); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.privacy { margin: 4px 0 0; font-size: .85rem; }
.save-status { min-height: 1.2em; margin: 0; color: var(--deep); font-weight: 700; }
.site-footer { padding: 24px 16px 40px; color: var(--muted); background: var(--cloud); font-size: .88rem; }
.site-footer .fine { font-size: .78rem; }

/* The PDF preview opens on top of the page and locks it (rule 10); its overlay centres it (rule 4). */
.panel { position: fixed; inset: 0; z-index: 50; background: rgba(8,29,58,.6); }
.panel:not([hidden]) { display: flex; overflow-y: auto; overscroll-behavior: contain; padding: 12px; }
.panel-box { width: min(820px, 100%); margin: auto; background: #dfe6ec; border-radius: 22px; overflow: hidden; animation: popin .4s cubic-bezier(.2,.9,.3,1.2) both; }
.panel-head { position: sticky; top: 0; z-index: 2; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 14px; background: #fff3b0; }
.panel-head p { margin: 0; color: var(--navy); font-size: .9rem; }
body.locked { overflow: hidden; }
.pdf { display: grid; gap: 16px; padding: 16px; }
.page { padding: 28px 24px; color: #1b2b3a; background: #fff; border-radius: 6px; box-shadow: 0 6px 24px rgba(0,0,0,.15); font-size: .92rem; }
.page .kicker { margin: 0 0 6px; color: var(--sea); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.page h2 { font-size: 1.5rem; }
.page h3 { margin-top: 18px; font-size: 1.05rem; }
.page .cover { margin: -28px -24px 18px; padding: 26px 24px; color: #fff; background: linear-gradient(135deg, var(--deep), var(--navy)); }
.page .cover h2 { color: #fff; font-size: 1.8rem; }
.page .cover p { margin: 0; color: #e6eef5; }
.page img.wide { display: block; width: 100%; height: 180px; margin: 0 0 12px; object-fit: cover; border-radius: 10px; }
.page .pdf-quote { margin: 8px 0; padding: 8px 12px; background: var(--sand); border-left: 3px solid var(--yellow); }
.page .pdf-quote cite { display: block; color: var(--muted); font-size: .78rem; font-style: normal; font-weight: 700; }
.page ul { padding-left: 18px; }
.page .promise { padding: 16px; background: #fbf5e6; border-radius: 10px; }
.page .foot { margin-top: 18px; color: var(--muted); font-size: .74rem; }

.toast { position: fixed; top: 128px; left: 50%; z-index: 60; max-width: min(520px, 90vw); padding: 12px 18px; color: #fff; text-align: center; background: var(--navy); border-radius: 999px; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .2s; overflow-wrap: anywhere; }
.toast.show { opacity: 1; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes popin { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Wider screens add columns; the page must never need anything in here to work on a phone. */
@media (min-width: 700px) {
  .cmp-head { display: grid; grid-template-columns: 150px 1fr 2fr; gap: 12px; padding: 0 14px; color: #a9bccd; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
  .cmp-row { grid-template-columns: 150px 1fr 2fr; gap: 12px; align-items: start; }
  .cmp-page::before, .cmp-pdf::before { content: none; }
  .alts { grid-template-columns: repeat(2, 1fr); }
  .peek { margin: 0 0 18px; padding: 0 0 6px; }
  .peek-page { flex: 0 0 31%; }
  .port-grid { grid-template-columns: repeat(2, 1fr); }
  .space-list { grid-template-columns: repeat(2, 1fr); }
  .options { grid-template-columns: repeat(3, 1fr); }
  .options-kinds { grid-template-columns: repeat(2, 1fr); }
  .hero-photo { height: 420px; }
  .hero-inner { max-width: 640px; margin: -160px auto 0; padding: 28px; }
  .map-band { height: 340px; margin: 6px 0 18px; border-radius: var(--radius); }
}
@media (min-width: 1000px) {
  section { padding: 56px clamp(24px, 7vw, 110px); }
  .step, .plan { max-width: 1080px; margin: 0 auto; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  .port-grid { grid-template-columns: repeat(3, 1fr); }
  .toast { top: auto; bottom: 24px; }
}
