:root{
  --accent:#C026D3;
  --accent-dark:#9A1CAC;
  --ink:#17181A;
  --gray:#F4F5F7;
  --line:#E5E7EB;
  --muted:#6B7280;
  --teal:var(--accent);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:#fff;line-height:1.6;font-size:16px}
a{color:var(--accent)}
.wrap{max-width:1020px;margin:0 auto}

/* Slim sticky contact bar: the ONLY element that stays pinned on scroll */
.stickybar{position:sticky;top:0;z-index:30;display:flex;justify-content:flex-end;align-items:center;background:#fff;border-bottom:1px solid var(--line);padding:4px 20px}
.stickybar .btn{min-height:32px;padding:5px 14px;font-size:14px}

/* Header frame: slim, non-sticky, wordmark left, nav, one accent button right. Scrolls away with the page. */
header.site{position:static;background:#fff;border-bottom:1px solid var(--line);padding:0 20px}
header.site .wrap{display:flex;align-items:center;gap:16px;min-height:48px;flex-wrap:wrap;padding-top:4px;padding-bottom:4px}
.logo{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:1.15rem;line-height:1.15;color:var(--ink);text-decoration:none;letter-spacing:-0.01em;margin-right:auto}
.logo em{font-style:italic;text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:3px;text-underline-offset:5px}
.tagline{display:none}
nav.main{display:flex;flex-wrap:wrap;gap:2px}
nav.main a{color:var(--ink);text-decoration:none;padding:6px 10px;font-size:.92rem;font-weight:600;min-height:36px;display:inline-flex;align-items:center}
nav.main a:hover{color:var(--accent)}
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;padding:11px 20px;text-decoration:none;font-weight:600;border:1px solid var(--accent);border-radius:2px;min-height:44px;font-size:.95rem;cursor:pointer;font-family:inherit}
.btn:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
.btn.secondary,.btn.teal{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn.secondary:hover,.btn.teal:hover{border-color:var(--ink);background:#fff}
button.btn{appearance:none}
.header-btn{white-space:nowrap;min-height:36px;padding:7px 14px;font-size:.9rem}

main{padding:28px 20px 52px}
h1{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:2.1rem;line-height:1.15;letter-spacing:-0.015em;margin:0 0 14px;color:var(--ink)}
h2{font-family:'Fraunces',Georgia,serif;font-weight:600;margin:36px 0 12px;font-size:1.5rem;line-height:1.25;letter-spacing:-0.01em;color:var(--ink)}
h3{font-family:'Fraunces',Georgia,serif;font-weight:600;margin:12px 0 6px;font-size:1.12rem;color:var(--ink)}
p{margin:0 0 12px}

/* Hero */
.hero{background:#fff;padding:12px 0 8px;margin-bottom:8px}
.hero h1{font-size:clamp(2.5rem,6vw,3.5rem);line-height:1.05;max-width:15em}
.hero .subhead{font-size:1.15rem;max-width:640px;color:var(--ink)}
.hero .actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 12px}
.proof{color:var(--muted);font-size:.95rem;font-weight:600}

/* Week strip filter chips */
.strip{margin:18px 0 6px}
.strip-label{font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:14px 0 8px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{appearance:none;background:#fff;border:1px solid var(--line);border-radius:2px;color:var(--ink);font-family:inherit;font-size:.92rem;font-weight:600;padding:10px 16px;min-height:44px;cursor:pointer}
.chip:hover{border-color:var(--ink)}
.chip.active{background:var(--accent);border-color:var(--accent);color:#fff}

/* Event cards */
.events{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin:16px 0}
.event-card{background:#fff;border:1px solid var(--line);border-radius:2px;padding:18px;display:flex;flex-direction:column;gap:6px}
.event-card[hidden]{display:none}
.event-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.event-day{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:1.05rem}
.event-format{font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.event-card h3{margin:2px 0 2px;font-size:1.15rem}
.event-meta{color:var(--ink);font-size:.95rem;margin:0}
.event-meta .k{color:var(--muted);font-weight:600}
.badge{display:inline-block;background:var(--gray);border:1px solid var(--line);border-radius:2px;color:var(--ink);font-size:.8rem;font-weight:600;padding:3px 9px}
.event-confirm{color:var(--muted);font-size:.85rem;margin-top:auto;padding-top:8px}
.empty-state{background:var(--gray);border:1px solid var(--line);border-radius:2px;padding:20px;margin:16px 0}
.empty-state[hidden]{display:none}

/* Weekly email signup */
.signup{background:var(--gray);border:1px solid var(--line);border-radius:2px;padding:18px 20px;margin:18px 0}
.signup h3{margin-top:0}
.signup form{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.signup input[type="email"]{flex:1 1 260px;padding:11px 12px;font-size:1rem;font-family:inherit;border:1px solid var(--line);border-radius:2px;min-height:44px;background:#fff;color:var(--ink)}
.signup .fineprint{color:var(--muted);font-size:.85rem;margin:10px 0 0}

/* Find my fit picker */
.picker{background:#fff;border:1px solid var(--line);border-radius:2px;padding:20px;margin:16px 0}
.picker label{display:block;margin:12px 0 4px;font-weight:600}
.picker select{width:100%;max-width:460px;padding:11px;font-size:1rem;font-family:inherit;border:1px solid var(--line);border-radius:2px;min-height:44px;background:#fff;color:var(--ink)}
.fitresult{background:var(--gray);border:1px solid var(--line);border-radius:2px;padding:18px 20px;margin:16px 0}
.fitresult:empty{display:none}

/* Format explainer rows */
.format-row{display:flex;gap:16px;background:#fff;border:1px solid var(--line);border-radius:2px;padding:16px 18px;margin:10px 0;align-items:flex-start}
.format-row .icon{flex:0 0 auto;width:26px;height:26px;color:var(--muted);margin-top:2px}
.format-row h3{margin:0 0 4px}
.format-row p{margin:0}

/* Legacy layout blocks, restyled */
.week{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0}
.day{background:var(--gray);border:1px solid var(--line);border-radius:2px;padding:14px}
.day h3{margin-top:0;text-transform:uppercase;font-size:.85rem;letter-spacing:.5px;font-family:'Inter',sans-serif;font-weight:600}
.card{background:#fff;border:1px solid var(--line);border-radius:2px;padding:18px;margin:12px 0}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:2px;padding:14px 18px;margin:10px 0}
.note{background:var(--gray);border:1px solid var(--line);border-radius:2px;padding:14px 18px;margin:16px 0}
.cta-band{background:var(--gray);border:1px solid var(--line);border-radius:2px;padding:22px;margin:24px 0}
table{width:100%;border-collapse:collapse;background:#fff}
th,td{border:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}
th{background:var(--gray);color:var(--ink);font-size:.88rem;font-weight:600}
ol li,ul li{margin-bottom:8px}

/* Footer frame: gray panel */
footer{background:var(--gray);border-top:1px solid var(--line);color:var(--ink);padding:30px 20px;font-size:.92rem}
footer a{color:var(--accent)}
footer .fineprint{color:var(--muted)}

@media (max-width:720px){
  .stickybar{padding:3px 12px}
  .stickybar .btn{min-height:30px;padding:4px 12px;font-size:13px}
  header.site{padding:0 12px}
  header.site .wrap{gap:6px;min-height:42px;padding-top:3px;padding-bottom:3px}
  .logo{font-size:1.05rem}
  .header-btn{min-height:32px;padding:5px 12px;font-size:.85rem}
  nav.main{order:3;width:100%}
  nav.main a{padding:5px 8px;min-height:32px;font-size:.88rem}
  .hero h1{font-size:2.4rem}
  h1{font-size:1.8rem}
  .events{grid-template-columns:1fr}
  .signup form{flex-direction:column}
  .signup .btn{width:100%}
}

/* Round two life layer: texture, bands, photos, reveal, countdown, My Week tray */
.hero{background-image:radial-gradient(circle, rgba(23,24,26,.05) 1px, transparent 1.4px);background-size:14px 14px}
.band{background:#F5F6F7;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.strip.band{padding:2px 14px 12px}

.phwrap{position:relative;margin:-18px -18px 12px;border-bottom:1px solid var(--line);overflow:hidden}
.phwrap img{display:block;width:100%;height:150px;object-fit:cover;filter:saturate(.55)}
.phwrap::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.30);pointer-events:none}

.reveal{opacity:0;transform:translateY(12px);transition:opacity .45s ease-out,transform .45s ease-out}
.reveal.in{opacity:1;transform:none}
.reveal-x{opacity:0;transform:translateX(-12px);transition:opacity .45s ease-out,transform .45s ease-out}
.reveal-x.in{opacity:1;transform:none}

.btn{transition:background-color .15s ease,border-color .15s ease,filter .15s ease}
.btn:hover{filter:brightness(.92)}
.chip{transition:background-color .15s ease,border-color .15s ease}

.countdown{margin-top:16px;background:#fff;border:1px solid var(--line);border-radius:2px;padding:12px 16px;max-width:640px}
.countdown[hidden]{display:none}
.countdown .cd-label{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0}
.countdown .cd-text{font-family:'Fraunces',Georgia,serif;font-size:1.15rem;font-weight:600;margin:2px 0 0}
.countdown .cd-when{color:var(--accent)}
.countdown .cd-note{color:var(--muted);font-size:.85rem;margin:4px 0 0}

.event-card .add-week{align-self:flex-start;min-height:40px;padding:8px 14px;font-size:.88rem;margin-top:4px}
.event-card .add-week.added{background:var(--accent);border-color:var(--accent);color:#fff}

.myweek{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:2px solid var(--accent);padding:10px 20px 12px}
.myweek[hidden]{display:none}
.myweek .mw-wrap{max-width:1020px;margin:0 auto}
.myweek h3{margin:0;display:inline-block;font-size:1rem}
.myweek .mw-count{color:var(--muted);font-weight:600;font-size:.9rem;margin-left:8px}
.myweek ul{list-style:none;margin:8px 0 4px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.myweek li{background:var(--gray);border:1px solid var(--line);border-radius:2px;padding:5px 6px 5px 12px;font-size:.9rem;display:inline-flex;align-items:center;gap:8px;margin:0}
.myweek .mw-remove{appearance:none;background:#fff;border:1px solid var(--line);border-radius:2px;min-width:32px;min-height:32px;cursor:pointer;font-size:1rem;line-height:1;color:var(--ink);font-family:inherit}
.myweek .mw-remove:hover{border-color:var(--ink)}
.myweek .mw-note{color:var(--muted);font-size:.82rem;margin:4px 0 0}
body.has-myweek{padding-bottom:150px}

@media (prefers-reduced-motion: reduce){
  .reveal,.reveal-x{opacity:1;transform:none;transition:none}
  .marquee{animation:none}
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* Header one-row fit on desktop (critique round 1 polish) */
@media (min-width:1024px){
  header.site .wrap{flex-wrap:nowrap;gap:16px}
  header.site .logo{flex:0 0 auto;white-space:nowrap}
  header.site nav.main{flex-wrap:nowrap;min-width:0}
  header.site nav.main a{white-space:nowrap;padding:10px 8px}
  header.site .header-btn{flex:0 0 auto}
}

/* Keyboard focus visibility */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Mobile audit fix (round 2): with several picks the My Week tray grew past 40 percent of a phone screen and covered page content that the fixed 150px body padding did not account for. Cap the tray height, scroll the picks inside it, enlarge the remove buttons for touch, and reserve matching space at the foot of the page while the tray is open. */
@media(max-width:700px){
  .myweek{max-height:40vh;overflow-y:auto}
  .myweek .mw-remove{min-width:38px;min-height:38px}
  body.has-myweek{padding-bottom:40vh}
}

/* Round three: two-column hero with the supplied illustration, and Eventbrite-proportioned event rows (date block, squared thumbnail, purple title link, gray meta). The filter strip, countdown, and My Week tray are unchanged. */
.hero{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.hero-art{border:1px solid var(--line);border-radius:2px;overflow:hidden;background:#fff}
.hero-art img{display:block;width:100%;height:auto}
@media (min-width:880px){
  .hero{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:34px;align-items:start}
  .hero-art{margin-top:10px}
}

.events{grid-template-columns:1fr;gap:12px}
.event-card{flex-direction:row;align-items:flex-start;gap:16px;padding:16px 18px}
.event-date{flex:0 0 76px;background:var(--gray);border:1px solid var(--line);border-radius:2px;text-align:center;padding:9px 4px 8px}
.event-date .ed-day{display:block;font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:1.08rem;letter-spacing:.05em;line-height:1.2}
.event-date .ed-pat{display:block;font-size:.72rem;font-weight:600;color:var(--muted);line-height:1.4;margin-top:3px}
.event-thumb{position:relative;flex:0 0 118px;width:118px;height:118px;overflow:hidden;border:1px solid var(--line);border-radius:2px}
.event-thumb img{display:block;width:100%;height:100%;object-fit:cover}

.event-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:6px}
.event-body h3{margin:0;font-size:1.18rem}
.event-body h3 a{color:var(--accent);text-decoration:none}
.event-body h3 a:hover{text-decoration:underline}
@media (max-width:640px){
  .event-card{flex-wrap:wrap;gap:12px}
  .event-date{flex:0 0 64px}
  .event-thumb{flex:0 0 88px;width:88px;height:88px}
  .event-body{flex:1 1 100%;order:3}
}
