/* Nine Months Dry: glossy cocktail-hour 3D on blush. Every section is a soft white card with big rounded corners, a
   glassy highlight along its top edge and a little glossy piece over its title; buttons are shiny pills, the vote is two
   candy-colored tiles, When & Where is a pink cocktail napkin with a stitched edge, the name ideas are pills, and the
   toasts are white napkins pinned with cocktail picks. Colors and fonts come from vars.css. */

body{background-size:600px}

/* the header melts into the bubbles below it instead of ending on a hard edge that cuts the balls in half */
.hero.painted.dry-hero{background:transparent; -webkit-mask-image:linear-gradient(#000 80%, transparent); mask-image:linear-gradient(#000 80%, transparent)}
.hero.painted.dry-hero::after{display:none}

/* ---------- header: the title over the arch, with the dark pill (wagonLine, a host may reword it) under it ---------- */
.dry-hero .dry-title{width:min(78vw, 340px); top:clamp(22px, 6svh, 60px); text-align:center; filter:none}
.dry-hero .dry-title img{filter:drop-shadow(0 6px 10px rgba(var(--shadow-rgb),.22))}
.dry-pill{display:inline-block; margin:12px 0 0; padding:9px 18px 8px; border-radius:999px; pointer-events:auto;
  background:var(--ink); color:var(--card); font:700 17px/1.25 var(--f-body); letter-spacing:.01em; text-wrap:balance;
  box-shadow:inset 0 1px 0 rgba(var(--card-rgb),.22), 0 8px 18px rgba(var(--shadow-rgb),.25)}
@media (min-width:900px){.dry-hero .dry-title{width:min(34vw, 440px)}}

/* ---------- sections: panes of glossy glass over the bubbles. The page shows through blurred and brighter, a bright
   rim catches the light along the top, a pink glow sits low inside, and a soft streak of shine crosses the top left,
   like the glass in the header. ---------- */
section{padding-block:22px 6px}
.card, .invite{border-radius:30px; border:1.5px solid rgba(var(--card-rgb),.95);
  background:linear-gradient(165deg, rgba(var(--card-rgb),.93) 0%, rgba(var(--card-rgb),.72) 40%, rgba(var(--card-rgb),.64) 64%, rgba(var(--card-rgb),.84) 100%);
  -webkit-backdrop-filter:blur(18px) saturate(1.4); backdrop-filter:blur(18px) saturate(1.4);
  box-shadow:inset 0 2px 1px rgba(var(--card-rgb),1), inset 0 -16px 30px -12px rgba(var(--girl-soft-rgb),.6),
    inset 12px 0 30px -20px rgba(var(--wash-rgb),.22), 0 20px 40px -16px rgba(var(--shadow-rgb),.35)}
.card{padding:30px max(18px, 5vw) 30px}
.card::before{inset:7px 42% auto 12px; height:34%; border:none; border-radius:24px 24px 70% 30%;
  background:linear-gradient(180deg, rgba(var(--card-rgb),.9), rgba(var(--card-rgb),0)); opacity:.6}
.sec-title{position:relative; font-size:clamp(38px, 10.6vw, 52px); line-height:1; letter-spacing:-.01em; color:var(--accent); margin-bottom:10px}
.sec-title::before{content:""; display:none; width:76px; height:76px; margin:-8px auto 4px; background:var(--gloss) no-repeat center / contain;
  filter:drop-shadow(0 8px 8px rgba(var(--shadow-rgb),.18))}
#rsvp{--gloss:url(../art/nav-details.webp)}
#poll{--gloss:url(../art/nav-poll.webp)}
#pool{--gloss:url(../art/nav-pool.webp)}
#suggest{--gloss:url(../art/nav-suggest.webp)}
#wishes{--gloss:url(../art/clink.webp)}
#quiz{--gloss:url(../art/cherries.webp)}
#match{--gloss:url(../art/baby-bottle.webp)}
:is(#rsvp, #poll, #pool, #suggest, #wishes, #quiz, #match) .sec-title::before{display:block}
.lede{color:var(--soft)}

/* the invitation: the same card, its names in the glossy script */
.invite{padding:30px max(18px, 5vw) 30px; margin-top:18px}
.honoree{color:var(--ink)}

/* the countdown: a blush pill inside the card, big cherry numbers */
.log{background:var(--paper); border:none; border-radius:24px; box-shadow:inset 0 2px 6px rgba(var(--shadow-rgb),.12)}
.log::before{display:none}
.count b{color:var(--accent)}
.count div{border-left-color:rgba(var(--ink-rgb),.14)}

/* ---------- buttons, boxes and chips: shiny pills ---------- */
.btn{border-radius:999px; border:2px solid rgba(var(--accent-rgb),.28); background:var(--field); letter-spacing:.08em}
.btn:hover{background:rgba(var(--girl-soft-rgb),.45)}
.btn.solid{background:var(--accent); border-color:var(--accent); color:var(--card);
  box-shadow:inset 0 2px 0 rgba(var(--card-rgb),.35), 0 8px 16px -6px rgba(var(--accent-rgb),.6)}
.btn.solid:hover{background:var(--ink)}
input[type=text], input[type=date], select, textarea{border-radius:16px}
.chip{border-radius:999px}

/* ---------- When & Where: a pink cocktail napkin with a stitched edge ---------- */
#details > .card{background:var(--girl-soft); -webkit-backdrop-filter:none; backdrop-filter:none; box-shadow:0 16px 34px -12px rgba(var(--shadow-rgb),.3)}
#details > .card::before{inset:9px; height:auto; border:2px dashed rgba(var(--card-rgb),.85); border-radius:22px; background:none; opacity:1}
#details .sec-title{color:var(--ink)}
#details .lede, #details .small{color:var(--ink)}
@media (min-width:900px){
  .col{max-width:700px}
  .detail-grid{grid-template-columns:1fr 1fr; gap:22px 40px}
  .detail-grid > .span{grid-column:auto}
}

/* ---------- the vote: two candy tiles, then the bar carts race ---------- */
.pick{border-radius:24px; border:none; min-height:96px; color:var(--card);
  box-shadow:inset 0 2px 0 rgba(var(--card-rgb),.4), 0 10px 18px -8px rgba(var(--shadow-rgb),.5)}
.pick.boy{background:var(--wash)}
.pick.girl{background:var(--girl)}
.pick.boy .script, .pick.girl .script, .pick.girl .caps, .pick .caps{color:var(--card)}
.pick .script{font-size:40px; line-height:1.05}
.pick.boy[aria-pressed=true], .pick.girl[aria-pressed=true]{outline:4px solid var(--leaf); outline-offset:3px}
.pick.boy[aria-pressed=true]{background:var(--wash)}
.pick.girl[aria-pressed=true]{background:var(--girl)}
.lane{border-bottom:2px dotted rgba(var(--ink-rgb),.2)}
:root{--racer-size:70px}

/* ---------- name ideas: each name a glossy pill ---------- */
.name-lists{background:var(--paper); border-radius:24px; padding:14px 12px}
.name-list li{background:var(--card); border:none; border-radius:999px; margin:0 0 8px; padding:8px 8px 8px 18px;
  box-shadow:inset 0 1px 0 rgba(var(--card-rgb),.9), 0 4px 10px -6px rgba(var(--shadow-rgb),.35)}
.name-list .nm{font-size:26px; overflow-wrap:break-word}

/* ---------- toasts: white napkins pinned with a cocktail pick ---------- */
.note{border-radius:6px; background-image:none; background-color:var(--card);
  box-shadow:0 10px 18px -10px rgba(var(--shadow-rgb),.45)}
.note .by{color:var(--accent)}

/* ---------- the footer ---------- */
.foot-line{color:var(--accent); font-size:clamp(28px, 8vw, 40px); line-height:1.15; overflow-wrap:anywhere}
