/* fourweekly.com: one stylesheet for the home page and the studios page */
:root{--ink:#0b0b0c;--ink2:#55555a;--ink3:#6e6e74;--hair:#e7e7e4;--quiet:#f7f7f7;--fern:#1d7f4e;--tint:#e1f1e7;--card:0 0 0 1px rgba(0,0,0,.035),0 10px 28px rgba(0,0,0,.08)}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Figtree,system-ui,sans-serif;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;font-size:17px;line-height:1.5}
img{display:block;max-width:100%}
a{color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
section{padding:96px 0;scroll-margin-top:72px}
.kicker{font-size:14px;font-weight:600;color:var(--fern);letter-spacing:.02em;margin-bottom:12px}
h1{font-size:clamp(40px,6vw,68px);line-height:1.04;letter-spacing:-.035em;font-weight:700;text-wrap:balance}
h2{font-size:clamp(30px,4vw,46px);line-height:1.08;letter-spacing:-.03em;font-weight:700;text-wrap:balance;margin-bottom:18px}
h3{font-size:20px;font-weight:700;letter-spacing:-.01em;margin-bottom:8px}
p.lead{font-size:20px;color:var(--ink2);max-width:560px;line-height:1.5;text-wrap:pretty}
.muted{color:var(--ink2)}
.card{background:#fff;border-radius:22px;box-shadow:var(--card);padding:28px}
/* header */
header{position:fixed;top:0;left:0;right:0;z-index:10;background:rgba(255,255,255,.88);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid rgba(0,0,0,.04)}
header .wrap{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo{display:inline-flex;align-items:baseline;font-weight:700;font-size:28px;letter-spacing:-.035em;line-height:1;text-decoration:none}
.logo img{height:.8em;width:auto;margin-right:.05em;transform:translateY(.02em)}
.nav{display:flex;align-items:center}
.nav a{font-size:15px;font-weight:600;text-decoration:none;margin-left:24px;color:var(--ink2)}
.nav a.studio{color:var(--ink)}
.nav a.btn{height:44px;padding:0 18px;font-size:15px;color:#fff;margin-left:28px}
/* the header button waits until the hero's own button has scrolled away, so the first screen has one green button */
.js .nav a.btn{opacity:0;pointer-events:none;transition:opacity .3s cubic-bezier(.2,0,0,1)}
.js.scrolled .nav a.btn{opacity:1;pointer-events:auto}
@media (prefers-reduced-motion:reduce){.js .nav a.btn{transition:none}}
/* hero: the film (ten London moments, 15 seconds, silent, looping) behind the words, fading to white into the page.
   Two framed files, wide for laptops and tall for phones, so every moment stays inside what the box shows. */
.hero{position:relative;padding:0;min-height:92vh;display:flex;align-items:flex-end;background:#0b0b0c;overflow:hidden}
.hero .film{position:absolute;inset:0}
.hero .film video,.hero .film img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%}
/* a shade down from the top for the menu, a soft shade in from the left under the words, white at the foot into the page */
.hero .film:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.22),rgba(0,0,0,.06) 38%,rgba(255,255,255,0) 70%,#fff 100%),linear-gradient(90deg,rgba(0,0,0,.26),rgba(0,0,0,0) 60%)}
.hero .wrap{position:relative;z-index:1;width:100%;padding-top:140px;padding-bottom:9vh}
.hero .kicker,.hero h1,.hero .lead,.hero .small{color:#fff}
.hero h1{margin-bottom:20px;max-width:14ch;text-shadow:0 2px 18px rgba(0,0,0,.28)}
.hero .lead{text-shadow:0 1px 12px rgba(0,0,0,.3)}
.hero .pill.free{display:inline-block;margin:0 0 14px;background:#fff;color:var(--fern);font-weight:700;font-size:14px;padding:8px 14px;border-radius:999px}
.hero .small{opacity:.92}.hero .small a{color:#fff}
.hero .chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:16px 0 0;padding:0}
.hero .chips .pill{margin:0;background:#fff;font-size:13px;padding:7px 12px}
.hero .signup input[type=email]{box-shadow:0 0 0 1px rgba(0,0,0,.08),0 10px 30px -10px rgba(0,0,0,.35)}
/* the header sits on the film in white, then turns into the white bar once the film has scrolled past */
.js header.on-film{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom-color:transparent}
.js header.on-film .logo,.js header.on-film .nav a{color:#fff}
.js header.on-film .logo img{filter:invert(1)}
.js header.on-film .nav a.studio{color:#fff}
.signup{display:flex;gap:10px;margin-top:30px;max-width:520px}
.signup input[type=email]{flex:1;min-width:0;height:56px;border-radius:14px;border:0;box-shadow:inset 0 0 0 1px var(--hair);padding:0 18px;font:inherit;font-size:17px;background:#fff}
.signup input[type=email]:focus{outline:none;box-shadow:inset 0 0 0 2px var(--ink)}
.btn{height:56px;padding:0 24px;border:0;border-radius:14px;background:var(--fern);color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 8px 20px -8px rgba(29,127,78,.45);transition:transform .1s cubic-bezier(.2,0,0,1)}
.btn:active{transform:scale(.98)}
.btn.dark{background:var(--ink);box-shadow:0 8px 20px -8px rgba(0,0,0,.35)}
.small{font-size:14px;color:var(--ink3);margin-top:14px}
.small a{color:var(--ink);font-weight:600}
.signup-end .signup{margin:0 auto}.signup-end .small{text-align:center}
.hero-art img{width:100%;max-width:520px;max-height:600px;object-fit:contain;margin-left:auto}
.hidden{display:none}
.pill{display:inline-flex;align-items:center;gap:8px;background:var(--tint);color:var(--fern);font-weight:700;font-size:14px;padding:8px 14px;border-radius:999px;margin-top:22px}
/* phones */
.phone{width:280px;border-radius:40px;box-shadow:0 0 0 9px #111,0 30px 60px rgba(0,0,0,.22);overflow:hidden;background:#fff}
.phone img{width:100%}
.phones{display:flex;justify-content:center;gap:28px}
/* rooms */
.rooms{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-top:40px}
.room{background:#fff;border-radius:18px;box-shadow:var(--card);padding:10px 10px 14px;text-align:center}
.room img{width:100%;aspect-ratio:1.12;object-fit:contain}
.room span{font-size:15px;font-weight:600}
.rings{display:flex;gap:6px}
.ring{width:28px;height:28px;border-radius:50%;background:conic-gradient(var(--fern) var(--p),#e9ece9 0);-webkit-mask:radial-gradient(circle 9px,transparent 98%,#000 100%);mask:radial-gradient(circle 9px,transparent 98%,#000 100%)}
/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:44px}
.step .phone{width:100%;max-width:230px;margin:0 auto 22px;box-shadow:0 0 0 7px #111,0 22px 44px rgba(0,0,0,.2);border-radius:32px}
.num{width:34px;height:34px;border-radius:50%;background:var(--tint);color:var(--fern);font-weight:700;display:grid;place-items:center;margin-bottom:10px}
.step p{font-size:16px;color:var(--ink2)}
.example{font-size:13px;color:var(--ink3);text-align:center;margin-top:18px}
/* what changes for you: the old way in grey beside ours */
.swap{margin-top:36px;border-top:1px solid var(--hair)}
.swap div{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:18px 0;border-bottom:1px solid var(--hair);font-size:17px}
.swap .head span{font-size:13px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--ink3)}
.swap .head span:last-child{color:var(--fern)}
.swap .was{color:var(--ink3)}
.swap .now{font-weight:600}
.swap.how{margin-top:28px}
.swap.how .txt{color:var(--ink)}
.swap.how div{grid-template-columns:1fr 2fr}
/* why four weeks: a person answering, and the customer's own thoughts week by week in soft cards */
.why-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:64px;align-items:start}
.why-grid .lead+.lead{margin-top:16px}
.thoughts{display:grid;gap:12px}
.thoughts .card{padding:18px 22px}
.thoughts span{display:block;font-size:14px;color:var(--ink3);margin-bottom:4px}
.thoughts q{quotes:"\201C" "\201D";font-size:19px;font-weight:500;letter-spacing:-.01em;line-height:1.35;text-wrap:pretty}
/* the three numbers: one row of plain facts, the way a spec sheet reads */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:44px}
.stat{background:#fff;border-radius:22px;box-shadow:var(--card);padding:28px}
.stat b{display:block;font-size:clamp(40px,5vw,64px);font-weight:700;letter-spacing:-.035em;line-height:1;font-variant-numeric:tabular-nums}
.stat span{display:block;margin-top:10px;font-size:17px;color:var(--ink2);text-wrap:pretty}
.stats.four{grid-template-columns:repeat(2,1fr)}
.stat.pain b{font-size:clamp(26px,2.4vw,34px);letter-spacing:-.02em}
.stat.pain span{margin-top:8px}
.fine{font-size:13px;color:var(--ink3);line-height:1.6;max-width:640px;margin-top:18px}
/* the studios page: white, the two app screens beside the words */
.studio-top .wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;padding-top:150px;padding-bottom:40px}
.studio-top .phones .phone{width:230px}
.studio-top .phones .phone:last-child{margin-top:60px}
.studio-top .btn{margin-top:30px}
.narrow{max-width:640px}
.narrow .lead+.lead{margin-top:16px}
.studio-form{display:grid;gap:10px;max-width:460px;margin-top:30px}
.studio-form input{height:52px;border-radius:12px;border:0;padding:0 16px;font:inherit;background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px var(--hair)}
.studio-form input::placeholder{color:var(--ink3)}
.studio-form input:focus{outline:none;box-shadow:inset 0 0 0 2px var(--ink)}
/* faq */
.faq{max-width:820px;margin:36px auto 0}
details{border-top:1px solid var(--hair);padding:20px 0}
details:last-child{border-bottom:1px solid var(--hair)}
summary{font-size:19px;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";font-weight:400;font-size:26px;line-height:1;color:var(--ink3);transition:transform .2s cubic-bezier(.2,0,0,1)}
details[open] summary:after{transform:rotate(45deg)}
details p{margin-top:10px;color:var(--ink2);font-size:17px;max-width:680px;text-wrap:pretty}
/* footer */
footer{padding:64px 0 48px;border-top:1px solid var(--hair);margin-top:96px}
footer .wrap{display:grid;grid-template-columns:1fr 2fr;gap:40px}
footer .legal{font-size:13px;color:var(--ink3);line-height:1.6;max-width:520px}
@media (max-width:900px){
  section{padding:68px 0}
  .hero .wrap,.studio-top .wrap,.why-grid,footer .wrap{grid-template-columns:1fr}
  .why-grid{gap:40px}
  .studio-top .wrap{padding-top:110px}
  .hero-art img{margin:0 auto}
  .rooms{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:42%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;margin-right:-24px}
  .room{scroll-snap-align:start}
  .stats,.stats.four{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .nav a:not(.btn){display:none}
  .nav a.btn{margin-left:0}
  .studio-top .phones .phone{width:170px}
}
@media (max-width:560px){
  /* phone first: the words take the bottom half and no more, so the top half of the film stays clear; the shade sits behind the words, not over the picture */
  .hero .wrap{padding-bottom:5vh}
  .hero .kicker{margin-bottom:8px;font-size:13px}
  .hero h1{font-size:38px;margin-bottom:12px}
  .hero .lead{font-size:16px;line-height:1.4}
  .hero .signup{margin-top:18px;gap:8px}
  .hero .signup input[type=email],.hero .signup .btn{height:50px}
  .hero .small{font-size:13px;margin-top:10px}
  .hero .film:after{background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,0) 28%,rgba(0,0,0,.30) 52%,rgba(0,0,0,.22) 72%,#fff 100%)}
  .signup{flex-direction:column}
  .signup input[type=email]{flex:none;height:56px}
  .phone{width:240px}
  .steps{grid-template-columns:1fr}
  .swap div{grid-template-columns:1fr;gap:6px}
  .swap .head{display:none}
  .swap .was:before{content:"A pass: "}
  .swap.how div{grid-template-columns:1fr}
  .studio-top .phones .phone{width:150px}
  .studio-top .wrap{padding-top:96px}
  .logo{font-size:24px}
  .nav a.btn{height:40px;padding:0 14px;font-size:14px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Motion (memory/motion-rules.md): a curve per move, duration from distance, exits quicker, uneven offsets, holds stay alive. All of it off with reduced motion. */
@property --p{syntax:"<percentage>";inherits:false;initial-value:0%}
.js .rv{opacity:0;transform:translateY(var(--rise,22px));transition:opacity .5s cubic-bezier(.2,0,0,1) var(--d,0ms),transform .7s cubic-bezier(.16,1,.3,1) var(--d,0ms)}
.js .rv.in{opacity:1;transform:none}
.js .rv.big{--rise:36px;transition-duration:.6s,.9s}
.js .room.rv{--rise:28px;transform:translateY(var(--rise)) scale(.96)}
.js .room.rv.in{transform:none}
.room{transition:transform .25s cubic-bezier(.2,0,0,1),box-shadow .25s cubic-bezier(.2,0,0,1)}
/* The 4 drops onto the page once (Dan, 14 Nov): falls in from above, lands with a little give, settles. A heavy thing, so it takes its time. */
.drop{display:block;width:72px;height:72px;margin-bottom:18px}
.js .drop.rv{opacity:0;transform:translateY(-140px) rotate(-10deg);transition:none}
.js .drop.rv.in{animation:land .9s cubic-bezier(.3,0,.2,1) forwards}
@keyframes land{0%{opacity:0;transform:translateY(-140px) rotate(-10deg)}55%{opacity:1;transform:translateY(10px) rotate(3deg)}76%{transform:translateY(-5px) rotate(-1deg)}100%{opacity:1;transform:none}}
.room:hover{transform:translateY(-4px)!important;box-shadow:0 0 0 1px rgba(0,0,0,.04),0 18px 36px rgba(0,0,0,.12)}
/* The class row slides on its own (Dan, 12 Nov): one slow pass in about 50 s, paused under the mouse or a finger, still when reduced motion is on, the plain grid without JavaScript */
.rooms.slide{display:flex;gap:14px;overflow:hidden;padding:16px 0 44px;margin-bottom:-36px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.rooms.slide .track{display:flex;gap:14px;flex:none;animation:slide var(--dur,56s) linear infinite}
.rooms.slide .room{width:172px;flex:none}
.rooms.slide:hover .track,.rooms.slide.hold .track{animation-play-state:paused}
@keyframes slide{to{transform:translateX(calc(-100% - 14px))}}
@media (max-width:900px){.rooms.slide{margin:28px -24px 0;scroll-snap-type:none}.rooms.slide .room{width:150px}}
.ring{transition:--p 1.1s cubic-bezier(.33,0,.15,1) var(--rd,0ms)}
.js .rings:not(.in) .ring{--p:0%!important}
.drift{will-change:transform}
.float{animation:float 7s ease-in-out infinite}
@keyframes float{0%,100%{translate:0 0}50%{translate:0 -7px}}
@media (prefers-reduced-motion:reduce){.js .drop.rv{animation:none}.js .rv{opacity:1!important;transform:none!important;transition:none!important}.float{animation:none}.ring{transition:none}.js .rings:not(.in) .ring{--p:inherit}}

