/* Gown Timeline lead magnet (/gown-timeline/). Builds on style.css tokens.
   Design brief (Tim, Nov 19 2026): the say-yes date is the big reveal; few words; lots of room to breathe. */
main>.gt-hero:first-child{border-top:0}
[hidden].gt-status,[hidden].gt-count,[hidden].gt-keep,.gt-hs[hidden]{display:none!important}

/* ---- The reveal ---- */
.gt-hero{position:relative;background:var(--linen);border-bottom:1px solid var(--line);padding-top:var(--hdr,82px);overflow:hidden;isolation:isolate}
.gt-glow{position:absolute;inset:0;z-index:-1;pointer-events:none}
.gt-glow i{position:absolute;border-radius:50%;filter:blur(70px);opacity:.75}
.gt-glow i:nth-child(1){width:46vmax;height:46vmax;left:-14vmax;top:-12vmax;background:var(--blush)}
.gt-glow i:nth-child(2){width:38vmax;height:38vmax;right:-12vmax;top:18%;background:var(--powder);opacity:.5}
.gt-glow i:nth-child(3){width:34vmax;height:34vmax;left:22%;bottom:-20vmax;background:var(--sage-soft)}
.gt-confetti{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
.gt-hero-grid{display:grid;gap:clamp(2.4rem,6vw,5rem);grid-template-columns:1fr;align-items:center;padding-block:clamp(3rem,9vw,6.5rem)}
.gt-hero-grid>*{min-width:0}
@media(min-width:900px){.gt-hero-grid{grid-template-columns:1.25fr .75fr}}
.gt-answer{display:grid;gap:clamp(1.3rem,3vw,1.9rem);align-content:start;justify-items:start}
.gt-answer .eyebrow{margin:0}
.gt-answer .eyebrow b{font-weight:500}
.gt-answer h1{margin:0;font-size:clamp(2rem,5.2vw,3.4rem);line-height:1.12;text-wrap:balance}
.gt-answer h1.gt-h1-reveal{display:grid;gap:clamp(.7rem,2vw,1.1rem);font-size:inherit;line-height:1}
.gt-kicker{font:500 clamp(.72rem,1.6vw,.85rem)/1.4 var(--sans);letter-spacing:.24em;text-transform:uppercase;color:var(--ink)}
.gt-reveal{position:relative;display:inline-block;justify-self:start;font:400 clamp(2.7rem,9.6vw,5.6rem)/1.04 var(--serif);color:var(--rose-deep,#a8736a);letter-spacing:-.01em;padding-bottom:.28em;font-variant-numeric:lining-nums}
.gt-w{display:inline-block;white-space:nowrap}
.gt-c{display:inline-block}
.gt-swash{position:absolute;left:0;right:0;bottom:0;width:100%;height:.2em;color:var(--blush-deep);overflow:visible}
.gt-lead{margin:0;font-size:clamp(1rem,2vw,1.12rem);max-width:38ch}
.gt-status{margin:0;display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .7rem;background:rgba(255,255,255,.72);border:1px solid var(--line);border-radius:999px;padding:.6rem 1.15rem;font-size:.92rem;max-width:100%}
.gt-status b{font:600 .66rem/1.3 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:#4f6344}
.gt-status b::before{content:"";display:inline-block;width:.5rem;height:.5rem;border-radius:50%;background:#7d9470;margin-right:.55rem;vertical-align:.05em}
.gt-status.warn{background:#fbf0dc;border-color:#ecd3a5;border-radius:10px}
.gt-status.warn b{color:#7d520f}.gt-status.warn b::before{background:#b9801f}
.gt-actions{display:grid;gap:1.1rem;justify-items:start;width:100%}
@media(max-width:520px){.gt-actions>.btn{width:100%}}
.gt-keep{display:flex;flex-wrap:wrap;gap:.2rem 1.8rem}
.gt-link{display:inline-flex;align-items:center;gap:.55rem;min-height:44px;padding:0;background:none;border:0;cursor:pointer;font:500 .74rem/1.3 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--ink);text-align:left;text-decoration:underline;text-decoration-color:var(--blush-deep);text-decoration-thickness:2px;text-underline-offset:6px}
.gt-link:hover{text-decoration-color:var(--ink)}
.gt-link:focus-visible{outline:2px solid var(--ink);outline-offset:4px;box-shadow:none}
.gt-link svg{width:20px;height:20px;flex:none}
.gt-edit{width:100%;max-width:460px}
.gt-edit summary{display:inline-flex;align-items:center;min-height:44px;cursor:pointer;font-size:.88rem;color:var(--muted);text-decoration:underline;text-underline-offset:4px;list-style:none}
.gt-edit summary::-webkit-details-marker{display:none}
.gt-edit summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px;box-shadow:none}
.gt-date{display:grid;gap:.8rem .9rem;grid-template-columns:1fr 1fr;padding-top:.8rem}
@media(max-width:380px){.gt-date{grid-template-columns:1fr}}
.gt-field{display:grid;gap:.35rem;min-width:0}
.gt-field label{font:500 .68rem/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
.gt-field input,.gt-field select{display:block;width:100%;min-width:0;max-width:100%;min-height:48px;padding:.6rem .8rem;font:400 1rem/1.4 var(--sans);color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:2px}
.gt-field input[type=date]{-webkit-appearance:none;appearance:none}
.gt-field input:focus,.gt-field select:focus{outline:2px solid var(--ink);outline-offset:0;border-color:var(--ink)}
.gt-photo{position:relative}
.gt-photo img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:42% 0%;border-radius:8px;box-shadow:var(--sh-lg)}
@media(max-width:899px){.gt-photo img{aspect-ratio:4/3;object-position:40% 6%}}
.gt-count{position:absolute;left:-1px;bottom:1.4rem;background:var(--ink);color:var(--paper);padding:1rem 1.4rem;border-radius:0 6px 6px 0;display:grid;gap:.2rem;min-width:180px}
.gt-count b{font:400 2.2rem/1 var(--serif);font-variant-numeric:tabular-nums}
.gt-count span{font:500 .62rem/1.4 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:rgba(250,253,254,.8)}

/* Reveal motion: only when she has not asked her device to reduce motion */
@media(prefers-reduced-motion:no-preference){
  .gt-kicker{animation:gt-fade .7s var(--ease) both}
  .gt-c{opacity:0;transform:translateY(.55em) rotate(6deg);animation:gt-rise .75s cubic-bezier(.2,.9,.25,1.15) both;animation-delay:calc(.3s + var(--i)*45ms)}
  .gt-swash path{stroke-dasharray:1;stroke-dashoffset:1;animation:gt-draw .9s var(--ease) 1.15s both}
  .gt-h1-reveal~.gt-lead{animation:gt-fade .8s var(--ease) 1.2s both}
  .gt-h1-reveal~.gt-status{animation:gt-fade .8s var(--ease) 1.4s both}
  .gt-h1-reveal~.gt-actions{animation:gt-fade .8s var(--ease) 1.6s both}
  .gt-glow i{animation:gt-drift 16s ease-in-out infinite alternate}
  .gt-glow i:nth-child(2){animation-duration:21s;animation-direction:alternate-reverse}
  .gt-glow i:nth-child(3){animation-duration:26s}
}
@keyframes gt-rise{to{opacity:1;transform:none}}
@keyframes gt-fade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes gt-draw{to{stroke-dashoffset:0}}
@keyframes gt-drift{to{transform:translate3d(6vmax,4vmax,0) scale(1.15)}}

/* ---- Your five dates: cards that stack as she scrolls ---- */
.gt-sec{padding-block:clamp(4rem,10vw,7.5rem)}
.gt-head{max-width:760px;margin-bottom:clamp(2.2rem,5vw,3.6rem)}
.gt-sec h2,.gt-hs h2{margin:0}
.gt-why{margin:.9rem 0 0;max-width:44ch;font-size:1.05rem}
.gt-five .gt-head{text-align:center;margin-inline:auto}
.gt-five .gt-why{margin-inline:auto}
.gt-tl{list-style:none;padding:0;margin:0 auto;display:grid;gap:1.4rem;max-width:880px}
.gt-card{display:grid;gap:1.5rem;align-content:space-between;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:clamp(1.7rem,5vw,3rem);box-shadow:0 -6px 30px rgba(30,35,38,.07);min-height:clamp(330px,56vh,440px);transform-origin:50% 0}
.gt-card-a{display:flex;align-items:center;justify-content:space-between}
.gt-medal{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:var(--linen);border:1px solid var(--line-strong);color:var(--ink)}
.gt-medal svg{width:28px;height:28px}
.gt-step{font:500 .68rem/1 var(--sans);letter-spacing:.2em;color:var(--muted)}
.gt-card-b{display:grid;gap:.5rem;justify-items:start}
.gt-when{font:500 .7rem/1.4 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.gt-big{font:400 clamp(2.2rem,8.4vw,3.9rem)/1.05 var(--serif);color:var(--ink);font-variant-numeric:lining-nums;letter-spacing:-.01em}
.gt-rel{font-size:.86rem;color:var(--muted)}
.gt-pill{font:500 .6rem/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;padding:.45rem .7rem;border-radius:999px;background:var(--ink);color:#fff}
.gt-pill.late{background:var(--blush-soft);color:#7a4a42}
.gt-card-c{display:grid;gap:.4rem;padding-top:1.3rem;border-top:1px solid var(--line)}
.gt-card h3{margin:0;font:600 1.02rem/1.35 var(--sans);letter-spacing:.01em}
.gt-card p{margin:0;font-size:.98rem;max-width:40ch}
.gt-tl li.next .gt-medal{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:0 0 0 6px var(--blush-soft)}
.gt-tl li.next .gt-big{color:var(--rose-deep,#a8736a)}
.gt-tl li.late .gt-big{color:var(--muted)}
.gt-tl li.wedding .gt-card{background:var(--ink);border-color:var(--ink);color:rgba(250,253,254,.86)}
.gt-tl li.wedding .gt-big,.gt-tl li.wedding h3{color:#fff}
.gt-tl li.wedding .gt-when,.gt-tl li.wedding .gt-step{color:rgba(250,253,254,.75)}
.gt-tl li.wedding .gt-medal{background:var(--blush);border-color:var(--blush);color:#7a4a42}
.gt-tl li.wedding .gt-card-c{border-top-color:rgba(250,253,254,.22)}
/* Stacking is added by the script (class gt-stack) unless she has asked for reduced motion */
.gt-tl.gt-stack{gap:0}
.gt-tl.gt-stack li{position:sticky;top:calc(var(--gt-top,82px) + 14px + var(--n)*12px);padding-bottom:clamp(2.2rem,7vh,4.5rem)}
.gt-tl.gt-stack li:last-child{padding-bottom:0}
.gt-tl.gt-stack .gt-card{transform:scale(calc(1 - var(--p,0)*.055));will-change:transform}
.gt-tl.gt-stack .gt-card>*{opacity:calc(1 - var(--p,0)*.75)}

/* ---- Every dress date: the row moves sideways as she scrolls down ---- */
.gt-hs{background:var(--linen);border-block:1px solid var(--line)}
.gt-hs-pin{display:flex;flex-direction:column;justify-content:center;gap:clamp(1.2rem,3.4vh,2.4rem);padding-block:clamp(2.6rem,7vw,4.5rem);overflow:hidden}
.gt-hs-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.8rem 2rem}
.gt-hs h2{font-size:clamp(1.55rem,3.4vw,2.5rem)}
.gt-hs-count{margin:0;display:flex;align-items:center;gap:.8rem;font:500 .7rem/1 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.gt-hs-count b{font-weight:600;color:var(--ink)}
.gt-hs-bar{display:block;width:clamp(70px,16vw,150px);height:2px;background:var(--line-strong);border-radius:2px;overflow:hidden}
.gt-hs-bar i{display:block;height:100%;width:0;background:var(--rose-deep,#a8736a)}
.gt-hs-view{overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding-bottom:.6rem}
.gt-hs-view:focus-visible{outline:2px solid var(--ink);outline-offset:-2px;box-shadow:none}
.gt-phases{display:flex;gap:clamp(1rem,2.4vw,1.8rem);width:max-content;padding-inline:max(var(--gutter),calc((100vw - 1200px)/2))}
.gt-phase{flex:none;width:clamp(270px,78vw,400px);scroll-snap-align:center;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:clamp(1.3rem,3.2vh,2rem) clamp(1.3rem,3vw,2rem);min-width:0;box-shadow:var(--sh-sm)}
.gt-phase-n{margin:0 0 .45rem;font:500 .62rem/1.3 var(--sans);letter-spacing:.2em;text-transform:uppercase;color:var(--rose-deep,#a8736a)}
.gt-phase h3{margin:0 0 clamp(.5rem,1.6vh,1rem);font-size:clamp(1.3rem,2.6vw,1.6rem)}
.gt-phase ul{list-style:none;margin:0;padding:0;display:grid}
.gt-phase li{display:grid;gap:.12rem;justify-items:start;padding:clamp(.6rem,1.7vh,1rem) 0;border-top:1px solid var(--line)}
.gt-d{font:400 1.12rem/1.2 var(--serif);color:var(--ink);font-variant-numeric:lining-nums}
.gt-phase li.key .gt-d{color:var(--rose-deep,#a8736a)}
.gt-phase li.past .gt-d{color:var(--muted)}
.gt-t{font:600 .88rem/1.35 var(--sans);color:var(--ink)}
.gt-p{font-size:.84rem;line-height:1.45}
.gt-phase .gt-pill{margin:.15rem 0}
/* Pinned mode (set by the script when the cards fit on screen): the page scroll drives the row */
.gt-hs.pin .gt-hs-pin{position:sticky;top:var(--gt-top,82px);height:calc(100vh - var(--gt-top,82px));padding-block:clamp(1rem,3vh,2.4rem)}
@supports(height:100svh){.gt-hs.pin .gt-hs-pin{height:calc(100svh - var(--gt-top,82px))}}
.gt-hs.pin .gt-hs-view{overflow:hidden;padding-bottom:0}
.gt-hs.pin .gt-phases{will-change:transform}

/* ---- Close ---- */
.gt-end{text-align:center}
.gt-close{display:grid;gap:1.1rem;justify-items:center}
.gt-close p{margin:0;max-width:40ch}
.gt-close-h{font:400 clamp(1.5rem,3.6vw,2.3rem)/1.2 var(--serif);color:var(--ink);text-wrap:balance}
.gt-close .btn{margin-top:.6rem}
.gt-close .gt-keep{justify-content:center;margin-top:.4rem}
@media(max-width:520px){.gt-close .btn{width:100%}.gt-close .gt-keep{flex-direction:column;align-items:center}}
@media print{.gt-confetti,.gt-glow,.gt-actions,.gt-edit,.gt-keep,.to-top{display:none!important}.gt-tl.gt-stack li{position:static}.gt-hs.pin{height:auto!important}.gt-hs.pin .gt-hs-pin{position:static;height:auto}.gt-phases{flex-wrap:wrap;width:auto;transform:none!important}}
.gt-hint{font-size:.8rem;color:var(--muted)}
