/* Lucky Ducky Cruise Co. — landing page draft (v2). Mobile-first. */
:root {
  --navy: #0F2A44;
  --ocean: #0B6E99;
  --coral: #FF6B4A;
  --coral-dark: #D9431F;
  --yellow: #FFD447;
  --sky: #7CC4E0;
  --white: #FFFFFF;
  --foam: #F3F9FC;
  --sand: #FFF8E6;
  --ink: #1D3448;
  --muted: #4A6175;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 42, 68, .12);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--ocean); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.punct { margin-left: -.12em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); margin-bottom: .6em; }
.eyebrow.on-dark { color: var(--yellow); }
.section { padding: 64px 0; }
.section-lede { color: var(--muted); max-width: 680px; font-size: 1.1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1rem; padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; min-height: 48px; white-space: nowrap; }
.btn-primary { background: var(--coral); color: var(--navy); box-shadow: 0 6px 16px rgba(255,107,74,.35); }
.btn-primary:hover { background: #FF8466; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 14px; min-height: 42px; font-size: .85rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.93); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid rgba(15,42,68,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-duck { width: 38px; height: 38px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-top { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.wm-sub { font-weight: 700; color: var(--ocean); font-size: .62rem; letter-spacing: .1em; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.wm-wave { width: 22px; height: 7px; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; }
.site-nav { display: none; }
.site-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--ocean); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #E9F6FB 0%, #D6EEF7 60%, #C4E6F3 100%); padding: 36px 0 90px; }
.hero-inner { display: grid; gap: 36px; align-items: center; }
.hl { color: var(--ocean); background: linear-gradient(transparent 70%, rgba(255,212,71,.75) 70%); padding: 0 .05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { font-size: 1.12rem; max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--navy); font-weight: 500; font-size: .95rem; }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 8px; vertical-align: middle; }

