/* A readable closing invitation, with the original artwork framing the content. */
.finale.thank-you {
  display:block; padding:0; overflow:clip; scroll-margin-top:90px;
  color:#fff6df;
  background:#003724 url(assets/story/thank-you/botanical-background.webp) center/cover;
}
.thank-you-scene {
  display:grid; grid-template-columns:minmax(0,1fr); justify-items:center;
  width:min(100%,1048px); margin-inline:auto;
  padding:clamp(20px,3vw,36px) clamp(8px,2vw,24px) 0; gap:clamp(20px,3vw,36px);
}
.thank-you-scene>* { min-width:0; max-width:100%; }
.thank-you-frame {
  --arch-cap:min(45vw,400px); --arch-side:clamp(10px,2.5vw,30px);
  position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr);
  justify-items:center; width:100%; min-width:0;
  padding:clamp(40px,8vw,80px) clamp(20px,5vw,100px) 0; gap:clamp(16px,2.5vw,28px);
}
.thank-you-frame> :not(.thank-you-arch) { min-width:0; max-width:100%; }
.thank-you-scene :is(p,time,strong,small,.control-label) { min-width:0; overflow-wrap:anywhere; }
.thank-you-art { position:relative; width:min(100%,1000px); height:clamp(170px,30vw,300px); pointer-events:none; }
.thank-you-art img { position:absolute; display:block; }
.thank-you-arch {
  position:absolute; z-index:-1; inset:0; pointer-events:none;
  border:0 solid transparent;
  border-image-source:url(assets/story/thank-you/gold-arch.webp);
  border-image-slice:420 40 0 fill;
  border-image-width:var(--arch-cap) var(--arch-side) 0;
  border-image-repeat:stretch;
}
.thank-you-logo { width:clamp(88px,15vw,140px); height:auto; aspect-ratio:1; object-fit:contain; }
.thank-you-message { text-align:center; }
.thank-you-message h2 { margin:0; font:500 clamp(2rem,7vw,4.75rem)/1.12 Georgia,serif; color:#f2d28e; letter-spacing:-.03em; overflow-wrap:anywhere; }
.thank-you-message p { margin:clamp(10px,2vw,16px) auto 0; max-width:38ch; font:400 clamp(1rem,2vw,1.125rem)/1.9 "Noto Serif Gujarati",serif; color:#fff2d3; }
/* One self-contained card: no legacy margins or viewport-dependent columns. */
.thank-you-details {
  box-sizing:border-box; container:closing-card / inline-size;
  display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(10px,1.5svh,16px);
  width:min(100%,740px); max-width:100%; min-width:0; height:auto; min-height:0;
  padding:clamp(12px,2.2vw,24px); margin:0;
  background:#092e25; border:1px solid #c9a86b; border-radius:16px;
  box-shadow:0 18px 60px #001d2399; text-align:center;
}
.thank-you-details>* { min-width:0; max-width:100%; margin:0; }
.thank-you-details>.eyebrow { font-size:12px; line-height:1.5; color:#f0dba9; letter-spacing:.06em; }
.thank-you-details .event-facts {
  display:grid; grid-template-columns:minmax(0,1fr); gap:12px; margin:0; text-align:left;
}
.thank-you-details .thank-you-date,.thank-you-details .thank-you-venue {
  display:grid; grid-template-columns:22px minmax(0,1fr); align-items:start; gap:10px;
  min-width:0; margin:0; font-size:16px; line-height:1.45; color:#fff8e9;
}
.thank-you-details .event-facts .ui-icon { color:#edcf8d; width:22px; height:22px; margin-top:2px; }
.thank-you-details .event-facts strong { display:block; font-size:18px; line-height:1.35; font-weight:600; }
.thank-you-details .event-facts time>span,.thank-you-details .thank-you-venue>span>span { display:block; }
.thank-you-details .event-facts :is(time,span) { min-width:0; }
.thank-you-details .event-facts .fact-label { color:#e1cda9; font-size:12px; line-height:1.4; letter-spacing:.08em; text-transform:uppercase; margin-bottom:3px; }
.thank-you-details .thank-you-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; margin:0; }
.thank-you-details .book-button {
  display:flex; width:100%; min-height:48px; align-items:center; justify-content:center;
  gap:10px; padding:10px 12px; border-radius:8px; background:#f0d49b; color:#123b2d;
  font-size:16px; line-height:1.4; font-weight:700;
}
.thank-you-details .event-links {
  display:grid; grid-template-columns:minmax(0,1fr); gap:8px; width:100%; margin:0; padding:0; border:0;
}
.thank-you-details .event-links a,.thank-you-details .event-links button {
  display:flex; flex-direction:row; align-items:center; justify-content:center;
  min-height:44px; gap:8px; padding:9px 8px; background:#f9f3e6; color:#123b2d;
  border:1px solid #e8d6ac; border-radius:8px; font-size:14px; font-weight:600; line-height:1.4;
}
.thank-you-details .thank-you-actions .ui-icon { width:22px; height:22px; }
.thank-you-details :is(a,button) { box-sizing:border-box; min-width:0; max-width:100%; height:auto; white-space:normal; }
.thank-you-details .control-label { min-width:0; max-width:100%; text-align:center; overflow-wrap:anywhere; }
.thank-you-details .booking-note { margin:0; font-size:14px; line-height:1.4; color:#e2d7c0; }
.thank-you-details .entry-note {
  display:block; margin:0; padding:12px 0 0; border:0; border-top:1px solid #8a9770;
  border-radius:0; background:none; text-align:left; color:#f5efdf; font-size:16px; line-height:1.45;
}
.thank-you-details .entry-note .ui-icon { display:inline-block; width:20px; height:20px; color:#f0d49b; margin:0 7px 0 0; vertical-align:-4px; }
.thank-you-details .entry-note strong { color:#fff6df; }
.thank-you-details .entry-note small { display:block; font-size:14px; line-height:1.45; margin-top:6px; color:#e8e1cf; }
.thank-you-details .thank-you-replay { display:flex; justify-content:center; align-items:center; gap:8px; min-height:44px; font-size:15px; line-height:1.4; color:#f5d69a; padding:8px; margin:0; }
@container closing-card (min-width:15rem) {
  .thank-you-details .event-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .thank-you-details .event-links> :last-child { grid-column:1 / -1; }
}
@container closing-card (min-width:18rem) {
  .thank-you-details .event-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .thank-you-details .event-links> :last-child { grid-column:auto; }
  .thank-you-details .event-links a,.thank-you-details .event-links button { flex-direction:column; gap:5px; }
}
@container closing-card (min-width:34rem) {
  .thank-you-details .event-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .thank-you-details .event-facts strong { font-size:20px; }
  .thank-you-details .event-links a,.thank-you-details .event-links button { flex-direction:row; font-size:16px; padding:12px; }
}
.thank-you-elephant { height:100%; width:70%; object-fit:contain; object-position:center bottom; left:50%; bottom:0; transform:translateX(-50%); z-index:2; }
.thank-you-leaf { height:95%; width:38%; object-fit:contain; object-position:center bottom; bottom:0; }
.leaf-left { left:0; }
.leaf-right { right:0; height:100%; }
.thank-you-lotus { height:70%; width:30%; object-fit:contain; object-position:center bottom; bottom:0; z-index:3; }
.lotus-left { left:0; }
.lotus-right { right:0; }


/* Final-screen compaction: Thank You + footer together occupy one viewport. */
:root{--closing-footer-h:64px}
.finale.thank-you{
  height:calc(100svh - var(--closing-footer-h));
  min-height:calc(100svh - var(--closing-footer-h));
  max-height:calc(100svh - var(--closing-footer-h));
  overflow:hidden;
}
.thank-you-scene{
  position:relative;
  box-sizing:border-box;
  height:100%;
  min-height:0;
  padding:clamp(6px,1.2svh,14px) clamp(8px,2vw,20px) 0;
  gap:clamp(4px,.8svh,10px);
}
.thank-you-frame{
  box-sizing:border-box;
  height:100%;
  min-height:0;
  align-content:start;
  padding:clamp(58px,8.5svh,78px) clamp(12px,4vw,56px) 0;
  gap:clamp(4px,.8svh,10px);
}
.thank-you-logo{
  width:clamp(54px,8svh,86px);
}
.thank-you-message h2{
  font-size:clamp(1.75rem,5svh,3.3rem);
  line-height:1;
}
.thank-you-message p{
  margin:clamp(3px,.6svh,7px) auto 0;
  font-size:clamp(.78rem,1.7svh,1rem);
  line-height:1.45;
}
.thank-you-details{
  width:min(100%,820px);
  gap:clamp(4px,.65svh,8px);
  padding:clamp(7px,1.2svh,12px) clamp(8px,1.5vw,14px);
  border-radius:12px;
}
.thank-you-details>.eyebrow{
  font-size:clamp(8px,1.15svh,10px);
  line-height:1.2;
}
.thank-you-details .event-facts{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(7px,1.2vw,14px);
}
.thank-you-details .thank-you-date,
.thank-you-details .thank-you-venue{
  grid-template-columns:16px minmax(0,1fr);
  gap:6px;
  font-size:clamp(10px,1.45svh,13px);
  line-height:1.25;
}
.thank-you-details .event-facts .ui-icon{
  width:16px;height:16px;margin-top:1px;
}
.thank-you-details .event-facts strong{
  font-size:clamp(11px,1.65svh,15px);
  line-height:1.2;
}
.thank-you-details .event-facts .fact-label{
  font-size:clamp(7px,1svh,9px);
  line-height:1.15;
  margin-bottom:1px;
}
.thank-you-details .book-button{
  min-height:44px;
  padding:5px 9px;
  font-size:clamp(11px,1.5svh,14px);
}
.thank-you-details .event-links{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px;
}
.thank-you-details .event-links> :last-child{grid-column:auto}
.thank-you-details .event-links a,
.thank-you-details .event-links button{
  flex-direction:row;
  min-height:44px;
  padding:4px 5px;
  gap:4px;
  font-size:clamp(9px,1.3svh,12px);
}
.thank-you-details .thank-you-actions .ui-icon{width:16px;height:16px}
.thank-you-details .booking-note{
  font-size:clamp(8px,1.1svh,10px);
  line-height:1.2;
}
.thank-you-details .entry-note{
  padding-top:5px;
  font-size:clamp(9px,1.3svh,12px);
  line-height:1.25;
}
.thank-you-details .entry-note .ui-icon{
  width:15px;height:15px;vertical-align:-3px;
}
.thank-you-details .thank-you-replay{
  min-height:44px;
  padding:3px;
  font-size:clamp(9px,1.3svh,12px);
}
.thank-you-art{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:min(100%,900px);
  height:clamp(48px,9svh,82px);
  opacity:.72;
  z-index:-1;
}
.thank-you-arch{opacity:.88}

@media(max-width:650px){
  :root{--closing-footer-h:82px}
  .thank-you-frame{
    padding-top:clamp(54px,8svh,68px);
    padding-inline:20px;
  }
  .thank-you-details{width:100%}
  .thank-you-details .event-facts{gap:6px}
  .thank-you-details .control-label{line-height:1.1}
}
@media(max-height:650px){
  :root{--closing-footer-h:76px}
  .thank-you-frame{padding-top:48px;gap:3px}
  .thank-you-logo{width:46px}
  .thank-you-message h2{font-size:1.55rem}
  .thank-you-message p{font-size:.68rem;line-height:1.25;margin-top:2px}
  .thank-you-details{padding:5px 7px;gap:3px}
  .thank-you-details>.eyebrow{font-size:7px}
  .thank-you-details .thank-you-date,
  .thank-you-details .thank-you-venue{font-size:9px}
  .thank-you-details .event-facts strong{font-size:10px}
  .thank-you-details .book-button{min-height:44px;padding:3px 6px;font-size:10px}
  .thank-you-details .event-links a,
  .thank-you-details .event-links button{min-height:44px;font-size:8px;padding:2px 3px}
  .thank-you-details .booking-note{font-size:7px}
  .thank-you-details .entry-note{font-size:8px;padding-top:3px}
  .thank-you-details .thank-you-replay{min-height:44px;font-size:8px;padding:1px}
  .thank-you-art{height:42px;opacity:.55}
}


/* Closing artwork visibility pass: keep all botanical/elephant elements clearly visible
   while the content card stays above them. */
.thank-you-arch{
  z-index:0;
}
.thank-you-logo,
.thank-you-message,
.thank-you-details{
  position:relative;
  z-index:3;
}
.thank-you-art{
  z-index:1;
  opacity:1;
  height:clamp(82px,13svh,126px);
  bottom:0;
  overflow:visible;
}
.thank-you-elephant{
  height:92%;
  width:50%;
  left:50%;
  bottom:0;
  z-index:2;
  object-fit:contain;
  object-position:center bottom;
}
.thank-you-leaf{
  height:100%;
  width:34%;
  bottom:0;
  z-index:1;
  object-fit:contain;
  object-position:center bottom;
  opacity:.96;
}
.leaf-left{left:0}
.leaf-right{right:0;height:100%}
.thank-you-lotus{
  height:66%;
  width:24%;
  bottom:0;
  z-index:3;
  object-fit:contain;
  object-position:center bottom;
}
.lotus-left{left:4%}
.lotus-right{right:4%}

@media(max-width:650px){
  .thank-you-frame{
    padding-top:clamp(48px,7svh,58px);
  }
  .thank-you-art{
    width:100%;
    height:clamp(88px,14svh,118px);
  }
  .thank-you-elephant{
    width:46%;
    height:88%;
  }
  .thank-you-leaf{
    width:37%;
    height:100%;
  }
  .thank-you-lotus{
    width:26%;
    height:62%;
  }
  .lotus-left{left:1%}
  .lotus-right{right:1%}
}
@media(max-width:380px){
  .thank-you-art{
    height:94px;
  }
  .thank-you-elephant{
    width:44%;
  }
  .thank-you-leaf{
    width:39%;
  }
  .thank-you-lotus{
    width:27%;
  }
}
@media(max-height:650px){
  .thank-you-art{
    height:72px;
  }
  .thank-you-elephant{width:40%}
  .thank-you-leaf{width:31%}
  .thank-you-lotus{width:22%}
}


/* Event identity sits in its own protected band between the Gujarati thank-you
   copy and the lower event/actions/artwork. It must never overlap either region. */
.thank-you-kicker{
  position:relative;
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(92%,620px);
  min-height:30px;
  margin:clamp(2px,.45svh,5px) auto clamp(3px,.6svh,7px);
  padding:5px 14px;
  border:1px solid #c9a86b;
  border-radius:999px;
  background:#082f25f2;
  box-shadow:0 5px 16px #001d2340;
  color:#f0dba9;
  font:600 clamp(8px,1.15svh,11px)/1.2 var(--sans);
  letter-spacing:.08em;
  text-align:center;
  white-space:normal;
  overflow-wrap:normal;
}
.thank-you-message{
  position:relative;
  z-index:4;
  margin-bottom:0;
}
.thank-you-details{
  position:relative;
  z-index:4;
  margin-top:0;
}
.thank-you-art{
  pointer-events:none;
}

/* The standalone kicker replaces the old in-card eyebrow. */
.thank-you-details>.eyebrow{
  display:none;
}

@media(max-width:650px){
  .thank-you-kicker{
    width:min(94%,390px);
    min-height:27px;
    margin:2px auto 4px;
    padding:4px 9px;
    font-size:clamp(7px,1.1svh,9px);
    letter-spacing:.055em;
  }
}
@media(max-width:360px){
  .thank-you-kicker{
    width:96%;
    padding-inline:6px;
    font-size:7px;
    letter-spacing:.035em;
  }
}
@media(max-height:650px){
  .thank-you-kicker{
    min-height:24px;
    margin:1px auto 2px;
    padding:3px 7px;
    font-size:7px;
  }
}


/* Reserve explicit vertical order inside the final card:
   actions/details -> brand row -> decorative artwork. */
.thank-you-details{
  overflow:visible;
}
.thank-you-details .finale-brands{
  order:99;
}
.thank-you-art{
  z-index:1;
}
.thank-you-details{
  z-index:4;
  padding-bottom:clamp(8px,1.2svh,12px);
}
@media(max-width:650px){
  .thank-you-details{
    gap:clamp(3px,.55svh,6px);
    padding-bottom:6px;
  }
}
@media(max-height:650px){
  .thank-you-details{
    gap:2px;
    padding-bottom:4px;
  }
}


/* Final stack order: green card -> brand strip -> decorative artwork. */
.thank-you-details{
  margin-bottom:0 !important;
}
.finale.thank-you .finale-brands{
  flex:0 0 auto;
}
.thank-you-art{
  z-index:2;
}
.thank-you-frame{
  padding-bottom:clamp(88px,13.5svh,128px);
}
@media(max-width:650px){
  .thank-you-frame{
    padding-bottom:clamp(94px,14.5svh,122px);
  }
}
@media(max-height:650px){
  .thank-you-frame{
    padding-bottom:74px;
  }
}


/* Final-page consolidation:
   one green card, larger logo, smaller THANK YOU, no closing sponsor strip. */
.thank-you-logo{
  width:clamp(81px,12svh,129px) !important;
}

.thank-you-message h2{
  font-size:clamp(1.3125rem,3.75svh,2.475rem) !important;
}

.thank-you-message{
  margin-bottom:clamp(7px,1svh,12px);
}

.thank-you-message p{
  margin-top:clamp(5px,.75svh,9px);
}

.thank-you-details{
  width:min(100%,820px);
  gap:clamp(7px,1svh,12px);
  padding:clamp(10px,1.45svh,16px) clamp(11px,1.7vw,17px);
  margin-top:clamp(3px,.5svh,6px);
}

.thank-you-details .thank-you-kicker{
  width:100%;
  min-height:0;
  margin:0;
  padding:0 0 clamp(7px,1svh,10px);
  border:0;
  border-bottom:1px solid #8f7a52;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#f0dba9;
  font-size:clamp(8px,1.15svh,11px);
  letter-spacing:.07em;
}

.thank-you-details .event-facts{
  margin-top:0;
}

.thank-you-art{
  margin-top:0;
}

.thank-you-frame{
  gap:clamp(6px,.9svh,10px);
  padding-bottom:clamp(88px,13.5svh,126px);
}

@media(max-width:650px){
  .thank-you-logo{
    width:clamp(81px,12svh,129px) !important;
  }

  .thank-you-message h2{
    font-size:clamp(1.3125rem,3.75svh,2.475rem) !important;
  }

  .thank-you-frame{
    gap:clamp(5px,.8svh,8px);
    padding-top:clamp(44px,6.5svh,54px);
  }

  .thank-you-details{
    gap:clamp(5px,.75svh,8px);
    padding:8px 9px;
  }

  .thank-you-details .thank-you-kicker{
    padding-bottom:7px;
    font-size:clamp(7px,1.05svh,9px);
  }
}

@media(max-height:650px){
  .thank-you-logo{
    width:69px !important;
  }

  .thank-you-message h2{
    font-size:1.1625rem !important;
  }

  .thank-you-message{
    margin-bottom:4px;
  }

  .thank-you-details{
    gap:4px;
    padding:6px 7px;
  }

  .thank-you-details .thank-you-kicker{
    padding-bottom:5px;
    font-size:7px;
  }
}


/* Final-page logo scale pass: +50% from the current approved size. */
.thank-you-logo{
  width:clamp(121.5px,18svh,193.5px) !important;
}
@media(max-width:650px){
  .thank-you-logo{
    width:clamp(121.5px,18svh,193.5px) !important;
  }
}
@media(max-height:650px){
  .thank-you-logo{
    width:103.5px !important;
  }
}


/* Mobile finale repair: allow the closing card, decorative artwork and footer
   to flow naturally instead of competing for a fixed viewport height. */
@media (max-width:650px){
  .finale.thank-you{
    height:auto !important;
    min-height:100svh !important;
    max-height:none !important;
    overflow:visible !important;
    contain:layout paint !important;
  }

  .thank-you-scene{
    height:auto !important;
    min-height:100svh;
    padding:8px 8px 0;
  }

  .thank-you-frame{
    height:auto !important;
    min-height:100svh;
    align-content:start;
    padding:
      clamp(42px,6svh,54px)
      14px
      clamp(126px,18svh,164px) !important;
    gap:6px;
  }

  .thank-you-details{
    width:100%;
    margin:2px 0 0 !important;
    padding:8px 9px 10px;
    gap:5px;
    overflow:hidden;
  }

  /* Footer already contains the same replay action on mobile. */
  .thank-you-details .thank-you-replay{
    display:none !important;
  }

  .thank-you-art{
    position:absolute;
    left:50%;
    bottom:0;
    width:100%;
    height:clamp(118px,17svh,158px);
    transform:translateX(-50%);
    overflow:hidden;
  }

  .thank-you-elephant{
    width:44%;
    height:90%;
  }

  .thank-you-leaf{
    width:38%;
    height:100%;
  }

  .thank-you-lotus{
    width:27%;
    height:64%;
  }
}

@media (max-width:380px){
  .thank-you-frame{
    padding-inline:10px;
    padding-bottom:132px !important;
  }

  .thank-you-details{
    padding-inline:7px;
  }

  .thank-you-art{
    height:124px;
  }
}

@media (max-width:650px) and (max-height:700px){
  .thank-you-frame{
    min-height:auto;
    padding-bottom:112px !important;
  }

  .thank-you-art{
    height:106px;
  }
}
