/* =========================================================
   DigiInvite — Wedding Design 1 · "Velvet"
   Quiet luxury: deep emerald velvet, warm ivory, champagne
   gold hairlines. Big, readable serif; refined sans.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@300;400;500;600&display=swap');

:root{
  --emerald: #0F2E26;
  --emerald-2: #143A30;
  --emerald-3: #1D4A3D;
  --ivory: #F6F1E8;
  --ivory-2: #EEE6D8;
  --ink: #1B2420;
  --ink-soft: #55615B;
  --on-dark: #EFE8DA;
  --on-dark-soft: rgba(239,232,218,.68);
  --gold: #C6A15B;
  --gold-soft: #DCC28E;
  --gold-line: rgba(198,161,91,.45);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --wrap: 1120px;
}

*,*::before,*::after{ box-sizing:border-box; }
*{ margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.75;
  color: var(--ink); background: var(--ivory);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.gate-locked{ overflow:hidden; }
img, svg{ display:block; max-width:100%; }
a{ color:inherit; }
button{ font:inherit; color:inherit; cursor:pointer; }
input, select, textarea{ font:inherit; color:inherit; }
::selection{ background: var(--gold-soft); color: var(--emerald); }


/* ---------- type ---------- */
.label{
  display:inline-flex; align-items:center; gap: 14px;
  font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}
.label::before{ content:''; width: 28px; height: 1px; background: currentColor; }
.center .label::after{ content:''; width: 28px; height: 1px; background: currentColor; }
.h2{
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05; letter-spacing: -.01em; margin: 18px 0 18px;
}
.h2 em{ font-style: italic; font-weight: 400; color: var(--gold); }
.lead{ font-size: 1.06rem; color: var(--ink-soft); max-width: 52ch; }
.dark, .velvet{ color: var(--on-dark); }
.dark{ background: var(--emerald); }
.dark .lead, .velvet .lead{ color: var(--on-dark-soft); }
.dark .h2, .velvet .h2{ color: var(--ivory); }
.center{ text-align:center; }
.center .lead{ margin-left:auto; margin-right:auto; }

.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section{ position:relative; padding: 130px 0; }
@media (max-width: 760px){ .section{ padding: 90px 0; } }

/* velvet texture for dark sections */
.velvet{
  background-color: var(--emerald);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(198,161,91,.10), transparent 55%),
    linear-gradient(160deg, rgba(10,32,26,.93), rgba(17,52,42,.88)),
    url('../../assets/img/silk-velvet-bg-1200.jpg');
  background-size: cover; background-position: center;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 10px;
  padding: 15px 34px; border: 1px solid var(--gold); background: transparent;
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  text-decoration:none; color: inherit;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover{ background: var(--gold); color: var(--emerald); }
.btn-gold{ background: var(--gold); color: var(--emerald); }
.btn-gold:hover{ background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-dark{ background: var(--emerald); color: var(--ivory); border-color: var(--emerald); }
.btn-dark:hover{ background: var(--gold); border-color: var(--gold); color: var(--emerald); }
.btn-sm{ padding: 11px 22px; font-size: .68rem; }
.btn-block{ width:100%; }

/* ---------- reveal ---------- */
[data-reveal]{ opacity:0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
[data-reveal].in-view{ opacity:1; transform:none; }
[data-reveal-group] [data-reveal]{ transition-delay: calc(var(--i, 0) * 110ms); }

/* =========================================================
   OPENING — names write themselves in gold, then the
   velvet cover lifts away
   ========================================================= */
#intro{
  position:fixed; inset:0; z-index: 200;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap: 22px;
  transition: transform 1.2s cubic-bezier(.76,0,.24,1);
}
#intro.is-hidden{ transform: translateY(-100%); }
#intro .monogram-svg{ width: min(620px, 88vw); overflow:visible; }
#intro .sig{
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 96px;
  fill: transparent; stroke: var(--gold-soft); stroke-width: .8;
  stroke-dasharray: 1100; stroke-dashoffset: 1100;
  animation: sigDraw 2.4s cubic-bezier(.5,0,.3,1) .3s forwards, sigFill 1s ease 2.1s forwards;
}
@keyframes sigDraw{ to{ stroke-dashoffset: 0; } }
@keyframes sigFill{ to{ fill: var(--ivory); stroke: transparent; } }
#intro .intro-date{ font-size: .72rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); opacity:0; animation: fadeIn 1s ease 2.4s forwards; }
#intro .intro-rule{ width: 0; height:1px; background: var(--gold); animation: rule 1.2s var(--ease) 2.2s forwards; }
@keyframes rule{ to{ width: 120px; } }
@keyframes fadeIn{ to{ opacity:1; } }

