/* WE DANCE website · home.css v1 (2026-11-05) — home page only. Uses site.css tokens. */

/* ---------- 1. hero ---------- */
.hero{background:var(--ink);color:#fff;position:relative}
.hero-ph{display:block;background:#0b0b10}
.hero-ph img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:52% 55%}
.hero-txt{padding:18px var(--gut) 26px}
.hero .kicker{color:#ff6b57;margin-bottom:6px}
.hero h1{font-size:clamp(27px,7.4vw,58px);line-height:1.12;margin:0 0 10px;letter-spacing:-.01em}
.hero-lead{font-size:16px;line-height:1.5;color:#e4dfd6;margin:0 0 18px;max-width:34em}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px 18px;padding-left:6px}
.hero-cta .btn{flex:1 1 auto;min-width:140px}
.hero-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin:18px 0 0;font-size:13.5px;color:#bdb7ad}
.hero-meta a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media (max-height:700px) and (max-width:899px){.hero-ph img{aspect-ratio:2/1}}
@media (min-width:600px) and (max-width:899px){.hero-ph img{aspect-ratio:2/1}.hero-cta .btn{flex:0 0 auto}}
@media (min-width:900px){
  /* 4 tracks: side gutter | text (5/12 of the content width) | photo (7/12) | side gutter. No 100vw (big-screen zoom would inflate it).
     The photo runs to the right edge as before; on big screens the page zoom keeps the gutters small. */
  .hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,calc(var(--wrap) * 5 / 12)) minmax(0,calc(var(--wrap) * 7 / 12)) minmax(0,1fr);min-height:min(620px,calc(100vh - var(--hdr-h) - 40px))}
  .hero-ph{grid-column:3 / 5;grid-row:1;position:relative;overflow:hidden;clip-path:polygon(64px 0,100% 0,100% 100%,0 100%)}
  .hero-ph img{position:absolute;inset:0;height:100%;aspect-ratio:auto;object-position:55% 60%}
  .hero-txt{grid-column:2;grid-row:1;align-self:center;padding:48px 24px 48px var(--gut)}
  .hero-lead{font-size:19px;margin-bottom:26px}
  .hero-cta .btn{flex:0 0 auto}
}
@media (min-width:900px){.hero h1{font-size:clamp(38px,3.7vw,54px)}}
.nw{white-space:nowrap}

/* ---------- 2. I want to… ---------- */
.tasks{padding:28px 0 36px;background:var(--paper)}
.tasks-hd{display:flex;align-items:baseline;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-bottom:14px}
.tasks-h{font-size:clamp(20px,2.6vw,26px);margin:0}
.tasks-login{font-weight:700;font-size:14px;color:var(--ink3);text-decoration:underline;text-underline-offset:3px;padding:8px 0}
.task-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (min-width:768px){.task-grid{gap:14px}}
@media (min-width:1000px){.task-grid{grid-template-columns:repeat(4,1fr)}}
.task{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:start;min-height:84px;height:100%;
  padding:14px 14px 14px 12px;background:var(--white);color:var(--ink);text-decoration:none;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%);transition:background .15s,transform .15s}
