/* Marigold town: a pinned scene that slides district to district while content appears.
   Light/dark: the town is its own illustrated world, so its cards use fixed colours. */
.town{position:relative;padding:0}
.town .scene,.town .town-fx,.town .town-dots,.town .scrollhint{display:none}
.town .chap{position:relative;padding:28px 0 8px}
.town .chap-fig{display:block;margin:0 auto 18px;max-width:1120px;padding-inline:20px}
.town .chap-fig img{width:100%;height:auto;border-radius:24px;background:#FFFDFB}
.town .card{margin:0 auto;width:min(560px,calc(100% - 40px))}
.town .scr{display:none}

.card{padding:30px 32px;border-radius:28px;background:rgba(255,251,247,.86);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);box-shadow:0 34px 70px -30px rgba(40,15,45,.6);border:1px solid rgba(255,255,255,.65);color:#3A1B33}
.card .eyebrow{color:#A24668;margin-bottom:.7rem}
.card h1,.card h2{color:#3A1B33;font-size:clamp(1.9rem,3.2vw,2.8rem);line-height:1.06}
.card h1{font-size:clamp(2.1rem,4vw,3.3rem)}
.card h1 em,.card h2 em{font-style:italic;color:#A24668}
.card .lede{font-size:1.02rem;color:#5E4658;margin:14px 0 0;max-width:none}
.card .micro{color:#6F5766;margin:16px 0 0}
.card .btn{box-shadow:0 12px 26px -12px #BD5A7A}
.card .btn.ghost{color:#3A1B33!important;border-color:rgba(58,27,51,.25)}
.card .btn.ghost:hover{background:rgba(58,27,51,.06)}
.card .cta{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0}
.tl{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:9px}
.tl li{position:relative;padding-left:22px;font-size:.95rem;color:#4C3445}
.tl li::before{content:"";position:absolute;left:2px;top:.55em;width:8px;height:8px;border-radius:50%;background:#E3A446}
.card.dark{background:rgba(30,17,40,.8);border-color:rgba(255,255,255,.14);color:#F4E7EF}
.card.dark .eyebrow{color:#F3C98B}
.card.dark h2,.card.dark h1{color:#FFF6F2}
.card.dark h2 em{color:#F3C98B}
.card.dark .lede{color:#DCC6D6}
.card.dark .tl li{color:#EBD3E2}
.card.dark .btn.ghost{color:#F4E7EF!important;border-color:rgba(244,231,239,.32)}
.card .care{margin:18px 0 0;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);font-size:.84rem;color:#D8C2D2;max-width:none}

/* ---------- live (JS) mode: panel + sliding town window ---------- */
.town .view,.town .panel{display:contents}
.town:not(.live) .view{display:none}
.town.live{height:calc(100vh - var(--hdr,132px) + var(--steps)*92vh)}
@supports (height:100svh){.town.live{height:calc(100svh - var(--hdr,132px) + var(--steps)*92svh)}}
.town.live .town-stage{position:sticky;top:var(--hdr,132px);height:calc(100vh - var(--hdr,132px));overflow:hidden;background:#FFF8F1;--pw:max(430px,37vw)}
@supports (height:100svh){.town.live .town-stage{height:calc(100svh - var(--hdr,132px))}}
.town.live .view{display:block;position:absolute;top:0;bottom:0;left:var(--pw);right:0;overflow:hidden;z-index:1;background:#FFFDFB}
.town.live .scene{display:block;position:absolute;inset:0;overflow:hidden;will-change:transform;box-shadow:-34px 0 60px -34px rgba(40,15,45,.45)}
.town.live .scene:nth-of-type(1){z-index:1}.town.live .scene:nth-of-type(2){z-index:2}.town.live .scene:nth-of-type(3){z-index:3}
.town.live .scene:nth-of-type(4){z-index:4}.town.live .scene:nth-of-type(5){z-index:5}.town.live .scene:nth-of-type(6){z-index:6}
.town.live .scene img{position:absolute;left:0;top:0;height:100%;width:auto;max-width:none;will-change:transform}
.town.live .town-fx{display:block;position:absolute;inset:0;z-index:7;pointer-events:none}
.town.live .town-fx .breeze-bg{opacity:.7}
.town.live .town-fx .petals{z-index:1}
.town.live .town-fx .petals i{animation-name:blowbox}

.town.live .panel{display:block;position:absolute;top:0;bottom:0;left:0;width:var(--pw);z-index:8;--pbg:#FFF8F1;background:var(--pbg)}
.town.live .panel::after{content:"";position:absolute;top:0;bottom:0;right:-33px;width:34px;pointer-events:none;background:var(--pbg);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 800' preserveAspectRatio='none'%3E%3Cpath d='M0 0 C22 90 22 170 8 260 S2 420 18 520 S26 700 0 800 Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 800' preserveAspectRatio='none'%3E%3Cpath d='M0 0 C22 90 22 170 8 260 S2 420 18 520 S26 700 0 800 Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
.town.live .chap{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-start;padding:clamp(28px,6vh,64px) clamp(24px,3.4vw,56px) 0 clamp(24px,3.6vw,64px);opacity:0;visibility:hidden;pointer-events:none;will-change:transform,opacity}
.town.live .chap-fig{display:none}
.town.live .card{margin:0;width:100%;max-width:470px;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.town.live .card.dark{background:none}
.town.live .chap[data-i="0"] .card h1{font-size:clamp(2.1rem,3.3vw,3.2rem)}
.town.live .card .lede{font-size:clamp(.95rem,1.15vw,1.05rem)}
.town.live .scr{display:block;position:absolute;right:-74px;bottom:0;translate:0 17%;width:clamp(124px,10.5vw,150px)}
@media(max-height:760px){.town.live .scr{display:none}}
.town.live .chap .phone{box-shadow:0 30px 60px -24px rgba(40,15,45,.6)}

.town-dots{position:absolute;right:14px;top:50%;translate:0 -50%;z-index:9;display:none;gap:4px}
.town.live .town-dots{display:grid}
.town-dots button{width:26px;height:26px;border:0;background:none;cursor:pointer;padding:0;display:grid;place-items:center}
.town-dots button::before{content:"";width:9px;height:9px;border-radius:50%;background:rgba(58,27,51,.4);box-shadow:0 0 0 2px rgba(255,255,255,.8);transition:transform .3s,background .3s}
.town-dots button[aria-current="true"]::before{background:#E3A446;transform:scale(1.5)}
.town-dots button:focus-visible{outline:2px solid #BD5A7A;outline-offset:2px;border-radius:50%}

.scrollhint{position:absolute;left:calc(var(--pw) + (100% - var(--pw))/2);bottom:22px;translate:-50% 0;z-index:9;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#5C294F;background:rgba(255,251,247,.88);backdrop-filter:blur(10px);padding:9px 16px 9px 18px;border-radius:999px;box-shadow:0 10px 24px -12px rgba(40,15,45,.5);white-space:nowrap;display:none}
.scrollhint::after{content:"↓";display:inline-block;margin-left:8px;animation:nudge 1.6s ease-in-out infinite}
.town.live .scrollhint{display:block}
@keyframes nudge{50%{transform:translateY(4px)}}

@media(max-width:860px){
  .town.live .town-stage{--pw:0px}
  .town.live .view{left:0;right:0;bottom:auto;height:46%}
  .town.live .panel{left:0;right:0;width:auto;top:46%;bottom:0}
  .town.live .panel::after{display:none}
  .town.live .chap{padding:20px 22px 0}
  .town.live .card{max-width:none}
  .town.live .card h1{font-size:clamp(1.75rem,7.6vw,2.3rem)}
  .town.live .card h2{font-size:clamp(1.5rem,6.6vw,2rem)}
  .town.live .card .eyebrow{margin-bottom:.4rem;font-size:.7rem}
  .town.live .card .lede{font-size:.93rem;margin-top:8px}
  .town.live .tl li:nth-child(n+2),.town.live .card .care,.town.live .card .micro{display:none}
  .town.live .tl{margin-top:12px}
  .town.live .card .cta{margin-top:16px}
  .town.live .scr{display:none}
  .town.live .town-dots{right:6px;top:23%}
  .scrollhint{left:50%;bottom:auto;top:calc(46% - 52px)}
}
/* panel text colours follow the day/night panel */
.town.live .panel::after{z-index:0}
.town.live .chap{z-index:1}
@media(max-width:860px){
  .town.live .view{height:42%}
  .town.live .panel{top:42%}
  .town.live .card .lede{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .town.live .tl,.town.live .card .btn.ghost{display:none}
  .town.live .card .cta{margin-top:14px}
  .town.live .town-dots{top:21%}
  .scrollhint{top:calc(42% - 52px)}
}

/* ---------- Marigold is the only brand on top: no company bar ---------- */
html body.hs{padding-top:0!important}
html body.hs > header.nav,html body.hs > .nav{top:0!important}
html:root{scroll-padding-top:84px}
.nav-in{height:72px}
.brand{gap:12px;font-size:1.55rem;letter-spacing:-.01em}
.brand img{width:42px;height:42px;border-radius:11px;box-shadow:0 6px 16px -8px rgba(92,41,79,.6)}
@media(max-width:760px){.nav-in{height:64px}.brand{font-size:1.4rem}.brand img{width:36px;height:36px}}

/* ---------- stacked fallback: cards span the full width of their illustration ---------- */
.town:not(.live) .chap{padding:34px 0 10px}
.town:not(.live) .card{width:min(1080px,calc(100% - 40px));max-width:none;margin:0 auto;padding:clamp(24px,3.2vw,40px) clamp(24px,3.6vw,48px);border-radius:24px;background:var(--card);backdrop-filter:none;box-shadow:var(--shadow);border:1px solid var(--line)}
.town:not(.live) .card.dark{background:#1E1128;color:#F4E7EF}
.town:not(.live) .card h1,.town:not(.live) .card h2{color:var(--ink)}
.town:not(.live) .card.dark h1,.town:not(.live) .card.dark h2{color:#FFF6F2}
.town:not(.live) .card .lede{color:var(--muted)}
.town:not(.live) .card.dark .lede{color:#DCC6D6}
.town:not(.live) .tl li{color:var(--ink2)}
.town:not(.live) .card.dark .tl li{color:#EBD3E2}
.town:not(.live) .card .micro{color:var(--muted)}
.town:not(.live) .card .btn.ghost{color:var(--ink)!important;border-color:var(--line)}
.town:not(.live) .card.dark .btn.ghost{color:#F4E7EF!important;border-color:rgba(244,231,239,.32)}
@media(min-width:900px){
  .town:not(.live) .card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:clamp(32px,5vw,72px);grid-auto-flow:dense;align-items:start}
  .town:not(.live) .card .eyebrow,.town:not(.live) .card h1,.town:not(.live) .card h2{grid-column:1}
  .town:not(.live) .card .lede,.town:not(.live) .card .tl,.town:not(.live) .card .cta,.town:not(.live) .card .micro,.town:not(.live) .card .care,.town:not(.live) .card>p:not(.eyebrow){grid-column:2}
  .town:not(.live) .card .lede{margin-top:0}
}
.town:not(.live) .chap-fig{padding-inline:20px}
.town:not(.live) .chap-fig img{box-shadow:var(--shadow)}

/* ---------- petals: canvas field, calmer breeze ---------- */
.pcanvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:1}
.final{position:relative;overflow:hidden}
.final .pcanvas{z-index:0}
.town.live .town-fx .breeze-bg{opacity:.45}

/* ---------- the hours the town doesn't see (UGC-style photos) ---------- */
.stories{position:relative;background:radial-gradient(120% 90% at 18% 0%,#3a2145 0%,#241530 42%,#150D1A 100%);color:#F4E7EF;padding:clamp(80px,9vw,120px) 0 clamp(80px,10vw,130px);overflow:hidden}
.stories .wave{position:absolute;left:0;right:0;top:-1px;width:100%;height:clamp(50px,7vw,110px);transform:rotate(180deg);fill:#FFF8F1;z-index:2;pointer-events:none;display:block}
.stories .eyebrow{color:#F3C98B}
.stories h2{color:#FFF6F2}
.stories .lede{color:#DCC6D6}
.st-grid{display:grid;grid-template-columns:1.12fr 1fr 1fr;grid-template-rows:repeat(2,minmax(280px,1fr));gap:18px;margin-top:clamp(40px,5vw,64px);height:clamp(620px,64vw,760px)}
.st-card{position:relative;border-radius:26px;overflow:hidden;background:#241530;box-shadow:0 30px 60px -34px #000,0 0 0 1px rgba(255,255,255,.07);isolation:isolate}
.st-card.big{grid-row:1 / span 2}
.st-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.22,.61,.36,1)}
.st-card:hover img{transform:scale(1.045)}
.st-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(21,13,26,.9) 0%,rgba(21,13,26,.55) 34%,transparent 62%);z-index:1;pointer-events:none}
.st-card .mark{z-index:3}
.st-card .pchip.tm{position:absolute;left:60px;top:19px;z-index:3;background:rgba(21,13,26,.55)}
.st-tx{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:22px 24px 24px}
.st-tx h3{font-size:clamp(1.1rem,1.6vw,1.4rem);color:#FFF6F2;margin-bottom:6px}
.st-card.big .st-tx h3{font-size:clamp(1.4rem,2.3vw,2rem)}
.st-tx p{margin:0;font-size:.9rem;color:#E4D0DE;max-width:44ch}
.st-card:not(.big) .st-tx p{font-size:.84rem}
.st-note{text-align:center;font-size:.78rem;color:#B8A1B4;margin:30px 0 0}
@media(max-width:900px){
  .st-grid{display:grid;grid-template-columns:none;grid-template-rows:none;grid-auto-flow:column;grid-auto-columns:min(82%,340px);gap:14px;height:auto;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 22px 14px;margin-inline:-24px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .st-grid::-webkit-scrollbar{display:none}
  .st-card,.st-card.big{grid-row:auto;aspect-ratio:4/5.2;scroll-snap-align:center}
  .st-card.big .st-tx h3{font-size:1.2rem}
}
@media(prefers-reduced-motion:reduce){.st-card img{transition:none}.st-card:hover img{transform:none}}
