/* moshefitmoms.co.il - redesign, mobile first, RTL.
   Motion rules: everything is visible and static by default. Scroll-driven layout
   (sticky stacks, pinned words) only switches on under html.motion, which main.js
   sets when motion is allowed and removes when "stop animations" is on. */

:root{
  --cream:#EFE7DD; --beige:#E9DCD2; --warm:#E3D2BF; --sand:#DCC3A8; --bronze:#A98A76; --cocoa:#6B5045;
  --text:#5B4D48; --muted:#6E5F58; --ink:#2A2120; --deep:#1F1715; --paper:#FBF7F2;
  --wine:150,18,28;
  --font:'Rubik','Heebo','Segoe UI',Arial,sans-serif;
  --gut:22px; --r:28px; --r-lg:36px;
  --ease:cubic-bezier(.22,.8,.2,1);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:72px}
body{margin:0;background:var(--cream);color:var(--text);font-family:var(--font);font-size:1.0625rem;line-height:1.7;font-weight:400;-webkit-font-smoothing:antialiased}
.page{position:relative;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
strong{font-weight:600;color:var(--ink)}
:focus-visible{outline:3px solid var(--cocoa);outline-offset:3px;border-radius:6px}

.wrap{width:min(1160px,calc(100% - 2*var(--gut)));margin-inline:auto}
.wrap--narrow{width:min(820px,calc(100% - 2*var(--gut)))}
.sec{padding-block:clamp(76px,13vw,150px)}
.center{display:flex;justify-content:center}
.head{display:flex;flex-direction:column;gap:14px;margin-bottom:clamp(30px,6vw,56px)}
.head__sub{font-size:1.15rem;color:var(--muted)}

.skip{position:absolute;right:12px;top:-60px;z-index:60;background:var(--ink);color:var(--paper);padding:10px 18px;border-radius:99px;text-decoration:none}
.skip:focus{top:12px}

/* type */
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:.84rem;font-weight:500;letter-spacing:.06em;color:var(--cocoa)}
.eyebrow__n{font-variant-numeric:tabular-nums;color:var(--bronze)}
.eyebrow__n::after{content:"";display:inline-block;width:26px;height:1px;background:currentColor;vertical-align:middle;margin-inline-start:10px}
.about__num .eyebrow__n::after{display:none}
.title{font-weight:300;font-size:clamp(2.25rem,9.4vw,4.6rem);line-height:1.08;letter-spacing:-.012em;color:var(--ink);text-wrap:balance}
.title span:not(.w){font-weight:600;color:var(--cocoa)}
.title--md{font-size:clamp(1.8rem,7vw,3.2rem);font-weight:400}
.w{display:inline-block;will-change:transform,opacity}

/* buttons */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:58px;padding:0 66px;border:0;border-radius:99px;background:var(--ink);color:var(--paper);font:500 1.06rem/1 var(--font);text-decoration:none;cursor:pointer;transition:transform .35s var(--ease),background .35s var(--ease)}
.btn__arrow{position:absolute;left:9px;top:50%;margin-top:-20px;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--paper);color:var(--ink);transition:transform .35s var(--ease)}
.btn:hover{transform:translateY(-2px)}
.btn:hover .btn__arrow{transform:translateX(-4px)}
.btn:active{transform:scale(.98)}
.btn--ghost{background:transparent;color:var(--ink);padding:0 26px;box-shadow:inset 0 0 0 1.5px rgba(42,33,32,.28)}
.btn--ghost:hover{background:rgba(42,33,32,.06)}
.btn--light{background:var(--paper);color:var(--ink)}
.btn--light .btn__arrow{background:var(--ink);color:var(--paper)}