.hero-art { position: relative; min-height: 430px; display: flex; justify-content: center; align-items: flex-start; padding-top: 10px; }
.sun { position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, #FFE58A 0%, var(--yellow) 60%, rgba(255,212,71,0) 72%); top: -10px; right: 4%; opacity: .8; }
.phone { position: relative; width: 272px; background: var(--white); border-radius: 30px; padding: 14px 16px 16px; box-shadow: 0 24px 50px rgba(15,42,68,.22); border: 6px solid var(--navy); transform: rotate(2deg); }
.phone-bar { display: flex; justify-content: center; margin-bottom: 10px; }
.phone-bar span { width: 60px; height: 6px; border-radius: 6px; background: #D5E2EA; }
.phone-kicker, .mock-kicker { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 700; }
.phone-title { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.02rem; line-height: 1.25; margin: 2px 0 2px; }

.vote-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.vote-list li { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; border: 2px solid #E3EDF3; }
.vote-list li.voted { border-color: var(--coral); background: #FFF4F0; }
.vote-thumb { flex: none; width: 44px; height: 44px; border-radius: 10px; }
.vote-body { flex: 1; min-width: 0; }
.vote-row { display: flex; justify-content: space-between; font-size: .82rem; }
.vote-row b { color: var(--navy); }
.vote-row em { font-style: normal; color: var(--muted); font-weight: 700; }
.bar { display: block; height: 8px; border-radius: 8px; background: #E6EFF4; margin-top: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 8px; background: var(--ocean); }
.voted .bar span { background: var(--coral); }
.phone-foot { margin: 10px 0 0; font-size: .76rem; font-weight: 700; color: var(--navy); text-align: center; }
.tick { color: #17803F; }

/* style thumbnails reused by mocks */
.th-sunset { background: linear-gradient(180deg, #FFB36B 0 30%, var(--yellow) 30% 42%, #FF6B4A 42% 55%, var(--ocean) 55%); }
.th-nautical { background: radial-gradient(circle, transparent 0 26%, var(--white) 26% 42%, transparent 42%), repeating-linear-gradient(180deg, var(--navy) 0 6px, #1C4468 6px 12px); }
.th-tropical { background: radial-gradient(ellipse 60% 25% at 30% 35%, #1E7A55 98%, transparent), radial-gradient(ellipse 55% 22% at 70% 65%, #2A9466 98%, transparent), linear-gradient(160deg, var(--sky), #3FB5A0); }

.hero-duck { position: absolute; width: 100px; left: -4px; bottom: -6px; filter: drop-shadow(0 10px 14px rgba(15,42,68,.2)); }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; fill: var(--white); }

/* Group ordering */
.before-after { display: grid; gap: 14px; margin: 28px 0 22px; }
.ba-card { border-radius: var(--radius); padding: 22px 22px 18px; }
.ba-card ul { list-style: none; margin: 0; padding: 0; }
.ba-card li { position: relative; padding: 5px 0 5px 30px; }
.ba-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%; }
.before { background: #F2F4F6; color: var(--muted); }
.before h3 { color: var(--muted); }
.before li::before { background: #D3DAE0; }
.before li::after { content: ""; position: absolute; left: 5px; top: 18px; width: 8px; height: 2px; background: #7A8C9A; }
.after { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.after h3 { color: var(--yellow); }
.after li::before { background: var(--sky); }
.after li::after { content: ""; position: absolute; left: 6px; top: 13px; width: 5px; height: 9px; border: solid var(--navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.feature-pair { display: grid; gap: 18px; }
.feature { background: var(--foam); border-radius: var(--radius); padding: 18px 18px 6px; }
.feature p { color: var(--muted); }
.feature-art { background: var(--white); border-radius: 14px; padding: 14px; margin-bottom: 16px; min-height: 180px; box-shadow: 0 2px 10px rgba(15,42,68,.06); }
.tally { display: flex; justify-content: space-around; align-items: flex-end; height: 160px; margin-top: 8px; }
.tally-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; width: 30%; gap: 4px; }
.tally-shirt { width: 34px; height: 34px; border-radius: 8px; order: -2; }
.tally-bar { width: 100%; max-width: 70px; height: calc(var(--h) * .55); background: var(--ocean); border-radius: 10px 10px 4px 4px; order: -1; }
.tally-col:first-child .tally-bar { background: var(--coral); }
.tally-col b { font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; line-height: 1; }
.tally-col small { font-size: .74rem; color: var(--muted); text-align: center; line-height: 1.2; }

.field { display: block; border: 2px solid #DCE7EE; border-radius: 10px; padding: 4px 10px; font-weight: 700; color: var(--navy); font-size: .9rem; }
.field small { display: block; font-weight: 500; color: var(--muted); font-size: .68rem; }
.chip-ok { justify-self: start; background: #DDF3E6; color: #17663A; font-weight: 700; font-size: .78rem; border-radius: 999px; padding: 4px 10px; }


/* Styles + personalization */
.styles { background: var(--foam); }
.style-grid { list-style: none; padding: 0; margin: 26px 0 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.style-tile { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: transform .2s ease; height: 100%; }
.style-tile:hover { transform: translateY(-3px); }
.tile-art { aspect-ratio: 4 / 3; position: relative; overflow: hidden; display: grid; place-items: center; }
.tile-name { display: block; font-family: var(--font-head); font-weight: 800; color: var(--navy); padding: 10px 14px 0; }
.tile-desc { display: block; font-size: .85rem; color: var(--muted); padding: 0 14px 12px; }
.t-sunset .tile-art { background: linear-gradient(180deg, #FFB36B 0%, #FF6B4A 55%, #0B6E99 55%, #0F2A44 100%); }
.sunset-sun { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%; top: 22%; background: repeating-linear-gradient(180deg, var(--yellow) 0 12%, transparent 12% 16%); }
.sunset-sea { position: absolute; left: 0; right: 0; top: 55%; height: 4px; background: var(--yellow); opacity: .6; }
.t-nautical .tile-art { background: repeating-linear-gradient(180deg, var(--navy) 0 14px, #16395A 14px 28px); }
.ring { width: 40%; aspect-ratio: 1; border-radius: 50%; border: 14px solid; border-color: var(--white) #E8473A var(--white) #E8473A; }
.rope { position: absolute; bottom: 12%; left: 12%; right: 12%; height: 6px; border-radius: 6px; background: repeating-linear-gradient(90deg, #E9D6A8 0 8px, #C9AE73 8px 12px); }
.t-tropical .tile-art { background: linear-gradient(160deg, #7CC4E0 0%, #3FB5A0 100%); }
.leaf { position: absolute; width: 60%; height: 24%; background: #1E7A55; border-radius: 0 100% 0 100%; }
.l1 { top: 14%; left: -6%; transform: rotate(18deg); }
.l2 { top: 42%; right: -8%; transform: rotate(-160deg); background: #2A9466; }
.l3 { bottom: 8%; left: 18%; transform: rotate(-12deg); background: var(--yellow); width: 40%; height: 15%; }
.t-minimal .tile-art { background: var(--white); border-bottom: 1px solid #E6EEF3; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.min-line { font-family: var(--font-head); font-weight: 800; color: var(--navy); letter-spacing: .14em; font-size: clamp(.78rem, 2.4vw, 1rem); border-top: 3px solid var(--navy); border-bottom: 3px solid var(--navy); padding: 6px 4px; }
.min-sub { font-size: .6rem; letter-spacing: .12em; color: var(--ocean); font-weight: 700; }
.fineprint { font-size: .85rem; color: var(--muted); }
.personal { margin-top: 26px; background: var(--white); border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 2px 10px rgba(15,42,68,.06); }
.personal p { margin: 0 0 12px; }
.personal b { color: var(--navy); font-family: var(--font-head); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 2px solid var(--ocean); color: var(--ocean); font-weight: 700; border-radius: 999px; padding: 4px 14px; font-size: .92rem; }

/* Duck */
.duck { background: var(--navy); color: #E7F0F6; }
.duck h2, .duck h3 { color: var(--white); }
.duck-inner { display: grid; gap: 24px; align-items: center; }
.duck-img { width: 170px; margin: 0 auto; filter: drop-shadow(0 16px 24px rgba(0,0,0,.35)); }
.duck-cards { display: grid; gap: 14px; margin-top: 18px; }
.duck-card { background: rgba(255,255,255,.07); border: 1px solid rgba(124,196,224,.35); border-radius: var(--radius); padding: 18px 20px; }
.duck-card p { margin: 0; }
.duck-card.founding { border-color: var(--yellow); }
.duck-card.founding h3 { color: var(--yellow); }
.duck q { font-style: italic; }

/* FAQ */
.faq-list { margin-top: 20px; }
.faq details { border-bottom: 1px solid #DCE7EE; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.6rem; color: var(--coral-dark); font-weight: 600; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-right: 20px; }

/* Coming soon */
.final { background: linear-gradient(180deg, #E9F6FB, #C4E6F3); }
.final-duck { width: 100px; margin: 0 auto 10px; }
.badge { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 4px 14px; margin-bottom: 14px; }
.final p { max-width: 560px; margin-left: auto; margin-right: auto; }
.final .btn { margin-top: 8px; }

/* Footer */
.site-footer { background: var(--navy); color: #C9D8E3; padding: 40px 0 90px; }
.footer-inner { display: grid; gap: 18px; justify-items: start; }
.footer-logo { width: 280px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-meta { font-size: .88rem; margin: 0; }

/* Corner mascot (static) */
.corner-duck { position: fixed; right: 14px; bottom: 14px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--white); box-shadow: 0 8px 20px rgba(15,42,68,.25); display: grid; place-items: center; border: 3px solid var(--sky); }
.corner-duck img { width: 48px; height: 48px; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .before-after, .feature-pair, .duck-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .site-nav { display: block; }
  .header-inner { height: 76px; gap: 16px; }
  .brand-duck { width: 50px; height: 50px; }
  .wm-top { font-size: 1.5rem; }
  .wm-sub { font-size: .72rem; }
  .btn-sm { padding: 10px 16px; font-size: .9rem; }
  .section { padding: 84px 0; }
  .hero { padding: 56px 0 110px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero-art { min-height: 470px; }
  .phone { width: 290px; }

  .hero-duck { width: 150px; left: -10px; bottom: 0; }
  .style-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .personal { display: flex; align-items: center; gap: 24px; }
  .personal p { margin: 0; flex: 1; }
  .duck-inner { grid-template-columns: 260px 1fr; gap: 56px; }
  .duck-img { width: 250px; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .site-footer nav { justify-self: end; }
  .footer-meta { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 40px; }
  .corner-duck { width: 72px; height: 72px; }
  .corner-duck img { width: 58px; height: 58px; }
  .min-sub { letter-spacing: .2em; font-size: .68rem; }
}
@media (max-width: 360px) {
  .wm-top { font-size: 1rem; }
  .brand-duck { width: 32px; height: 32px; }
  .btn-sm { padding: 8px 10px; font-size: .78rem; }
  .phone { width: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Tally ordering */
.tally-col b { order: 1; }
.tally-bar { order: 2; }
.tally-shirt { order: 3; width: 28px; height: 28px; margin-top: 4px; }
.tally-col small { order: 4; }

/* ---------- v3 hero: names & sizes (front) + group vote (behind) ---------- */
.hero-art { position: relative; display: block; width: 100%; max-width: 360px; margin: 0 auto; min-height: 600px; padding: 0; }

.sun { top: -20px; right: -30px; width: 200px; height: 200px; }

.vote-card {
  position: absolute; z-index: 1; top: 0; right: 0; width: 230px;
  background: var(--white); border-radius: 20px; padding: 12px 14px 12px;
  box-shadow: 0 14px 30px rgba(15,42,68,.18); border: 2px solid #D9E8F0;
  transform: rotate(5deg); transform-origin: top right;
}
.vc-title { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: .95rem; margin: 2px 0 8px; }
.vote-card .vote-list { gap: 6px; }
.vote-card .vote-list li { padding: 6px; border-radius: 12px; }
.vote-card .vote-thumb { width: 32px; height: 32px; border-radius: 8px; }
.vote-card .vote-row { font-size: .78rem; }
.vote-card .vote-row em::after { content: " votes"; font-weight: 500; }
.vote-card .bar { height: 6px; margin-top: 4px; }
.vote-card .phone-foot { font-size: .7rem; margin-top: 8px; }

.phone {
  position: absolute; z-index: 2; left: 0; top: 150px; margin: 0; width: 280px;
  transform: rotate(-2deg); padding: 12px 16px 14px;
}
.phone-title { margin-bottom: 8px; }

.hero-duck { position: absolute; z-index: 3; width: 96px; right: -4px; left: auto; bottom: 0; }

@media (min-width: 900px) {
  .hero-art { max-width: 520px; min-height: 560px; margin: 0 0 0 auto; }
  .sun { top: -30px; right: -20px; width: 240px; height: 240px; }
  .vote-card { width: 260px; top: 10px; right: 10px; transform: rotate(6deg); }
  .vote-card .vote-row { font-size: .82rem; }
  .phone { width: 310px; left: 20px; top: 70px; transform: rotate(-3deg); }
  .phone-title { font-size: 1.08rem; }

  .hero-duck { width: 140px; right: 10px; bottom: 10px; }
}
@media (max-width: 360px) {
  .hero-art { max-width: 300px; }
  .phone { width: 260px; }
  .vote-card { width: 210px; }
}
@media (min-width: 900px) {
  .hero-art { max-width: 560px; margin-right: -20px; }
  .phone { left: 0; top: 80px; }
  .vote-card { right: 0; top: 0; width: 250px; }
}
@media (max-width: 899px) {
  .hero-art { min-height: 640px; }
  .phone { top: 190px; }
}

/* ---------- v4: mobile-first screen (visual first, one CTA, hamburger) ---------- */
.menu-btn, .menu-fallback, .m-only { display: none; }

/* Cheap, reduced-motion-safe touches (the global reduced-motion rule disables these) */
.bar span { animation: bar-fill .9s ease-out .35s both; }
@keyframes bar-fill { from { width: 0; } }
.pop { display: inline-block; animation: pop .35s ease-out 1.1s both; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }

@media (max-width: 899px) {
  /* Header: logo + menu only */
  .header-inner { height: 60px; }
  .header-cta { display: none; }
  .menu-fallback { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--navy); border-radius: 999px; color: var(--navy); font-weight: 700; text-decoration: none; }
  .js .menu-fallback { display: none; }
  .js .menu-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: -6px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; color: var(--navy); }
  .menu-icon { display: grid; gap: 5px; width: 24px; }
  .menu-icon span { display: block; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .js .site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); box-shadow: 0 16px 30px rgba(15,42,68,.18); border-top: 1px solid rgba(15,42,68,.08); }
  .site-nav.open ul { flex-direction: column; gap: 0; padding: 6px 0 10px; }
  .site-nav.open a { display: block; padding: 14px 24px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; border-bottom: 1px solid #EEF3F6; }
  .site-nav.open li:last-child a { border-bottom: 0; }

  /* Hero: headline -> one line -> mock -> chips -> one CTA */
  .hero { padding: 14px 0 40px; }
  .wave { height: 32px; }
  .hero-inner { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero .eyebrow, .hero-ghost, .d-only { display: none; }
  .hero .lede { order: 2; text-align: center; color: var(--navy); font-size: .98rem; line-height: 1.45; margin: 0 auto 12px; max-width: 360px; text-wrap: balance; }
  .m-only { display: inline; }
  .hero h1 { order: 1; font-size: clamp(1.55rem, 7.2vw, 2rem); line-height: 1.12; margin: 0 0 6px; text-align: center; }
  .hero-art { order: 3; }
  .hero-points { order: 4; justify-content: center; gap: 6px; margin: 8px 0 0; font-size: .8rem; }
  .hero-points li { background: rgba(255,255,255,.85); border-radius: 999px; padding: 3px 10px 3px 8px; font-weight: 700; }
  .hero-points li::before { content: "\2713"; width: auto; height: auto; background: none; color: #17803F; margin-right: 4px; }
  .cta-row { order: 5; margin: 12px 0 0; }
  .hero-cta { width: 100%; min-height: 54px; font-size: 1.08rem; }

  /* Mock, sized to fit the first screen */
  .hero-art { width: 100%; max-width: 350px; height: 404px; min-height: 0; margin: 0 auto; }
  .sun { width: 170px; height: 170px; top: -16px; right: -36px; }
  .vote-card { width: 206px; top: 6px; right: 2px; padding: 10px 12px; transform: rotate(5deg); }
  .vc-title { font-size: .92rem; margin: 0 0 6px; }
  .vote-card .vote-list { gap: 5px; }
  .vote-card .vote-list li { padding: 5px 7px; gap: 8px; }
  .vote-card .vote-thumb { width: 28px; height: 28px; }
  .vote-card .vote-row { font-size: .8rem; }
  .vote-card .phone-foot { font-size: .72rem; margin-top: 6px; }
  .phone-kicker { font-size: .7rem; }
  .phone { width: 252px; left: 0; top: 178px; padding: 8px 12px 12px; border-width: 5px; border-radius: 26px; transform: rotate(-2deg); }
  .phone-bar { margin-bottom: 6px; }
  .phone .phone-title { display: none; }
  .phone .phone-kicker { margin-bottom: 6px; }

  .hero-duck { width: 74px; right: 0; bottom: 0; }


  /* Tighter mobile sections */
  .section { padding: 48px 0; }
  .section-lede { font-size: 1rem; }
  .duck-img { width: 130px; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .hero { padding-top: 10px; }
  .hero-points { display: none; }
  .hero-art { height: 384px; }
  .phone { top: 166px; }
}
@media (max-width: 359px) {
  .vote-card { width: 190px; }
  .phone { width: 238px; }
}
@media (max-width: 899px) {
  .hero-inner { align-items: stretch; }
  .hero h1 { text-wrap: balance; }
  .vote-card { width: 224px; }
  .vote-card .vote-row { white-space: nowrap; gap: 6px; }
  .vote-card .vote-thumb { width: 26px; height: 26px; }
  .vote-card .phone-foot { display: none; }
  .hero-art { height: 420px; }
  .phone { top: 194px; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .hero-art { height: 404px; }
  .phone { top: 180px; }
}
@media (max-width: 359px) {
  .vote-card { width: 208px; }
  .vote-card .vote-row { font-size: .74rem; }
}
/* v5: front card overlaps the vote card more (Tropical tucked behind), button pulled up */
@media (max-width: 899px) {
  .hero { padding-top: 8px; }
  .hero h1 { margin-bottom: 4px; }
  .vote-card { top: 2px; }
  .hero-art { height: 372px; }
  .phone { top: 146px; }
  .hero-duck { width: 70px; bottom: 6px; }
  .hero-points { margin-top: 10px; }
  .cta-row { margin-top: 12px; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .hero-points { display: flex; }
  .hero-art { height: 364px; }
  .phone { top: 142px; }
}
@media (max-width: 899px) {
  .hero-points { flex-wrap: nowrap; gap: 5px; font-size: .76rem; }
  .hero-points li { padding: 3px 9px 3px 7px; white-space: nowrap; }
  .hero-points li::before { margin-right: 3px; }
}
@media (max-width: 359px) { .hero-points { flex-wrap: wrap; } }
/* v6: breathing room around the card stack (measured on rotated bounding boxes) */
@media (max-width: 899px) {
  .vote-card { top: 22px; transform: rotate(3deg); }
  .phone .phone-bar { display: none; }
  .phone { top: 162px; padding-top: 12px; }

  .hero-art { height: 372px; }
  .hero-points { margin-top: 0; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .hero-art { height: 372px; }
  .phone { top: 162px; }
}
@media (max-width: 899px) {
  .phone { top: 154px; }
  .hero-art { height: 398px; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .phone { top: 154px; }
  .hero-art { height: 398px; }
}
@media (max-width: 359px) { .hero-art { height: 414px; } }
@media (max-width: 899px) {
  .hero-art { height: 392px; }
  .hero-duck { bottom: 24px; }
}
@media (max-width: 899px) and (max-height: 760px) { .hero-art { height: 392px; } }
@media (max-width: 359px) { .hero-art { height: 408px; } }
@media (max-width: 899px) { .hero-art { height: 398px; } }
@media (max-width: 899px) and (max-height: 760px) { .hero-art { height: 398px; } }
@media (max-width: 359px) { .hero-art { height: 414px; } }

/* ---------- v7: front card = customer "add your family" form (static mock) ---------- */
.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.form-head b { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: .95rem; }
.form-head span { font-size: .72rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.added { list-style: none; padding: 0; margin: 0 0 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.added li { font-size: .72rem; font-weight: 700; color: var(--navy); background: #EAF6EF; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.add-form { display: flex; gap: 10px; align-items: center; border: 2px solid #E3EDF3; border-radius: 14px; padding: 8px; }
.af-shirt { position: relative; flex: none; color: var(--ocean); background: var(--foam); border-radius: 10px; padding: 3px; }
.af-shirt svg { width: 74px; height: 68px; display: block; }
.af-shirt span { position: absolute; left: 0; right: 0; bottom: 15px; text-align: center; color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: .7rem; letter-spacing: .12em; }
.af-fields { flex: 1; min-width: 0; display: grid; gap: 6px; }
.af-fields .field { position: relative; font-size: .88rem; padding: 3px 9px 4px; line-height: 1.3; }
.af-fields .field small { font-size: .7rem; }
.field-focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(11,110,153,.18); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--ocean); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chev { position: absolute; right: 9px; bottom: 5px; font-style: normal; color: var(--muted); font-size: .8rem; }
.size-picker { display: grid; gap: 6px; margin-top: 8px; }
.seg { display: flex; background: #EEF4F8; border-radius: 10px; padding: 3px; }
.seg i { flex: 1; text-align: center; font-style: normal; font-size: .76rem; font-weight: 700; color: var(--muted); padding: 4px 0; border-radius: 8px; }
.seg i.on { background: var(--white); color: var(--navy); box-shadow: 0 1px 4px rgba(15,42,68,.15); }
.sizes { display: flex; gap: 5px; }
.sizes i { flex: 1; text-align: center; font-style: normal; font-size: .76rem; font-weight: 700; color: var(--navy); border: 2px solid #DCE7EE; border-radius: 8px; padding: 3px 0; }
.sizes i.on { border-color: var(--coral); background: #FFF4F0; }
.af-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.af-foot .chip-ok { font-size: .76rem; white-space: nowrap; }
.fake-btn { display: inline-block; background: var(--coral); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: .85rem; border-radius: 999px; padding: 7px 16px; box-shadow: 0 4px 10px rgba(255,107,74,.3); white-space: nowrap; }
.fake-btn.sm { font-size: .74rem; padding: 4px 12px; box-shadow: none; }
/* Desktop shows the size picker; mobile shows the compact select */
.field-select { display: none !important; }

/* Organizer "who's in" mock (group section) */
.whos-in { margin-top: 10px; }
.wi-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; }
.wi-head b { font-family: var(--font-head); color: var(--navy); font-size: 1rem; }
.wi-head span { font-size: .8rem; color: var(--muted); font-weight: 700; }
.whos-in ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.whos-in li { display: flex; align-items: center; gap: 8px; border: 2px solid #E3EDF3; border-radius: 12px; padding: 7px 10px; font-size: .9rem; }
.whos-in li b { color: var(--navy); flex: 1; }
.wi-ok { color: #17663A; font-weight: 700; font-size: .82rem; }
.wi-pending { background: #FFF0C2; color: #7A5A00; font-weight: 700; font-size: .74rem; border-radius: 999px; padding: 2px 8px; }
.whos-in li.wi-wait { border-style: dashed; }

@media (min-width: 900px) {
  .phone { width: 318px; }
  .phone-title { margin-bottom: 10px; }
  .af-shirt svg { width: 86px; height: 79px; }
  .af-shirt span { bottom: 17px; }
}
@media (max-width: 899px) {
  .phone .phone-title, .size-picker { display: none; }
  .field-select { display: block !important; }
  .phone { width: 262px; }
  .form-head { margin-bottom: 4px; }
  .added { margin-bottom: 6px; }
  .add-form { padding: 6px; gap: 8px; }
  .af-shirt svg { width: 66px; height: 61px; }
  .af-shirt span { bottom: 13px; }
  .af-fields .field { font-size: .82rem; padding: 2px 8px 3px; }
  .af-foot { margin-top: 8px; }
  .fake-btn { padding: 6px 14px; font-size: .8rem; }
}
@media (max-width: 359px) { .phone { width: 246px; } }
@media (max-width: 899px) {
  .phone .added { display: none; }
  .form-head { margin-bottom: 6px; }
}
@media (max-width: 899px) {
  .phone { top: 146px; }
  .add-form { padding: 5px; }
  .af-foot { margin-top: 7px; }
}

/* ---------- v9: Lucky Ducky help button (corner duck) ---------- */
/* Hidden on every viewport until the hero duck leaves the screen (html.duck-out, set in menu.js).
   Without JS it stays hidden. html.duck-dodge tucks it away while it would cover a button. */
.corner-duck {
  right: max(14px, calc(env(safe-area-inset-right) + 10px));
  bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px));
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(70px, 40px) rotate(14deg) scale(.7);
  transition: opacity .3s ease, transform .35s ease, visibility 0s linear .35s, box-shadow .2s ease, border-color .2s ease;
}
.corner-duck::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 3px solid var(--sky); opacity: 0; pointer-events: none; }
html.duck-out:not(.duck-dodge) .corner-duck {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .3s ease, transform .35s ease, visibility 0s, box-shadow .2s ease, border-color .2s ease;
  animation: duck-swim-in .75s cubic-bezier(.3,1.3,.5,1) both;
}
html.duck-out:not(.duck-dodge) .corner-duck::before { animation: duck-splash .9s ease-out .35s both; }
html.duck-out:not(.duck-dodge) .corner-duck:hover,
html.duck-out:not(.duck-dodge) .corner-duck:focus-visible { transform: translateY(-3px) scale(1.06); border-color: var(--coral); box-shadow: 0 12px 26px rgba(15,42,68,.32); }
.corner-duck:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
@keyframes duck-swim-in {
  0% { opacity: 0; transform: translate(80px, 46px) rotate(16deg) scale(.7); }
  55% { opacity: 1; transform: translate(-6px, -8px) rotate(-7deg) scale(1.06); }
  78% { transform: translate(0, 3px) rotate(3deg) scale(.98); }
  100% { opacity: 1; transform: none; }
}
@keyframes duck-splash {
  0% { opacity: .8; transform: scale(.85); }
  100% { opacity: 0; transform: scale(1.55); }
}
.duck-hint {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translate(8px, -50%); opacity: 0; visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  background: var(--white); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: .85rem;
  padding: 7px 12px; border-radius: 14px; white-space: nowrap; box-shadow: 0 6px 16px rgba(15,42,68,.2); pointer-events: none;
}
.duck-hint::after { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-right: 0; border-left-color: var(--white); }
html.duck-out.duck-hint-on:not(.duck-dodge) .duck-hint,
html.duck-out:not(.duck-dodge) .corner-duck:focus-visible .duck-hint { opacity: 1; visibility: visible; transform: translate(0, -50%); transition: opacity .3s ease, transform .3s ease, visibility 0s; }
@media (hover: hover) {
  html.duck-out:not(.duck-dodge) .corner-duck:hover .duck-hint { opacity: 1; visibility: visible; transform: translate(0, -50%); transition: opacity .3s ease, transform .3s ease, visibility 0s; }
}
#faq-title:focus:not(:focus-visible) { outline: none; }
.hero-duck { transition: opacity .4s ease, transform .4s ease; }
html.js .hero-duck.leaving { opacity: .35; transform: translateY(12px) scale(.96); }
@media (min-width: 900px) {
  .corner-duck { right: max(22px, calc(env(safe-area-inset-right) + 14px)); bottom: max(22px, calc(env(safe-area-inset-bottom) + 14px)); }
}
@media (max-width: 899px) {
  .corner-duck { width: 58px; height: 58px; }
  .corner-duck img { width: 46px; height: 46px; }
  .duck-hint { font-size: .75rem; padding: 5px 9px; right: calc(100% + 9px); }
}

/* ---------- v10: hero text link + three-step "How it works" ---------- */
.cta-row { align-items: center; }
.text-link { font-family: var(--font-head); font-weight: 700; color: var(--ocean); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; padding: 10px 6px; }
.text-link:hover { color: var(--navy); }
.text-link:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
.how { padding-bottom: 24px; }
.how h2 { margin-bottom: 28px; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.how-step { background: var(--foam); border-radius: var(--radius); padding: 26px 24px 24px; text-align: center; }
.how-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; margin-bottom: 14px; }
.how-icon svg { width: 42px; height: 42px; }
.i-design { background: var(--coral); color: var(--white); }
.i-share { background: var(--sky); color: var(--navy); }
.i-sail { background: var(--yellow); color: var(--navy); }
.how-num { display: block; font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); margin-bottom: 4px; }
.how-step h3 { font-size: 1.2rem; margin: 0 0 6px; color: var(--navy); }
.how-step p { margin: 0 auto; color: var(--muted); max-width: 280px; }
@media (max-width: 899px) {
  .how { padding: 40px 0 8px; }
  .how h2 { margin-bottom: 18px; }
  .how-steps { grid-template-columns: 1fr; gap: 12px; }
  .how-step { display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 14px 16px; }
  .how-icon { grid-row: 1 / span 3; width: 60px; height: 60px; margin: 0; }
  .how-icon svg { width: 34px; height: 34px; }
  .how-num { margin: 0; font-size: .7rem; }
  .how-step h3 { font-size: 1.05rem; margin: 0 0 2px; }
  .how-step p { margin: 0; max-width: none; font-size: .95rem; line-height: 1.4; }
}
/* v10: longer subhead on mobile, so the card stack shrinks slightly to keep the CTA in the first screen */
@media (max-width: 899px) {
  .hero-art { zoom: .9; }
  .hero .lede { margin-bottom: 10px; }
}

/* v13: mascot ducks act out each step; natural proportions, no backdrop circles */
.how-icon { display: flex; align-items: flex-end; justify-content: center; width: auto; height: 172px; margin: 4px 0 14px; background: none; border-radius: 0; }
.how-icon img { position: static; transform: none; height: 172px; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(15,42,68,.14)); }
.i-design, .i-share, .i-sail { background: none; }
@media (max-width: 899px) {
  .how-step { grid-template-columns: 84px 1fr; column-gap: 14px; }
  .how-icon { width: 84px; height: 104px; margin: 0; align-self: center; }
  .how-step { grid-template-rows: 1fr auto auto auto 1fr; }
  .how-step .how-icon { grid-row: 1 / -1; grid-column: 1; }
  .how-step .how-num { grid-row: 2; grid-column: 2; }
  .how-step h3 { grid-row: 3; grid-column: 2; }
  .how-step p { grid-row: 4; grid-column: 2; }
  .how-icon img { height: 104px; width: auto; max-width: 84px; }
}
