:root{
  --paper:#fffaf2;
  --paper-2:#fffdf8;
  --ink:#211d19;
  --muted:#756f66;
  --green:#6f876b;
  --green-dark:#496742;
  --gold:#d9b246;
  --line:#d8d0c4;
  --shadow:0 24px 80px rgba(79,61,38,.12);
  --soft-shadow:0 14px 40px rgba(80,62,38,.08);
  --serif:'Cormorant Infant','Cormorant Garamond',Georgia,serif;
  --title:'Cormorant Garamond',Georgia,serif;
  --script:'Marck Script','Segoe Script',cursive;
  --sans:'Inter',Arial,sans-serif;
  --radius:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:92px}
body{
  margin:0;
  color:var(--ink);
  background:
    linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,250,242,.92)),
    url('assets/decor/paper-texture.png') repeat,
    var(--paper);
  font-family:var(--serif);
  font-size:21px;
  line-height:1.52;
  overflow-x:hidden;
}
body.no-scroll{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
img{display:block;max-width:100%}

.page-pattern{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background-image:url('assets/decor/lemon-pattern.png');
  background-size:520px 520px;
  background-position:center top;
  opacity:.035;
}
.page-pattern:after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.72),rgba(255,250,242,.94) 60%);
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  height:74px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:26px;
  padding:0 clamp(16px,5vw,72px);
  border-bottom:1px solid rgba(216,208,196,.58);
  background:rgba(255,253,248,.8);
  backdrop-filter:blur(18px);
  transition:box-shadow .25s ease, background .25s ease, height .25s ease;
}
.site-header.is-scrolled{
  height:66px;
  background:rgba(255,253,248,.94);
  box-shadow:0 10px 34px rgba(64,50,33,.07);
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--title);
  font-size:21px;
  font-weight:600;
  letter-spacing:.02em;
  white-space:nowrap;
}
.brand-heart{color:var(--gold);font-family:Georgia,serif;font-size:16px;line-height:1}
.top-nav{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:28px;
  font-family:var(--serif);
  font-size:17px;
  color:#39332d;
}
.top-nav a{position:relative;padding:8px 0;transition:color .22s ease}
.top-nav a:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:2px;height:1px;
  transform:scaleX(0);
  transform-origin:center;
  background:var(--green);
  transition:transform .22s ease;
}
.top-nav a:hover,.top-nav a.is-active{color:var(--green-dark)}
.top-nav a:hover:after,.top-nav a.is-active:after{transform:scaleX(1)}
.burger{display:none}

.page{
  width:min(100% - 36px, 880px);
  margin:36px auto 0;
}
.section-card{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(255,255,255,.78),rgba(255,250,242,.84)),
    url('assets/decor/paper-texture.png') repeat;
  border:1px solid rgba(216,208,196,.54);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  margin:0 0 28px;
}