.task svg{grid-row:1/3;width:26px;height:26px;margin-top:1px;fill:none;stroke:var(--stage);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.task b{font-size:15.5px;line-height:1.3}
.task span{font-size:12.5px;line-height:1.4;color:var(--mute);margin-top:3px}
.task:hover{transform:translateY(-2px)}
.task.is-main{background:var(--ink);color:#fff}
.task.is-main svg{stroke:#ff6b57}
.task.is-main span{color:#cfc9bf}
@media (min-width:768px){.task{padding:18px 16px;min-height:96px}.task b{font-size:17px}.task span{font-size:13.5px}.task svg{width:30px;height:30px}}

/* ---------- 3. finder ---------- */
.finder-grid{display:grid;gap:24px}
@media (min-width:960px){.finder-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:start}
  .finder-form{position:sticky;top:calc(var(--hdr-h) + 20px)}}
.finder h2{margin-bottom:8px}
.ff{margin-top:18px}
.ff select{max-width:320px}
.ff-set{border:0;padding:0;margin:0 0 16px;min-width:0}
.ff-set legend{display:block;padding:0;margin-bottom:8px;font-weight:700;font-size:14px}
.ff .chip{min-height:44px;padding:8px 16px}
.ff-wait{font-size:14px}
.ff-reset{background:none;border:0;padding:10px 0;font:inherit;font-size:14px;font-weight:700;color:var(--mute);text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:44px}
.ff-count{font-weight:800;font-size:17px;margin:0 0 12px}
.ff-count small{display:block;font-weight:500;color:var(--mute);font-size:14px;margin-top:2px}
.ff-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ffr{background:var(--paper);padding:14px 14px 14px 16px;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%)}
.ffr h3{font-size:16px;line-height:1.35;margin:0 0 4px}
.ffr-meta{display:flex;flex-wrap:wrap;gap:2px 12px;margin:0;font-size:14px;color:var(--ink3)}
.ffr-meta b{color:var(--ink);font-weight:800}
.ffr-bot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-top:10px}
.ffr-bot .tag{margin-left:3px;font-size:12.5px}
.ffr-bot .btn{min-height:44px;margin-left:auto;margin-right:4px}
.ffr.is-inv{background:var(--white);outline:1px dashed var(--line);outline-offset:-1px}
.ff-empty{background:var(--paper);padding:18px 16px}
.ff-empty p{margin:0 0 8px}
.ff-foot{display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;margin-top:16px}

/* ---------- 4. proof ---------- */
.proof .lead{margin-bottom:28px}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#2b2825;border:1px solid #2b2825;margin:0 0 32px}
@media (min-width:768px){.stats{grid-template-columns:repeat(3,1fr)}}
.stat{background:var(--ink);padding:18px 14px 16px;display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:8px;margin:0}
.stat dd{margin:0;font-size:clamp(36px,9vw,52px);color:#fff;letter-spacing:-.01em}
.stat dt{font-size:13.5px;line-height:1.4;color:#cfc9bf}
.stat.is-hi dd{color:#ff6b57}
.proof-row{display:grid;gap:24px}
@media (min-width:900px){.proof-row{grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:48px;align-items:start}}
.proof h3{font-size:18px;margin-bottom:12px}
.style-list{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.style-list li{border:1.5px solid #3a3631;padding:6px 12px;font-size:14px;font-weight:600;color:#f0ebe2}
.proof-note{color:#cfc9bf;font-size:15px}
.proof-note a{color:#fff;font-weight:700}
.proof-term{background:#1d1b19;padding:20px 20px 22px}
.pt-k{color:#ff6b57;font-size:13px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 6px}
.pt-d{font-size:21px;font-weight:800;margin:0 0 4px;color:#fff}
.pt-w{font-size:14px;color:#cfc9bf;margin:0 0 16px}
.proof-term .btn{margin-left:6px}

/* ---------- 5. teasers ---------- */
.tz-grid{display:grid;gap:16px}
@media (min-width:700px){.tz-grid{grid-template-columns:repeat(3,1fr)}}
.tz{display:flex;flex-direction:column;background:var(--white);text-decoration:none;color:var(--ink);transition:transform .15s}
.tz:hover{transform:translateY(-2px)}
.tz .ph{aspect-ratio:16/9}
.tz-b{padding:16px 18px 20px;display:flex;flex-direction:column;flex:1}
.tz-b h3{margin-bottom:6px}
.tz-b p{color:var(--ink3);font-size:15px}
.tz-b .kicker{margin-bottom:6px}
.tz-go{margin-top:auto;font-weight:800;font-size:15px;text-decoration:underline;text-decoration-color:var(--stage);text-decoration-thickness:2px;text-underline-offset:4px}
.tz-go::after{content:" →"}
.tz-row{display:grid;gap:12px;margin-top:16px}
@media (min-width:700px){.tz-row{grid-template-columns:repeat(3,1fr);gap:16px}}
.tz-sm h3{font-size:17px;margin-bottom:4px}
.tz-sm p{margin:0;font-size:14.5px;color:var(--ink3)}
.tz-sm.ink p{color:#cfc9bf}
.tz-sm.ink .kicker{color:#ff6b57}
.tz-sm .kicker{margin-bottom:4px;font-size:11px}
.news{margin-top:40px}
.news-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
@media (min-width:700px){.news-list{grid-template-columns:repeat(3,1fr);gap:16px}}
.news-list a{display:block;height:100%;background:var(--white);text-decoration:none;color:var(--ink)}
.news-list .ph{aspect-ratio:16/9}
.news-b{padding:14px 16px 16px}
.news-b time{font-size:13px;color:var(--mute)}
.news-b h3{font-size:16.5px;margin:4px 0 6px}
.news-b p{font-size:14.5px;color:var(--ink3);margin:0}

/* ---------- 6. faq ---------- */
.faq-wrap{max-width:880px}
.faq a{font-weight:700;text-decoration-color:var(--stage);text-underline-offset:3px}

/* ---------- 7. visit ---------- */
.visit-grid{display:grid;gap:12px;margin-top:8px}
@media (min-width:820px){.visit-grid{grid-template-columns:repeat(3,1fr);gap:16px}}
.visit-card h3{font-size:17px;margin-bottom:10px}
.visit-card address{font-style:normal;font-size:17px;font-weight:700;line-height:1.5;margin-bottom:6px}
.visit-card .btn{margin-left:6px}
.hours{margin:0;display:grid;gap:6px}
.hours div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line2);padding:6px 0}
.hours dt{font-weight:700}
.hours dd{margin:0;font-variant-numeric:tabular-nums}
.reach{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:2px}
.reach li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:44px;border-bottom:1px solid var(--line2)}
.reach span{width:58px;font-size:13px;color:var(--mute);flex:none}
.reach a,.reach b{font-weight:700;word-break:break-all}
.wx{letter-spacing:.02em}
.wx-copy{margin-left:auto;min-height:36px;min-width:52px;padding:4px 12px;font:inherit;font-size:13px;font-weight:700;background:var(--white);border:1.5px solid var(--line);border-radius:999px;cursor:pointer}
.wx-copy.done{border-color:var(--ok);color:var(--ok)}

/* below-the-fold sections render lazily */
.proof,.teasers,.visit{content-visibility:auto;contain-intrinsic-size:auto 900px}

/* phones: teaser and news cards go side-by-side (image left) to keep the page short */
@media (max-width:699px){
  .tz{flex-direction:row;align-items:stretch}
  .tz .ph{width:36%;flex:none;aspect-ratio:auto;min-height:150px}
  .tz-b{padding:12px 14px 14px}
  .tz-b h3{font-size:17px;margin-bottom:4px}
  .tz-b p{font-size:14px;margin-bottom:8px}
  .tz-b .kicker{font-size:11px;margin-bottom:4px}
  .tz-go{font-size:14px}
  .news-list a{display:flex}
  .news-list .ph{width:34%;flex:none;aspect-ratio:auto;min-height:110px}
  .news-b p{display:none}
  .news-b h3{font-size:15.5px;margin-bottom:0}
}

/* Instagram feed (2026-11-06) */
.ig-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
@media (min-width:768px){.ig-grid{grid-template-columns:repeat(4,1fr);gap:8px}}
.ig-item{position:relative;display:block;aspect-ratio:1;overflow:hidden;background:var(--line2)}
.ig-item img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.ig-item:hover img{transform:scale(1.04)}
.ig-badge{position:absolute;top:6px;right:8px;color:#fff;font-size:15px;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.ig-follow{margin-top:20px;text-align:center}
@media (max-width:767px){.ig-grid .ig-item:nth-child(n+7){display:none}}

/* hero rotation: Frank's six dance-style stage photos from the old home slideshow (11/06) */
.hero-rot{position:relative;aspect-ratio:16/10;overflow:hidden}
.hero-rot .hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;display:block}
.hero-rot .hero-slide.is-on{opacity:1;z-index:1}
.hero-rot img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 50%}
.hero-dots{position:absolute;z-index:2;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:2px}
.hero-dots button{width:28px;height:28px;border:0;background:none;padding:0;cursor:pointer;display:grid;place-items:center}
.hero-dots button::before{content:"";width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.5);box-shadow:0 0 0 1px rgba(0,0,0,.25)}
.hero-dots button[aria-current="true"]::before{background:#fff;width:18px;border-radius:4px}
@media (min-width:600px) and (max-width:899px){.hero-rot{aspect-ratio:2/1}}
@media (min-width:900px){.hero-rot{aspect-ratio:auto}}
@media (prefers-reduced-motion:reduce){.hero-rot .hero-slide{transition:none}}

/* results section: a strip of real stage photos under the numbers (Frank 11/06: numbers stay on a clean background) */
.proof-ph{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:72%;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.proof-ph::-webkit-scrollbar{display:none}
.proof-ph li{scroll-snap-align:start;margin:0}
.proof-ph img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#0b0b10}
.proof-ph span{display:block;font-size:13px;line-height:1.4;color:#bdb7ad;margin-top:6px}
.proof-more{margin:14px 0 32px}
@media (min-width:600px){.proof-ph{grid-auto-columns:42%}}
@media (min-width:900px){.proof-ph{grid-auto-flow:row;grid-template-columns:repeat(3,1fr);grid-auto-columns:auto;overflow:visible}}
@media (min-width:1200px){.proof-ph{grid-template-columns:repeat(6,1fr)}.proof-ph span{font-size:12.5px}}
