/* =========================================================
   DigiInvite · "Golden Hour" (sunset beach wedding)
   sand + shell + sunset coral + gold, a sea-blue accent, a night footer.
   Gilda Display (headings) · Jost (text) · Parisienne (names)
   ========================================================= */
:root{
  --sand:#F7EFE4; --shell:#FFFAF3; --coral:#D9785F; --coral-d:#B4573F; --gold:#C99A5B;
  --sea:#2E5E70; --night:#1C2640; --ink:#33291F; --soft:#6E6052; --line:rgba(110,80,50,.18);
  --head:'Gilda Display', Georgia, serif; --sans:'Jost', system-ui, sans-serif; --script:'Parisienne', cursive;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{ overflow-x:clip; }
body{ margin:0; background: var(--sand); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.gate-locked{ overflow:hidden; }
img{ max-width:100%; display:block; }
h1, h2, h3{ font-weight: 400; margin: 0; }
.caps{ font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--coral-d); margin: 0; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap: 8px; font-family: var(--sans); font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration:none; padding: 14px 26px; border-radius: 999px; cursor:pointer; border: 1px solid transparent; transition: transform .2s ease, background .25s ease, color .25s ease; }
.btn:hover{ transform: translateY(-1px); }
.btn-sun{ background: linear-gradient(135deg, #E58E6F, #D06A50); color: #fff; box-shadow: 0 10px 22px -12px rgba(180,87,63,.9); }
.btn-line{ background: transparent; color: var(--coral-d); border-color: rgba(180,87,63,.45); }
.btn-line:hover{ background: var(--shell); }
.btn-sm{ padding: 10px 18px; font-size: .7rem; }
.btn-block{ width:100%; }
.btn svg{ width: 16px; height: 16px; }

/* =========================================================
   GATE — tap to begin
   ========================================================= */
#gate{ position:fixed; inset:0; z-index: 100; display:flex; align-items:center; justify-content:center; padding: 20px;
  background: linear-gradient(180deg, rgba(40,24,14,.35), rgba(40,24,14,.65)), url(media/aisle-portrait-first.jpg?v=2) center / cover no-repeat; transition: opacity .9s ease, visibility .9s ease; }
@media (min-aspect-ratio: 1/1){ #gate{ background-image: linear-gradient(180deg, rgba(40,24,14,.35), rgba(40,24,14,.65)), url(media/aisle-landscape-first.jpg?v=2); } }
#gate.is-open{ opacity: 0; visibility: hidden; }
#gate.is-hidden{ display:none; }
.gate-card{ position:relative; width: min(400px, 100%); background: var(--shell); text-align:center; padding: 64px 30px 30px; border-radius: 200px 200px 12px 12px; box-shadow: 0 30px 60px -26px rgba(0,0,0,.6); overflow:hidden; }
.gate-card::before{ content:''; position:absolute; left:50%; top: -64px; width: 168px; height: 168px; margin-left: -84px; border-radius: 50%; background: radial-gradient(circle, #F7C38B 0%, #EE9A6E 45%, rgba(238,154,110,0) 70%); opacity: .85; }
.gate-card > *{ position:relative; }
.g-cap{ font-weight: 500; font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--coral-d); margin: 18px 0 6px; }
.g-dear{ font-family: var(--script); font-size: 2.7rem; line-height: 1.1; margin: 0; }
.g-line{ color: var(--soft); margin: 10px 0 22px; }
.g-play{ display:inline-flex; flex-direction:column; align-items:center; gap: 10px; border:0; background:none; cursor:pointer; font-family: var(--sans); font-weight: 500; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.g-ring{ width: 76px; height: 76px; border-radius: 50%; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, #E58E6F, #CF6A4F); box-shadow: 0 0 0 0 rgba(217,120,95,.55); animation: ring 2s ease-out infinite; }
.g-ring svg{ width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
@keyframes ring{ 0%{ box-shadow: 0 0 0 0 rgba(217,120,95,.55); } 100%{ box-shadow: 0 0 0 22px rgba(217,120,95,0); } }
.g-sound{ display:flex; align-items:center; justify-content:center; gap: 6px; font-size: .82rem; color: var(--soft); margin: 18px 0 0; }
.g-sound svg{ width: 16px; height: 16px; }

/* =========================================================
   THE FILM
   ========================================================= */
.film{ position:relative; height: 100vh; height: 100svh; background: #2B1D14; overflow:hidden; color: #fff; }
#film{ position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
/* the film's last frame as a still, laid on top once it finishes (or is skipped), so it ends the same everywhere */
.film-last{ position:absolute; inset:0; width:100%; height:100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; pointer-events:none; }
.film.is-done .film-last{ opacity: 1; }
.film-shade{ position:absolute; inset:0; pointer-events:none; opacity: 0; transition: opacity 1.4s ease;
  background: linear-gradient(180deg, rgba(42,22,10,.55) 0%, rgba(42,22,10,.15) 38%, rgba(42,22,10,0) 55%, rgba(42,22,10,.45) 100%); }
.film-names{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content:space-between; align-items:center; text-align:center; padding: 10vh 20px 4vh; pointer-events:none; }
.film-names > div{ opacity: 0; transform: translateY(18px); transition: opacity 1.4s ease, transform 1.4s cubic-bezier(.2,.7,.2,1); }
.fn-bottom{ transition-delay: .5s !important; pointer-events:auto; }
.film.is-done .film-shade, .film.is-landing .film-shade{ opacity: 1; }
.film.is-done .film-names > div, .film.is-landing .film-names > div{ opacity: 1; transform:none; }
.film-names .caps{ color: #FCE3C8; }
.film-names h1{ font-family: var(--script); font-size: clamp(3.4rem, 10vw, 6.6rem); line-height: 1.05; margin: 8px 0 4px; text-shadow: 0 2px 24px rgba(60,25,5,.45); }
.film-names h1 em{ font-style: normal; color: #F7C38B; margin: 0 .2em; }
.film-names .sub{ font-style: italic; font-size: 1.1rem; margin: 0; }
.film-names .when{ font-family: var(--head); font-size: 1.15rem; letter-spacing: .06em; margin: 8px 0 0; }
.film-names .when b{ color: #F7C38B; font-weight: 400; margin: 0 .3em; }
.film-names .where{ margin: 0; font-size: .95rem; opacity: .9; }
.film-names p{ text-shadow: 0 1px 12px rgba(60,25,5,.55); }
.count{ display:flex; gap: 10px; justify-content:center; margin-bottom: 18px; }
.count div{ min-width: 66px; padding: 9px 8px 7px; border-radius: 14px; background: rgba(255,250,243,.14); border: 1px solid rgba(255,250,243,.35); }
.count strong{ display:block; font-family: var(--head); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.count span{ font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.film-down{ display:inline-flex; flex-direction:column; align-items:center; gap: 6px; color: #fff; text-decoration:none; font-weight: 500; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; }
.film-down i{ width: 1px; height: 34px; background: linear-gradient(#fff, transparent); }
.film-tools{ position:absolute; top: 16px; right: 16px; display:flex; gap: 8px; }
.ft{ height: 40px; min-width: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.55); background: rgba(30,18,10,.35); color: #fff; font-family: var(--sans); font-weight: 500; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; cursor:pointer; display:flex; align-items:center; justify-content:center; }
#filmSound{ padding: 0; width: 40px; }
.ft svg{ width: 18px; height: 18px; }
#filmSound .x{ display:none; } #filmSound.is-muted .x{ display:inline; } #filmSound.is-muted .w{ display:none; }
.ft-again{ display:none; }
.film.is-done .ft-again{ display:flex; } .film.is-done .ft-skip, .film.is-done #filmSound{ display:none; }

/* ---------- chapter chips ---------- */
.chips-nav{ position:sticky; top:0; z-index: 30; display:flex; align-items:center; gap: 12px; padding: 10px 18px; background: rgba(255,250,243,.96); border-bottom: 1px solid var(--line); }
.mono{ font-family: var(--head); font-size: 1.15rem; color: var(--ink); text-decoration:none; white-space:nowrap; }
.mono i{ font-style: normal; color: var(--coral); }
.chips{ flex:1; display:flex; gap: 6px; overflow-x:auto; scrollbar-width: none; justify-content:center; }
.chips::-webkit-scrollbar{ display:none; }
.chips a{ flex: none; font-size: .78rem; font-weight: 400; color: var(--ink); text-decoration:none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--shell); white-space:nowrap; }
.chips a:hover, .chips a.on{ background: var(--coral); border-color: var(--coral); color: #fff; }
.lang{ display:flex; border: 1px solid var(--line); border-radius: 999px; overflow:hidden; flex:none; }
.lang button{ border:0; background:none; padding: 5px 9px; font-family: var(--sans); font-size: .72rem; color: var(--soft); cursor:pointer; }
.lang button.active{ background: var(--coral); color:#fff; }

/* reveal */
[data-reveal]{ opacity:0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in-view{ opacity:1; transform:none; }

/* =========================================================
   THE DAY — an arched sky whose sun sets as you scroll
   ========================================================= */
.day{ display:grid; grid-template-columns: minmax(260px, 38%) 1fr; gap: 56px; max-width: 1120px; margin: 0 auto; padding: 70px 28px 40px; }
.sky{ position:relative; }
.sky-in{ position:sticky; top: 76px; height: calc(100vh - 110px); height: calc(100svh - 110px); max-height: 640px; border-radius: 999px 999px 18px 18px; overflow:hidden;
  background: linear-gradient(180deg, var(--sky-top, #F6D9A8), var(--sky-bot, #FBEFD9)); box-shadow: 0 0 0 8px var(--shell), 0 0 0 9px var(--line), 0 30px 50px -30px rgba(110,60,30,.6); }
.sun{ position:absolute; left: 50%; top: calc(12% + var(--sun, 0) * 70%); width: 84px; height: 84px; margin-left: -42px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--sun-c, #FFF1C9) 0%, var(--sun-c2, #F8C57A) 60%, rgba(248,197,122,0) 72%); box-shadow: 0 0 60px 20px rgba(255,190,120, calc(.45 * (1 - var(--night, 0)))); }
.sea{ position:absolute; left:0; right:0; bottom:0; height: 24%; background: linear-gradient(180deg, var(--sea-top, #6F9CA8), var(--sea-bot, #2E5E70)); }
.sea::before{ content:''; position:absolute; left: 30%; right: 30%; top: 6px; height: 3px; border-radius: 3px; background: rgba(255,214,160, calc(.8 * (1 - var(--night, 0)))); box-shadow: 0 10px 0 -1px rgba(255,214,160, calc(.5 * (1 - var(--night, 0)))), 0 20px 0 -1.5px rgba(255,214,160, calc(.3 * (1 - var(--night, 0)))); }
.stars{ position:absolute; inset: 0 0 24% 0; opacity: var(--night, 0);
  background-image: radial-gradient(1.4px 1.4px at 20% 18%, #fff, transparent), radial-gradient(1px 1px at 70% 12%, #fff, transparent), radial-gradient(1.6px 1.6px at 44% 30%, #fff, transparent), radial-gradient(1px 1px at 82% 40%, #fff, transparent), radial-gradient(1.2px 1.2px at 30% 52%, #fff, transparent), radial-gradient(1px 1px at 60% 60%, #fff, transparent), radial-gradient(1.3px 1.3px at 12% 70%, #fff, transparent), radial-gradient(1px 1px at 88% 72%, #fff, transparent); }
.sky-time{ position:absolute; left:0; right:0; bottom: 4%; text-align:center; margin:0; font-family: var(--head); font-size: 1.6rem; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.25); }

.hours{ padding-bottom: 20vh; }
.day-head{ margin-bottom: 30px; }
.day-head h2{ font-family: var(--head); font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.12; margin: 8px 0 16px; }
.cal{ display:flex; flex-wrap:wrap; gap: 8px; }
.hour{ position:relative; min-height: 46vh; padding: 0 0 0 26px; border-left: 1px solid var(--line); }
.hour::before{ content:''; position:absolute; left: -6px; top: 14px; width: 11px; height: 11px; border-radius: 50%; background: var(--sand); border: 2px solid var(--coral); }
.hour time{ display:block; font-family: var(--head); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; color: var(--coral); }
.hour h3{ font-family: var(--head); font-size: 1.5rem; margin: 10px 0 6px; }
.hour p{ max-width: 30em; color: var(--soft); margin: 0; }
.hour.is-main::before{ background: var(--coral); box-shadow: 0 0 0 6px rgba(217,120,95,.18); }
.hour.is-main h3::after{ content:'the main event'; display:inline-block; vertical-align: middle; margin-left: 10px; font-family: var(--sans); font-weight: 500; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; background: var(--coral); padding: 3px 9px; border-radius: 999px; }

/* ---------- sections ---------- */
.sec{ max-width: 1040px; margin: 0 auto; padding: 70px 24px; }
.sec-head{ text-align:center; margin-bottom: 34px; }
.sec-head h2{ font-family: var(--head); font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; margin-top: 8px; }
.lead{ color: var(--soft); max-width: 34em; margin: 12px auto 0; }

/* ---------- our story: a postcard ---------- */
.postcard{ display:grid; grid-template-columns: 1fr 1fr; background: var(--shell); padding: 18px; box-shadow: 0 24px 50px -30px rgba(90,50,20,.6), 0 0 0 1px var(--line); transform: rotate(-1deg); }
.pc-photo{ margin:0; }
.pc-photo img{ width:100%; height:100%; object-fit: cover; aspect-ratio: 4 / 3; }
.pc-back{ position:relative; padding: 26px 26px 16px 34px; margin-left: 18px; border-left: 1px solid var(--line);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(110,80,50,.12) 31px 32px); background-position: 0 14px; }
.pc-back p{ margin: 0 0 12px; line-height: 2; }
.pc-hi, .pc-sign{ font-family: var(--script); font-size: 1.7rem; line-height: 1.2 !important; color: var(--ink); }
.pc-sign{ text-align:right; margin-top: 6px !important; }
.stamp{ position:absolute; top: 2px; right: 6px; width: 72px; height: 86px; display:flex; flex-direction:column; align-items:center; justify-content:center; background: #E9A182; background-clip: padding-box; color: #fff; font-family: var(--head); font-size: 1.6rem; line-height: 1; transform: rotate(4deg);
  border: 5px dotted var(--shell); box-shadow: 0 0 0 1px rgba(180,87,63,.25), 0 4px 8px -4px rgba(90,40,20,.4); }
.stamp b{ font-weight: 400; font-size: .7rem; letter-spacing: .1em; }
.stamp i{ font-style: normal; font-family: var(--sans); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; }
.pc-hi{ margin-bottom: 44px !important; }
.postmark{ position:absolute; top: 22px; right: 66px; width: 84px; height: 84px; border-radius: 50%; border: 1.5px solid rgba(46,94,112,.55); color: rgba(46,94,112,.75); display:flex; align-items:center; justify-content:center; text-align:center; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-14deg); }

/* ---------- venue ---------- */
.venue{ display:grid; grid-template-columns: 1.1fr 1fr; gap: 22px; }
.map-wrap{ border-radius: 18px; overflow:hidden; box-shadow: 0 0 0 1px var(--line); }
#venue .map-ph{ height: 100%; min-height: 300px; }
#venue .map-ph img{ filter: sepia(.35) saturate(.9) hue-rotate(-10deg); }
.venue-cards{ display:flex; flex-direction:column; gap: 14px; }
.vc{ background: var(--shell); border-radius: 18px; padding: 20px 22px; box-shadow: 0 0 0 1px var(--line); }
.vc h3{ font-family: var(--head); font-size: 1.3rem; margin-bottom: 4px; }
.vc p{ margin: 0 0 10px; color: var(--soft); }
.swatches{ display:flex; gap: 8px; }
.swatches span{ width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }

/* ---------- reply ---------- */
.reply{ max-width: 620px; margin: 0 auto; background: var(--shell); border-radius: 26px; padding: 40px 36px 34px; text-align:center; box-shadow: 0 30px 50px -34px rgba(90,50,20,.6), 0 0 0 1px var(--line); }
.reply h2{ font-family: var(--head); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 8px 0 4px; }
.reply .dear{ font-family: var(--script); font-size: 2rem; margin: 0 0 16px; }
#rsvpForm{ text-align:left; }
.field{ margin-bottom: 14px; }
.field label, .field .lbl{ display:block; font-weight: 500; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.field label em{ text-transform:none; letter-spacing: 0; font-weight: 300; }
.field input, .field select, .field textarea{ width:100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus{ outline: 2px solid rgba(217,120,95,.45); outline-offset: 1px; }
.known{ font-family: var(--script); font-size: 2rem; }
.row2{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tide{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 16px; }
.tide input{ position:absolute; opacity:0; pointer-events:none; }
.tide label{ text-align:center; padding: 14px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor:pointer; font-weight: 400; transition: all .2s ease; }
.tide input:checked + label{ background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 8px 18px -10px rgba(180,87,63,.9); }
.tide input:focus-visible + label{ outline: 2px solid var(--coral-d); }
.thanks{ display:none; padding-top: 10px; }
.thanks.is-visible{ display:block; }
.thanks h3{ font-family: var(--script); font-size: 2.8rem; line-height: 1.1; }
.thanks p{ color: var(--soft); }

/* ---------- wristband ---------- */
.band-wrap{ display:flex; flex-direction:column; align-items:center; gap: 16px; }
.band{ display:flex; align-items:center; width: min(820px, 100%); transform: rotate(-2deg); filter: drop-shadow(0 18px 18px rgba(90,40,20,.25)); }
.band-strap{ flex:1; height: 62px; background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 2px, transparent 2px 6px),
  repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 1px, transparent 1px 4px),
  linear-gradient(180deg, #E58E6F, #CF6A4F); }
.band-strap.l{ border-radius: 31px 0 0 31px; }
.band-strap.r{ border-radius: 0 10px 10px 0; display:flex; align-items:center; justify-content:flex-end; gap: 10px; padding-right: 16px; }
.band-strap.r i{ width: 9px; height: 9px; border-radius: 50%; background: var(--sand); box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.band-tag{ flex: none; display:flex; align-items:center; gap: 18px; background: #fff; border-radius: 16px; padding: 16px 18px 16px 22px; box-shadow: 0 0 0 1px var(--line); margin: 0 -6px; position:relative; z-index: 1; }
.bt-text{ text-align:left; }
.bt-names{ font-family: var(--script); font-size: 1.8rem; line-height: 1; margin: 0; }
.bt-names i{ font-style: normal; color: var(--coral); }
.bt-date{ font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin: 6px 0 10px; }
.bt-guest{ font-family: var(--head); font-size: 1.15rem; margin: 0; }
.bt-code{ font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-d); margin: 2px 0 0; }
.bt-qr{ width: 128px; height: 128px; flex:none; display:flex; align-items:center; justify-content:center; border-radius: 10px; background: var(--sand); }
#qrWaiting p{ font-size: .78rem; color: var(--soft); text-align:center; margin: 0; padding: 8px; line-height: 1.35; }
#qrImage{ width: 120px; height: 120px; border-radius: 6px; }
.table-by-sea{ max-width: 520px; margin: 40px auto 0; text-align:center; background: var(--shell); border-radius: 22px; padding: 26px 24px; box-shadow: 0 0 0 1px var(--line); }
.table-by-sea h3{ font-family: var(--head); font-size: 1.5rem; }
.table-by-sea p{ color: var(--soft); margin: 6px 0 12px; }
.seat-find{ display:flex; gap: 8px; }
.seat-find input{ flex:1; min-width:0; font: inherit; font-weight: 400; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); }
.seat-result{ display:none; } .seat-result.is-visible{ display:block; }
.seat-no{ font-family: var(--head); font-size: 1.8rem; color: var(--coral) !important; margin: 12px 0 4px !important; }
.demo{ font-size: .82rem; font-style: italic; }

/* ---------- album ---------- */
.album{ text-align:center; }
#guestUpload{ display:none; }
.upload-preview{ display:grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 16px; }
.upload-preview img{ width:100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

/* ---------- night footer ---------- */
.night{ position:relative; text-align:center; color: #F3E7D8; padding: 90px 22px 100px; background: linear-gradient(180deg, var(--sand) 0%, #E9A28A 12%, #8C6A93 32%, var(--night) 60%); overflow:hidden; }
.night-stars{ position:absolute; inset: 30% 0 0 0; opacity: .9; pointer-events:none;
  background-image: radial-gradient(1.4px 1.4px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 60%, #fff, transparent), radial-gradient(1.6px 1.6px at 52% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 70%, #fff, transparent), radial-gradient(1.2px 1.2px at 86% 26%, #fff, transparent), radial-gradient(1px 1px at 92% 80%, #fff, transparent), radial-gradient(1.3px 1.3px at 20% 86%, #fff, transparent); }
.night > *{ position:relative; }
.n-names{ font-family: var(--script); font-size: clamp(3rem, 9vw, 4.6rem); line-height: 1.1; margin: 120px 0 0; color: #fff; }
.n-names i{ font-style: normal; color: #F7C38B; }
.n-date{ letter-spacing: .3em; font-size: .8rem; text-transform: uppercase; margin: 6px 0 22px; }
.n-tools{ display:flex; gap: 10px; justify-content:center; flex-wrap:wrap; }
.night .btn-line{ color: #fff; border-color: rgba(255,255,255,.5); }
.night .btn-line:hover{ background: rgba(255,255,255,.1); }
.made{ font-size: .82rem; opacity: .8; margin-top: 28px; }
.made a{ color: #F7C38B; }

/* ---------- music ---------- */
.music{ position:fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--shell); color: var(--coral-d); display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -10px rgba(90,50,20,.6); }
.music svg{ width: 20px; height: 20px; }
.music.is-off{ opacity: .8; }
.music:not(.is-off) svg{ animation: spin 6s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* =========================================================
   phones
   ========================================================= */
@media (max-width: 760px){
  body{ font-size: 16px; }
  .film-names{ padding: 12vh 16px 3vh; }
  .film-names h1 span{ display:block; } .film-names h1 em{ display:block; font-size: .55em; margin: 0; }
  .count div{ min-width: 58px; }
  .count strong{ font-size: 1.25rem; }
  .chips-nav{ padding: 8px 10px; gap: 8px; }
  .chips{ justify-content:flex-start; }
  .chips a{ padding: 6px 11px; font-size: .74rem; }
  .lang button{ padding: 5px 7px; }
  .day{ grid-template-columns: 54px 1fr; gap: 18px; padding: 44px 14px 20px; }
  .sky-in{ top: 64px; height: 62svh; border-radius: 999px 999px 10px 10px; box-shadow: 0 0 0 4px var(--shell), 0 0 0 5px var(--line); }
  .sun{ width: 32px; height: 32px; margin-left: -16px; }
  .sky-time{ display:none; }
  .hour{ min-height: 40vh; padding-left: 18px; }
  .hour.is-main h3::after{ display:block; width: max-content; margin: 6px 0 0; }
  .sec{ padding: 54px 16px; }
  .postcard{ grid-template-columns: 1fr; padding: 12px; transform: none; }
  .pc-back{ margin: 14px 0 0; border-left: 0; padding: 30px 6px 6px; }
  .stamp{ top: 6px; right: 0; width: 60px; height: 72px; font-size: 1.3rem; border-width: 4px; }
  .postmark{ top: 14px; right: 56px; width: 64px; height: 64px; font-size: .5rem; }
  .pc-hi{ margin-bottom: 40px !important; }
  .venue{ grid-template-columns: 1fr; }
  #venue .map-ph{ min-height: 220px; }
  .reply{ padding: 32px 18px 26px; border-radius: 20px; }
  .row2{ grid-template-columns: 1fr; gap: 0; }
  .band{ transform: none; }
  .band-strap{ height: 48px; flex: 0 0 18px; }
  .band-strap.r{ flex-basis: 34px; padding-right: 8px; gap: 0; }
  .band-strap.r i:not(:last-child){ display:none; }
  .band-tag{ flex: 1; gap: 10px; padding: 12px 10px 12px 14px; }
  .bt-names{ font-size: 1.4rem; }
  .bt-qr{ width: 104px; height: 104px; }
  #qrImage{ width: 96px; height: 96px; }
}

/* 2026-11-16: the new sunset films end on the couple facing each other, their faces in
   the upper half of the frame. So on every screen the names, date and countdown sit low,
   over the darker lower half (dresses, sea), with a deeper shade there; faces stay clear. */
.film-names{ justify-content: flex-end; gap: 18px; padding: 0 18px 3vh; }
.film-names h1{ font-size: clamp(2.3rem, 4.6vw, 4.2rem); margin: 2px 0; white-space: nowrap; }
.film-names h1 span{ display: inline; }
.film-names h1 em{ display: inline; font-size: 1em; margin: 0 .12em; }
.film-names .sub{ font-size: 1rem; }
.film-shade{ background: linear-gradient(180deg, rgba(42,22,10,.35) 0%, rgba(42,22,10,0) 20%, rgba(42,22,10,0) 46%, rgba(42,22,10,.55) 66%, rgba(42,22,10,.85) 100%); }
@media (max-width: 760px){
  .film-names{ padding: 0 16px 3vh; }
  .film-names h1{ font-size: clamp(2.2rem, 10.5vw, 3.4rem); }
  .film-names h1 span{ display: inline; } .film-names h1 em{ display: inline; font-size: 1em; margin: 0 .12em; }
}
/* short screens: tighter, and the "The day" arrow goes (the page scrolls on anyway) */
@media (max-height: 720px){
  .film-names{ gap: 10px; padding-bottom: 2vh; }
  .film-names h1{ font-size: clamp(2rem, 8.5vw, 3rem); }
  .film-names .when{ font-size: 1rem; margin-top: 4px; }
  .film-names .film-down{ display: none; }
  .film-names .count div{ padding-top: 4px; padding-bottom: 4px; }
}@media (max-height: 720px) and (max-width: 760px){ .film-names{ padding-bottom: 64px; } }   /* clear the music button */