.cover{
  min-height:780px;
  display:grid;
  place-items:center;
  padding:92px 36px;
  text-align:center;
}
.cover-inner{position:relative;z-index:2;width:100%}
.lemon-corner{position:absolute;z-index:1;pointer-events:none;user-select:none;filter:drop-shadow(0 10px 18px rgba(107,85,38,.06))}
.lemon-corner-top{width:430px;left:-74px;top:-32px;animation:float-lemon 9s ease-in-out infinite}
.lemon-corner-bottom{width:470px;right:-70px;bottom:-26px;animation:float-lemon 10s ease-in-out infinite reverse}
.star{
  display:block;
  width:24px;height:24px;margin-inline:auto;
  background:#6e6b68;
  opacity:.78;
  clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);
}
.star-top{margin-bottom:62px}.star-bottom{margin-top:52px}
.overline,.invite-line,.cover-note,.date-side b{
  margin:0;
  font-family:var(--title);
  text-transform:uppercase;
  letter-spacing:.27em;
  font-weight:500;
  color:#292520;
}
.overline{font-size:27px;margin-bottom:46px}
.names{
  margin:0 0 58px;
  font-family:var(--script);
  font-size:101px;
  line-height:.9;
  font-weight:400;
  letter-spacing:.01em;
}
.names span{font-family:var(--title);font-size:.54em;font-weight:400;vertical-align:12%;margin:0 10px}
.invite-line{font-size:30px;margin-bottom:54px}
.date-row{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:38px;
  width:min(600px,100%);
  margin:0 auto 42px;
}
.date-row strong{
  font-family:var(--title);
  font-size:82px;
  font-weight:400;
  line-height:.9;
}
.date-side{display:grid;gap:12px;align-items:center;min-width:0}
.date-side span{display:block;height:1px;background:#8e897f;opacity:.75}
.date-side b{font-size:23px;letter-spacing:.22em;font-weight:500}
.cover-note{font-size:27px;line-height:1.42}

.section-top-decor{display:flex;justify-content:center;margin:-10px auto 8px;position:relative;z-index:2}
.section-top-decor img{width:min(420px,70%);opacity:.95}
.faint-pattern{
  position:absolute;
  inset:-100px -180px auto auto;
  width:620px;
  opacity:.055;
  pointer-events:none;
  transform:rotate(4deg);
}
.invite{padding:58px 54px 50px;text-align:center}
.script-title{
  font-family:var(--script);
  font-size:72px;
  line-height:.92;
  font-weight:400;
  margin:8px 0 42px;
  color:#1d1a17;
}
.script-title.wide{font-size:64px;margin-bottom:62px;text-align:left;padding-left:34px}
.text-block{position:relative;z-index:2;margin-inline:auto;max-width:710px}
.large-text p{font-size:31px;line-height:1.38;margin:0 0 14px}
.time-big{font-size:34px!important;margin:42px 0 36px!important}
.main-photo{
  width:min(430px,82%);
  margin:0 auto 28px;
  position:relative;
  z-index:2;
}
.main-photo img{width:100%;border-radius:2px;box-shadow:0 18px 52px rgba(53,42,32,.14)}
.script-quote{
  font-family:var(--script);
  font-size:50px;
  line-height:1.14;
  margin:0;
  color:#1d1a17;
}

.couple{padding:56px 50px;text-align:center}
.section-heading{
  margin:0 0 34px;
  font-family:var(--title);
  font-size:42px;
  font-weight:600;
  letter-spacing:.12em;
  line-height:1.15;
  text-transform:uppercase;
  color:#2f332b;
}
.section-heading.green{color:var(--green);font-size:43px}
.couple-grid{display:grid;grid-template-columns:1fr 130px 1fr;gap:24px;align-items:center}
.person-card{margin:0;text-align:center;position:relative;z-index:2}
.person-card img{
  width:220px;height:220px;object-fit:cover;border-radius:50%;margin:0 auto 15px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 20px 50px rgba(59,46,31,.1);
}
.person-card figcaption{font-family:var(--script);font-size:42px;line-height:1;color:#25211d}
.couple-flower{width:120px;margin:auto;opacity:.92}

.schedule{padding:70px 58px 64px;min-height:780px}
.schedule-top{width:410px;right:-80px;top:-40px;opacity:.95}
.timeline{display:grid;gap:44px;position:relative;z-index:2}
.timeline-row{display:grid;grid-template-columns:96px 112px 1fr;align-items:start;gap:28px}
.timeline-row time{font-family:var(--title);font-size:25px;line-height:1.3;color:#2b2620}
.timeline-row img{width:104px;max-height:112px;object-fit:contain;filter:contrast(1.05)}
.timeline-row h3{margin:0 0 6px;font-size:34px;line-height:1.1;font-weight:500;color:#2f2a25}
.timeline-row p{margin:0 0 12px;font-size:24px;line-height:1.25}
.timeline-row small{display:block;color:#8a8379;font-size:22px;line-height:1.34}

.details{padding:48px 54px 54px;text-align:center}
.detail-block{position:relative;z-index:2;max-width:720px;margin:0 auto 60px}
.detail-block:last-child{margin-bottom:0}
.detail-block p{font-size:31px;line-height:1.38;margin:0 0 23px}
.detail-illustration{width:190px;margin:18px auto 24px;opacity:.93;filter:drop-shadow(0 16px 26px rgba(60,50,35,.07))}
.detail-illustration.envelope{width:230px;margin-top:-4px}
.detail-illustration.rings{width:220px;margin-bottom:0}
.detail-block.note{padding-top:10px}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:13px 24px;
  border:0;
  border-radius:999px;
  background:var(--green-dark);
  color:white;
  font-family:var(--sans);
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 14px 30px rgba(51,81,51,.18);
  transition:transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.button:hover{transform:translateY(-2px);background:#3d5938;box-shadow:0 18px 36px rgba(51,81,51,.22)}
.button.ghost{background:#fff;color:var(--green-dark);box-shadow:inset 0 0 0 1px var(--line),0 12px 26px rgba(80,62,38,.08)}
.button.ghost:hover{background:#fff8eb}

.calendar-section{padding:44px 42px 52px;text-align:center}
.calendar-card{
  border:3px solid rgba(93,124,93,.85);
  border-radius:25px;
  padding:28px 32px 30px;
  background:rgba(255,253,248,.58);
  max-width:720px;
  margin:0 auto;
}
.calendar-card h2{
  margin:0 0 26px;
  font-family:var(--title);
  font-size:64px;
  line-height:1;
  color:var(--gold);
  font-weight:700;
}
.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:18px 22px;align-items:center}
.calendar-grid b{font-family:var(--sans);font-size:21px;line-height:1;font-weight:500;color:#262626}
.calendar-grid time,.calendar-grid span{
  min-height:42px;
  display:grid;
  place-items:center;
  position:relative;
  font-family:var(--title);
  font-size:40px;
  line-height:1;
  font-weight:500;
}
.wedding-day{z-index:1}
.wedding-day:before{
  content:"♡";
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-48%);
  z-index:-1;
  color:var(--gold);
  font-family:Georgia,serif;
  font-size:76px;
  line-height:1;
  font-weight:400;
}

.gallery{padding:52px 50px 56px;text-align:center}
.gallery-intro{max-width:670px;margin:0 auto 18px;font-size:31px;line-height:1.38}
.script-big{font-family:var(--script);font-size:76px;line-height:1;margin:28px 0 40px;color:#1f1a16}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:0 auto 50px}
.gallery-item{
  border:0;
  background:none;
  padding:0;
  cursor:pointer;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 16px 38px rgba(61,47,31,.14);
  aspect-ratio:3/4;
}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease, filter .55s ease}
.gallery-item:hover img{transform:scale(1.06);filter:saturate(1.05)}
.palette-block{
  max-width:710px;
  margin:0 auto;
  padding:34px 28px 10px;
  border-top:1px solid rgba(216,208,196,.72);
}
.palette-block h3{
  margin:0 0 18px;
  font-family:var(--title);
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--green);
  font-size:34px;
}
.palette-block p{font-size:27px;line-height:1.4;margin:0 auto 26px}
.palette{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}
.palette span{width:58px;height:58px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 1px rgba(0,0,0,.14),0 8px 22px rgba(44,33,21,.12)}

.rsvp{padding:52px 54px 56px}
.rsvp .section-heading{text-align:center}
.form-lead{text-align:center;font-size:24px;margin:0 0 28px;color:#50483f}
.rsvp-form{max-width:720px;margin:0 auto;display:grid;gap:24px;font-family:var(--serif)}
.field span,.rsvp-form legend{
  display:block;
  margin:0 0 9px;
  font-size:22px;
  color:#433b32;
  font-weight:600;
}
.rsvp-form fieldset{border:0;margin:0;padding:0;display:grid;gap:12px}
.rsvp-form input[type="text"],.rsvp-form textarea{
  width:100%;
  border:1px solid #dcd2c2;
  background:rgba(255,255,255,.72);
  color:#2d2822;
  border-radius:16px;
  padding:14px 16px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.rsvp-form input[type="text"]:focus,.rsvp-form textarea:focus{border-color:#8fa482;box-shadow:0 0 0 5px rgba(102,128,92,.13);background:#fff}
.choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.choice{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:12px 14px;
  border:1px solid rgba(216,208,196,.78);
  border-radius:16px;
  background:rgba(255,255,255,.48);
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.choice:hover{transform:translateY(-1px);border-color:#a5b59b;background:rgba(255,255,255,.76)}
.choice input{width:19px;height:19px;accent-color:var(--green-dark);flex:0 0 auto}
.choice span{font-size:20px;line-height:1.2;color:#342f29}
.submit-button{justify-self:center;min-width:210px;margin-top:4px}
.form-status{margin:0;text-align:center;min-height:25px;color:var(--green-dark);font-family:var(--sans);font-size:15px}
.form-status.error{color:#9a4d3e}

.place{padding:52px 54px 56px;text-align:center}
.place-address{max-width:680px;margin:0 auto 24px;font-size:25px;line-height:1.35}
.place-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:0 0 24px}
.map-frame{
  width:100%;
  height:420px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(216,208,196,.8);
  box-shadow:var(--soft-shadow);
}
.map-frame iframe{width:100%;height:100%;border:0;display:block;filter:saturate(.93) contrast(.96)}

.site-footer{position:relative;text-align:center;padding:34px 20px 58px;overflow:hidden;color:#5d554a}
.site-footer img{position:absolute;width:260px;left:-80px;bottom:-118px;opacity:.75;pointer-events:none}
.site-footer p{font-size:20px;margin:0 0 2px;font-weight:600}.site-footer span{color:var(--gold)}.site-footer time{font-family:var(--sans);font-size:12px}

.reveal{opacity:0;transform:translateY(34px);transition:opacity .85s ease,transform .85s cubic-bezier(.22,.61,.36,1)}
.reveal.is-visible{opacity:1;transform:none}
.delay-1{transition-delay:.12s}.delay-2{transition-delay:.22s}.delay-3{transition-delay:.32s}
@keyframes float-lemon{0%,100%{transform:translate3d(0,0,0) rotate(0deg)}50%{transform:translate3d(0,10px,0) rotate(1.5deg)}}

.lightbox{
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(17,14,11,.76);
  backdrop-filter:blur(10px);
}
.lightbox[hidden]{display:none}
.lightbox img{max-width:min(94vw,980px);max-height:88vh;border-radius:22px;box-shadow:0 30px 100px rgba(0,0,0,.45)}
.lightbox-close{
  position:absolute;
  top:18px;right:22px;
  width:46px;height:46px;
  border:0;border-radius:50%;
  background:rgba(255,255,255,.92);
  color:#1e1a16;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}

@media (max-width:980px){
  .top-nav{gap:18px;font-size:16px}
  .page{width:min(100% - 26px,820px);margin-top:24px}
  .cover{min-height:720px}
  .names{font-size:90px}
  .large-text p,.detail-block p,.gallery-intro{font-size:28px}
}

@media (max-width:760px){
  html{scroll-padding-top:74px}
  body{font-size:19px}
  .site-header{height:64px;padding:0 14px;grid-template-columns:1fr auto}
  .site-header.is-scrolled{height:60px}
  .brand{font-size:19px}
  .burger{display:grid;place-items:center;width:42px;height:42px;border:0;background:transparent;padding:8px;gap:5px;cursor:pointer}
  .burger span{display:block;width:24px;height:1.5px;background:#2f2923;transition:transform .22s ease,opacity .22s ease}
  .burger.is-open span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
  .burger.is-open span:nth-child(2){opacity:0}
  .burger.is-open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
  .top-nav{
    position:fixed;
    top:70px;left:12px;right:12px;
    display:grid;gap:0;
    padding:10px;
    border:1px solid rgba(216,208,196,.8);
    border-radius:24px;
    background:rgba(255,253,248,.97);
    box-shadow:var(--shadow);
    transform:translateY(-10px);
    opacity:0;pointer-events:none;
    transition:opacity .22s ease,transform .22s ease;
  }
  .site-header.is-scrolled .top-nav{top:66px}
  .top-nav.is-open{opacity:1;pointer-events:auto;transform:none}
  .top-nav a{padding:12px 12px;border-bottom:1px solid rgba(216,208,196,.6)}
  .top-nav a:last-child{border-bottom:0}.top-nav a:after{display:none}
  .section-card{border-radius:24px;margin-bottom:18px}
  .cover{min-height:660px;padding:76px 20px 66px}
  .lemon-corner-top{width:310px;left:-84px;top:-38px}.lemon-corner-bottom{width:330px;right:-94px;bottom:-32px}
  .star-top{margin-bottom:46px}.star-bottom{margin-top:38px}
  .overline{font-size:20px;letter-spacing:.22em;margin-bottom:36px}
  .names{font-size:69px;margin-bottom:44px}.names span{margin:0 3px}
  .invite-line{font-size:22px;letter-spacing:.18em;margin-bottom:36px}
  .date-row{gap:14px;margin-bottom:32px}.date-row strong{font-size:58px}.date-side b{font-size:15px;letter-spacing:.16em}.date-side{gap:8px}
  .cover-note{font-size:20px;letter-spacing:.17em}
  .invite,.couple,.details,.gallery,.rsvp,.place{padding:38px 22px 42px}
  .section-top-decor img{width:min(360px,84%)}
  .script-title{font-size:58px;margin-bottom:28px}.script-title.wide{font-size:51px;text-align:center;padding-left:0;margin-bottom:42px}
  .large-text p,.detail-block p,.gallery-intro{font-size:24px;line-height:1.42}.time-big{font-size:28px!important;margin:30px 0!important}
  .main-photo{width:min(360px,92%)}.script-quote{font-size:40px}
  .section-heading,.section-heading.green{font-size:31px;letter-spacing:.09em;margin-bottom:25px}
  .couple-grid{grid-template-columns:1fr;gap:12px}.couple-flower{width:112px;order:2}.person-card:nth-child(1){order:1}.person-card:nth-child(3){order:3}.person-card img{width:184px;height:184px}.person-card figcaption{font-size:36px}
  .schedule{padding:48px 22px 44px;min-height:0}.schedule-top{width:290px;right:-120px;top:-36px}
  .timeline{gap:34px}.timeline-row{grid-template-columns:72px 80px 1fr;gap:14px}.timeline-row time{font-size:22px}.timeline-row img{width:75px;max-height:84px}.timeline-row h3{font-size:28px}.timeline-row p{font-size:20px}.timeline-row small{font-size:18px}
  .detail-block{margin-bottom:48px}.detail-illustration{width:150px}.detail-illustration.envelope,.detail-illustration.rings{width:180px}
  .calendar-section{padding:32px 14px 38px}.calendar-card{padding:22px 16px;border-width:2px}.calendar-card h2{font-size:50px}.calendar-grid{gap:15px 8px}.calendar-grid b{font-size:16px}.calendar-grid time,.calendar-grid span{font-size:30px;min-height:36px}.wedding-day:before{font-size:60px}
  .script-big{font-size:58px;margin:18px 0 32px}.gallery-grid{grid-template-columns:1fr 1fr;gap:12px}.gallery-item:first-child{grid-column:1/-1;aspect-ratio:4/5}.palette-block{padding:28px 0 0}.palette-block h3{font-size:28px}.palette-block p{font-size:21px}.palette span{width:48px;height:48px}
  .choice-grid{grid-template-columns:1fr}.field span,.rsvp-form legend{font-size:20px}.choice span{font-size:18px}.submit-button{width:100%}
  .place-address{font-size:21px}.place-actions{display:grid}.map-frame{height:350px}
}

@media (max-width:420px){
  .page{width:min(100% - 16px,820px)}
  .cover{min-height:620px}.names{font-size:60px}.overline{font-size:18px}.invite-line{font-size:20px}.date-row strong{font-size:52px}.cover-note{font-size:18px}
  .large-text p,.detail-block p,.gallery-intro{font-size:22px}.script-title{font-size:52px}.script-quote{font-size:36px}.timeline-row{grid-template-columns:64px 65px 1fr;gap:10px}.timeline-row img{width:64px}.calendar-grid time,.calendar-grid span{font-size:27px}.calendar-grid{gap:13px 5px}.map-frame{height:315px}
}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
}

/* Update 2026-06-25: requested clean-up */
.family-name{
  font-size:86px;
  letter-spacing:.015em;
  text-transform:none;
}
.style-palette{
  margin-top:34px;
  margin-bottom:28px;
  padding:30px 0 0;
}
.style-palette h3{
  margin-bottom:16px;
}
.style-palette p{
  max-width:680px;
}

@media (max-width:760px){
  .family-name{font-size:58px;line-height:1.02}
  .style-palette{margin-top:28px;margin-bottom:22px}
}

@media (max-width:420px){
  .family-name{font-size:50px}
}

/* Update 2026-06-25c: timer + one-section-per-menu + cleaned lemon decor */
html{scroll-padding-top:104px}
.site-header{grid-template-columns:auto minmax(0,1fr);gap:20px}
.top-nav{gap:15px;font-size:15px;justify-self:end;white-space:nowrap}
.brand span:last-child{text-transform:none}
.section-card{scroll-margin-top:96px}
.cover{min-height:860px;padding-top:88px;padding-bottom:74px}
.cover-inner{max-width:760px;margin-inline:auto}
.family-name{text-transform:none}
.countdown{
  position:relative;
  z-index:3;
  max-width:560px;
  margin:34px auto 0;
  padding:18px 22px 19px;
  border:1px solid rgba(216,208,196,.72);
  border-radius:24px;
  background:rgba(255,253,248,.56);
  box-shadow:0 18px 46px rgba(74,56,35,.075);
  backdrop-filter:blur(8px);
}
.countdown p{
  margin:0 0 12px;
  font-family:var(--title);
  font-size:20px;
  line-height:1;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--green-dark);
}
.countdown-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.countdown-grid span{
  display:grid;
  gap:4px;
  justify-items:center;
  padding:10px 8px 8px;
  border-radius:16px;
  background:rgba(255,255,255,.58);
  box-shadow:inset 0 0 0 1px rgba(216,208,196,.55);
}
.countdown-grid strong{
  font-family:var(--title);
  font-size:34px;
  line-height:1;
  font-weight:500;
  color:#28231d;
  font-variant-numeric:tabular-nums;
}
.countdown-grid em{
  font-family:var(--sans);
  font-style:normal;
  font-size:11px;
  line-height:1;
  color:#70685f;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.cover .star-bottom{margin-top:34px}
.detail-section{padding-top:54px;padding-bottom:56px;min-height:auto}
.detail-section .detail-block{margin-bottom:0}
.style-section .detail-block{max-width:760px}
.style-section .style-palette{padding-top:24px}

@media (max-width:1180px){
  .site-header{grid-template-columns:1fr auto}
  .top-nav{font-size:14px;gap:11px;justify-self:end}
  .brand{font-size:19px}
}

@media (max-width:980px){
  .top-nav{gap:10px;font-size:13.5px}
  .cover{min-height:820px}
}

@media (max-width:760px){
  html{scroll-padding-top:78px}
  .site-header{grid-template-columns:1fr auto}
  .top-nav{font-size:18px;white-space:normal;max-height:calc(100vh - 92px);overflow:auto}
  .section-card{scroll-margin-top:76px}
  .cover{min-height:760px;padding-top:70px;padding-bottom:52px}
  .family-name{font-size:54px;line-height:1.05}
  .countdown{margin-top:28px;padding:15px 12px 14px;border-radius:20px}
  .countdown p{font-size:15px;letter-spacing:.14em;margin-bottom:10px}
  .countdown-grid{gap:6px}
  .countdown-grid span{padding:9px 4px 7px;border-radius:13px}
  .countdown-grid strong{font-size:25px}
  .countdown-grid em{font-size:9px;letter-spacing:.03em}
  .detail-section{padding-top:38px;padding-bottom:42px}
}

@media (max-width:420px){
  .family-name{font-size:47px}
  .countdown-grid strong{font-size:22px}
}

/* Final polish 2026-07-01: smoother navigation, centered decor, clean calendar heart */
html{
  scroll-behavior:smooth;
  scroll-padding-top:104px;
}
.section-card{
  scroll-margin-top:104px;
  transform-origin:center top;
}
.section-top-decor{
  align-items:center;
  min-height:76px;
}
.section-top-decor img{
  display:block;
  object-fit:contain;
  object-position:center;
  transform:translateX(0);
}
.lemon-corner{
  object-fit:contain;
  object-position:center;
  will-change:transform;
}
.lemon-corner-top{
  left:-62px;
  top:-44px;
}
.lemon-corner-bottom{
  right:-64px;
  bottom:-42px;
}
.detail-illustration{
  object-fit:contain;
  object-position:center;
  transform:translateZ(0);
}
.reveal{
  opacity:0;
  transform:translate3d(0,38px,0) scale(.992);
  transition:
    opacity .95s cubic-bezier(.22,.61,.36,1),
    transform .95s cubic-bezier(.22,.61,.36,1);
  will-change:opacity,transform;
}
.reveal.is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}
.wedding-day{
  position:relative;
  isolation:isolate;
  color:#222;
}
.wedding-day:before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:66px;
  height:66px;
  transform:translate(-50%,-50%);
  z-index:-1;
  background:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 66C40 66 13.5 49.3 13.5 29.4C13.5 20.7 19.3 15 27.1 15C33.1 15 37.2 18.5 40 23.6C42.8 18.5 46.9 15 52.9 15C60.7 15 66.5 20.7 66.5 29.4C66.5 49.3 40 66 40 66Z' stroke='%23D9B246' stroke-width='5.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width:760px){
  html{scroll-padding-top:78px}
  .section-card{scroll-margin-top:78px}
  .section-top-decor{min-height:58px}
  .wedding-day:before{width:56px;height:56px}
  .lemon-corner-top{left:-86px;top:-48px}
  .lemon-corner-bottom{right:-92px;bottom:-46px}
}