/* 1. header */
.hdr{position:fixed;inset:0 0 auto 0;z-index:40;transition:transform .45s var(--ease),background .3s,box-shadow .3s}
.hdr__in{width:min(1160px,calc(100% - 2*var(--gut)));margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-block:12px}
.hdr__brand{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.hdr__name{font-weight:600;font-size:1.1rem;color:var(--ink)}
.hdr__role{font-size:.74rem;color:var(--muted)}
.hdr__cta{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:99px;background:var(--ink);color:var(--paper);text-decoration:none;font-weight:500;font-size:.95rem}
.hdr.is-solid{background:rgba(239,231,221,.86);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(42,33,32,.08)}
.hdr.is-hidden{transform:translateY(-110%)}

/* 2. hero */
.hero{position:relative;isolation:isolate;padding-top:104px;display:flex;flex-direction:column;gap:58px}
.hero::before{content:"";position:absolute;z-index:-1;inset:0 calc(50% - 50vw);pointer-events:none;background:
  radial-gradient(ellipse 90% 40% at 100% 0%,rgba(220,195,168,.8),rgba(220,195,168,0) 70%),
  radial-gradient(ellipse 80% 28% at 0% 44%,rgba(169,138,118,.22),rgba(239,231,221,0) 70%),
  radial-gradient(ellipse 90% 34% at 50% 100%,rgba(169,138,118,.34),rgba(239,231,221,0) 72%)}
.hero__text{width:min(1160px,calc(100% - 2*var(--gut)));margin-inline:auto;display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.hero__title{font-weight:300;font-size:clamp(2.5rem,11.2vw,5.6rem);line-height:1.04;letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
.hero__title span:not(.w){font-weight:600;color:var(--cocoa)}
.hero__lede{font-size:1.1rem;max-width:34em}
.hero__cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.hero__note{font-size:.86rem;color:var(--muted)}
.hero__media{position:relative;padding-inline:0}
.hero__tilt{position:relative;z-index:1}
.hero__video{position:relative;display:block;width:100%;aspect-ratio:9/16;max-height:100svh;margin-inline:auto;overflow:hidden;border-radius:var(--r-lg);background:var(--beige);transform-origin:50% 30%;will-change:transform;box-shadow:0 60px 110px -50px rgba(31,23,21,.62)}
.hero__video .play::after{content:"";position:absolute;inset:-9px;border-radius:50%;border:1.5px solid rgba(251,247,242,.8);animation:ring 2.6s ease-out infinite}
@keyframes ring{from{transform:scale(.9);opacity:.9}to{transform:scale(1.45);opacity:0}}
.hero__video img{width:100%;height:100%;object-fit:cover}
html.pre .hero__title,html.pre .hero [data-in],html.pre .hero__media{opacity:0}

.play{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(251,247,242,.92);color:var(--ink);box-shadow:0 14px 40px rgba(31,23,21,.28);transition:transform .35s var(--ease)}
.play svg{width:30px;height:30px;margin-inline-end:-4px}
.video-open:hover .play{transform:scale(1.08)}
.video-open.is-playing{cursor:default}
.video-open iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* strips (horizontal, finger-scrolled) */
.strip{display:flex;gap:14px;overflow-x:auto;scroll-padding-inline:var(--gut);overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:6px var(--gut) 18px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.strip::-webkit-scrollbar{display:none}
.strip>*{scroll-snap-align:start;flex:none}
.carousel-shell{position:relative}
.carousel-arrow{display:none}
.swipe{display:flex;align-items:center;gap:10px;margin-top:6px;font-size:.88rem;color:var(--muted)}
.swipe__arrow{display:inline-flex;animation:nudge 1.8s ease-in-out infinite}
@keyframes nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(-7px)}}

/* 3. results */
.results{padding-bottom:clamp(56px,9vw,110px)}
.card{width:min(76vw,330px);border-radius:var(--r);overflow:hidden;background:var(--beige);box-shadow:0 30px 60px -30px rgba(60,35,28,.45)}
.card img{width:100%;aspect-ratio:9/16;object-fit:cover}

/* the drifting wall of results (built by main.js only when motion is on; the swipe strip above is the quiet fallback) */
.wall{display:none}
html.motion .wall{--cw:150px;display:block;direction:ltr;overflow:hidden;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;padding-block:26px 34px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.wall__in{rotate:-4deg;scale:1.06;display:flex;flex-direction:column;gap:14px}
.wall__row{display:flex;width:max-content;will-change:transform}
.wall__card{flex:none;width:var(--cw);margin-right:14px;border-radius:20px;overflow:hidden;background:var(--beige);box-shadow:0 26px 50px -28px rgba(31,23,21,.6);cursor:zoom-in}
.wall__card img{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:cover;pointer-events:none;-webkit-user-drag:none}
@media (min-width:980px) and (hover:hover) and (pointer:fine) and (orientation:landscape){html.motion .results .strip--results{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
/* phones, tablets and any touch screen: the results are a deck, exactly like the videos */
@media (max-width:979.98px),(hover:none),(pointer:coarse),(orientation:portrait){
  html.motion .strip--results{--vw:min(66vw,300px);gap:0;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding:30px calc(50% - var(--vw)/2) 40px}
  html.motion .strip--results .card{position:relative;width:var(--vw);margin-inline:-12px;scroll-snap-align:center;transform-origin:50% 50%;will-change:transform,opacity;box-shadow:0 44px 70px -34px rgba(31,23,21,.7)}
}
html.motion .results .carousel-arrow{display:none}
html.motion .results .swipe{margin-top:0}
html.motion .results{padding-bottom:clamp(30px,5vw,60px)}
.zoom{position:fixed;inset:0;z-index:2147482000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(31,23,21,.88);cursor:zoom-out;opacity:0;transition:opacity .3s var(--ease)}
.zoom.on{opacity:1}
.zoom img{max-width:min(92vw,420px);max-height:88vh;max-height:88svh;width:auto;height:auto;border-radius:26px;box-shadow:0 60px 120px -30px rgba(0,0,0,.8);transform:scale(.92);transition:transform .35s var(--ease)}
.zoom.on img{transform:none}

/* 4. familiar */
.familiar{background:var(--beige)}
.lines{display:flex;flex-direction:column}
.lines li{padding-block:20px;border-top:1px solid rgba(42,33,32,.12);font-size:clamp(1.45rem,6.2vw,2.5rem);line-height:1.24;font-weight:300;color:var(--ink);letter-spacing:-.005em}
.lines li:last-child{border-bottom:1px solid rgba(42,33,32,.12)}
.familiar__end{margin-top:clamp(36px,7vw,64px);font-size:1.2rem;max-width:26em}
.familiar__end span:not(.w){display:inline-block;font-weight:600;font-size:clamp(1.9rem,8vw,3.4rem);line-height:1.12;color:var(--ink);margin-bottom:10px}

/* 5. pressure: second panel slides over the first */
.pressure{position:relative}
.panel{position:relative}
.panel__in{display:flex;flex-direction:column;gap:18px;padding-block:clamp(72px,12vw,130px)}
.panel p:not(.eyebrow){max-width:36em;font-size:1.1rem}
.panel--gloss{background:linear-gradient(135deg,#FFFFFF 0%,#FBF7F2 38%,#F3E9DF 100%)}
.panel--gloss::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.75) 46%,rgba(255,255,255,0) 60%)}
.panel--gloss .panel__in{position:relative;z-index:1}
.panel--warm{background:var(--warm);border-radius:var(--r-lg) var(--r-lg) 0 0;box-shadow:0 -30px 60px -20px rgba(60,35,28,.28);margin-top:calc(-1*var(--r-lg))}
html.motion .panel--gloss{position:sticky;top:var(--stick,0px)}
html.motion .panel--warm{z-index:2}

/* 6. statement */
.statement{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;background:var(--deep);color:var(--cream);overflow:hidden}
.statement::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 80% 60% at 0% 0%,rgba(var(--wine),.34),rgba(31,23,21,0) 70%),radial-gradient(ellipse 70% 60% at 100% 100%,rgba(169,138,118,.22),rgba(31,23,21,0) 70%)}
.statement__text{position:relative;padding-block:90px;font-weight:300;font-size:clamp(2.3rem,10vw,5.6rem);line-height:1.1;letter-spacing:-.015em;text-wrap:balance}
.statement__text span:not(.w){font-weight:600;color:var(--sand)}

/* 7. solution */
.solution{position:relative;background:var(--cream)}
.solution__in{padding-block:clamp(76px,13vw,150px);display:flex;flex-direction:column}
.words{display:flex;flex-direction:column;gap:34px}
.word h3{font-weight:600;font-size:clamp(3.4rem,17vw,8.5rem);line-height:1;letter-spacing:-.03em;color:var(--ink)}
.word p{margin-top:12px;font-size:1.15rem;max-width:24em}
.ticks{display:none}
html.motion .solution{height:calc(100vh + 240vh);height:calc(100svh + 240svh)}
html.motion .solution__stick{position:sticky;top:0;height:100vh;height:100svh;display:flex;align-items:center;overflow:hidden}
html.motion .solution__in{padding-block:84px 40px;width:min(1160px,calc(100% - 2*var(--gut)));height:100%;justify-content:center}
html.motion .solution .head{margin-bottom:28px}
html.motion .words{position:relative;display:block;height:min(46vh,340px)}
html.motion .word{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center}
html.motion .ticks{display:flex;gap:8px;margin-top:22px}
.ticks i{display:block;width:34px;height:3px;border-radius:3px;background:rgba(42,33,32,.16);transition:background .3s}
.ticks i.on{background:var(--ink)}

/* 8. how it works: stacked cards */
.how{background:var(--beige)}
.steps{display:flex;flex-direction:column;gap:16px}
.step{position:relative;display:flex;flex-direction:column;gap:10px;padding:28px 26px 32px;min-height:300px;border-radius:var(--r-lg);background:var(--paper);box-shadow:0 30px 60px -34px rgba(60,35,28,.5);transform-origin:50% 0;will-change:transform}
.step:nth-child(2){background:#F4ECE3}
.step:nth-child(3){background:var(--sand)}
.step--last{background:var(--ink);color:#E9DCD2}
.step__n{font-weight:300;font-size:clamp(4.2rem,20vw,7rem);line-height:.9;letter-spacing:-.04em;color:var(--bronze);font-variant-numeric:tabular-nums;direction:ltr;text-align:right}
.step:nth-child(3) .step__n{color:var(--cocoa)}
.step h3{font-weight:500;font-size:clamp(1.5rem,6.2vw,2.1rem);line-height:1.15;color:var(--ink);margin-top:auto}
.step--last h3,.step--last strong{color:var(--paper)}
.step--last .step__n{color:var(--sand)}
.step p{max-width:30em}
.step strong{margin-top:6px}
html.motion .step{position:sticky;top:calc(84px + var(--i)*14px)}

/* 9. envelope */
.envelope__grid{display:grid;gap:clamp(40px,8vw,72px)}
.perks li{padding-block:20px;border-top:1px solid rgba(42,33,32,.14)}
.perks li:last-child{border-bottom:1px solid rgba(42,33,32,.14)}
.perks h3{font-weight:500;font-size:1.3rem;line-height:1.25;color:var(--ink)}
.perks p{margin-top:4px;color:var(--text)}
.gift{display:flex;flex-direction:column;gap:6px}
.gift__frame{position:relative;margin-bottom:18px}
.gift__frame img{width:100%;border-radius:var(--r-lg);box-shadow:0 40px 70px -36px rgba(31,23,21,.6)}
.gift__badge{position:absolute;top:-26px;left:-6px;z-index:2;width:112px;height:112px;border-radius:50%;background:var(--ink);color:var(--paper);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transform:rotate(-9deg);box-shadow:0 16px 34px rgba(31,23,21,.35)}
.gift__sum{font-weight:600;font-size:1.5rem;line-height:1}
.gift__cap{font-size:.74rem;color:var(--sand)}
.gift__label{font-size:.84rem;font-weight:500;letter-spacing:.06em;color:var(--cocoa)}
.gift h3{font-weight:500;font-size:clamp(1.7rem,7vw,2.4rem);line-height:1.15;color:var(--ink)}

/* 10. voices */
.voices{background:var(--deep);color:#E9DCD2;position:relative;overflow:hidden}
.voices::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 70% 45% at 100% 0%,rgba(var(--wine),.30),rgba(31,23,21,0) 70%)}
.voices>*{position:relative}
.voices .title{color:var(--paper)}
.voices .eyebrow{color:var(--sand)}
.voices .swipe{color:rgba(233,220,210,.7);margin-bottom:38px}
.vcard{position:relative;display:block;width:min(58vw,250px);aspect-ratio:9/16;border-radius:24px;overflow:hidden;background:#33251F}
.vcard img{width:100%;height:100%;object-fit:cover}
.vcard .play{width:60px;height:60px;margin:-30px 0 0 -30px}
.vcard .play svg{width:24px;height:24px}
.vcard .play{width:54px;height:54px;margin:-27px 0 0 -27px;background:rgba(251,247,242,.2);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.vcard .play svg{width:22px;height:22px}
/* the deck: the middle card leads, its neighbours step back, tilt and dim */
html.motion .strip--videos{--vw:min(64vw,290px);gap:0;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding:30px calc(50% - var(--vw)/2) 40px}
html.motion .strip--videos .vcard{width:var(--vw);margin-inline:-12px;scroll-snap-align:center;transform-origin:50% 50%;will-change:transform,opacity;box-shadow:0 44px 70px -34px rgba(0,0,0,.85)}
.strip--notes{align-items:center;margin-top:10px}
.note{width:min(62vw,250px);border-radius:18px;overflow:hidden;background:#33251F}
.note img{width:100%}

/* messages: every card the same size; long ones fade out and open in full on a tap (needs JS, so only under html.js) */
html.js .note{position:relative;display:flex;flex-direction:column;height:330px;padding:18px 14px 70px;border-radius:28px;background:#F1E7DB;box-shadow:0 34px 60px -30px rgba(0,0,0,.75);cursor:zoom-in}
/* auto margins centre a short message in the space above the plus button; a long one has no spare space, so it starts at the top */
html.js .note img{flex:none;margin-block:auto;border-radius:10px;mix-blend-mode:multiply}   /* multiply lets the white of the screenshot take the paper's colour */
/* paper notes: each one leans a little, alternately */
html.js .strip--notes{padding-block:28px 44px}
html.js .strip--notes .note:nth-child(odd){rotate:-1.8deg}
html.js .strip--notes .note:nth-child(even){rotate:1.5deg;translate:0 14px}
html.js .note--long::after{content:"";position:absolute;inset:auto 0 0 0;height:124px;pointer-events:none;border-radius:0 0 28px 28px;background:linear-gradient(180deg,rgba(241,231,219,0),#F1E7DB 74%)}
html.js .strip--notes{align-items:stretch}
.note__more{position:absolute;z-index:2;left:50%;bottom:14px;width:42px;height:42px;margin-left:-21px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 1.5px rgba(42,33,32,.42);cursor:pointer;transition:transform .3s var(--ease)}
.note__more::before,.note__more::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:2px;margin:-1px 0 0 -8px;border-radius:2px;background:var(--ink)}
.note__more::after{transform:rotate(90deg)}
.note:hover .note__more{transform:scale(1.1)}
.zoom--note img{max-width:min(92vw,560px);background:#fff}

/* 11. fit */
.fit__grid{display:grid;gap:18px;margin-bottom:38px}
.fit h3{font-weight:500;font-size:1.35rem;line-height:1.25}
.fit li{position:relative;padding-inline-start:34px;line-height:1.5}
.fit ul{display:flex;flex-direction:column;gap:16px;margin-top:20px}
.fit__no{padding:26px 22px;border-radius:var(--r-lg);box-shadow:inset 0 0 0 1.5px rgba(42,33,32,.14);color:var(--muted)}
.fit__no h3{color:var(--muted)}
.fit__no li::before{content:"";position:absolute;inset-inline-start:4px;top:.72em;width:16px;height:1.5px;background:currentColor}
.fit__yes{padding:30px 24px 34px;border-radius:var(--r-lg);background:var(--ink);color:#E9DCD2;box-shadow:0 40px 70px -40px rgba(31,23,21,.7)}
.fit__yes h3{color:var(--paper);font-size:1.6rem}
.fit__yes li{font-size:1.12rem}
.fit__yes li::before{content:"";position:absolute;inset-inline-start:4px;top:.34em;width:16px;height:9px;border:solid var(--sand);border-width:0 0 2px 2px;transform:rotate(-45deg)}

/* 12. about */
.about{background:var(--beige)}
.about__grid{display:grid;gap:40px}
.about__media{position:relative;display:grid;gap:14px}
.about__num{position:absolute;top:-34px;inset-inline-start:0}
.about__portrait,.about__office{position:relative;overflow:hidden;border-radius:var(--r-lg);background:var(--warm)}
.about__portrait{order:1}
.about__office{order:2;width:78%;justify-self:end;margin-top:-56px;z-index:2;box-shadow:0 30px 60px -30px rgba(31,23,21,.6);border:5px solid var(--beige);border-radius:26px}
.about__portrait img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 12%}
.about__office img{width:100%}
.about__badge{position:absolute;inset-inline-start:14px;bottom:74px;display:flex;flex-direction:column;padding:10px 16px;border-radius:18px;background:rgba(251,247,242,.9);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);line-height:1.3}
.about__name{font-weight:600;color:var(--ink)}
.about__role{font-size:.76rem;color:var(--muted)}
.about__text{display:flex;flex-direction:column;gap:16px}
.about__lead{font-size:clamp(1.35rem,5.6vw,1.9rem);line-height:1.3}
.about__lead strong{font-weight:500}

/* 13. quote */
.quote{position:relative;overflow:hidden;margin:clamp(40px,8vw,90px) 12px;padding:96px 24px 76px;border-radius:var(--r-lg);text-align:center;color:var(--cream);background:radial-gradient(ellipse 70% 80% at 50% 0%,rgba(184,154,124,.32),rgba(184,154,124,0) 70%),radial-gradient(ellipse 60% 60% at 0% 100%,rgba(var(--wine),.30),rgba(31,23,21,0) 70%),linear-gradient(160deg,#33251F,#1C1412)}
.quote__mark{position:absolute;font-size:15rem;line-height:1;font-weight:700;color:rgba(234,223,211,.07)}
.quote__mark--a{top:-34px;right:4%}
.quote__mark--b{bottom:-140px;left:4%}
.quote__in{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px}
.quote__small{font-weight:300;font-size:clamp(1.5rem,6.4vw,2.6rem);color:rgba(234,223,211,.82)}
.quote__big{font-weight:600;font-size:clamp(3rem,13.5vw,6.6rem);line-height:1.04;letter-spacing:-.02em;color:var(--sand)}
.quote__sign{margin-top:36px;display:flex;flex-direction:column;align-items:center;gap:12px}
.quote__sign img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:2px solid var(--sand)}
.quote__name{font-weight:500;font-size:1.1rem;letter-spacing:.03em;color:var(--paper)}

/* 14. faq */
.faq-list{display:flex;flex-direction:column;border-top:1px solid rgba(42,33,32,.16);margin-bottom:36px}
.faq{border-bottom:1px solid rgba(42,33,32,.16)}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:22px;cursor:pointer;list-style:none;font-weight:500;font-size:1.2rem;line-height:1.3;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq__ic{position:relative;flex:none;width:36px;height:36px;border-radius:50%;box-shadow:inset 0 0 0 1.5px rgba(42,33,32,.25);transition:background .3s,transform .4s var(--ease)}
.faq__ic::before,.faq__ic::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:1.5px;margin:-.75px 0 0 -7px;background:var(--ink);transition:transform .4s var(--ease),background .3s}
.faq__ic::after{transform:rotate(90deg)}
.faq[open] .faq__ic{background:var(--ink)}
.faq[open] .faq__ic::before,.faq[open] .faq__ic::after{background:var(--paper)}
.faq[open] .faq__ic::after{transform:rotate(0)}
.faq p{padding-bottom:24px;max-width:38em}
.faq[open] p{animation:faqin .45s var(--ease)}
@keyframes faqin{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* 15. lead */
.lead{background:var(--warm);position:relative;overflow:hidden}
.lead::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 80% 55% at 100% 0%,rgba(251,247,242,.75),rgba(251,247,242,0) 70%)}
.lead__grid{position:relative;display:grid;gap:34px}
.lead__kicker{font-weight:300;font-size:clamp(1.35rem,5.6vw,2rem);line-height:1.3;color:var(--ink);text-wrap:balance}
.lead__kicker span:not(.w){display:inline-block;font-weight:600;font-size:clamp(2.7rem,12vw,5.4rem);line-height:1.02;letter-spacing:-.02em;margin-bottom:12px}
.form{display:flex;flex-direction:column;gap:10px;padding:28px 22px 26px;border-radius:var(--r-lg);background:var(--paper);box-shadow:0 50px 90px -50px rgba(31,23,21,.55)}
.form h2{font-weight:600;font-size:1.65rem;line-height:1.2;color:var(--ink)}
.form__sub{margin-bottom:8px}
.form label{font-weight:500;font-size:.98rem;color:var(--ink)}
.form input[type=text],.form input[type=tel]{min-height:58px;border-radius:18px;border:1.5px solid rgba(42,33,32,.16);background:#fff;color:var(--ink);padding:0 18px;font:400 1.06rem var(--font);transition:border-color .25s,box-shadow .25s}
.form input[type=text]:focus,.form input[type=tel]:focus{outline:0;border-color:var(--ink);box-shadow:0 0 0 4px rgba(42,33,32,.1)}
.form label[for=lead-phone]{margin-top:6px}
.form__check{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:8px;font-weight:400!important;font-size:.95rem!important;color:var(--text)!important}
.form__check input{width:22px;height:22px;accent-color:var(--cocoa);flex:none}
.form__btn{margin-top:12px;width:100%;min-height:62px;font-size:1.15rem}
.form__fine{margin-top:4px;text-align:center;color:var(--muted);font-size:.84rem;line-height:1.5}

/* 16. footer */
.ftr{background:var(--deep);color:rgba(233,220,210,.72);padding:54px 0 120px;font-size:.88rem;line-height:1.7}
.ftr .wrap{display:flex;flex-direction:column;gap:16px}
.ftr nav{display:flex;flex-wrap:wrap;gap:8px 22px}
.ftr nav a{color:var(--paper);font-weight:500;font-size:.98rem;text-underline-offset:4px}

/* ---------- wider screens ---------- */
@media (min-width:760px){
  :root{--gut:40px}
  .hero__cta{gap:14px}
  .card{width:300px}
  .vcard{width:250px}
  html.motion .strip--videos{--vw:290px}
  html.motion .wall{--cw:176px}
  .wall__in{gap:16px}
  .wall__card{margin-right:16px;border-radius:24px}
  .note{width:270px}
  html.js .note{height:350px}
  .fit__grid{grid-template-columns:.85fr 1.15fr;align-items:start;gap:24px}
  .fit__no{padding:34px 30px}
  .fit__yes{padding:40px 36px 44px}
  .quote{margin-inline:var(--gut);padding:130px 40px 110px}
  .form{padding:40px 36px 34px}
  .step{padding:40px 40px 44px;min-height:340px}
  .panel--warm{border-radius:48px 48px 0 0}
}
@media (min-width:980px){
  .hero{flex-direction:row;align-items:center;gap:0;min-height:100vh;min-height:100svh;padding-block:118px 64px;width:min(1380px,calc(100% - 2*var(--gut)));margin-inline:auto}
  .hero::before{background:
    radial-gradient(ellipse 52% 75% at 100% 6%,rgba(220,195,168,.78),rgba(220,195,168,0) 70%),
    radial-gradient(ellipse 36% 46% at 56% 14%,rgba(251,247,242,.95),rgba(251,247,242,0) 70%),
    radial-gradient(ellipse 60% 40% at 70% 100%,rgba(169,138,118,.28),rgba(239,231,221,0) 72%)}
  .hero__text{flex:none;width:50%;margin:0;gap:26px}
  /* the film fills the whole left side, top to bottom, as one giant half-round */
  .hero__media{position:absolute;left:calc(50% - 50vw);top:0;bottom:0;width:43vw;display:block}
  .hero__tilt{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
  .hero__video{width:100%;height:100%;aspect-ratio:auto;max-height:none;margin:0;border-radius:0 999px 999px 0;box-shadow:40px 0 120px -40px rgba(31,23,21,.55)}
  .hero__video img{object-position:50% 34%;will-change:transform}
  .hero__video .play{width:92px;height:92px;margin:-46px 0 0 -46px}
  .hero__video .play svg{width:34px;height:34px}
  /* once it plays, the film sits in an upright card so nothing is cropped or letterboxed */
  .hero__video.is-playing{width:calc(min(78svh,760px)*9/16);height:auto;aspect-ratio:9/16;border-radius:40px;box-shadow:0 80px 130px -46px rgba(31,23,21,.66)}
  .hero__title{font-size:clamp(3.1rem,5.5vw,6.1rem);line-height:1;letter-spacing:-.025em}
  .hero__lede{font-size:1.25rem;max-width:30em}
  .hero__cta .btn{min-height:64px;font-size:1.14rem}
  .hero__note{position:absolute;z-index:3;left:calc(43vw - (50vw - 50%) - 215px);bottom:12%;width:262px;padding:15px 18px;border-radius:22px;background:rgba(251,247,242,.93);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 34px 64px -26px rgba(31,23,21,.5);color:var(--ink);font-size:.88rem;line-height:1.5}
  .hero__note::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--bronze);margin-inline-end:9px;box-shadow:0 0 0 5px rgba(169,138,118,.24)}
  .hdr:not(.is-solid) .hdr__cta{background:var(--paper);color:var(--ink)}
  html.motion .wall{--cw:clamp(176px,12.4vw,214px);padding-block:44px 56px}
  .wall__in{gap:18px}
  .wall__card{margin-right:18px}
  .envelope__grid{grid-template-columns:1fr .95fr;align-items:center}
  .about__grid{grid-template-columns:.9fr 1.1fr;align-items:center;gap:72px}
  .lead__grid{grid-template-columns:1.1fr .9fr;align-items:center;gap:64px}
  .words{gap:44px}
  html.motion .solution__in{flex-direction:row;align-items:center;gap:64px}
  html.motion .solution .head{flex:1;margin:0}
  html.motion .words{flex:1.1;height:340px}
  html.motion .ticks{position:absolute;bottom:44px;inset-inline-start:var(--gut)}
  .steps{max-width:880px;margin-inline:auto;gap:22px}
  .step{min-height:360px;padding:48px 52px 52px}
  html.motion .step{top:calc(104px + var(--i)*18px)}
  .strip{scroll-padding-inline:max(var(--gut),calc((100% - 1160px)/2));padding-inline:max(var(--gut),calc((100% - 1160px)/2))}
}
@media (hover:hover) and (min-width:980px){
  .carousel-arrow{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;z-index:5;width:52px;height:52px;margin-top:-34px;border:0;border-radius:50%;background:var(--paper);color:var(--ink);box-shadow:0 14px 34px rgba(31,23,21,.28);cursor:pointer;transition:transform .3s var(--ease)}
  .carousel-arrow svg{width:22px;height:22px}
  .carousel-arrow:hover{transform:scale(1.08)}
  .carousel-prev{right:18px}
  .carousel-next{left:18px}
  .swipe{display:none}
  .voices .strip--notes{margin-bottom:44px}
  .carousel-shell:has(.strip--videos){padding-bottom:74px}
  .carousel-shell:has(.strip--videos) .carousel-arrow{top:auto;bottom:8px;margin:0;background:transparent;color:var(--paper);box-shadow:inset 0 0 0 1.5px rgba(251,247,242,.4)}
  .carousel-shell:has(.strip--videos) .carousel-prev{right:calc(50% - 64px)}
  .carousel-shell:has(.strip--videos) .carousel-next{left:calc(50% - 64px)}
}

/* quiet mode: system setting or the accessibility menu */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .swipe__arrow,.faq[open] p,.hero__video .play::after{animation:none}
  .btn,.btn__arrow,.hdr,.play{transition:none}
}
