:root{
  --black:#0b0b0b;
  --ink:#151515;
  --ivory:#f3f0e9;
  --paper:#faf8f3;
  --gray:#8f8d88;
  --line:rgba(20,20,20,.18);
  --line-dark:rgba(255,255,255,.2);
  --serif:'Bodoni Moda', Georgia, serif;
  --body:'DM Sans', Arial, sans-serif;
  --script:'Allura', 'Segoe Script', cursive;
  --display:'Cormorant Garamond', Georgia, serif;
  --nav-h:76px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ivory);color:var(--ink);font-family:var(--body);font-weight:300;overflow-x:hidden}
a{color:inherit}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
::selection{background:#111;color:#fff}

/* Shared navigation */
.site-nav{height:var(--nav-h);display:flex;align-items:center;position:fixed;inset:0 0 auto;z-index:1100;border-bottom:1px solid transparent;transition:.35s ease;background:linear-gradient(180deg,rgba(5,5,5,.62),rgba(5,5,5,0));color:#fff}
.site-nav.light-page{background:rgba(243,240,233,.94);color:#111;border-bottom-color:var(--line);backdrop-filter:blur(16px)}
.site-nav.scrolled{background:rgba(10,10,10,.94);border-bottom-color:rgba(255,255,255,.14);backdrop-filter:blur(16px);color:#fff}
.brand{font-family:var(--serif);font-size:1.34rem;letter-spacing:.08em;color:inherit;text-decoration:none}
.brand span{font-size:.7em;padding:0 .08em}
.nav-links a{font-size:.69rem;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;position:relative;padding:.35rem 0}
.nav-links a:after{content:"";position:absolute;left:0;right:100%;bottom:0;border-bottom:1px solid currentColor;transition:.3s}
.nav-links a:hover:after,.nav-links a.active:after{right:0}
.nav-rsvp{border:1px solid currentColor;padding:.7rem 1rem!important}
.menu-toggle{width:44px;height:44px;border:0;background:transparent;padding:10px;display:grid;align-content:center;gap:8px}
.menu-toggle span{height:1px;background:currentColor;width:100%;display:block}
.menu-canvas{background:#0c0c0c;color:#fff;width:min(100vw,560px)!important;border-left:1px solid rgba(255,255,255,.12)}
.menu-head{height:var(--nav-h);border-bottom:1px solid rgba(255,255,255,.13)}
.menu-close{background:transparent;border:0;color:#fff;font-size:1.8rem}
.editorial-menu-link{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:#fff;font-family:var(--display);font-size:clamp(2.3rem,8vw,5rem);line-height:1.03;padding:.22em 0;border-bottom:1px solid rgba(255,255,255,.14)}
.editorial-menu-link small{font-family:var(--body);font-size:.58rem;letter-spacing:.2em;text-transform:uppercase;color:#8d8d8d}

/* Typography */
.kicker{font-size:.66rem;letter-spacing:.28em;text-transform:uppercase;font-weight:500;margin:0 0 1.3rem}
.page-number{font-size:.65rem;letter-spacing:.2em;text-transform:uppercase;margin-bottom:1rem;color:#777}
.display-title{font-family:var(--display);font-size:clamp(3rem,7vw,7rem);font-weight:400;line-height:.88;letter-spacing:-.035em;margin:0}
.display-title em{font-weight:400}
.one-line-title{font-family:var(--display);font-size:clamp(2.8rem,6vw,6.6rem);font-weight:400;line-height:.95;letter-spacing:-.035em;white-space:nowrap;margin:0}
.section-copy{font-family:var(--display);font-size:clamp(1.15rem,1.6vw,1.45rem);line-height:1.55;max-width:660px}
.meta{font-size:.68rem;letter-spacing:.17em;text-transform:uppercase}
.small-note{font-size:.78rem;line-height:1.6;color:#666}
.rule{height:1px;background:currentColor;opacity:.22}
.script-mark{font-family:var(--script);font-size:clamp(3.3rem,7vw,6rem);line-height:.7}

/* Page transitions */
body{opacity:1;transition:opacity .38s ease}
body.page-leave{opacity:0}
.reveal{opacity:0;transform:translateY(28px);transition:opacity .85s cubic-bezier(.22,1,.36,1),transform .9s cubic-bezier(.22,1,.36,1)}
.reveal.in-view{opacity:1;transform:none}
.delay-1{transition-delay:.08s}.delay-2{transition-delay:.16s}.delay-3{transition-delay:.24s}

/* Home */
.home-shell{min-height:100svh;background:#0b0b0b;color:#fff;display:flex;align-items:center;position:relative;overflow:hidden;padding-top:var(--nav-h)}
.home-shell:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 72% 18%,rgba(255,255,255,.055),transparent 30%),linear-gradient(120deg,transparent 0 48%,rgba(255,255,255,.025) 48% 49%,transparent 49%)}
.home-inner{width:min(1180px,calc(100% - 42px));margin:auto;position:relative;z-index:2;padding:5rem 0 4rem}
.home-monogram{width:116px;height:116px;border:1px solid rgba(255,255,255,.35);border-radius:50%;display:grid;place-items:center;font-family:var(--serif);font-size:2rem;letter-spacing:.08em;margin-bottom:clamp(2.3rem,6vh,5rem)}
.home-title{font-family:var(--display);font-size:clamp(4.8rem,13vw,12rem);font-weight:400;line-height:.72;letter-spacing:-.055em;margin:0}
.home-title .amp{font-family:var(--script);font-size:.72em;font-weight:400;margin:0 .04em}
.home-tagline{font-family:var(--display);font-style:italic;font-size:clamp(1.3rem,2.3vw,2.1rem);margin:2rem 0 .75rem;color:#dbd8d1}
.home-date{font-size:.74rem;letter-spacing:.22em;text-transform:uppercase;margin:0 0 3.5rem}
.enter-wrap{display:flex;align-items:center;gap:1.25rem}
.enter-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:2rem;min-width:245px;border:1px solid rgba(255,255,255,.6);padding:1rem 1.2rem;text-decoration:none;text-transform:uppercase;font-size:.69rem;letter-spacing:.18em;transition:.3s}
.enter-btn:hover{background:#fff;color:#111}
.enter-caption{font-family:var(--display);font-style:italic;color:#aaa;font-size:1rem}
.home-tulip{position:absolute;width:clamp(180px,25vw,420px);right:-7%;bottom:-8%;opacity:.28;filter:grayscale(1);pointer-events:none}
.home-index{position:absolute;right:2.5rem;top:50%;transform:rotate(90deg) translateY(-50%);transform-origin:right top;font-size:.58rem;letter-spacing:.24em;text-transform:uppercase;color:#777}

/* General inner pages */
.page-shell{padding-top:var(--nav-h);min-height:100vh;background:var(--ivory)}
.page-hero{min-height:520px;display:flex;align-items:end;position:relative;border-bottom:1px solid var(--line);overflow:hidden}
.page-hero .container{padding-top:7rem;padding-bottom:5rem}
.page-hero.dark{background:#0b0b0b;color:#fff;border-color:var(--line-dark)}
.hero-side-mark{position:absolute;right:4vw;top:50%;font-family:var(--serif);font-size:clamp(5rem,13vw,13rem);line-height:1;color:rgba(0,0,0,.04);transform:translateY(-50%);pointer-events:none}
.dark .hero-side-mark{color:rgba(255,255,255,.04)}
.content-section{padding:clamp(4.5rem,9vw,9rem) 0;position:relative;overflow:hidden}
.content-section.dark{background:#0b0b0b;color:#fff}
.content-section.paper{background:var(--paper)}
.content-section .xray-tulip{position:absolute;width:clamp(130px,17vw,270px);opacity:.08;pointer-events:none;z-index:0}
.content-section.dark .xray-tulip{opacity:.12}
.xray-tulip.tr{right:-4%;top:-4%;transform:rotate(16deg)}
.xray-tulip.bl{left:-5%;bottom:-7%;transform:rotate(-14deg) scaleX(-1)}
.content-section>.container{position:relative;z-index:2}

/* Invitation */
.invitation-cover{background:#0b0b0b;color:#fff;min-height:calc(100svh - var(--nav-h));display:grid;align-items:center;position:relative;overflow:hidden}
.invitation-cover .container{padding-top:5rem;padding-bottom:5rem}
.invitation-label{display:flex;align-items:center;gap:1rem;font-size:.64rem;letter-spacing:.26em;text-transform:uppercase;color:#aaa}
.invitation-label:after{content:"";width:90px;height:1px;background:#555}
.invitation-names{font-family:var(--display);font-size:clamp(5rem,14vw,13rem);line-height:.72;letter-spacing:-.06em;margin:1.8rem 0 2.4rem}
.invitation-names .amp{font-family:var(--script);font-size:.65em;margin:0 .05em}
.invitation-copy{font-family:var(--display);font-size:clamp(1.2rem,2vw,1.65rem);line-height:1.5;max-width:630px;color:#d9d6cf}
.invitation-info{margin-top:3rem;border-top:1px solid #4a4a4a;border-bottom:1px solid #4a4a4a;padding:1.6rem 0;display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem}
.invitation-info strong{display:block;font-family:var(--display);font-size:1.35rem;font-weight:400}
.invitation-info span{font-size:.63rem;letter-spacing:.16em;text-transform:uppercase;color:#999}
.save-date-line{font-family:var(--display);font-size:clamp(3.4rem,8vw,8rem);white-space:nowrap;line-height:.9;margin:0}
.mini-photo-strip{display:flex;gap:12px;justify-content:flex-end;align-items:end}
.mini-photo{width:clamp(92px,11vw,150px);aspect-ratio:3/4;object-fit:cover;filter:grayscale(1);border:1px solid rgba(255,255,255,.25)}
.invitation-emblem{width:110px;height:110px;border:1px solid rgba(255,255,255,.4);border-radius:50%;display:grid;place-items:center;font-family:var(--serif);font-size:1.8rem;letter-spacing:.08em}

/* Story */
.aesthetic-card{border:1px solid var(--line);padding:clamp(1.5rem,3vw,3rem);position:relative;background:rgba(255,255,255,.34)}
.aesthetic-title{font-family:var(--display);font-size:clamp(2.2rem,4vw,4rem);line-height:1;margin-bottom:1rem}
.dot-list{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase}
.story-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:470px;margin-left:auto}
.story-photo-grid figure{margin:0}
.story-photo-grid figure:nth-child(2){margin-top:70px}
.story-photo-grid img{width:100%;aspect-ratio:3/4;object-fit:cover;filter:grayscale(1)}
.story-photo-grid figcaption{font-size:.58rem;letter-spacing:.18em;text-transform:uppercase;margin-top:.65rem;color:#777}
.quote-box{font-family:var(--display);font-size:clamp(2rem,4vw,4.3rem);line-height:1.05;border-left:1px solid #222;padding-left:clamp(1.5rem,3vw,3rem)}

/* Details */
.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.detail-card{padding:2.2rem 2rem;min-height:270px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between}
.detail-card:last-child{border-right:0}
.detail-icon{font-size:2rem;margin-bottom:2rem}
.detail-card h3{font-family:var(--display);font-size:2rem;font-weight:400}
.detail-card p{font-size:.83rem;line-height:1.7;margin:0;color:#555}
.venue-mark{font-family:var(--display);font-size:clamp(4rem,10vw,10rem);line-height:.75;color:#e4e0d8;position:absolute;right:2%;bottom:-2%;pointer-events:none}

/* Timeline */
.timeline-rail{position:relative;display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin-top:4rem}
.timeline-rail:before{content:"";position:absolute;left:5%;right:5%;top:38px;height:1px;background:#363636}
.timeline-stop{position:relative;text-align:center;padding:0 1rem}
.timeline-icon{width:76px;height:76px;border:1px solid #4c4c4c;border-radius:50%;display:grid;place-items:center;margin:0 auto 1.5rem;background:#0b0b0b;font-size:1.45rem;position:relative;z-index:2;transition:.35s}
.timeline-stop:hover .timeline-icon{background:#fff;color:#111;border-color:#fff;transform:translateY(-4px)}
.timeline-time{font-family:var(--serif);font-size:1.25rem}
.timeline-label{font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;color:#aaa;margin-top:.35rem}
.timeline-stop:after{content:attr(data-step);position:absolute;top:-24px;left:50%;transform:translateX(-50%);font-size:.55rem;letter-spacing:.2em;color:#666}

/* Travel */
.travel-intro-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(2rem,7vw,7rem);align-items:start}
.travel-card{border-top:1px solid var(--line);padding:1.6rem 0;display:grid;grid-template-columns:70px 1fr auto;gap:1rem;align-items:start}
.travel-icon{font-size:1.45rem}
.travel-card h3{font-family:var(--display);font-size:1.65rem;font-weight:400;margin:0 0 .4rem}
.travel-card p{font-size:.8rem;line-height:1.65;margin:0;color:#666}
.hotel-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.hotel-card{background:var(--paper);padding:1.7rem;min-height:175px;display:flex;flex-direction:column;justify-content:space-between}
.hotel-card strong{font-family:var(--display);font-size:1.4rem;font-weight:400}
.hotel-card small{font-size:.68rem;color:#666}
.explore-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#343434;border:1px solid #343434}
.explore-card{background:#0b0b0b;padding:2rem;min-height:230px;color:#fff;display:flex;flex-direction:column;justify-content:space-between}
.explore-no{font-family:var(--serif);font-size:2rem;color:#555}
.explore-card h3{font-family:var(--display);font-size:1.7rem;font-weight:400}
.explore-card p{font-size:.78rem;line-height:1.6;color:#aaa}
.goshugi-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(2rem,7vw,7rem);align-items:center}
.goshugi-photo-frame{background:#fff;padding:20px;box-shadow:0 18px 50px rgba(0,0,0,.12);max-width:330px;margin:auto}
.goshugi-photo-frame img{width:100%;aspect-ratio:280/435;object-fit:cover}
.goshugi-photo-frame figcaption{font-size:.58rem;line-height:1.5;color:#666;margin-top:.7rem}
.goshugi-amounts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:2rem}
.goshugi-amounts div{padding:1.2rem;border-right:1px solid var(--line)}
.goshugi-amounts div:last-child{border-right:0}
.goshugi-amounts strong{display:block;font-family:var(--serif);font-size:1.2rem}
.goshugi-amounts span{font-size:.62rem;color:#666}

/* FAQ */
.faq-list{border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-btn{width:100%;background:none;border:0;padding:1.45rem 0;display:grid;grid-template-columns:55px 1fr auto;align-items:center;text-align:left;color:inherit}
.faq-btn span:first-child{font-family:var(--serif);color:#888}
.faq-btn strong{font-family:var(--display);font-size:1.45rem;font-weight:400}
.faq-answer{padding:0 0 1.7rem 55px;max-width:780px;font-size:.85rem;line-height:1.7;color:#666}
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:3rem}
.contact-card{margin:0}
.qr-art{background:#aaa;aspect-ratio:1/1;padding:clamp(1rem,2vw,1.6rem);display:grid;place-items:center;position:relative}
.qr-art img{width:min(68%,245px);aspect-ratio:1/1;object-fit:contain;background:#fff;padding:.55rem}
.qr-script{position:absolute;right:1rem;top:.2rem;font-family:var(--script);font-size:3.2rem;color:#111}
.contact-card figcaption{display:flex;justify-content:space-between;border-top:1px solid #333;padding:.9rem 0;font-size:.61rem;letter-spacing:.15em;text-transform:uppercase}

/* RSVP */
.rsvp-layout{display:grid;grid-template-columns:.85fr 1.15fr;min-height:calc(100svh - var(--nav-h));padding-top:var(--nav-h)}
.rsvp-aside{background:#0b0b0b;color:#fff;padding:clamp(3rem,7vw,7rem);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.rsvp-aside .xray{position:absolute;width:360px;right:-100px;bottom:-80px;opacity:.13}
.rsvp-panel{background:var(--paper);padding:clamp(3rem,7vw,7rem);display:flex;align-items:center}
.rsvp-form{width:min(680px,100%);margin:auto}
.form-label{font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;margin-bottom:.55rem}
.form-control,.form-select{border:0;border-bottom:1px solid #8c8a84;border-radius:0;background:transparent;padding:.8rem 0;box-shadow:none!important}
.form-control:focus,.form-select:focus{background:transparent;border-bottom-color:#111}
.rsvp-limit{border:1px solid var(--line);padding:1rem 1.2rem;margin-bottom:2rem;font-size:.78rem;line-height:1.6}
.submit-btn{border:1px solid #111;background:#111;color:#fff;width:100%;padding:1rem;text-transform:uppercase;font-size:.67rem;letter-spacing:.2em;transition:.3s}
.submit-btn:hover{background:transparent;color:#111}

/* Footer */
.site-footer{background:#0b0b0b;color:#fff;padding:2rem 0;border-top:1px solid #242424}
.footer-row{display:flex;justify-content:space-between;gap:1rem;align-items:center}
.footer-row p{font-size:.6rem;letter-spacing:.15em;text-transform:uppercase;margin:0;color:#999}
.footer-nav{display:flex;gap:1.2rem;flex-wrap:wrap}
.footer-nav a{font-size:.59rem;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;color:#aaa}

/* Responsive */
@media(max-width:1199.98px){
  .timeline-rail{grid-template-columns:repeat(5,1fr)}
  .home-index{display:none}
}
@media(max-width:991.98px){
  :root{--nav-h:68px}
  .page-hero{min-height:420px}
  .detail-grid{grid-template-columns:1fr}
  .detail-card{border-right:0;border-bottom:1px solid var(--line);min-height:220px}
  .detail-card:last-child{border-bottom:0}
  .timeline-rail{grid-template-columns:1fr;gap:0;margin-left:32px}
  .timeline-rail:before{left:37px;right:auto;top:0;bottom:0;width:1px;height:auto}
  .timeline-stop{text-align:left;display:grid;grid-template-columns:76px 1fr;gap:1.2rem;align-items:center;padding:1rem 0}
  .timeline-icon{margin:0}
  .timeline-stop:after{left:-30px;top:50%;transform:translateY(-50%)}
  .travel-intro-grid,.goshugi-layout{grid-template-columns:1fr}
  .explore-grid{grid-template-columns:repeat(2,1fr)}
  .rsvp-layout{grid-template-columns:1fr;padding-top:var(--nav-h)}
  .rsvp-aside{min-height:410px}
  .contact-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid .contact-card:last-child{grid-column:1/-1;width:calc(50% - .75rem);justify-self:center}
}
@media(max-width:767.98px){
  .home-inner{padding:3.2rem 0}
  .home-title{font-size:clamp(4.2rem,22vw,7rem)}
  .home-tagline{margin-top:1.6rem}
  .enter-wrap{align-items:flex-start;flex-direction:column;gap:.7rem}
  .enter-btn{width:100%;min-width:0}
  .home-tulip{width:240px;right:-85px;opacity:.22}
  .invitation-cover{min-height:auto}
  .invitation-info{grid-template-columns:1fr;gap:1.2rem}
  .mini-photo-strip{justify-content:flex-start;margin-top:2rem}
  .save-date-line,.one-line-title{font-size:clamp(2.2rem,12vw,4rem);white-space:normal}
  .story-photo-grid{max-width:100%;gap:10px}
  .story-photo-grid figure:nth-child(2){margin-top:38px}
  .hotel-grid,.explore-grid{grid-template-columns:1fr}
  .goshugi-amounts{grid-template-columns:1fr}
  .goshugi-amounts div{border-right:0;border-bottom:1px solid var(--line)}
  .goshugi-amounts div:last-child{border-bottom:0}
  .contact-grid{grid-template-columns:1fr}
  .contact-grid .contact-card:last-child{grid-column:auto;width:100%}
  .qr-art img{width:min(66vw,240px)}
  .footer-row{align-items:flex-start;flex-direction:column}
  .rsvp-aside,.rsvp-panel{padding:3.2rem 1.25rem}
  .page-hero .container{padding-top:5rem;padding-bottom:3.5rem}
  .content-section{padding:4.5rem 0}
}
@media(max-width:390px){
  .home-title{font-size:4rem}
  .display-title{font-size:2.8rem}
  .one-line-title{font-size:2.3rem}
  .editorial-menu-link{font-size:2.5rem}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
  .reveal{opacity:1!important;transform:none!important}
}

/* Keep requested editorial headings on one line on phones as well. */
@media(max-width:767.98px){
  .one-line-title,.save-date-line{white-space:nowrap;font-size:clamp(2rem,9.2vw,3.8rem);letter-spacing:-.045em}
}
@media(max-width:390px){
  .one-line-title,.save-date-line{font-size:clamp(1.85rem,8.8vw,2.6rem)}
}


/* Classy handwritten couple-name treatment inspired by the supplied reference */
.home-title, .invitation-names {font-family:var(--script)!important;font-weight:400!important;letter-spacing:.005em!important;line-height:.86!important;}
.home-title{font-size:clamp(4.6rem,12vw,10.5rem)!important;}
.invitation-names{font-size:clamp(4.8rem,12vw,10.8rem)!important;}
.home-title .amp,.invitation-names .amp{font-family:var(--script)!important;font-size:.78em!important;font-weight:400!important;display:inline-block;margin:0 .09em!important;transform:translateY(-.02em);}
.script-mark,.qr-script{font-family:var(--script)!important;font-weight:400!important;}
@media(max-width:767.98px){.home-title{font-size:clamp(4rem,22vw,7.2rem)!important;line-height:.82!important}.invitation-names{font-size:clamp(4rem,20vw,7rem)!important;line-height:.84!important}}


/* =========================================================
   ELEGANT EDITORIAL TITLE SYSTEM
   ========================================================= */
:root{
  --title-serif:'Bodoni Moda','Times New Roman',serif;
  --title-display:'Cormorant Garamond',Georgia,serif;
}

.display-title,
.one-line-title,
.aesthetic-title,
.page-hero h1,
.content-section h1,
.content-section h2,
.rsvp-aside h1,
.rsvp-panel h2{
  font-family:var(--title-serif)!important;
  font-weight:400!important;
  text-wrap:balance;
  letter-spacing:-.045em!important;
  line-height:.92!important;
}

.display-title{
  font-size:clamp(3.8rem,8vw,8.6rem)!important;
  max-width:11ch;
}

.one-line-title{
  font-size:clamp(3rem,6.3vw,6.8rem)!important;
  letter-spacing:-.05em!important;
}

.aesthetic-title{
  font-size:clamp(2.8rem,5.5vw,5.8rem)!important;
  margin-bottom:1.35rem!important;
}

.display-title::after,
.aesthetic-title::after{
  content:"";
  display:block;
  width:clamp(56px,7vw,110px);
  height:1px;
  margin-top:.3em;
  background:currentColor;
  opacity:.55;
}

.display-title em,
.home-tagline,
.enter-caption,
.section-copy em,
.invitation-copy em{
  font-family:var(--title-display)!important;
  font-style:italic!important;
  font-weight:400!important;
}

.invitation-label,
.eyebrow,
.section-kicker,
[class*="eyebrow"],
[class*="kicker"]{
  font-family:var(--sans)!important;
  text-transform:uppercase!important;
  letter-spacing:.28em!important;
  font-size:.62rem!important;
  font-weight:500!important;
}

.detail-card h3,
.travel-card h3,
.explore-card h3,
.faq-btn strong,
.hotel-card strong,
.timeline-stop h3,
.goshugi-layout h3,
.contact-card h3{
  font-family:var(--title-serif)!important;
  font-weight:400!important;
  letter-spacing:-.025em!important;
  line-height:1.05!important;
}

.home-tagline{
  font-size:clamp(1.35rem,2.2vw,2.15rem)!important;
  letter-spacing:.015em!important;
}

.save-date-line{
  font-family:var(--title-serif)!important;
  font-weight:400!important;
  letter-spacing:-.055em!important;
  font-size:clamp(3.8rem,8.5vw,8.8rem)!important;
  line-height:.86!important;
}

.invitation-label{
  letter-spacing:.32em!important;
}

.invitation-copy{
  font-family:var(--title-display)!important;
  font-size:clamp(1.3rem,2.1vw,1.8rem)!important;
  line-height:1.48!important;
}

.invitation-info strong{
  font-family:var(--title-serif)!important;
  letter-spacing:-.02em!important;
  font-size:clamp(1.35rem,1.9vw,1.7rem)!important;
}

.editorial-menu-link{
  font-family:var(--title-serif)!important;
  font-weight:400!important;
  letter-spacing:-.035em!important;
}

.brand{
  font-family:var(--title-serif)!important;
  letter-spacing:.12em!important;
}

@media(max-width:767.98px){
  .display-title{
    font-size:clamp(3rem,16vw,5rem)!important;
    max-width:100%;
  }
  .one-line-title{
    font-size:clamp(2.6rem,13vw,4.7rem)!important;
    white-space:normal!important;
  }
  .aesthetic-title{
    font-size:clamp(2.7rem,12vw,4.5rem)!important;
  }
  .save-date-line{
    font-size:clamp(3.2rem,15vw,5.5rem)!important;
    white-space:normal!important;
  }
}


/* =========================================================
   SCRIPT HEADING SYSTEM — inspired by supplied references
   Elegant handwritten titles, restrained editorial support.
   ========================================================= */
.display-title,
.one-line-title,
.aesthetic-title,
.page-hero h1,
.content-section > .container > h1,
.content-section > .container > h2,
.rsvp-aside h1,
.rsvp-panel h2,
.rsvp-form-title,
.save-date-line {
  font-family: var(--script) !important;
  font-weight: 400 !important;
  letter-spacing: .008em !important;
  line-height: .88 !important;
  text-transform: none !important;
}

.display-title {
  font-size: clamp(4.8rem, 10vw, 10rem) !important;
  max-width: 12ch;
}

.one-line-title,
.save-date-line {
  font-size: clamp(4rem, 8.4vw, 8.6rem) !important;
}

.aesthetic-title,
.rsvp-form-title {
  font-size: clamp(3.4rem, 6.8vw, 6.7rem) !important;
}

.display-title::after,
.aesthetic-title::after {
  width: 84px !important;
  margin-top: .22em !important;
  opacity: .4 !important;
}

/* Keep supporting titles classy without making every word handwritten. */
.detail-card h3,
.travel-card h3,
.explore-card h3,
.faq-btn strong,
.hotel-card strong,
.timeline-stop h3,
.goshugi-layout h3,
.contact-card h3,
.invitation-info strong {
  font-family: var(--title-serif) !important;
  font-weight: 400 !important;
  letter-spacing: -.035em !important;
}

/* RSVP visual redesign */
.rsvp-form {
  position: relative;
  overflow: hidden;
}

.rsvp-form::after {
  content: "RK";
  position: absolute;
  right: -1.2rem;
  top: 34%;
  z-index: 0;
  font-family: var(--script);
  font-size: clamp(8rem, 18vw, 15rem);
  line-height: 1;
  color: rgba(14,14,13,.025);
  transform: rotate(-8deg);
  pointer-events: none;
}

.rsvp-form-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1.35rem;
  align-items: center;
  margin-bottom: 2.6rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.rsvp-form-monogram {
  width: 78px;
  height: 78px;
  border: 1px solid #1a1a18;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--script);
  font-size: 2.25rem;
  transform: rotate(-7deg);
}

.rsvp-form-title {
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 5.4rem) !important;
}

.rsvp-form-note {
  margin: .55rem 0 0;
  font-family: var(--title-display);
  font-style: italic;
  font-size: 1.08rem;
  color: #76736d;
}

.rsvp-field-card {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid rgba(14,14,13,.16);
  background: rgba(244,240,232,.72);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.rsvp-field-card:focus-within {
  border-color: rgba(14,14,13,.7);
  background: rgba(255,255,255,.82);
  transform: translateY(-2px);
}

.rsvp-field-card-featured {
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(14,14,13,.035), transparent 42%),
    rgba(244,240,232,.72);
}

.field-number {
  display: block;
  margin-bottom: .8rem;
  font-family: var(--sans);
  font-size: .58rem;
  letter-spacing: .26em;
  color: #8d8981;
}

.rsvp-field-card .form-label {
  margin-bottom: .75rem;
}

.rsvp-field-card .form-control,
.rsvp-field-card .form-select {
  border: 0 !important;
  border-bottom: 1px solid #9e9a92 !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.rsvp-field-card .form-control:focus,
.rsvp-field-card .form-select:focus {
  border-bottom-color: #111 !important;
}

.field-hint {
  margin-top: .8rem;
  font-family: var(--title-display);
  font-style: italic;
  color: #858078;
  font-size: .96rem;
}

.rsvp-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.rsvp-submit-mark {
  font-family: var(--title-serif);
  font-size: .72rem;
  letter-spacing: .22em;
  color: #8a867e;
}

.submit-btn span {
  margin-left: .7rem;
  transition: transform .2s ease;
  display: inline-block;
}

.submit-btn:hover span {
  transform: translateX(4px);
}

@media(max-width:767.98px){
  .display-title {
    font-size: clamp(4.2rem, 20vw, 7.2rem) !important;
  }

  .one-line-title,
  .save-date-line {
    font-size: clamp(3.4rem, 16vw, 5.8rem) !important;
    white-space: normal !important;
  }

  .aesthetic-title,
  .rsvp-form-title {
    font-size: clamp(3rem, 14vw, 5rem) !important;
  }

  .rsvp-form-intro {
    grid-template-columns: 64px 1fr;
    gap: 1rem;
  }

  .rsvp-form-monogram {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .rsvp-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .rsvp-submit-mark {
    order: 2;
  }
}


/* =========================================================
   MIXED SCRIPT + SERIF TITLE SYSTEM
   Inspired by the supplied "the COUNTDOWN" / "the DETAILS"
   references: delicate handwritten accent + elegant serif main word.
   ========================================================= */

:root{
  --ref-script:'Allura','Segoe Script',cursive;
  --ref-serif:'Cormorant Garamond','Bodoni Moda',Georgia,serif;
}

/* Main page/section headings use the elegant serif as the dominant face. */
.display-title,
.one-line-title,
.aesthetic-title,
.page-hero h1,
.content-section > .container > h1,
.content-section > .container > h2,
.rsvp-aside h1,
.rsvp-panel h2,
.rsvp-form-title,
.save-date-line {
  font-family: var(--ref-serif) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: .015em !important;
  line-height: .92 !important;
  text-transform: uppercase !important;
}

/* Refined high-contrast look similar to the reference screenshots. */
.display-title{
  font-size:clamp(4.2rem,9vw,9.2rem)!important;
  letter-spacing:.01em!important;
}

.one-line-title,
.save-date-line{
  font-size:clamp(3.6rem,7.6vw,7.8rem)!important;
  letter-spacing:.02em!important;
}

.aesthetic-title,
.rsvp-form-title{
  font-size:clamp(3.1rem,6.1vw,6.1rem)!important;
}

/* Script accents remain soft and handwritten, like "the" and "Ceremony". */
.script-accent,
.heading-script,
.title-script,
.display-title em,
.one-line-title em,
.aesthetic-title em,
.page-hero h1 em,
.save-date-line em,
.rsvp-form-title em,
.section-script,
.home-tagline em {
  font-family: var(--ref-script) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: .01em !important;
}

/* Elegant label above headings, visually matching the small script word
   used above COUNTDOWN / DETAILS in the references. */
.section-kicker,
.invitation-label,
.eyebrow,
[class*="kicker"],
[class*="eyebrow"]{
  font-family:var(--ref-script)!important;
  text-transform:none!important;
  letter-spacing:.015em!important;
  font-size:clamp(1.45rem,2.6vw,2.25rem)!important;
  line-height:1!important;
  font-weight:400!important;
}

/* Keep micro labels in sans so forms/navigation stay readable. */
.form-label,
.field-number,
.rsvp-submit-mark,
.detail-label,
.timeline-time,
.nav-link,
.small-note{
  font-family:var(--sans)!important;
}

/* Underline/rule treatment beneath major headings */
.display-title::after,
.aesthetic-title::after,
.page-hero h1::after{
  content:"";
  display:block;
  width:clamp(52px,6vw,92px);
  height:1px;
  margin:.22em auto 0;
  background:currentColor;
  opacity:.35;
}

/* Titles inside cards remain elegant serif rather than cursive. */
.detail-card h3,
.travel-card h3,
.explore-card h3,
.faq-btn strong,
.hotel-card strong,
.timeline-stop h3,
.goshugi-layout h3,
.contact-card h3,
.invitation-info strong{
  font-family:var(--ref-serif)!important;
  font-weight:400!important;
  letter-spacing:.01em!important;
  line-height:1.05!important;
  text-transform:uppercase;
}

/* Couple names stay handwritten as a signature element. */
.home-title,
.invitation-names,
.contact-script,
.script-mark,
.qr-script{
  font-family:var(--ref-script)!important;
  text-transform:none!important;
  letter-spacing:.005em!important;
}

/* A soft script subheading utility for places like Ceremony, Reception, etc. */
.timeline-stop .timeline-sub,
.detail-card .detail-script,
.travel-card .travel-script{
  font-family:var(--ref-script)!important;
  font-size:1.55rem;
  line-height:1;
  color:#76716a;
}

/* Responsive tuning */
@media(max-width:767.98px){
  .display-title{
    font-size:clamp(3.4rem,16vw,5.8rem)!important;
  }

  .one-line-title,
  .save-date-line{
    font-size:clamp(3rem,14vw,5.1rem)!important;
    white-space:normal!important;
  }

  .aesthetic-title,
  .rsvp-form-title{
    font-size:clamp(2.8rem,12vw,4.6rem)!important;
  }

  .section-kicker,
  .invitation-label,
  .eyebrow,
  [class*="kicker"],
  [class*="eyebrow"]{
    font-size:clamp(1.25rem,7vw,1.9rem)!important;
  }
}


.heading-script{
  display:block;
  margin-bottom:.02em;
  font-family:var(--ref-script)!important;
  font-size:.42em!important;
  line-height:.9!important;
  font-weight:400!important;
  text-transform:none!important;
  letter-spacing:.01em!important;
}

.one-line-title .heading-script{
  font-size:.38em!important;
}

@media(max-width:767.98px){
  .heading-script{font-size:.46em!important;}
}


/* =========================================================
   ENVELOPE HOME + FANCY PAGE BACKGROUNDS V2
   ========================================================= */

:root{
  --champagne:#a99368;
  --champagne-soft:#d6c9ad;
}

/* ---------- New envelope landing ---------- */
.home-envelope-shell{
  min-height:100svh;
  display:grid;
  place-items:center;
  padding-top:var(--nav-h);
  background:
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.06),transparent 28%),
    radial-gradient(circle at 17% 78%,rgba(169,147,104,.09),transparent 22%),
    linear-gradient(110deg,#050505 0%,#101010 51%,#050505 100%);
  isolation:isolate;
}

.home-envelope-shell::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  opacity:.26;
  background-image:
    repeating-linear-gradient(73deg,rgba(255,255,255,.08) 0 1px,transparent 1px 5px);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),rgba(0,0,0,.25));
  pointer-events:none;
}

.home-envelope-shell::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  background:radial-gradient(circle at center,transparent 35%,rgba(0,0,0,.5) 100%);
  pointer-events:none;
}

.home-fancy-petal{
  position:absolute;
  z-index:1;
  border:1px solid rgba(169,147,104,.28);
  background:
    repeating-linear-gradient(80deg,rgba(255,255,255,.075) 0 1px,transparent 1px 7px),
    linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.025) 62%,rgba(169,147,104,.06));
  opacity:.75;
  pointer-events:none;
  filter:drop-shadow(0 15px 35px rgba(0,0,0,.25));
}

.petal-one{
  width:62vw;height:115vh;left:-16vw;top:-22vh;
  border-radius:70% 30% 62% 38%/65% 48% 52% 35%;
  transform:rotate(-17deg);
}
.petal-two{
  width:68vw;height:94vh;right:-22vw;top:-2vh;
  border-radius:76% 24% 68% 32%/52% 63% 37% 48%;
  transform:rotate(12deg);
}
.petal-three{
  width:74vw;height:44vh;left:18vw;bottom:-18vh;
  border-radius:48% 52% 76% 24%/70% 42% 58% 30%;
  transform:rotate(-8deg);
  opacity:.48;
}

.home-gold-specks{
  position:absolute;
  z-index:1;
  left:24%;bottom:17%;
  width:32vw;height:22vw;
  background:
    radial-gradient(circle at 12% 56%,#9b8050 0 2px,transparent 3px),
    radial-gradient(circle at 31% 72%,#b69b67 0 2px,transparent 3px),
    radial-gradient(circle at 47% 43%,#80663e 0 2px,transparent 3px),
    radial-gradient(circle at 66% 66%,#b69b67 0 3px,transparent 4px),
    radial-gradient(circle at 83% 37%,#8e7144 0 2px,transparent 3px);
  opacity:.6;
  pointer-events:none;
}

.home-envelope-stage{
  position:relative;
  z-index:5;
  width:min(680px,92vw);
  min-height:690px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:34px 18px 28px;
}

.home-invite-label{
  margin:0 0 24px;
  font-family:var(--serif);
  font-size:.68rem;
  letter-spacing:.28em;
  font-weight:500;
}

.home-couple-lockup{
  position:relative;
  width:min(390px,82vw);
  height:190px;
  margin-bottom:2px;
  font-family:var(--display);
  font-weight:400;
}

.home-name{
  position:absolute;
  font-family:var(--display)!important;
  font-size:clamp(4rem,8vw,6.5rem);
  font-weight:400;
  line-height:.8;
  letter-spacing:-.055em;
}

.home-name.ray{left:8%;top:4px}
.home-name.kim{right:8%;bottom:0}

.home-and{
  position:absolute;
  left:50%;
  top:45%;
  z-index:2;
  transform:translate(-50%,-50%) rotate(-4deg);
  font-family:var(--script);
  font-size:clamp(4.6rem,8.2vw,7.2rem);
  line-height:.72;
  white-space:nowrap;
}

.home-and::before,
.home-and::after{
  content:"";
  position:absolute;
  top:57%;
  height:1px;
  width:92px;
  background:currentColor;
  opacity:.72;
}
.home-and::before{right:83%;transform:rotate(-4deg)}
.home-and::after{left:83%;transform:rotate(3deg)}

.home-envelope{
  position:relative;
  display:block;
  width:min(350px,76vw);
  aspect-ratio:1.5;
  margin:0 auto;
  perspective:1100px;
  filter:drop-shadow(0 22px 30px rgba(0,0,0,.58));
  transition:transform .35s ease,filter .35s ease;
}
.home-envelope:hover{
  transform:translateY(-7px) scale(1.015);
  filter:drop-shadow(0 30px 38px rgba(0,0,0,.7));
}

.home-envelope-back{
  position:absolute;inset:0;
  background:linear-gradient(135deg,#242424,#090909 56%,#191919);
  border:1px solid rgba(185,160,112,.72);
}

.home-envelope-card{
  position:absolute;
  z-index:2;
  left:8%;right:8%;top:8%;
  height:82%;
  background:#ece5d7;
  color:#151515;
  border:1px solid #bda778;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transform:translateY(18%);
  transition:transform .55s cubic-bezier(.22,.9,.25,1);
}
.home-envelope:hover .home-envelope-card{transform:translateY(-5%)}

.home-card-mark{
  font-family:var(--script);
  font-size:3rem;
  line-height:1;
}
.home-card-date{
  font-family:var(--serif);
  font-size:.55rem;
  letter-spacing:.22em;
  margin-top:.35rem;
}

.home-envelope-front{
  position:absolute;
  z-index:5;
  inset:0;
  clip-path:polygon(0 43%,50% 77%,100% 43%,100% 100%,0 100%);
  background:linear-gradient(148deg,#181818 0 49%,#070707 50% 100%);
  border:1px solid rgba(185,160,112,.72);
}

.home-envelope-flap{
  position:absolute;
  z-index:6;
  left:0;right:0;top:0;
  height:62%;
  clip-path:polygon(0 0,100% 0,50% 100%);
  background:linear-gradient(#242424,#080808);
  border-top:1px solid rgba(211,190,148,.75);
  transform-origin:top center;
  transition:transform .6s ease;
}

.home-envelope:hover .home-envelope-flap{
  transform:rotateX(16deg);
}

.home-envelope-ribbon{
  position:absolute;
  z-index:7;
  left:0;right:0;
  height:3px;
  top:59%;
  background:linear-gradient(90deg,#5f4b2d,#c9b68d,#6b5734);
}
.home-envelope-ribbon.ribbon-b{top:62%;height:1px;opacity:.8}

.home-envelope-seal{
  position:absolute;
  z-index:8;
  left:50%;
  top:60%;
  width:56px;height:56px;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#2b2419;
  font-family:var(--serif);
  font-size:.8rem;
  letter-spacing:.05em;
  background:
    radial-gradient(circle at 34% 28%,#ddcfaf 0%,#a38a5d 42%,#675332 69%,#c7b184 100%);
  border:2px solid #c3ad80;
  box-shadow:0 4px 12px rgba(0,0,0,.55),inset 0 0 0 5px rgba(61,44,25,.22);
}

.home-open-copy{
  margin:14px 0 0;
  font-family:var(--serif);
  font-size:.64rem;
  font-weight:500;
  letter-spacing:.26em;
}

.home-location{
  margin:11px 0 0;
  font-family:var(--serif);
  font-size:.58rem;
  letter-spacing:.19em;
  color:rgba(255,255,255,.68);
}

/* ---------- Make all inner pages visually richer ---------- */

.page-shell{
  position:relative;
  background:
    radial-gradient(circle at 8% 16%,rgba(169,147,104,.12),transparent 22%),
    radial-gradient(circle at 92% 46%,rgba(255,255,255,.5),transparent 25%),
    linear-gradient(135deg,#f5f0e6 0%,#eee8dc 48%,#f8f5ef 100%);
}

.page-shell::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.22;
  background-image:
    repeating-linear-gradient(78deg,rgba(15,15,15,.045) 0 1px,transparent 1px 8px);
}

.page-shell > *{position:relative;z-index:1}

/* Light sections: layered paper + translucent floral geometry */
.content-section.paper{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 90% 5%,rgba(169,147,104,.12),transparent 24%),
    radial-gradient(ellipse at 10% 90%,rgba(30,30,30,.04),transparent 26%),
    linear-gradient(145deg,#faf7f0 0%,#f1ecdf 55%,#faf8f3 100%)!important;
}

.content-section.paper::before{
  content:"";
  position:absolute;
  width:470px;height:620px;
  right:-190px;top:-220px;
  border:1px solid rgba(151,124,77,.22);
  border-radius:72% 28% 64% 36%/62% 74% 26% 38%;
  transform:rotate(23deg);
  background:
    repeating-linear-gradient(74deg,rgba(30,30,30,.045) 0 1px,transparent 1px 8px);
  pointer-events:none;
}

.content-section.paper::after{
  content:"";
  position:absolute;
  width:420px;height:340px;
  left:-190px;bottom:-170px;
  border:1px solid rgba(151,124,77,.18);
  border-radius:44% 56% 74% 26%/66% 36% 64% 34%;
  transform:rotate(-17deg);
  pointer-events:none;
}

/* Dark sections: black silk/petal texture rather than flat black */
.content-section.dark,
.dark-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 18%,rgba(180,155,105,.1),transparent 20%),
    radial-gradient(circle at 82% 70%,rgba(255,255,255,.055),transparent 28%),
    linear-gradient(120deg,#070707 0%,#141414 48%,#070707 100%)!important;
}

.content-section.dark::before,
.dark-section::before{
  content:"";
  position:absolute;
  width:64vw;height:90vh;
  right:-28vw;top:-20vh;
  border:1px solid rgba(185,160,112,.22);
  border-radius:70% 30% 60% 40%/62% 66% 34% 38%;
  transform:rotate(16deg);
  opacity:.65;
  background:
    repeating-linear-gradient(82deg,rgba(255,255,255,.045) 0 1px,transparent 1px 7px);
  pointer-events:none;
}

.content-section.dark::after,
.dark-section::after{
  content:"";
  position:absolute;
  inset:0;
  opacity:.18;
  background:
    repeating-linear-gradient(72deg,rgba(255,255,255,.05) 0 1px,transparent 1px 6px);
  mask-image:radial-gradient(circle at 70% 30%,#000,transparent 67%);
  pointer-events:none;
}

.content-section.dark > .container,
.dark-section > .container{
  position:relative;
  z-index:2;
}

/* Page hero gets elegant mesh/petal decoration */
.page-hero{
  overflow:hidden;
  background:
    radial-gradient(circle at 72% 22%,rgba(169,147,104,.12),transparent 24%),
    linear-gradient(120deg,#0b0b0b,#171717 50%,#090909)!important;
}

.page-hero::before{
  content:"";
  position:absolute;
  width:58vw;height:82vh;
  right:-19vw;top:-25vh;
  border:1px solid rgba(192,167,119,.28);
  border-radius:72% 28% 64% 36%/62% 70% 30% 38%;
  background:
    repeating-linear-gradient(82deg,rgba(255,255,255,.055) 0 1px,transparent 1px 8px);
  transform:rotate(18deg);
  opacity:.8;
}

.page-hero::after{
  content:"";
  position:absolute;
  width:46vw;height:54vh;
  left:-23vw;bottom:-24vh;
  border:1px solid rgba(192,167,119,.18);
  border-radius:45% 55% 72% 28%;
  transform:rotate(-16deg);
}

.page-hero .container{position:relative;z-index:2}

/* Invitation cover becomes richer */
.invitation-cover{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 15%,rgba(185,160,112,.1),transparent 23%),
    radial-gradient(circle at 20% 85%,rgba(255,255,255,.05),transparent 27%),
    linear-gradient(115deg,#060606,#151515 54%,#060606)!important;
}

.invitation-cover::before{
  content:"";
  position:absolute;
  width:66vw;height:98vh;
  right:-27vw;top:-28vh;
  border:1px solid rgba(200,175,125,.24);
  border-radius:72% 28% 64% 36%/62% 68% 32% 38%;
  background:
    repeating-linear-gradient(82deg,rgba(255,255,255,.05) 0 1px,transparent 1px 8px);
  transform:rotate(17deg);
  opacity:.75;
}

.invitation-cover::after{
  content:"";
  position:absolute;
  width:50vw;height:60vh;
  left:-20vw;bottom:-30vh;
  border:1px solid rgba(200,175,125,.17);
  border-radius:45% 55% 72% 28%;
  transform:rotate(-12deg);
}
.invitation-cover > .container{position:relative;z-index:2}

/* RSVP: fancy left and warm-paper right */
.rsvp-aside{
  background:
    radial-gradient(circle at 18% 20%,rgba(169,147,104,.12),transparent 22%),
    linear-gradient(125deg,#070707,#151515 52%,#080808)!important;
}

.rsvp-aside::before{
  content:"";
  position:absolute;
  width:520px;height:740px;
  right:-260px;top:-170px;
  border:1px solid rgba(192,167,119,.24);
  border-radius:68% 32% 64% 36%/62% 72% 28% 38%;
  background:
    repeating-linear-gradient(80deg,rgba(255,255,255,.045) 0 1px,transparent 1px 8px);
  transform:rotate(18deg);
  pointer-events:none;
}

.rsvp-panel{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 90% 10%,rgba(169,147,104,.13),transparent 24%),
    linear-gradient(145deg,#faf7f0,#eee7da 55%,#f8f4ec)!important;
}

.rsvp-panel::before{
  content:"";
  position:absolute;
  width:390px;height:520px;
  right:-180px;bottom:-200px;
  border:1px solid rgba(151,124,77,.2);
  border-radius:70% 30% 64% 36%;
  transform:rotate(-17deg);
  background:
    repeating-linear-gradient(75deg,rgba(30,30,30,.035) 0 1px,transparent 1px 8px);
  pointer-events:none;
}
.rsvp-form{position:relative;z-index:2}

/* Detail / travel / FAQ cards get luxury glass-paper feeling */
.detail-card,
.hotel-card,
.goshugi-photo-frame{
  box-shadow:0 22px 55px rgba(30,22,12,.07);
}

.detail-card,
.hotel-card{
  background:rgba(255,255,255,.28);
  backdrop-filter:blur(4px);
}

.faq-item{
  transition:background .25s ease,padding .25s ease;
}
.faq-item:hover{
  background:rgba(255,255,255,.32);
  padding-left:12px;
  padding-right:12px;
}

/* Fine gold rules used throughout */
.rule,
.faq-list,
.goshugi-amounts{
  border-color:rgba(155,128,78,.24)!important;
}

/* ---------- Responsive ---------- */
@media(max-width:767.98px){
  .home-envelope-stage{
    min-height:620px;
    padding-top:18px;
  }
  .home-invite-label{
    margin-bottom:14px;
    font-size:.56rem;
    letter-spacing:.22em;
  }
  .home-couple-lockup{
    height:155px;
  }
  .home-name{
    font-size:clamp(3.3rem,17vw,4.7rem);
  }
  .home-and{
    font-size:clamp(4rem,20vw,5.8rem);
  }
  .home-and::before,
  .home-and::after{width:55px}
  .home-envelope{
    width:min(320px,82vw);
  }
  .home-open-copy{
    font-size:.55rem;
    letter-spacing:.2em;
  }
  .petal-one{width:95vw;left:-38vw}
  .petal-two{width:110vw;right:-48vw}
  .petal-three{width:110vw;left:3vw}

  .content-section.paper::before,
  .page-hero::before,
  .invitation-cover::before{
    width:100vw;
    right:-55vw;
    opacity:.48;
  }
}

@media(prefers-reduced-motion:reduce){
  .home-envelope,
  .home-envelope-card,
  .home-envelope-flap{transition:none!important}
}


/* =========================================================
   POLISHED TULIP EDITION V3
   - fixes unreadable dark-section typography
   - adds more elegant tulip / petal decoration
   - strengthens the invitation-card visual direction
   ========================================================= */

/* ---------- UNIVERSAL DARK SECTION READABILITY FIX ---------- */
.page-hero,
.content-section.dark,
.dark-section,
.invitation-cover,
.rsvp-aside {
  color: #f7f3eb !important;
}

.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero p,
.page-hero .display-title,
.page-hero .section-kicker,
.page-hero .eyebrow,
.content-section.dark h1,
.content-section.dark h2,
.content-section.dark h3,
.content-section.dark p,
.content-section.dark .display-title,
.content-section.dark .one-line-title,
.content-section.dark .aesthetic-title,
.content-section.dark .section-kicker,
.content-section.dark .eyebrow,
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section p,
.dark-section .display-title,
.dark-section .one-line-title,
.dark-section .aesthetic-title,
.dark-section .section-kicker,
.dark-section .eyebrow,
.invitation-cover h1,
.invitation-cover h2,
.invitation-cover h3,
.invitation-cover p,
.invitation-cover .invitation-label,
.invitation-cover .invitation-copy,
.rsvp-aside h1,
.rsvp-aside h2,
.rsvp-aside h3,
.rsvp-aside p {
  color: #f7f3eb !important;
}

/* Keep secondary dark-section text readable without becoming too bright */
.page-hero .small-note,
.page-hero .section-copy,
.content-section.dark .small-note,
.content-section.dark .section-copy,
.dark-section .small-note,
.dark-section .section-copy,
.invitation-cover .small-note,
.invitation-cover .section-copy,
.rsvp-aside .small-note {
  color: rgba(247,243,235,.78) !important;
}

/* Specifically prevent giant headings like "THE DETAILS" from disappearing */
.page-hero .display-title,
.page-hero .one-line-title,
.page-hero .aesthetic-title,
.content-section.dark .display-title,
.content-section.dark .one-line-title,
.content-section.dark .aesthetic-title,
.dark-section .display-title,
.dark-section .one-line-title,
.dark-section .aesthetic-title {
  opacity: 1 !important;
  text-shadow: 0 3px 24px rgba(0,0,0,.55);
}

/* ---------- MORE TULIP / PETAL ART ---------- */

/* Large elegant tulip on right edge of light pages */
.content-section.paper .container::after,
.page-shell .paper .container::after {
  content:"";
  position:absolute;
  right:-70px;
  bottom:-110px;
  width:210px;
  height:330px;
  opacity:.12;
  pointer-events:none;
  border:1px solid rgba(145,118,74,.6);
  border-radius:54% 46% 52% 48% / 70% 70% 30% 30%;
  transform:rotate(8deg);
  background:
    radial-gradient(ellipse at 35% 26%,rgba(169,147,104,.1),transparent 48%),
    repeating-linear-gradient(82deg,rgba(130,102,62,.12) 0 1px,transparent 1px 8px);
}

/* Tulip stem and leaf */
.content-section.paper .container::before,
.page-shell .paper .container::before {
  content:"";
  position:absolute;
  right:25px;
  bottom:-175px;
  width:1px;
  height:310px;
  background:rgba(145,118,74,.25);
  transform:rotate(2deg);
  pointer-events:none;
}

/* Dark tulip silhouettes */
.content-section.dark .container::after,
.dark-section .container::after,
.page-hero .container::after {
  content:"";
  position:absolute;
  right:-55px;
  bottom:-120px;
  width:220px;
  height:350px;
  opacity:.14;
  pointer-events:none;
  border:1px solid rgba(214,194,154,.7);
  border-radius:54% 46% 52% 48% / 72% 72% 28% 28%;
  transform:rotate(10deg);
  background:
    radial-gradient(ellipse at 36% 26%,rgba(255,255,255,.08),transparent 48%),
    repeating-linear-gradient(82deg,rgba(255,255,255,.08) 0 1px,transparent 1px 8px);
}

/* Additional left-side tulip for balanced composition */
.content-section.paper .container,
.content-section.dark .container,
.dark-section .container,
.page-hero .container {
  position:relative;
}

.content-section.paper .container .tulip-decor,
.content-section.dark .container .tulip-decor,
.dark-section .container .tulip-decor,
.page-hero .container .tulip-decor {
  pointer-events:none;
}

/* ---------- HOME / ENVELOPE: make closer to the screenshot ---------- */
.home-envelope-stage {
  min-height: 735px !important;
}

.home-invite-label {
  margin-bottom: 30px !important;
  color:#f5f0e7 !important;
  text-shadow:0 2px 18px rgba(0,0,0,.4);
}

.home-couple-lockup {
  height: 210px !important;
  margin-bottom: 8px !important;
}

.home-name {
  color:#f7f3eb !important;
  text-shadow:0 3px 22px rgba(0,0,0,.35);
}

.home-and {
  color:#f7f3eb !important;
  text-shadow:0 3px 18px rgba(0,0,0,.35);
}

/* Slightly larger, more luxury envelope */
.home-envelope {
  width:min(390px,78vw) !important;
}

.home-envelope-back,
.home-envelope-front,
.home-envelope-flap {
  border-color:rgba(202,178,129,.72) !important;
}

.home-envelope-card {
  background:linear-gradient(145deg,#f5efe4,#e9dfcf) !important;
}

.home-envelope-seal {
  width:62px !important;
  height:62px !important;
}

/* ---------- DETAILS PAGE: stronger hero contrast ---------- */
body:has(.page-hero) .page-hero {
  min-height: 560px;
  display:flex;
  align-items:center;
}

.page-hero .section-kicker {
  color:rgba(247,243,235,.68) !important;
}

.page-hero .display-title,
.page-hero .one-line-title,
.page-hero .aesthetic-title {
  color:#f7f3eb !important;
}

/* Make heading underline/rules visible on dark */
.page-hero .display-title::after,
.page-hero .aesthetic-title::after,
.content-section.dark .display-title::after,
.content-section.dark .aesthetic-title::after,
.dark-section .display-title::after,
.dark-section .aesthetic-title::after {
  background:#d9c9a6 !important;
  opacity:.55 !important;
}

/* ---------- CARDS: richer ivory / luxury feel ---------- */
.detail-card,
.hotel-card,
.travel-card,
.explore-card,
.rsvp-field-card {
  border-color:rgba(128,104,66,.2) !important;
  box-shadow:0 18px 55px rgba(40,27,10,.08);
}

.detail-card:hover,
.hotel-card:hover,
.travel-card:hover,
.explore-card:hover {
  box-shadow:0 24px 70px rgba(40,27,10,.12);
}

/* ---------- MOBILE ---------- */
@media(max-width:767.98px){
  .home-envelope-stage{min-height:660px!important}
  .home-couple-lockup{height:170px!important}
  .home-envelope{width:min(340px,86vw)!important}

  .content-section.paper .container::after,
  .page-shell .paper .container::after,
  .content-section.dark .container::after,
  .dark-section .container::after,
  .page-hero .container::after {
    width:150px;
    height:250px;
    right:-70px;
    opacity:.09;
  }

  body:has(.page-hero) .page-hero{
    min-height:430px;
  }
}


.tulip-decor{
  position:absolute;
  left:-95px;
  top:18%;
  width:130px;
  height:220px;
  opacity:.11;
  z-index:0;
  border:1px solid currentColor;
  border-radius:55% 45% 48% 52% / 72% 72% 28% 28%;
  transform:rotate(-12deg);
  background:
    radial-gradient(ellipse at 35% 25%,rgba(255,255,255,.08),transparent 50%),
    repeating-linear-gradient(80deg,currentColor 0 1px,transparent 1px 9px);
  color:#9f8252;
  pointer-events:none;
}

.tulip-decor::before{
  content:"";
  position:absolute;
  left:64px;
  top:190px;
  width:1px;
  height:230px;
  background:currentColor;
  opacity:.65;
}

.tulip-decor::after{
  content:"";
  position:absolute;
  left:62px;
  top:270px;
  width:95px;
  height:38px;
  border:1px solid currentColor;
  border-left:0;
  border-bottom:0;
  border-radius:0 100% 0 100%;
  transform:rotate(-16deg);
  opacity:.62;
}

.content-section.dark .tulip-decor,
.dark-section .tulip-decor,
.page-hero .tulip-decor,
.invitation-cover .tulip-decor{
  color:#d3bc8c;
  opacity:.11;
}

@media(max-width:767.98px){
  .tulip-decor{
    left:-65px;
    top:10%;
    width:90px;
    height:160px;
    opacity:.075;
  }
  .tulip-decor::before{
    left:44px;
    top:138px;
    height:170px;
  }
  .tulip-decor::after{
    left:42px;
    top:198px;
    width:68px;
    height:28px;
  }
}


/* =========================================================
   ENVELOPE CLICK ANIMATION + INVITATION REVEAL V4
   ========================================================= */

.home-envelope{
  border:0;
  padding:0;
  background:transparent;
  color:inherit;
  cursor:pointer;
  appearance:none;
}

/* open flap */
.envelope-is-opening .home-envelope-flap{
  transform:rotateX(178deg) !important;
  z-index:1 !important;
  transition:transform .75s cubic-bezier(.2,.78,.2,1),z-index 0s .35s !important;
}

/* seal and ribbon disappear */
.envelope-is-opening .home-envelope-seal{
  opacity:0;
  transform:translate(-50%,-50%) scale(.72);
  transition:opacity .28s ease,transform .38s ease;
}

.envelope-is-opening .home-envelope-ribbon{
  opacity:.16;
  transition:opacity .3s ease;
}

/* card rises upward from envelope */
.envelope-card-up .home-envelope-card{
  transform:translateY(-66%) scale(1.03) !important;
  z-index:4 !important;
  transition:transform .9s cubic-bezier(.18,.85,.2,1) !important;
  box-shadow:0 18px 44px rgba(0,0,0,.38);
}

/* fade names/instruction while card is opening */
.envelope-scene-fade .home-invite-label,
.envelope-scene-fade .home-couple-lockup,
.envelope-scene-fade .home-open-copy,
.envelope-scene-fade .home-location{
  opacity:.08 !important;
  transition:opacity .6s ease !important;
}

.envelope-scene-fade .home-envelope{
  opacity:.34;
  transform:translateY(12px) scale(.94);
  transition:opacity .7s ease,transform .7s ease;
}

/* Full invitation reveal screen */
.invitation-reveal{
  position:fixed;
  inset:0;
  z-index:50;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.035),transparent 28%),
    rgba(3,3,3,.965);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .9s ease,visibility 0s .9s;
}

.show-invitation-reveal .invitation-reveal{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transition:opacity .9s ease;
}

.invitation-reveal::before,
.invitation-reveal::after{
  content:"";
  position:absolute;
  pointer-events:none;
  border:1px solid rgba(177,151,101,.12);
  background:
    repeating-linear-gradient(80deg,rgba(255,255,255,.025) 0 1px,transparent 1px 8px);
}

.invitation-reveal::before{
  width:58vw;
  height:100vh;
  left:-20vw;
  top:-25vh;
  border-radius:72% 28% 62% 38%/64% 72% 28% 36%;
  transform:rotate(-15deg);
}

.invitation-reveal::after{
  width:62vw;
  height:80vh;
  right:-24vw;
  bottom:-20vh;
  border-radius:72% 28% 65% 35%/56% 66% 34% 44%;
  transform:rotate(14deg);
}

.invitation-reveal-inner{
  position:relative;
  z-index:2;
  width:min(760px,92vw);
  text-align:center;
  transform:translateY(32px) scale(.98);
  opacity:0;
  transition:transform .8s .2s ease,opacity .8s .2s ease;
}

.show-invitation-reveal .invitation-reveal-inner{
  transform:none;
  opacity:1;
}

.reveal-script{
  display:block;
  margin-bottom:-.08em;
  font-family:var(--script);
  font-size:clamp(2.5rem,5vw,4.5rem);
  line-height:.9;
  color:#f6f1e7;
}

.reveal-title{
  margin:0;
  font-family:var(--display);
  font-size:clamp(4.8rem,11vw,9.5rem);
  line-height:.83;
  font-weight:400;
  letter-spacing:-.055em;
  color:#f7f3eb;
}

.reveal-title em{
  font-family:var(--script);
  font-style:normal;
  font-size:.62em;
  font-weight:400;
}

.reveal-rule{
  width:1px;
  height:62px;
  margin:28px auto 24px;
  background:#b29a68;
  opacity:.72;
}

.reveal-date,
.reveal-venue{
  margin:.45rem 0;
  font-family:var(--serif);
  font-size:.66rem;
  letter-spacing:.2em;
  color:rgba(247,243,235,.84);
}

.reveal-enter{
  display:inline-flex;
  align-items:center;
  gap:18px;
  margin-top:30px;
  padding:13px 26px;
  border-radius:999px;
  background:#f0e9dc;
  border:1px solid #d4c3a1;
  color:#111;
  text-decoration:none;
  font-family:var(--sans);
  font-size:.62rem;
  letter-spacing:.17em;
  transition:transform .22s ease,background .22s ease;
}

.reveal-enter:hover{
  transform:translateY(-2px);
  background:#fff;
}

@media(max-width:767.98px){
  .envelope-card-up .home-envelope-card{
    transform:translateY(-58%) scale(1.02) !important;
  }

  .reveal-title{
    font-size:clamp(4rem,19vw,6.6rem);
  }

  .reveal-script{
    font-size:clamp(2.1rem,10vw,3.3rem);
  }

  .reveal-date,
  .reveal-venue{
    font-size:.54rem;
    letter-spacing:.16em;
  }
}

@media(prefers-reduced-motion:reduce){
  .envelope-is-opening .home-envelope-flap,
  .envelope-card-up .home-envelope-card,
  .envelope-scene-fade .home-envelope,
  .invitation-reveal,
  .invitation-reveal-inner{
    transition:none!important;
  }
}


/* =========================================================
   CLASSY WEDDING TIMELINE
   Inspired by the supplied champagne-glass timeline:
   elegant serif time + handwritten "pm" + gold nodes + refined icons.
   ========================================================= */

.classy-timeline{
  --timeline-gold:#b8a06d;
  --timeline-gold-light:#d6c39a;
  --timeline-line:rgba(242,235,222,.62);
  --timeline-white:#f6f1e8;
  --timeline-muted:rgba(246,241,232,.78);

  position:relative;
  display:flex!important;
  flex-direction:column;
  width:min(760px,100%);
  margin:4.5rem auto 0!important;
  gap:0!important;
  padding:10px 0 18px;
}

/* single elegant vertical line */
.classy-timeline::before{
  content:"";
  position:absolute;
  left:210px!important;
  right:auto!important;
  top:38px!important;
  bottom:38px;
  width:1px!important;
  height:auto!important;
  background:linear-gradient(
    to bottom,
    transparent 0,
    var(--timeline-line) 5%,
    var(--timeline-line) 95%,
    transparent 100%
  )!important;
}

.classy-timeline .timeline-stop{
  display:grid!important;
  grid-template-columns:165px 90px 1fr;
  align-items:center;
  min-height:120px;
  padding:0!important;
  text-align:left!important;
  position:relative;
}

/* remove old step position and place it delicately at far left */
.classy-timeline .timeline-stop::after{
  content:attr(data-step)!important;
  position:absolute!important;
  left:-48px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  font-family:var(--sans);
  font-size:.52rem!important;
  letter-spacing:.24em!important;
  color:rgba(246,241,232,.33)!important;
}

/* Time styling like the reference */
.classy-timeline .timeline-time{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  padding-right:24px;
  line-height:.82;
  color:var(--timeline-white);
}

.classy-timeline .timeline-clock{
  display:block;
  font-family:var(--display);
  font-size:clamp(2.45rem,4.2vw,3.6rem);
  font-weight:400;
  letter-spacing:-.045em;
  line-height:.78;
}

.classy-timeline .timeline-meridiem{
  display:block;
  margin-top:.1rem;
  margin-right:.18em;
  font-family:var(--script);
  font-size:clamp(2rem,3.2vw,2.8rem);
  font-weight:400;
  line-height:.72;
  text-transform:lowercase;
  transform:rotate(-6deg);
  color:#f5efe3;
}

/* Champagne/gold node from the second reference */
.classy-timeline .timeline-node{
  position:relative;
  z-index:4;
  justify-self:center;
  width:25px;
  height:25px;
  border-radius:50%;
  background:
    radial-gradient(circle at 34% 28%,
      #e8dcc0 0 11%,
      #ccb98d 28%,
      #a58d5c 58%,
      #75603d 100%);
  border:1px solid #d6c6a4;
  box-shadow:
    0 0 0 3px rgba(184,160,109,.16),
    inset 0 1px 2px rgba(255,255,255,.55),
    0 4px 12px rgba(0,0,0,.28);
}

/* Content and classy icons */
.classy-timeline .timeline-detail{
  display:flex;
  align-items:center;
  gap:18px;
  padding-left:18px;
}

.classy-timeline .timeline-icon{
  width:46px!important;
  height:46px!important;
  min-width:46px;
  margin:0!important;
  border:1px solid rgba(214,195,154,.46)!important;
  border-radius:50%;
  background:rgba(255,255,255,.015)!important;
  color:#e8ddc6!important;
  display:grid!important;
  place-items:center;
  font-size:1.05rem!important;
  transition:.3s ease;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}

.classy-timeline .timeline-stop:hover .timeline-icon{
  transform:translateY(-2px)!important;
  border-color:rgba(214,195,154,.85)!important;
  background:rgba(184,160,109,.08)!important;
  color:#fff8ea!important;
}

.classy-timeline .timeline-label{
  margin:0!important;
  font-family:var(--display);
  font-size:clamp(1.25rem,2vw,1.7rem)!important;
  font-weight:400;
  letter-spacing:.015em!important;
  text-transform:uppercase;
  color:var(--timeline-white)!important;
  line-height:1.1;
}

/* small gold connector from node to icon/label */
.classy-timeline .timeline-detail::before{
  content:"";
  width:22px;
  height:1px;
  margin-left:-18px;
  background:linear-gradient(90deg,var(--timeline-gold),transparent);
  opacity:.7;
}

/* add a subtle champagne silhouette behind the timeline */
.classy-timeline::after{
  content:"";
  position:absolute;
  z-index:0;
  right:-70px;
  top:4%;
  width:230px;
  height:86%;
  opacity:.09;
  pointer-events:none;
  border:1px solid rgba(230,214,183,.52);
  border-radius:44% 44% 12% 12% / 34% 34% 66% 66%;
  transform:rotate(3deg);
  background:
    linear-gradient(
      to bottom,
      rgba(246,241,232,.08) 0 34%,
      rgba(184,160,109,.14) 35% 43%,
      transparent 44% 100%
    );
}

.classy-timeline .timeline-stop,
.classy-timeline .timeline-stop > *{
  z-index:2;
}

/* Mobile: compact vertical timeline, still based on reference */
@media(max-width:767.98px){
  .classy-timeline{
    width:100%;
    margin-top:3rem!important;
    padding-left:0;
  }

  .classy-timeline::before{
    left:118px!important;
    top:30px!important;
    bottom:30px!important;
  }

  .classy-timeline .timeline-stop{
    grid-template-columns:94px 48px 1fr;
    min-height:118px;
  }

  .classy-timeline .timeline-stop::after{
    left:-1px!important;
    top:14px!important;
    transform:none!important;
    font-size:.46rem!important;
  }

  .classy-timeline .timeline-time{
    padding-right:12px;
  }

  .classy-timeline .timeline-clock{
    font-size:2.15rem;
  }

  .classy-timeline .timeline-meridiem{
    font-size:1.85rem;
  }

  .classy-timeline .timeline-node{
    width:20px;
    height:20px;
  }

  .classy-timeline .timeline-detail{
    gap:11px;
    padding-left:10px;
    min-width:0;
  }

  .classy-timeline .timeline-detail::before{
    width:10px;
    margin-left:-10px;
  }

  .classy-timeline .timeline-icon{
    width:38px!important;
    min-width:38px;
    height:38px!important;
    font-size:.88rem!important;
  }

  .classy-timeline .timeline-label{
    font-size:1rem!important;
    line-height:1.15;
    overflow-wrap:anywhere;
  }

  .classy-timeline::after{
    right:-100px;
    width:190px;
    opacity:.055;
  }
}


/* =========================================================
   ATTIRE EDITORIAL — CLIENT REVISION
   Subtle tuxedo + gown silhouettes as background graphics.
   Kept monochrome, low-opacity and editorial so text stays readable.
   ========================================================= */
.attire-editorial{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.attire-editorial > *:not(.attire-silhouette){
  position:relative;
  z-index:2;
}
.attire-silhouette{
  position:absolute;
  z-index:0;
  pointer-events:none;
  user-select:none;
  opacity:.075;
  filter:grayscale(1);
}

/* ---------- tuxedo silhouette ---------- */
.attire-silhouette-tux{
  right:3%;
  top:50%;
  width:310px;
  height:430px;
  transform:translateY(-47%);
}
.attire-silhouette-tux .tux-head{
  position:absolute; left:50%; top:2%; width:68px; height:82px;
  transform:translateX(-50%);
  border-radius:48% 48% 45% 45%;
  background:#111;
}
.attire-silhouette-tux .tux-body{
  position:absolute; left:50%; top:72px; width:245px; height:340px;
  transform:translateX(-50%);
  background:#111;
  clip-path:polygon(28% 0,42% 5%,50% 19%,58% 5%,72% 0,92% 20%,100% 100%,0 100%,8% 20%);
}
.attire-silhouette-tux .tux-shirt{
  position:absolute; left:50%; top:78px; width:64px; height:220px;
  transform:translateX(-50%);
  background:#f6f1e8;
  clip-path:polygon(0 0,50% 22%,100% 0,78% 100%,22% 100%);
}
.attire-silhouette-tux .tux-lapel{
  position:absolute; top:80px; width:91px; height:175px; background:#282828;
}
.attire-silhouette-tux .tux-lapel-left{
  left:38px; clip-path:polygon(0 0,100% 15%,72% 100%,22% 44%);
}
.attire-silhouette-tux .tux-lapel-right{
  right:38px; clip-path:polygon(100% 0,0 15%,28% 100%,78% 44%);
}
.attire-silhouette-tux .tux-bow{
  position:absolute; left:50%; top:100px; width:72px; height:31px;
  transform:translateX(-50%);
}
.attire-silhouette-tux .tux-bow::before,
.attire-silhouette-tux .tux-bow::after{
  content:""; position:absolute; top:3px; width:34px; height:24px; background:#111;
}
.attire-silhouette-tux .tux-bow::before{
  left:0; clip-path:polygon(0 0,100% 38%,100% 62%,0 100%);
}
.attire-silhouette-tux .tux-bow::after{
  right:0; clip-path:polygon(100% 0,0 38%,0 62%,100% 100%);
}

/* ---------- formal gown silhouette ---------- */
.attire-silhouette-dress{
  right:1%;
  top:50%;
  width:330px;
  height:455px;
  transform:translateY(-48%);
}
.attire-silhouette-dress .dress-head{
  position:absolute; left:50%; top:0; width:58px; height:70px;
  transform:translateX(-50%);
  border-radius:50%;
  background:#111;
}
.attire-silhouette-dress .dress-neck{
  position:absolute; left:50%; top:62px; width:28px; height:36px;
  transform:translateX(-50%);
  background:#111;
}
.attire-silhouette-dress .dress-bodice{
  position:absolute; left:50%; top:88px; width:102px; height:145px;
  transform:translateX(-50%);
  background:#111;
  clip-path:polygon(18% 0,38% 8%,50% 30%,62% 8%,82% 0,100% 100%,0 100%);
}
.attire-silhouette-dress .dress-skirt{
  position:absolute; left:50%; top:205px; width:290px; height:240px;
  transform:translateX(-50%);
  background:#111;
  clip-path:polygon(38% 0,62% 0,100% 100%,0 100%);
}

/* A very subtle runway/editorial grounding line */
.attire-gentlemen::after,
.attire-ladies::after{
  content:"";
  position:absolute;
  z-index:1;
  right:3%;
  bottom:8%;
  width:34%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(20,20,20,.17),transparent);
}

/* Keep the graphic behind the headline rather than competing with it */
.attire-gentlemen .attire-silhouette{ right:2%; }
.attire-ladies .attire-silhouette{ right:0; opacity:.065; }

@media(max-width:767.98px){
  .attire-silhouette-tux{
    width:205px; height:300px; right:-35px; top:51%;
    transform:translateY(-48%) scale(.82);
    transform-origin:center right;
    opacity:.065;
  }
  .attire-silhouette-dress{
    width:220px; height:320px; right:-30px; top:54%;
    transform:translateY(-50%) scale(.78);
    transform-origin:center right;
    opacity:.055!important;
  }
  .attire-editorial > *:not(.attire-silhouette){
    max-width:82%;
  }
}


/* =========================================================
   ATTIRE SILHOUETTES V2 — ACTUAL SVG GRAPHICS
   ========================================================= */

.attire-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 22% 32%,rgba(151,124,77,.07),transparent 21%),
    radial-gradient(circle at 82% 65%,rgba(151,124,77,.06),transparent 23%),
    #f6f1e8 !important;
}

.attire-row{
  align-items:stretch;
}

.attire-card{
  position:relative;
  min-height:620px;
  height:100%;
  overflow:hidden;
  padding:clamp(2rem,4vw,4rem);
  border:1px solid rgba(98,79,48,.13);
  background:
    linear-gradient(135deg,rgba(255,255,255,.28),rgba(238,231,218,.46));
  isolation:isolate;
}

.attire-content{
  position:relative;
  z-index:3;
  max-width:72%;
}

.attire-card .kicker{
  font-size:clamp(2rem,3.4vw,3.25rem)!important;
  margin-bottom:1.4rem;
}

.attire-card .aesthetic-title{
  position:relative;
  z-index:3;
  font-size:clamp(3.4rem,5.3vw,6.2rem)!important;
  line-height:.9!important;
  color:#111!important;
}

.attire-card .section-copy{
  position:relative;
  z-index:3;
  max-width:34rem;
  color:#2a2824!important;
}

.attire-rule{
  width:74px;
  height:1px;
  margin:1.5rem 0 1.4rem;
  background:#9f8252;
  opacity:.45;
}

/* The actual requested background silhouettes */
.attire-fashion-silhouette{
  position:absolute;
  z-index:1;
  pointer-events:none;
  user-select:none;
  display:block;
  object-fit:contain;
  filter:grayscale(1);
}

.attire-fashion-tux{
  width:54%;
  height:88%;
  right:-1%;
  bottom:-4%;
  opacity:.15;
}

.attire-fashion-dress{
  width:58%;
  height:91%;
  right:-3%;
  bottom:-5%;
  opacity:.14;
}

/* soft shadow behind the figures so they are visible but still background */
.attire-card::after{
  content:"";
  position:absolute;
  z-index:0;
  right:-8%;
  bottom:-14%;
  width:58%;
  height:86%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(23,20,15,.07),transparent 68%);
  pointer-events:none;
}

.attire-card-gentlemen::before{
  content:"TUXEDO";
  position:absolute;
  z-index:0;
  right:-.05em;
  bottom:.05em;
  font-family:var(--display);
  font-size:clamp(6rem,11vw,12rem);
  letter-spacing:-.06em;
  color:rgba(20,20,18,.025);
  line-height:.75;
}

.attire-card-ladies::before{
  content:"DRESS";
  position:absolute;
  z-index:0;
  right:-.05em;
  bottom:.05em;
  font-family:var(--display);
  font-size:clamp(6rem,11vw,12rem);
  letter-spacing:-.06em;
  color:rgba(20,20,18,.025);
  line-height:.75;
}

/* Make the silhouettes unmistakably visible on desktop */
@media(min-width:992px){
  .attire-card-gentlemen .attire-fashion-tux{opacity:.17}
  .attire-card-ladies .attire-fashion-dress{opacity:.16}
}

/* Mobile: move figure to the right and preserve text readability */
@media(max-width:767.98px){
  .attire-card{
    min-height:520px;
    padding:2.2rem 1.35rem;
  }

  .attire-content{
    max-width:78%;
  }

  .attire-card .aesthetic-title{
    font-size:clamp(3rem,14vw,4.5rem)!important;
  }

  .attire-fashion-tux{
    width:60%;
    height:72%;
    right:-14%;
    bottom:-1%;
    opacity:.13;
  }

  .attire-fashion-dress{
    width:64%;
    height:76%;
    right:-16%;
    bottom:-2%;
    opacity:.12;
  }
}


/* =========================================================
   INVITATION LAYOUT + COUNTDOWN FIX
   ========================================================= */

/* ---------- Refined invitation arrangement ---------- */
.invitation-cover-refined{
  min-height:calc(100svh - var(--nav-h));
  display:flex;
  align-items:center;
  padding:clamp(4rem,8vw,8rem) 0;
}

.invitation-editorial-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:clamp(3rem,7vw,8rem);
  align-items:center;
}

.invitation-editorial-copy{
  max-width:860px;
}

.invitation-editorial-visual{
  position:relative;
  min-height:520px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.invitation-emblem-center{
  position:relative;
  z-index:4;
  margin:0 auto 26px!important;
  width:110px!important;
  height:110px!important;
  display:grid!important;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(245,240,231,.44)!important;
  font-family:var(--display)!important;
  font-size:2.1rem!important;
  color:#f5f0e7!important;
  background:rgba(0,0,0,.16);
}

.invitation-photo-composition{
  position:relative;
  width:min(100%,380px);
  height:280px;
}

.inv-photo{
  position:absolute;
  margin:0;
  overflow:hidden;
  border:7px solid rgba(242,236,225,.94);
  background:#111;
  box-shadow:0 22px 50px rgba(0,0,0,.32);
  filter:grayscale(1) contrast(1.04);
}

.inv-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.inv-photo-one{
  left:2%;
  bottom:0;
  width:46%;
  height:220px;
  transform:rotate(-2.5deg);
}

.inv-photo-two{
  right:2%;
  top:5px;
  width:46%;
  height:235px;
  transform:rotate(2.5deg);
}

.invitation-visual-note{
  margin-top:24px;
  text-align:center;
  font-family:var(--serif);
  color:rgba(247,243,235,.76);
}

.invitation-visual-note span,
.invitation-visual-note small{
  display:block;
  letter-spacing:.19em;
}

.invitation-visual-note span{font-size:.68rem}
.invitation-visual-note small{font-size:.5rem;margin-top:.5rem}

/* ---------- Countdown ---------- */
.countdown-section{
  position:relative;
  overflow:hidden;
  padding:clamp(5rem,9vw,9rem) 0;
  background:
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.035),transparent 28%),
    linear-gradient(120deg,#070707,#111 52%,#070707);
  color:#f5f0e7;
}

.countdown-section::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.16;
  pointer-events:none;
  background:
    repeating-linear-gradient(78deg,rgba(255,255,255,.045) 0 1px,transparent 1px 7px);
}

.countdown-section .container{
  position:relative;
  z-index:2;
}

.countdown-heading{
  text-align:center;
  margin-bottom:clamp(3rem,6vw,5.5rem);
}

.countdown-script{
  display:block;
  margin-bottom:-.12em;
  font-family:var(--script);
  font-size:clamp(3rem,6vw,5.2rem);
  line-height:.7;
  transform:rotate(-4deg);
}

.countdown-heading h2{
  margin:0;
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(4rem,9vw,8.5rem);
  line-height:.8;
  letter-spacing:-.055em;
}

.countdown-heading p{
  margin:.9rem 0 0;
  font-family:var(--sans);
  font-size:.58rem;
  letter-spacing:.3em;
  color:rgba(245,240,231,.65);
}

.countdown-grid{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
  align-items:start;
  width:min(820px,100%);
  margin:0 auto;
}

.countdown-unit{
  text-align:center;
}

.countdown-unit strong{
  display:block;
  font-family:var(--display);
  font-size:clamp(2.8rem,6vw,5.6rem);
  font-weight:400;
  line-height:.85;
  letter-spacing:.02em;
}

.countdown-unit span{
  display:block;
  margin-top:.9rem;
  font-family:var(--sans);
  font-size:.52rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:rgba(245,240,231,.58);
}

.countdown-separator{
  padding:.1em .22em 0;
  font-family:var(--display);
  font-size:clamp(2.7rem,5vw,4.8rem);
  line-height:.8;
  color:#a9905e;
}

.countdown-editorial{
  display:grid;
  grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);
  width:min(880px,100%);
  margin:clamp(4rem,8vw,7rem) auto 0;
  align-items:center;
  gap:clamp(2rem,6vw,5rem);
}

.countdown-photo{
  margin:0;
  height:430px;
  overflow:hidden;
  position:relative;
  filter:grayscale(1) contrast(1.05);
  clip-path:polygon(8% 0,94% 3%,100% 88%,87% 100%,6% 95%,0 10%);
}

.countdown-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.42));
}

.countdown-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.countdown-monogram{
  text-align:center;
}

.countdown-signature{
  display:block;
  font-family:var(--script);
  font-size:clamp(3rem,6vw,5.6rem);
  line-height:.85;
}

.countdown-monogram p{
  margin:1.3rem 0 2rem;
  font-family:var(--serif);
  font-size:.61rem;
  letter-spacing:.22em;
  color:rgba(245,240,231,.66);
}

.countdown-monogram .enter-btn{
  display:inline-flex;
}

/* soft petal graphics */
.countdown-petal{
  position:absolute;
  pointer-events:none;
  border:1px solid rgba(177,151,101,.17);
  background:
    repeating-linear-gradient(80deg,rgba(255,255,255,.03) 0 1px,transparent 1px 8px);
}

.countdown-petal-left{
  width:54vw;
  height:88vh;
  left:-28vw;
  top:-18vh;
  border-radius:72% 28% 62% 38%/64% 72% 28% 36%;
  transform:rotate(-15deg);
}

.countdown-petal-right{
  width:60vw;
  height:78vh;
  right:-30vw;
  bottom:-18vh;
  border-radius:72% 28% 65% 35%/56% 66% 34% 44%;
  transform:rotate(14deg);
}

@media(max-width:991.98px){
  .invitation-editorial-grid{
    grid-template-columns:1fr;
  }

  .invitation-editorial-visual{
    min-height:auto;
    width:min(560px,100%);
    margin:0 auto;
  }

  .invitation-photo-composition{
    width:min(360px,90vw);
  }
}

@media(max-width:767.98px){
  .invitation-cover-refined{
    padding:3.5rem 0 4rem;
  }

  .invitation-editorial-grid{
    gap:2.5rem;
  }

  .invitation-editorial-visual{
    display:grid;
    grid-template-columns:86px 1fr;
    grid-template-areas:
      "emblem photos"
      "note note";
    gap:18px;
    align-items:center;
  }

  .invitation-emblem-center{
    grid-area:emblem;
    width:82px!important;
    height:82px!important;
    margin:0!important;
    font-size:1.5rem!important;
  }

  .invitation-photo-composition{
    grid-area:photos;
    width:100%;
    height:185px;
  }

  .inv-photo{
    border-width:5px;
  }

  .inv-photo-one{
    width:47%;
    height:155px;
  }

  .inv-photo-two{
    width:47%;
    height:165px;
  }

  .invitation-visual-note{
    grid-area:note;
    margin-top:4px;
  }

  .countdown-grid{
    grid-template-columns:1fr auto 1fr;
    gap:1.4rem .35rem;
  }

  .countdown-grid .countdown-unit:nth-of-type(3),
  .countdown-grid .countdown-unit:nth-of-type(4){
    margin-top:1.5rem;
  }

  .countdown-grid .countdown-separator:nth-of-type(2){
    display:none;
  }

  .countdown-editorial{
    grid-template-columns:1fr;
  }

  .countdown-photo{
    height:330px;
    width:min(330px,90vw);
    margin:0 auto;
  }
}

/* compact mobile countdown layout */
@media(max-width:520px){
  .countdown-grid{
    display:flex;
    align-items:flex-start;
    justify-content:center;
    gap:.35rem;
  }

  .countdown-unit{
    min-width:65px;
  }

  .countdown-unit strong{
    font-size:2.45rem;
  }

  .countdown-separator{
    font-size:2.25rem;
    padding-top:.04em;
  }

  .countdown-unit span{
    font-size:.44rem;
    letter-spacing:.14em;
  }
}


/* =========================================================
   RSVP FALLING FLOWERS / PETALS
   Classy ivory + champagne effect; decorative only.
   ========================================================= */

.rsvp-page-with-flowers{
  position:relative;
  overflow:hidden;
}

.rsvp-flower-rain{
  position:fixed;
  inset:var(--nav-h) 0 0 0;
  z-index:20;
  pointer-events:none;
  overflow:hidden;
  mix-blend-mode:normal;
}

/* Keep the real content above background, but below petals */
.rsvp-page-with-flowers .rsvp-layout{
  position:relative;
  z-index:2;
}

.falling-flower{
  --flower-left:50vw;
  --flower-delay:0s;
  --flower-duration:18s;
  --flower-drift:20px;
  --flower-scale:1;
  --flower-rotate:0deg;
  --flower-opacity:.25;

  position:absolute;
  left:var(--flower-left);
  top:-90px;
  display:block;
  opacity:0;
  transform-origin:center;
  will-change:transform,opacity;
  filter:drop-shadow(0 4px 6px rgba(0,0,0,.08));
  animation:
    flower-fall var(--flower-duration) linear var(--flower-delay) infinite,
    flower-sway calc(var(--flower-duration) * .42) ease-in-out var(--flower-delay) infinite alternate;
}

/* elongated tulip-petal shape */
.falling-flower.petal-a{
  width:18px;
  height:42px;
  border-radius:75% 25% 70% 30% / 85% 72% 28% 15%;
  background:
    linear-gradient(155deg,
      rgba(255,255,255,.92),
      rgba(238,230,214,.72) 58%,
      rgba(187,160,108,.38));
  border:1px solid rgba(193,166,113,.22);
}

/* smaller curved petal */
.falling-flower.petal-b{
  width:14px;
  height:31px;
  border-radius:90% 12% 78% 24% / 75% 78% 28% 30%;
  background:
    linear-gradient(145deg,
      rgba(250,247,240,.95),
      rgba(224,214,195,.74));
  border:1px solid rgba(175,147,96,.16);
}

/* champagne translucent petal */
.falling-flower.petal-c{
  width:12px;
  height:26px;
  border-radius:75% 25% 82% 18%;
  background:
    linear-gradient(165deg,
      rgba(220,203,168,.8),
      rgba(173,143,86,.38));
  border:1px solid rgba(206,180,128,.28);
}

/* tiny four-petal bloom, used sparingly */
.falling-flower.tiny-bloom{
  width:18px;
  height:18px;
  background:
    radial-gradient(ellipse at 50% 18%,rgba(249,245,236,.92) 0 33%,transparent 35%),
    radial-gradient(ellipse at 82% 50%,rgba(240,232,216,.88) 0 33%,transparent 35%),
    radial-gradient(ellipse at 50% 82%,rgba(246,240,228,.9) 0 33%,transparent 35%),
    radial-gradient(ellipse at 18% 50%,rgba(232,220,198,.88) 0 33%,transparent 35%),
    radial-gradient(circle at 50% 50%,#ae9160 0 18%,transparent 20%);
}

@keyframes flower-fall{
  0%{
    opacity:0;
    transform:
      translate3d(0,-80px,0)
      rotate(var(--flower-rotate))
      scale(var(--flower-scale));
  }
  8%{
    opacity:var(--flower-opacity);
  }
  78%{
    opacity:var(--flower-opacity);
  }
  100%{
    opacity:0;
    transform:
      translate3d(var(--flower-drift),calc(100vh + 150px),0)
      rotate(calc(var(--flower-rotate) + 420deg))
      scale(var(--flower-scale));
  }
}

@keyframes flower-sway{
  from{margin-left:-14px}
  to{margin-left:18px}
}

/* On the ivory form side, make petals slightly warmer; on dark side they stay ivory. */
.rsvp-panel ~ .rsvp-flower-rain{
  color:#b39966;
}

/* Don't let the effect become visually busy on smaller screens */
@media(max-width:767.98px){
  .rsvp-flower-rain{
    inset:var(--nav-h) 0 0;
    opacity:.84;
  }

  .falling-flower{
    filter:none;
  }

  .falling-flower:nth-child(3n){
    display:none;
  }
}

/* Accessibility */
@media(prefers-reduced-motion:reduce){
  .rsvp-flower-rain{
    display:none!important;
  }
}


/* =========================================================
   CLIENT COMMENT FIXES — FAQ HEADINGS + STORY CAPTIONS
   ========================================================= */

/* Keep "before you PACK" and "let's keep in TOUCH" on a single line.
   Script stays delicate; main word stays elegant serif. */
.faq-one-line{
  display:flex!important;
  align-items:baseline;
  gap:.24em;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  width:max-content;
  max-width:100%;
  line-height:.86!important;
}

.faq-one-line .faq-inline-script{
  display:inline-block!important;
  width:auto!important;
  margin:0!important;
  transform:rotate(-4deg) translateY(-.04em)!important;
  font-family:var(--script)!important;
  font-size:.46em!important;
  line-height:1!important;
  white-space:nowrap!important;
}

.faq-one-line .faq-inline-script::after{
  display:none!important;
}

.faq-one-line .faq-main-word{
  display:inline-block;
  font-family:var(--display);
  font-style:normal;
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:-.045em;
  white-space:nowrap;
}

/* Desktop scale */
.page-hero .faq-one-line,
.content-section.dark .faq-one-line{
  font-size:clamp(4rem,7vw,7.2rem)!important;
}

/* Remove the old vertical heading rule on these one-line client headings. */
.faq-one-line::after{
  display:none!important;
}

/* Story photos now stand on their own without sweet/cheesy notes. */
.story-photo-grid figure{
  margin-bottom:0;
}

.story-photo-grid figure img{
  display:block;
}

.story-photo-grid figcaption{
  display:none!important;
}

/* Slightly more editorial spacing since captions are gone. */
.story-photo-grid{
  align-items:end;
  gap:clamp(14px,2vw,24px);
}

.story-photo-grid figure:first-child{
  transform:translateY(-12px);
}

.story-photo-grid figure:last-child{
  transform:translateY(22px);
}

@media(max-width:767.98px){
  .page-hero .faq-one-line,
  .content-section.dark .faq-one-line{
    font-size:clamp(2.65rem,11.5vw,4.2rem)!important;
    gap:.16em;
    width:100%;
  }

  .faq-one-line .faq-inline-script{
    font-size:.42em!important;
  }

  .story-photo-grid figure:first-child,
  .story-photo-grid figure:last-child{
    transform:none;
  }
}

/* Extra-small phones: keep the requested one-line layout while shrinking gracefully. */
@media(max-width:390px){
  .page-hero .faq-one-line,
  .content-section.dark .faq-one-line{
    font-size:clamp(2.25rem,10.5vw,3.15rem)!important;
    gap:.12em;
  }
  .faq-one-line .faq-inline-script{
    font-size:.40em!important;
  }
}


/* =========================================================
   GOSHUGI MOVED TO WEDDING DETAILS + CLEAN QR PRESENTATION
   ========================================================= */

/* Goshugi now reads as part of Wedding Details */
.goshugi-kicker-icon{
  display:flex;
  align-items:center;
  gap:.8rem;
  margin-bottom:1rem;
  color:#9a8053;
  font-family:var(--sans);
  font-size:.6rem;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.goshugi-kicker-icon i{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid rgba(154,128,83,.36);
  border-radius:50%;
  font-size:.95rem;
}

.goshugi-layout{
  position:relative;
}

.goshugi-layout::after{
  content:"ご祝儀";
  position:absolute;
  right:-.05em;
  bottom:-.12em;
  z-index:0;
  font-family:var(--serif);
  font-size:clamp(5rem,11vw,11rem);
  line-height:.8;
  color:rgba(122,95,54,.035);
  pointer-events:none;
}

.goshugi-layout > *{
  position:relative;
  z-index:1;
}

/* QR cards: remove the obvious white image block/quiet-zone look */
.qr-art{
  background:
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.08),transparent 38%),
    #aaa !important;
  padding:clamp(1.5rem,3vw,2.5rem)!important;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.qr-art img{
  width:min(74%,250px)!important;
  height:auto!important;
  object-fit:contain!important;
  display:block;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}

/* Keep enough visual contrast around the QR without a stark white square */
.contact-card:nth-child(1) .qr-art img,
.contact-card:nth-child(2) .qr-art img,
.contact-card:nth-child(3) .qr-art img{
  filter:none!important;
}

.qr-script{
  align-self:flex-end;
  margin-bottom:1rem;
}

/* Slightly more premium contact card treatment */
.contact-card{
  overflow:hidden;
}

.contact-card figcaption{
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:1rem;
}

@media(max-width:767.98px){
  .qr-art{
    padding:1.4rem!important;
  }

  .qr-art img{
    width:min(72%,220px)!important;
  }

  .goshugi-kicker-icon{
    margin-top:1rem;
  }
}


/* =========================================================
   PAGE-BY-PAGE CHAPTER NAVIGATION
   Each page ends with the actual name of the next page.
   ========================================================= */

.next-chapter-nav{
  position:relative;
  overflow:hidden;
  background:#090909;
  border-top:1px solid rgba(205,183,139,.16);
}

.next-chapter-nav::before{
  content:"";
  position:absolute;
  width:58vw;
  height:52vh;
  right:-22vw;
  top:-22vh;
  border:1px solid rgba(199,173,122,.18);
  border-radius:70% 30% 62% 38%/56% 68% 32% 44%;
  transform:rotate(14deg);
  background:
    repeating-linear-gradient(82deg,rgba(255,255,255,.025) 0 1px,transparent 1px 8px);
  pointer-events:none;
}

.next-chapter-card{
  position:relative;
  z-index:2;
  min-height:245px;
  width:min(1500px,100%);
  margin:0 auto;
  padding:clamp(2.5rem,5vw,5rem) clamp(1.5rem,6vw,6rem);
  display:grid;
  grid-template-columns:190px 1fr 190px;
  align-items:center;
  gap:2rem;
  color:#f6f1e7!important;
  text-decoration:none!important;
  transition:background .35s ease;
}

.next-chapter-card:hover{
  background:rgba(255,255,255,.025);
}

.next-chapter-meta{
  display:flex;
  align-items:center;
  gap:1rem;
}

.next-chapter-number{
  width:44px;
  height:44px;
  border:1px solid rgba(210,190,150,.42);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-family:var(--serif);
  font-size:.62rem;
  letter-spacing:.1em;
  color:#d0bb8f;
}

.next-chapter-kicker{
  font-family:var(--script);
  font-size:clamp(1.5rem,2.4vw,2.2rem);
  line-height:1;
  color:#ddd0b6;
  transform:rotate(-4deg);
}

.next-chapter-title{
  font-family:var(--display);
  font-size:clamp(3.4rem,7vw,7.4rem);
  font-weight:400;
  line-height:.82;
  letter-spacing:-.055em;
  text-transform:uppercase;
  text-align:center;
}

.next-chapter-arrow{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
  color:#cfb680;
}

.next-chapter-arrow span{
  width:92px;
  height:1px;
  background:linear-gradient(90deg,transparent,#bfa66f);
  transition:width .3s ease;
}

.next-chapter-arrow i{
  font-size:1.45rem;
  transition:transform .3s ease;
}

.next-chapter-card:hover .next-chapter-arrow span{
  width:120px;
}

.next-chapter-card:hover .next-chapter-arrow i{
  transform:translateX(6px);
}

@media(max-width:767.98px){
  .next-chapter-card{
    min-height:210px;
    grid-template-columns:1fr auto;
    grid-template-areas:
      "meta arrow"
      "title title";
    gap:1.1rem;
    padding:2.2rem 1.35rem 2.6rem;
  }

  .next-chapter-meta{grid-area:meta}
  .next-chapter-title{
    grid-area:title;
    text-align:left;
    font-size:clamp(3rem,14vw,4.8rem);
  }
  .next-chapter-arrow{grid-area:arrow}
  .next-chapter-arrow span{width:46px}
  .next-chapter-card:hover .next-chapter-arrow span{width:58px}
}

@media(prefers-reduced-motion:reduce){
  .next-chapter-card,
  .next-chapter-arrow span,
  .next-chapter-arrow i{
    transition:none!important;
  }
}


/* SIMPLE NAMED NEXT-PAGE BUTTONS */
.next-chapter-nav{
  position:relative;
  overflow:hidden;
  background:#090909;
  border-top:1px solid rgba(205,183,139,.14);
  padding:clamp(3rem,6vw,5.5rem) clamp(1.35rem,5vw,5rem);
}
.next-chapter-nav::before{
  content:"";
  position:absolute;
  inset:auto -10% -80% auto;
  width:42vw;
  height:42vw;
  border:1px solid rgba(199,173,122,.12);
  border-radius:50%;
  pointer-events:none;
}
.next-chapter-card{
  position:relative;
  z-index:2;
  width:min(330px,100%);
  min-height:0;
  margin:0;
  padding:0 24px;
  height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border:1px solid rgba(246,241,231,.72);
  background:transparent;
  color:#f6f1e7!important;
  text-decoration:none!important;
  transition:background .25s ease,color .25s ease,border-color .25s ease;
}
.next-chapter-card:hover{
  background:#f4efe5;
  border-color:#f4efe5;
  color:#0a0a0a!important;
}
.next-chapter-meta{display:none!important;}
.next-chapter-title{
  font-family:var(--body)!important;
  font-size:.76rem!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:.17em!important;
  text-transform:uppercase;
  text-align:left!important;
  white-space:nowrap;
}
.next-chapter-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  color:inherit!important;
}
.next-chapter-arrow span{display:none!important;}
.next-chapter-arrow i{
  font-size:1rem!important;
  transition:transform .25s ease;
}
.next-chapter-card:hover .next-chapter-arrow i{
  transform:translateX(5px);
}
@media(max-width:767.98px){
  .next-chapter-nav{
    padding:2.6rem 1.25rem 3.4rem;
  }
  .next-chapter-card{
    width:100%;
    max-width:310px;
    height:64px;
    padding:0 20px;
    display:flex!important;
  }
  .next-chapter-title{
    font-size:.7rem!important;
  }
}


/* PAGE NAVIGATION PLACEMENT REFINEMENT */
.invitation-next-btn{
  margin-top:1.7rem;
  width:min(330px,100%);
}
.next-chapter-nav{
  padding-top:3rem!important;
  padding-bottom:4rem!important;
}
.next-chapter-card{
  margin-left:max(1.35rem, calc((100vw - 1320px)/2))!important;
}
@media(max-width:767.98px){
  .invitation-next-btn{
    width:100%;
    margin-top:1.35rem;
  }
  .next-chapter-card{
    margin-left:0!important;
  }
}


/* Goshugi reference photo — retain image, remove heavy black outline/frame */
.goshugi-reference-clean{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}
figure:has(.goshugi-reference-clean),
div:has(> .goshugi-reference-clean),
.goshugi-reference,
.goshugi-photo,
.gift-reference{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}


/* GOSHUGI CLEAN IMAGE — no black perimeter */
.goshugi-photo-frame{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:0!important;
}

.goshugi-photo-frame img,
.goshugi-reference-clean{
  display:block;
  width:100%;
  height:auto;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}

.goshugi-photo-frame figcaption{
  margin-top:.7rem;
  padding:0!important;
  background:transparent!important;
}


/* QR CONTACT CARDS — remove grey background */
.qr-card,
.qr-card-inner,
.qr-visual,
.qr-media,
.qr-image-wrap,
.contact-qr-card,
.contact-qr-card .card-body {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Keep only the actual QR image itself white for scanner contrast. */
.qr-card img,
.contact-qr-card img {
  background: #fff !important;
}

/* Remove borders/padding that can make the former grey block visible. */
.qr-card,
.contact-qr-card {
  border-color: rgba(255,255,255,.12) !important;
}
