/* The Changing Room website, styled to The Changing Room v2 design system (2026-11-26).
   Colours, type roles, tape strips, pills and the hero scene follow v2. Headlines use Fraunces 900
   in place of Tiempos Headline until a Tiempos web licence is bought. The wordmark files are v2's own outlines. */

@font-face{font-family:"Fraunces";src:url(fraunces-roman.woff2) format("woff2");font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces";src:url(fraunces-italic.woff2) format("woff2");font-weight:400 900;font-style:italic;font-display:swap}
@font-face{font-family:"General Sans";src:url(general-sans-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"General Sans";src:url(general-sans-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"General Sans";src:url(general-sans-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"General Sans";src:url(general-sans-700.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url(barlow-condensed-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url(barlow-condensed-700.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Courier Prime";src:url(courierprime-regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Courier Prime";src:url(courierprime-bold.woff2) format("woff2");font-weight:700;font-display:swap}

:root{
  /* v2 colour tokens */
  --white:#ffffff;
  --cobalt:#0b2aa8;
  --cobalt-hover:#0a2391;
  --ink:#231e1a;
  --ink-muted:#413e38;
  --paper:#ede7df;
  --stone:#e1dbd2;
  --tape:#e2d4c4;
  --tape-ink:#302419;
  --neon:#ebff3b;
  --paprika:#ff5a3c;
  --line:#ddd6cc;
  --on-cobalt-muted:#d9def5;
  /* v2 type families (display: Fraunces stands in for Tiempos Headline) */
  --font-display:"Fraunces","Newsreader",Georgia,serif;
  --font-sans:"General Sans",system-ui,sans-serif;
  --font-label:"Barlow Condensed","Helvetica Neue",Arial,sans-serif;
  --font-mono:"Courier Prime","Courier New",monospace;
  /* layout */
  --gutter:max(clamp(16px,4vw,44px),env(safe-area-inset-left,0px));
  --sec-y:clamp(64px,8vw,120px);
  --radius-card:16px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--font-sans);font-size:18px;line-height:1.55;font-weight:400;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:var(--cobalt);text-underline-offset:3px}
a:hover{color:var(--cobalt-hover)}
p,li{text-wrap:pretty}
:focus-visible{outline:3px solid var(--cobalt);outline-offset:3px}

.wrap{max-width:1200px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.sec{padding:var(--sec-y) 0}
.ground-paper{background:var(--paper)}
.ground-stone{background:var(--stone)}
.ground-cobalt{background:var(--cobalt);color:var(--white)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Type ---------- */
.h1,.h2,.h3{font-family:var(--font-display);font-weight:900;color:var(--cobalt);margin:0;text-wrap:balance;font-optical-sizing:auto}
.h1{font-size:clamp(44px,6.2vw,84px);line-height:.98;letter-spacing:-.022em}
.h2{font-size:clamp(34px,4.2vw,56px);line-height:1.02;letter-spacing:-.018em}
.h2.s{font-size:clamp(30px,3.4vw,44px)}
.h3{font-size:25px;line-height:1.1;letter-spacing:-.01em}
.ground-cobalt .h1,.ground-cobalt .h2,.ground-cobalt .h3{color:var(--white)}
.lead{font-size:clamp(19px,1.7vw,22px);line-height:1.5;font-weight:500;margin:0}
.body{margin:0}
.muted{color:var(--ink-muted)}
.ground-cobalt .muted{color:var(--on-cobalt-muted)}

/* Label voice: uppercase condensed, two to four words */
.kicker{margin:0;font-family:var(--font-label);font-weight:700;font-size:16px;line-height:1.2;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-muted)}
.ground-cobalt .kicker{color:var(--on-cobalt-muted)}

/* Section voice: headline serif, italic, lowercase */
.voice{margin:0;font-family:var(--font-display);font-style:italic;font-weight:500;font-size:clamp(22px,2vw,27px);line-height:1.15;text-transform:lowercase;color:var(--ink)}

/* Neon marker swipe behind a few words (one per page section at most) */
.mark{background:var(--neon);color:var(--ink);padding:0 .16em;margin:0 -.06em;border-radius:.16em;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* Badge: label voice in a neon pill */
.badge{display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:9999px;background:var(--neon);color:var(--ink);font-family:var(--font-label);font-weight:700;font-size:15px;letter-spacing:.08em;text-transform:uppercase;line-height:1}

/* ---------- Buttons (pills) ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 30px;border-radius:9999px;background:var(--cobalt);color:var(--white);font-family:var(--font-sans);font-weight:600;font-size:17px;line-height:1.1;text-decoration:none;border:0;cursor:pointer;text-align:center;white-space:nowrap}
.btn:hover{background:var(--cobalt-hover);color:var(--white)}
.btn.sm{min-height:44px;padding:0 22px;font-size:15px}
.btn.inv{background:var(--white);color:var(--cobalt)}
.btn.inv:hover{background:var(--paper);color:var(--cobalt)}
.ground-cobalt .btn:focus-visible{outline-color:var(--white)}

/* ---------- Tape strips: bold typewriter on torn tape, tilted 1.5deg ---------- */
.tape{display:inline-flex;flex-direction:column;align-items:flex-start;margin:0;font-family:var(--font-mono);font-weight:700;font-size:18px;line-height:1.45;color:var(--tape-ink);transform:rotate(-1.5deg);transform-origin:0 50%}
.tape.l{font-size:21px}
.tape>span{display:block;background:var(--tape);padding:.1em .8em;white-space:nowrap}
.tape>span+span{margin-top:-.2em}
.tape>span:nth-child(4n+1){transform:translateX(-.15em);clip-path:polygon(0 12%,.2em 0,calc(100% - .15em) 6%,100% 34%,calc(100% - .2em) 62%,100% 100%,.15em 94%,0 66%,.2em 40%)}
.tape>span:nth-child(4n+2){transform:translateX(.1em);clip-path:polygon(.15em 0,100% 8%,calc(100% - .2em) 40%,100% 72%,calc(100% - .1em) 100%,0 92%,.2em 58%,0 28%)}
.tape>span:nth-child(4n+3){transform:translateX(.2em);clip-path:polygon(0 6%,calc(100% - .2em) 0,100% 30%,calc(100% - .15em) 70%,100% 94%,.2em 100%,0 74%,.15em 44%)}
.tape>span:nth-child(4n+4){transform:translateX(-.1em);clip-path:polygon(.2em 4%,100% 0,calc(100% - .15em) 26%,100% 60%,calc(100% - .2em) 96%,0 100%,.2em 70%,0 36%)}
.ground-paper .tape:not(.on-photo)>span,.ground-stone .tape:not(.on-photo)>span{background:var(--white)}
@media (max-width:420px){.tape.on-photo{font-size:14px}}

/* ---------- Header ---------- */
.site-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:22px;padding-bottom:22px}
.site-top .logo{display:inline-flex}
.site-top .logo img{display:block;height:30px;width:auto}

/* ---------- Hero ---------- */
.hero{padding:clamp(24px,4vw,56px) 0 var(--sec-y)}
.hero-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(24px,4vw,64px);align-items:center}
.hero-copy{display:flex;flex-direction:column;align-items:flex-start;gap:28px;min-width:0}
.hero-copy .lead{max-width:34ch}
/* The hero scene: the seated woman with the neon shape behind her back (v2 HeroScene proportions). No star: the wordmark above carries it. */
.scene{position:relative;isolation:isolate;aspect-ratio:390/320;width:100%}
.scene .neon{position:absolute;top:37%;left:6%;width:44%;height:auto;display:block}
/* True proportions, never scaled on one axis */
.scene .woman{position:absolute;top:0;left:38%;width:54%;height:auto;aspect-ratio:225.311/341.954}

/* ---------- Sections ---------- */
/* Narrow measure, still flush left on the page grid */
.narrow:not(.wrap){max-width:820px}
.wrap.narrow>*{max-width:820px}
.stack{display:flex;flex-direction:column}
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,72px);align-items:center}
.photo{position:relative;margin:0}
.photo img{display:block;width:100%;object-fit:cover}
.photo .tape{position:absolute;left:5%;bottom:7%}
.pull{margin:0;font-family:var(--font-display);font-weight:900;font-size:clamp(26px,2.6vw,34px);line-height:1.15;letter-spacing:-.01em;color:var(--cobalt);text-wrap:balance}

/* Inside the room: six stone cards */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card{background:var(--stone);border-radius:var(--radius-card);padding:30px 28px 32px;display:flex;flex-direction:column;gap:12px}
.card p{margin:0;font-size:17px;line-height:1.55}

/* Members: quote cards */
.quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.quote{margin:0;background:var(--white);border-radius:var(--radius-card);padding:34px 34px 36px}
.quote blockquote{margin:0;font-family:var(--font-display);font-style:italic;font-weight:500;font-size:clamp(20px,1.8vw,23px);line-height:1.35;letter-spacing:-.005em;color:var(--cobalt)}

/* Sound like you: ticked list (the app's selected state: cobalt circle, white tick) */
.ticks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:16px;font-size:19px;line-height:1.5}
.ticks li{display:flex;gap:14px;align-items:flex-start}
.ticks li::before{content:"";flex:none;width:26px;height:26px;margin-top:1px;border-radius:50%;background:var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px 16px no-repeat}

/* FAQ */
.faq{border-top:1px solid var(--line)}
.faq-row{padding:24px 0;border-bottom:1px solid var(--line)}
.faq-row p{margin:0}
.faq-q{font-weight:600;font-size:19px}
.faq-a{margin-top:8px !important;color:var(--ink-muted)}

/* Closing cobalt band: the neon shape bleeds off the bottom right corner */
.closing{position:relative;overflow:hidden}
.closing .wrap{position:relative;z-index:1}
.closing-neon{position:absolute;right:-90px;bottom:-110px;width:min(46vw,520px);height:auto;pointer-events:none}

/* Footer */
.site-foot{padding-top:56px;padding-bottom:56px;display:flex;flex-wrap:wrap;gap:28px 48px;align-items:flex-end;justify-content:space-between}
.site-foot .logo img{display:block;width:132px;height:auto}
.site-foot p{margin:0}
.foot-links{font-size:15px;color:var(--ink-muted);display:flex;flex-direction:column;gap:6px}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .hero-grid,.g2{grid-template-columns:minmax(0,1fr)}
  .hero-grid .scene{max-width:440px;justify-self:end;margin-top:8px}
  .quotes{grid-template-columns:minmax(0,1fr)}
  .g2 .photo{max-width:520px}
  .order-first-m{order:-1}
}
@media (max-width:600px){
  body{font-size:17px}
  .cards{grid-template-columns:minmax(0,1fr)}
  .site-top .logo img{height:24px}
  .btn{width:100%;max-width:400px}
  .site-top .btn{width:auto}
  .quote{padding:28px 26px 30px}
  .closing{padding-bottom:190px}
  .closing-neon{width:280px;right:-80px;bottom:-100px}
}

/* Quote cards in a sideways-scrolling track (moved here from new-home so new-join can use it too) */
.b-quotes{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px var(--gutter) 24px;scroll-padding-left:var(--gutter);scrollbar-width:thin}
.b-quotes figure{flex:0 0 min(420px,80vw);scroll-snap-align:start;margin:0;background:var(--white);border-radius:var(--radius-card);padding:32px 30px 34px;display:flex;flex-direction:column;justify-content:center;gap:24px}
.b-quotes blockquote{margin:0;font-family:var(--font-display);font-style:italic;font-weight:400;font-size:21px;line-height:1.4;color:var(--ink)}
.b-quotes figcaption{font-family:var(--font-label);font-weight:700;font-size:14px;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-muted)}
.b-quotes-pad{padding-left:max(var(--gutter),calc((100vw - 1200px)/2 + 44px));scroll-padding-left:max(var(--gutter),calc((100vw - 1200px)/2 + 44px))}

/* Quote slider with overlay arrows (Dave, 2026-11-29). Markup: .slider > .b-quotes (the track) + button.slide-btn.prev/.next; behaviour in slider.js.
   Without JavaScript the arrows stay hidden and the track still scrolls sideways. */
.slider{position:relative}
.slide-btn{display:none;position:absolute;top:calc(50% - 12px);transform:translateY(-50%);z-index:2;width:56px;height:56px;border-radius:9999px;border:0;padding:0;background:var(--cobalt);color:var(--white);cursor:pointer;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(35,30,26,.18),0 10px 24px rgba(35,30,26,.18);transition:opacity .2s ease,transform .2s ease,background-color .2s ease}
.js-slider .slide-btn{display:flex}
.slide-btn svg{width:24px;height:24px;display:block}
.slide-btn:hover{background:#08207f}
.slide-btn:focus-visible{outline:3px solid var(--neon);outline-offset:3px}
.slide-btn.prev{left:24px}
.slide-btn.next{right:24px}
.slide-btn[disabled]{opacity:0;pointer-events:none}
/* Phones: the cards fill the width, so the arrows sit as a pair under them instead of over the words */
@media (max-width:600px){.js-slider{padding-bottom:60px}.slide-btn{width:48px;height:48px;top:auto;bottom:4px;transform:none}.slide-btn svg{width:20px;height:20px}.slide-btn.prev{left:calc(50% - 60px)}.slide-btn.next{right:calc(50% - 60px)}.slide-btn[disabled]{opacity:.3}}
/* Phones: one card at a time, centred, with the cards either side just showing and faded well back */
@media (max-width:600px){
  .b-quotes,.b-quotes.b-quotes-pad{gap:12px;padding-left:10vw;padding-right:10vw;scroll-padding:0;scrollbar-width:none;
    -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.18) 0,rgba(0,0,0,.18) 9vw,#000 10.5vw,#000 89.5vw,rgba(0,0,0,.18) 91vw,rgba(0,0,0,.18) 100%);
    mask-image:linear-gradient(90deg,rgba(0,0,0,.18) 0,rgba(0,0,0,.18) 9vw,#000 10.5vw,#000 89.5vw,rgba(0,0,0,.18) 91vw,rgba(0,0,0,.18) 100%)}
  .b-quotes::-webkit-scrollbar{display:none}
  .b-quotes figure{flex-basis:80vw;scroll-snap-align:center}
}

/* The founding-offer line that sits with a join button (Dave, 2026-11-29). Search "OFFER LINE" in the pages to update every copy. */
.offer{margin:0;font-size:16px;line-height:1.45;color:var(--ink-muted);max-width:38ch;text-wrap:pretty}
.offer.on-blue{color:var(--on-cobalt-muted)}
.btn.fit{align-self:flex-start;width:auto}