/* =========================================================
   NAV
   ========================================================= */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index: 80;
  display:flex; align-items:center; justify-content:space-between; gap: 20px;
  padding: 22px 40px; color: var(--on-dark);
  transition: background .5s var(--ease), padding .5s var(--ease), color .5s ease, box-shadow .5s ease;
}
.site-nav.is-scrolled{ background: rgba(246,241,232,.95); color: var(--ink); padding: 14px 40px; box-shadow: 0 1px 0 rgba(27,36,32,.08); }
.nav-brand{ font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: .06em; text-decoration:none; }
.nav-brand i{ font-style: italic; color: var(--gold); font-weight:400; }
.nav-links{ display:flex; gap: 34px; }
.nav-links a{ text-decoration:none; font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; opacity:.8; transition: opacity .3s ease, color .3s ease; }
.nav-links a:hover{ opacity:1; color: var(--gold); }
.nav-cta{ display:flex; align-items:center; gap: 16px; }
.lang-pill{ display:flex; gap: 2px; }
.lang-pill button{ background:none; border:none; padding: 4px 8px; font-size: .74rem; font-weight:600; letter-spacing:.08em; opacity:.6; }
.lang-pill button.active{ opacity:1; color: var(--gold); }
.nav-toggle{ display:none; width: 40px; height: 40px; background:none; border: 1px solid currentColor; align-items:center; justify-content:center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{ content:''; display:block; width: 16px; height: 1px; background: currentColor; position:relative; transition: transform .3s ease; }
.nav-toggle span::before{ position:absolute; top:-5px; }
.nav-toggle span::after{ position:absolute; top:5px; }
.nav-toggle.is-open span{ background: transparent; }
.nav-toggle.is-open span::before{ transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span::after{ transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 900px){
  .site-nav, .site-nav.is-scrolled{ padding-left: 20px; padding-right: 20px; }
  .nav-cta .btn{ display:none; }
  .nav-links{
    position:fixed; inset: 0 0 auto 0; top: 0; padding: 100px 30px 40px; flex-direction:column; align-items:center; gap: 24px;
    background: var(--emerald); color: var(--on-dark);
    transform: translateY(-100%); transition: transform .6s var(--ease); z-index:-1;
  }
  .nav-links.is-open{ transform:none; }
  .nav-toggle{ display:flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative; min-height: min(100svh, 980px);
  display:flex; flex-direction: column; align-items:center; justify-content:center; text-align:center;
  padding: 140px 24px 120px; color: var(--on-dark); overflow:hidden;
}
.hero::after{
  /* a slow sweep of light across the velvet */
  content:''; position:absolute; inset: -20%; pointer-events:none;
  background: linear-gradient(115deg, transparent 40%, rgba(220,194,142,.10) 50%, transparent 60%);
  animation: sheen 9s ease-in-out infinite;
}
@keyframes sheen{ 0%{ transform: translateX(-40%); } 60%,100%{ transform: translateX(40%); } }
.hero-inner{ position:relative; z-index:2; }
.reserved{
  display:inline-block; margin-bottom: 34px; padding: 8px 18px;
  border: 1px solid var(--gold-line); font-size: .68rem; font-weight:600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft);
}
.reserved strong{ font-weight: 600; color: var(--ivory); }
.hero .label{ color: var(--gold-soft); }
.hero-names{
  font-family: var(--serif); font-weight: 500; color: var(--ivory);
  font-size: clamp(4.2rem, 13vw, 9.5rem); line-height: .9; letter-spacing: -.02em;
  margin: 26px 0 8px;
}
.hero-names span{ display:block; }
.hero-names .amp{ font-style: italic; font-weight: 400; color: var(--gold); font-size: .5em; line-height: 1.2; }
.hero-sub{ font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.55rem); color: var(--on-dark-soft); max-width: 30ch; margin: 18px auto 0; }
.hero-facts{
  display:flex; justify-content:center; flex-wrap:wrap; gap: 0; margin: 44px auto 0;
  border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); max-width: 760px;
}
.hero-facts div{ flex: 1 1 200px; padding: 18px 16px; }
.hero-facts div + div{ border-left: 1px solid var(--gold-line); }
@media (max-width: 640px){ .hero-facts div + div{ border-left:none; border-top: 1px solid var(--gold-line); } }
.hero-facts small{ display:block; font-size: .64rem; font-weight:600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.hero-facts span{ font-family: var(--serif); font-size: 1.35rem; color: var(--ivory); }
.hero-actions{ display:flex; justify-content:center; gap: 14px; flex-wrap:wrap; margin-top: 40px; }

.countdown{ display:flex; justify-content:center; margin-top: 48px; }
.count-box{ padding: 0 26px; text-align:center; }
.count-box + .count-box{ border-left: 1px solid var(--gold-line); }
.count-box strong{ display:block; font-family: var(--serif); font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; }
.count-box span{ font-size: .6rem; font-weight:600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 520px){
  .hero{ padding: 120px 18px 100px; }
  .hero-inner{ width: 100%; }
  .count-box{ padding: 0 10px; flex: 1; } .count-box strong{ font-size: 1.9rem; } .count-box span{ letter-spacing: .14em; }
  .hero-actions .btn{ width: 100%; }
}
.scroll-cue{ position:absolute; bottom: 28px; left:50%; width:1px; height: 54px; background: linear-gradient(var(--gold), transparent); z-index:2; animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue{ 0%{ transform: scaleY(0); } 50%{ transform: scaleY(1); } 100%{ transform: scaleY(1); opacity:0; } }

/* =========================================================
   STORY
   ========================================================= */
.story-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid rgba(27,36,32,.14); }
@media (max-width: 900px){ .story-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .story-grid{ grid-template-columns: 1fr; } }
.story-item{ padding: 34px 28px 10px 0; position:relative; }
.story-item::before{ content:''; position:absolute; top: -4px; left:0; width:7px; height:7px; background: var(--gold); transform: rotate(45deg); }
.story-item .yr{ font-family: var(--serif); font-size: 3.2rem; font-weight: 500; line-height:1; color: var(--emerald-3); }
.story-item h4{ font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; margin: 14px 0 8px; }
.story-item p{ color: var(--ink-soft); font-size: .98rem; }

/* =========================================================
   SCHEDULE
   ========================================================= */
.events{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 64px; }
@media (max-width: 860px){ .events{ grid-template-columns: 1fr; max-width: 440px; margin-left:auto; margin-right:auto; } }
.event{
  padding: 44px 34px 40px; text-align:center;
  border: 1px solid var(--gold-line); position:relative;
  transition: background .5s var(--ease), transform .5s var(--ease);
}
.event::before{ content:''; position:absolute; inset: 7px; border: 1px solid rgba(198,161,91,.18); pointer-events:none; }
.event:hover{ background: rgba(198,161,91,.06); transform: translateY(-4px); }
.event .day{ font-size: .66rem; font-weight:600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.event h3{ font-family: var(--serif); font-weight: 500; font-size: 2.3rem; color: var(--ivory); margin: 12px 0 10px; line-height:1.05; }
.event .when{ font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-soft); }
.event p{ color: var(--on-dark-soft); font-size: .95rem; margin-top: 10px; }

/* =========================================================
   DRESS CODE + GIFTS
   ========================================================= */
.duo{ display:grid; grid-template-columns: 1fr 1fr; gap: 90px; }
@media (max-width: 860px){ .duo{ grid-template-columns: 1fr; gap: 70px; } }
.palette{ display:flex; gap: 18px; margin-top: 30px; flex-wrap:wrap; }
.swatch{ text-align:center; }
.swatch .chip{ width: 62px; height: 84px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 14px 22px -16px rgba(0,0,0,.5); }
.swatch span{ display:block; margin-top: 10px; font-size: .62rem; font-weight:600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.gift-list{ list-style:none; margin-top: 26px; }
.gift-list li{ display:flex; justify-content:space-between; align-items:baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(27,36,32,.12); }
.gift-list li strong{ font-family: var(--serif); font-weight: 500; font-size: 1.45rem; }
.gift-list li span{ color: var(--ink-soft); font-size: .92rem; text-align:right; }

/* =========================================================
   VENUE
   ========================================================= */
.venue{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 0; margin-top: 60px; border: 1px solid var(--gold-line); }
@media (max-width: 860px){ .venue{ grid-template-columns: 1fr; } }
.venue-info{ padding: 54px 46px; }
.venue-info h3{ font-family: var(--serif); font-weight: 500; font-size: 2.3rem; line-height:1.05; color: var(--ivory); }
.venue-info address{ font-style: normal; color: var(--on-dark-soft); margin: 14px 0 30px; }
.venue-info dl{ margin: 0 0 34px; }
.venue-info dl div{ display:flex; justify-content:space-between; padding: 10px 0; border-bottom: 1px solid rgba(198,161,91,.2); font-size: .92rem; }
.venue-info dt{ color: var(--gold); font-size: .66rem; font-weight:600; letter-spacing:.26em; text-transform: uppercase; }
.map-frame{ min-height: 380px; border-left: 1px solid var(--gold-line); }
@media (max-width: 860px){ .map-frame{ border-left:none; border-top: 1px solid var(--gold-line); } }
.map-frame .map-ph{ width:100%; height:100%; min-height: 380px; border:0;  }
.map-frame .map-ph img{ filter: grayscale(.6) contrast(1.05) sepia(.15); }

/* =========================================================
   RSVP
   ========================================================= */
.rsvp{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items:start; }
@media (max-width: 900px){ .rsvp{ grid-template-columns: 1fr; gap: 40px; } }
.rsvp-card{ background: #FFFCF6; padding: 50px 46px; box-shadow: 0 40px 70px -40px rgba(15,46,38,.45); position:relative; }
.rsvp-card::before{ content:''; position:absolute; inset: 10px; border: 1px solid var(--gold-line); pointer-events:none; }
@media (max-width: 520px){ .rsvp-card{ padding: 40px 24px; } }
.rsvp-greeting{ font-family: var(--serif); font-style: italic; font-size: 1.7rem; margin-bottom: 26px; }
.f-field{ margin-bottom: 24px; position:relative; }
.f-field label, .f-label{ display:block; font-size: .64rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.f-field input, .f-field select, .f-field textarea{
  width:100%; padding: 8px 0 10px; background: transparent; border: none; border-bottom: 1px solid rgba(27,36,32,.25);
  font-size: 1.05rem; border-radius: 0;
}
.f-field textarea{ min-height: 70px; resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus{ outline:none; border-bottom-color: var(--gold); }
.f-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 520px){ .f-row{ grid-template-columns: 1fr; gap:0; } }
.f-known{ font-family: var(--serif); font-size: 1.8rem; line-height:1.2; padding-bottom: 6px; border-bottom: 1px solid rgba(27,36,32,.25); }
.attend{ display:grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--emerald); margin-bottom: 26px; }
.attend input{ position:absolute; opacity:0; pointer-events:none; }
.attend label{ padding: 14px 10px; text-align:center; cursor:pointer; font-size: .7rem; font-weight:600; letter-spacing: .2em; text-transform: uppercase; transition: background .3s ease, color .3s ease; }
.attend input:checked + label{ background: var(--emerald); color: var(--ivory); }
.attend input:focus-visible + label{ outline: 2px solid var(--gold); outline-offset: -4px; }
.thank-you{ display:none; text-align:center; padding: 10px 0; }
.thank-you.is-visible{ display:block; animation: fadeUp .9s var(--ease); }
@keyframes fadeUp{ from{ opacity:0; transform: translateY(14px); } to{ opacity:1; transform:none; } }
.thank-you .mono{ width: 74px; height: 74px; margin: 0 auto 20px; border: 1px solid var(--gold); border-radius:50%; display:grid; place-items:center; font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.thank-you h3{ font-family: var(--serif); font-weight: 500; font-size: 2.2rem; line-height:1.1; margin-bottom: 10px; }
.thank-you p{ color: var(--ink-soft); }

/* =========================================================
   SEAT + PASS
   ========================================================= */
.duo-cards{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 60px; }
@media (max-width: 820px){ .duo-cards{ grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px){ .lux-card{ padding: 38px 20px; } .seat-input{ flex-wrap: wrap; } .seat-input input{ flex: 1 1 160px; } }
/* phones: never scroll sideways, and drop the costly full-screen light sweep */
html, body{ overflow-x: hidden; }
@supports (overflow: clip){ html, body{ overflow-x: clip; } }
@media (max-width: 900px), (hover: none){ .hero::after{ animation: none; opacity: .5; } }
.lux-card{ border: 1px solid var(--gold-line); padding: 46px 38px; text-align:center; position:relative; }
.lux-card::before{ content:''; position:absolute; inset: 7px; border: 1px solid rgba(198,161,91,.16); pointer-events:none; }
.lux-card h3{ font-family: var(--serif); font-weight: 500; font-size: 1.9rem; color: var(--ivory); margin: 10px 0 12px; }
.lux-card p{ color: var(--on-dark-soft); font-size: .95rem; }
.seat-result{ display:none; margin-top: 18px; }
.seat-result.is-visible{ display:block; }
.seat-result strong{ font-family: var(--serif); font-weight: 500; font-size: 3.4rem; line-height:1.1; color: var(--gold-soft); }
.seat-input{ display:flex; gap: 12px; margin-top: 20px; align-items:flex-end; }
.seat-input input{ flex:1; min-width:0; background:transparent; border:none; border-bottom: 1px solid var(--gold-line); padding: 8px 0; color: var(--ivory); }
.seat-input input::placeholder{ color: rgba(239,232,218,.4); }
.seat-input input:focus{ outline:none; border-bottom-color: var(--gold); }
.hint{ font-size: .78rem; color: rgba(239,232,218,.45); margin-top: 14px; }
.qr-wait{ width: 160px; height: 160px; margin: 18px auto 14px; border: 1px dashed var(--gold-line); display:grid; place-items:center; padding: 18px; font-family: var(--serif); font-style: italic; color: var(--on-dark-soft); font-size: 1.05rem; line-height:1.3; }
#qrImage{ width: 170px; height: 170px; margin: 18px auto 14px; background: #fff; padding: 10px; }

/* =========================================================
   GALLERY + UPLOADS
   ========================================================= */
.gallery{ display:grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; margin-top: 60px; }
.gallery figure{ position:relative; overflow:hidden; background: var(--emerald-2); }
.gallery figure::before{
  content:''; position:absolute; inset:0;
  background: linear-gradient(160deg, rgba(15,46,38,.35), rgba(15,46,38,.75)), url('../../assets/img/silk-velvet-bg-1200.jpg') center / cover;
  transition: transform 1.2s var(--ease);
}
.gallery figure:hover::before{ transform: scale(1.06); }
.gallery figcaption{ position:absolute; left: 18px; bottom: 14px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ivory); }
.gallery .a{ grid-column: span 5; grid-row: span 3; }
.gallery .b{ grid-column: span 4; grid-row: span 2; }
.gallery .c{ grid-column: span 3; grid-row: span 2; }
.gallery .d{ grid-column: span 3; grid-row: span 1; }
.gallery .e{ grid-column: span 4; grid-row: span 1; }
.gallery figure:nth-child(2)::before{ background-position: 30% 20%; filter: hue-rotate(-12deg); }
.gallery figure:nth-child(3)::before{ background-position: 80% 60%; }
.gallery figure:nth-child(4)::before{ background-position: 10% 90%; filter: brightness(1.15); }
.gallery figure:nth-child(5)::before{ background-position: 60% 10%; }
@media (max-width: 760px){
  .gallery{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery .a{ grid-column: span 2; grid-row: span 2; }
  .gallery .b, .gallery .c, .gallery .d, .gallery .e{ grid-column: span 1; grid-row: span 1; }
}
.upload-box{ max-width: 640px; margin: 50px auto 0; padding: 42px 30px; text-align:center; border: 1px dashed rgba(27,36,32,.3); }
.upload-box input[type=file]{ display:none; }
.upload-preview{ display:grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 22px; }
.upload-preview img{ width:100%; aspect-ratio:1; object-fit:cover; }

/* ---------- after ---------- */
.after{ max-width: 560px; margin: 0 auto; text-align:center; }
.after svg{ width: 54px; margin: 0 auto 18px; color: var(--gold); }
.after h3{ font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin-bottom: 8px; }
.after p{ color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer{ text-align:center; padding: 120px 24px 60px; color: var(--on-dark); }
.site-footer .names{ font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height:1; color: var(--ivory); }
.site-footer .names i{ font-weight: 400; color: var(--gold); }
.site-footer .date{ margin: 16px 0 40px; font-size: .7rem; font-weight:600; letter-spacing: .5em; color: var(--gold); }
.footer-tools{ display:flex; justify-content:center; gap: 12px; flex-wrap:wrap; }
.made-with{ margin-top: 54px; font-size: .78rem; color: rgba(239,232,218,.45); }
.made-with a{ color: var(--gold-soft); }

/* ---------- music ---------- */
.music-toggle{
  position:fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--emerald); border: 1px solid var(--gold); color: var(--gold);
  display:grid; place-items:center; box-shadow: 0 14px 26px -14px rgba(0,0,0,.6);
}
.music-toggle .bars{ display:flex; align-items:flex-end; gap: 3px; height: 16px; }
.music-toggle .bars i{ width: 3px; height: 100%; background: currentColor; animation: eq 1s ease-in-out infinite; }
.music-toggle .bars i:nth-child(2){ animation-delay: -.3s; }
.music-toggle .bars i:nth-child(3){ animation-delay: -.6s; }
.music-toggle.is-off .bars i{ animation: none; height: 30%; }
@keyframes eq{ 0%,100%{ height: 30%; } 50%{ height: 100%; } }
