/* The Bag Rotation pre-launch site. Layout and values follow the client's Claude Design file (design/src); motion is ours. */
:root{
  --ink:#111111;
  --ink-2:#555555;
  --page:#F6F5EF;
  --stone:#EDECE6;
  --line:#E2E0D8;
  --white:#FFFFFF;
  --gutter:clamp(20px,5vw,80px);
  --ease:cubic-bezier(.2,.7,.2,1);
  --ease-io:cubic-bezier(.65,0,.35,1);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
html:not(.js){scroll-behavior:smooth}
body{margin:0;background:var(--page);color:var(--ink);font-family:'Poppins',sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:clip}
h1,h2,h3{margin:0;font-weight:500}
p{margin:0}
img{max-width:100%}
a{color:var(--ink)}
a:hover{color:var(--ink-2)}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
[id]{scroll-margin-top:72px}
.wrap{max-width:1440px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.band-white{background:var(--white)}
.only-mob{display:none}
@media (max-width:767px){.only-desk{display:none}.only-mob{display:block}}

/* buttons */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;font:500 15px/1.5 'Poppins',sans-serif;padding:15px 30px;border-radius:999px;text-decoration:none;cursor:pointer;border:0;-webkit-tap-highlight-color:transparent;transition:background-color .2s,color .2s,transform .25s var(--ease),box-shadow .25s var(--ease)}
.btn-dark{background:var(--ink);color:var(--white);overflow:hidden;isolation:isolate}
.btn-dark:hover{color:var(--white)}
.btn-line{border:1px solid var(--ink);color:var(--ink);padding:14px 30px;background:transparent}
.btn-line:hover{background:var(--ink);color:var(--white)}
.btn-sm{font-size:14px;padding:11px 24px}
.btn-block{width:100%;padding:16px 30px}
.btn-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}
.text-link{font-size:15px;font-weight:500;text-underline-offset:5px;padding:12px 0}
.icon-btn{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:none;border:0;padding:0;color:var(--ink);cursor:pointer}

/* header */
.site-header{position:sticky;top:0;z-index:20;background:var(--header-bg,var(--page));transition:background-color .35s,box-shadow .35s,-webkit-backdrop-filter .35s,backdrop-filter .35s}
.header-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 32px;min-height:76px;padding-top:8px;padding-bottom:8px}
.header-left{display:flex;flex-wrap:wrap;align-items:center;gap:8px 44px}
.logo{display:block;line-height:0}
.logo img{display:block;width:230px;height:auto}
.header-nav{display:flex;flex-wrap:wrap;gap:0 28px;font-size:15px}
.header-nav a{text-decoration:none;padding:12px 0}
.header-mobile-btn{display:none}
.site-header.glass{background:rgba(246,245,239,.78);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);box-shadow:0 1px 0 rgba(17,17,17,.06)}
@media (max-width:767px){
  .header-inner{flex-wrap:nowrap;min-height:0;padding:6px 8px 6px 20px}
  .logo img{width:200px}
  .header-nav,.header-apply{display:none}
  .header-mobile-btn{display:flex}
}

/* mobile menu, as in the design's "Mobile menu" frame */
.mobile-menu{position:fixed;inset:0;z-index:40;background:var(--page);display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom,0px)}
.mobile-menu-top{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 6px 20px}
.mobile-menu-top .logo img{width:200px}
.mobile-menu-nav{flex-grow:1;display:flex;flex-direction:column;padding:16px 20px 0}
.mobile-menu-nav a{font-size:22px;font-weight:500;text-decoration:none;padding:14px 0;border-bottom:1px solid var(--line)}
.mobile-menu-foot{padding:20px;display:flex;flex-direction:column;gap:14px}
.mobile-menu-foot p{font-size:14px;color:var(--ink-2);text-align:center}
.mobile-menu-foot .btn{padding:16px 0}
html.menu-open{overflow:hidden}

/* hero */
.hero{position:relative;background:var(--page);overflow:hidden}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:100% 50%;mix-blend-mode:multiply}
.hero-inner{position:relative;min-height:clamp(460px,47vw,680px);padding-top:56px;padding-bottom:56px;display:flex;align-items:center}
.hero-copy{max-width:500px;display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.hero h1{font-size:clamp(36px,3.6vw,52px);line-height:1.18}
.hero-sub{font-size:18px;color:var(--ink-2);max-width:420px}
@media (max-width:767px){
  .hero-img{position:static;display:block;width:100%;height:210px;object-position:78% 50%}
  .hero-inner{min-height:0;padding:24px 20px 28px}
  .hero-copy{gap:12px}
  .hero h1{font-size:30px}
  .hero-sub{font-size:16px}
  .hero .btn-row{gap:10px;margin-top:6px}
  .hero .btn-dark{padding:14px 24px}
  .hero .btn-line{padding:13px 20px}
}

/* collection carousel */
.collection{padding-top:70px}
.collection-title{font-size:24px;line-height:1.2;text-align:center;margin-bottom:40px}
.carousel{display:flex;align-items:stretch;gap:16px}
.carousel-side{display:flex;align-items:center;padding-bottom:72px}
.carousel-btn{flex-shrink:0;width:40px;height:40px;border-radius:999px;border:1px solid var(--line);background:var(--white);color:var(--ink);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;transition:opacity .3s,transform .25s var(--ease),border-color .2s}
.carousel-btn:hover{border-color:var(--ink);transform:scale(1.06)}
.carousel-btn.is-hidden{opacity:0;pointer-events:none}
.carousel-track{--per:4;--gap:24px;flex:1 1 auto;min-width:0;display:flex;gap:var(--gap);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.carousel-track::-webkit-scrollbar{display:none}
.bag{flex:0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));min-width:0;display:flex;flex-direction:column;gap:16px;scroll-snap-align:start}
.bag-photo{background:var(--stone);aspect-ratio:1/1;overflow:hidden}
.bag-photo img{display:block;width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;transition:transform .9s var(--ease)}
.bag-text{display:flex;flex-direction:column;gap:2px}
.bag-brand{font-size:21px;font-weight:600;line-height:1.3}
.bag-model{font-size:17px}
@media (max-width:1000px){.carousel-track{--per:3}}
@media (max-width:767px){
  .collection{padding:28px 0 28px 20px}
  .collection .wrap{padding:0}
  .collection-title{font-size:24px;text-align:left;margin-bottom:14px}
  .carousel{gap:8px}
  .carousel-side:first-child{display:none}
  .carousel-side{align-items:flex-start;padding:32px 8px 0 0}
  .carousel-btn{width:32px;height:32px}
  .carousel-btn svg{width:15px;height:15px}
  .carousel-track{--gap:10px}
  .bag{gap:8px}
  .bag-text{gap:1px}
  .bag-brand{font-size:14px}
  .bag-model{font-size:13px;line-height:1.35;color:var(--ink-2)}
}

/* section heads */
.section-head{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;margin-bottom:36px}
.section-head h2,.renting-title{font-size:30px;line-height:1.2}
.section-sub{font-size:17px;color:var(--ink-2);max-width:560px}

/* benefits */
.benefits{padding-top:70px;padding-bottom:114px}
.benefit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.benefit{background:var(--stone);border-radius:10px;padding:24px 22px;display:flex;align-items:center;gap:16px}
.benefit svg{flex-shrink:0}
.benefit>div{display:flex;flex-direction:column;gap:4px}
.benefit-title{font-weight:600;font-size:17px}
@media (max-width:767px){.benefits{padding-top:56px;padding-bottom:64px}}

/* how renting works on home */
.renting{padding-top:60px;padding-bottom:63px}
.renting-title{text-align:center}
.renting-head{gap:8px;margin-top:0}
.renting-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:40px 32px}
.renting-step{display:flex;flex-direction:column;gap:18px}
.renting-step .photo{aspect-ratio:1/1}
.renting-text{display:flex;flex-direction:column;gap:6px}
.renting-step-title{font-size:19px;font-weight:500}

/* photos */
.photo{overflow:hidden}
.photo img{display:block;width:100%;height:100%;object-fit:cover}

/* membership on home */
.membership-block{padding-top:96px}
.membership-inner{display:flex;flex-wrap:wrap;align-items:center;gap:40px clamp(32px,5vw,80px)}
.membership-copy{flex:.92 1 340px;min-width:0;display:flex;flex-direction:column;gap:28px;align-items:flex-start}
.membership-copy h2{font-size:clamp(30px,2.5vw,36px);line-height:1.25}
.membership-list{display:flex;flex-direction:column;align-self:stretch}
.membership-list>div{display:flex;flex-direction:column;gap:6px;padding:22px 0;border-top:1px solid var(--line)}
.membership-list>div:last-child{border-bottom:1px solid var(--line)}
.membership-list>div>div:last-child{font-size:17px}
.membership-label{font-size:15px;font-weight:600}
.membership-photo{flex:1.08 1 380px;min-width:0;height:clamp(380px,44vw,620px)}
.membership-photo img{object-position:50% 55%}
@media (max-width:767px){.membership-block{padding-top:64px}.membership-photo{flex-basis:100%;height:380px}}

/* faq */
.faq{padding-top:96px;padding-bottom:96px}
.faq-inner{max-width:860px;margin:0 auto}
.faq h2{font-size:clamp(30px,2.6vw,38px);line-height:1.2;text-align:center;margin-bottom:28px}
.faq-list{border-bottom:1px solid var(--line)}
.faq-list details{border-top:1px solid var(--line)}
.faq-list summary{list-style:none;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;cursor:pointer;font-size:17px;font-weight:500}
.faq-list summary::-webkit-details-marker{display:none}
.faq-sign{position:relative;width:20px;height:20px;flex-shrink:0}
.faq-sign::before,.faq-sign::after{content:"";position:absolute;left:3px;right:3px;top:50%;height:1.6px;margin-top:-.8px;background:currentColor;transition:transform .35s var(--ease)}
.faq-sign::after{transform:rotate(90deg)}
details[open] .faq-sign::after{transform:rotate(0)}
.faq-answer{font-size:16px;color:var(--ink-2);padding:0 44px 22px 0}
@media (max-width:767px){.faq{padding-top:64px;padding-bottom:64px}.faq-answer{padding-right:24px}}

/* footer */
.site-footer{background:var(--stone)}
.footer-inner{padding-top:64px;padding-bottom:32px;display:flex;flex-direction:column;gap:48px}
.footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:40px 64px}
.footer-logo{display:block;width:280px;height:auto;align-self:flex-start}
.footer-cols{display:flex;flex-wrap:wrap;gap:36px 72px;font-size:15px}
.footer-cols>div{display:flex;flex-direction:column;gap:10px}
.footer-cols a{text-decoration:none}
.footer-head{font-size:14px;font-weight:600;margin-bottom:4px}
.footer-copy{font-size:14px;color:var(--ink-2)}
@media (max-width:767px){.footer-inner{padding-top:48px}.footer-logo{width:220px}.footer-cols{display:grid;grid-template-columns:1fr 1fr;gap:32px 24px}}

/* application form */
.apply{padding-top:72px;padding-bottom:120px}
.apply-form{max-width:880px;margin:0 auto;display:flex;flex-direction:column;gap:40px}
.apply-form h1{font-size:clamp(36px,3.4vw,50px);line-height:1.12}
.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:36px 40px}
.field{position:relative;display:flex;flex-direction:column;gap:4px}
.field>span:first-child{font-size:15px;font-weight:500}
.field-wide{grid-column:1/-1}
.field input,.field-prefix{width:100%;border:0;border-bottom:1px solid var(--ink);border-radius:0;padding:12px 0;font:400 17px 'Poppins',sans-serif;color:var(--ink);background:transparent;outline:none}
.field input::placeholder{color:#9a978f}
.field-prefix{display:flex;align-items:baseline;padding:0}
.field-prefix>span{font-size:17px;color:var(--ink-2);padding-right:2px}
.field-prefix input{border-bottom:0}
.field::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--ink);transform:scaleX(0);transform-origin:0 50%;transition:transform .45s var(--ease)}
.field:focus-within::after{transform:scaleX(1)}
.field.invalid input,.field.invalid .field-prefix{border-bottom-color:#b4566b}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-actions{display:flex;flex-direction:column;gap:14px;margin-top:8px}
.consent{display:flex;align-items:flex-start;justify-content:center;gap:10px;font-size:14px;color:var(--ink-2);text-align:center;cursor:pointer}
.consent input{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0;accent-color:var(--ink)}
.form-error{font-size:14px;color:#b4566b;text-align:center}
.btn.loading{color:transparent;pointer-events:none}
.btn.loading::before{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:1.5px solid rgba(255,255,255,.3);border-top-color:#fff;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (max-width:767px){
  .page-form .site-footer{display:none}
  .apply{padding:20px 0 0}
  .apply-form{gap:24px;min-height:calc(100svh - 60px)}
  .apply-form h1{font-size:30px;line-height:1.18}
  .field-grid{gap:24px}
  .form-actions{margin-top:auto;padding:20px 0;gap:12px}
  .consent{font-size:13px}
}

/* application received */
.received{padding-top:96px;padding-bottom:140px}
.received-inner{max-width:640px;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.pill{background:var(--stone);font-size:14px;font-weight:500;padding:6px 14px;border-radius:999px}
.received h1,.hiw-title h1{font-size:clamp(36px,3.4vw,50px);line-height:1.12}
.lead{font-size:18px;color:var(--ink-2)}
.received-steps{align-self:stretch;display:flex;flex-direction:column;text-align:left;margin-top:8px}
.received-steps>div{display:flex;gap:20px;padding:18px 0;border-top:1px solid var(--line)}
.received-steps>div:last-child{border-bottom:1px solid var(--line)}
.received-num{font-weight:500;width:24px;flex-shrink:0}
.received-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 28px;margin-top:8px}
@media (max-width:767px){.received{padding-top:56px;padding-bottom:80px}.received h1{font-size:32px}}

/* how it works page */
.hiw-title{padding-top:56px}
.hiw-title-inner{display:flex;flex-direction:column;gap:14px;max-width:680px}
.hiw-title h1{font-size:clamp(34px,3.2vw,46px);line-height:1.15}
.hiw-step{padding-top:112px}
.hiw-step-first{padding-top:48px;margin-top:0}
.hiw-title+.hiw-step-first{margin-top:0}
.hiw-row{display:flex;flex-wrap:wrap;align-items:center;gap:40px clamp(40px,6vw,96px)}
.hiw-row-reverse{flex-direction:row-reverse}
.hiw-photo{flex:1 1 380px;min-width:0;aspect-ratio:4/5;max-height:640px}
.hiw-text{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:22px;align-items:flex-start}
.hiw-label{font-size:15px;color:var(--ink-2)}
.hiw-text h2{margin-top:-14px;font-size:clamp(30px,2.6vw,38px);line-height:1.2}
.hiw-text p{font-size:17px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips span{background:var(--stone);border-radius:999px;padding:8px 16px;font-size:15px}
.specs{display:flex;flex-direction:column;align-self:stretch}
.specs>div{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid var(--line);font-size:16px}
.specs>div:last-child{border-bottom:1px solid var(--line)}
.specs span:first-child{color:var(--ink-2)}
.specs span:last-child{text-align:right}
.closing{padding-top:96px;padding-bottom:96px}
.closing-card{background:var(--stone);border-radius:10px;padding:32px clamp(20px,3vw,40px);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px}
.closing-card>div:first-child{display:flex;flex-direction:column;gap:4px}
.closing-title{font-size:20px;font-weight:600}
.closing-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px}
@media (max-width:767px){
  .hiw-title{padding-top:40px}
  .hiw-step{padding-top:64px;padding-bottom:0}
  .hiw-step-first{padding-top:32px}
  .hiw-photo{flex-basis:100%}
  .hiw-step.band-white{padding-bottom:40px}
  .closing{padding-top:64px;padding-bottom:64px}
}

/* legal placeholders */
.legal{padding-top:72px;padding-bottom:160px}
.legal-inner{max-width:880px;margin:0 auto}
.legal h1{font-size:clamp(36px,3.4vw,50px);line-height:1.12}

/* ---------- motion: everything below only runs with JS and without reduced motion ---------- */
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.motion [data-reveal],.motion [data-reveal-group]>*,.motion [data-reveal-item]{opacity:0;transform:translateY(24px);transition:opacity .9s var(--ease),transform .9s var(--ease);transition-delay:calc(var(--i,0) * 100ms)}
.motion .in[data-reveal],.motion .in[data-reveal-group]>*,.motion [data-reveal-item].in{opacity:1;transform:none}
.motion [data-reveal-group]>[data-reveal-photo]{opacity:1;transform:none}
.motion [data-reveal-photo]{clip-path:inset(100% 0 0 0);transition:clip-path 1.2s var(--ease-io);transition-delay:calc(var(--i,0) * 100ms)}
.motion [data-reveal-photo] img{transform:scale(1.06);transition:transform 1.6s var(--ease);transition-delay:calc(var(--i,0) * 100ms)}
.motion [data-reveal-photo].in{clip-path:inset(0 0 0 0)}
.motion [data-reveal-photo].in img{transform:none}
.motion [data-split] .w{display:inline-block;opacity:0;transform:translateY(.45em);transition:opacity .8s var(--ease),transform .8s var(--ease);transition-delay:calc(var(--w,0) * 70ms)}
.motion .in [data-split] .w,.motion [data-split].in .w{opacity:1;transform:none}
.motion [data-reveal-group]>[data-split]{opacity:1;transform:none}
.motion .hero-img{animation:heroIn 1.8s var(--ease) both}
@keyframes heroIn{from{transform:scale(1.04)}to{transform:none}}
.motion .renting-step .photo{transition-delay:calc(var(--i,0) * 120ms)}

/* bag cards */
@media (hover:hover){
  .bag:hover .bag-photo img{transform:scale(1.05)}
}

/* dark buttons: a diagonal sheen and a 1px lift */
.btn-dark::after{content:"";position:absolute;top:-2px;bottom:-2px;left:-60%;width:40%;z-index:-1;background:linear-gradient(90deg,transparent,rgba(255,255,255,.26) 45%,rgba(255,255,255,.38) 50%,rgba(255,255,255,.26) 55%,transparent);transform:skewX(-20deg);pointer-events:none}
@media (hover:hover){
  .motion .btn-dark:hover{transform:translateY(-1px);box-shadow:0 10px 24px -12px rgba(17,17,17,.55)}
  .motion .btn-dark:hover::after{transform:skewX(-20deg) translateX(460%);transition:transform .6s var(--ease-io)}
}

/* outline buttons: a spark runs the outline, then the pill fills */
.fuse{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.fuse rect{fill:none}
.fuse .trail{stroke:var(--ink);stroke-width:1.5;stroke-dasharray:100 100;stroke-dashoffset:100}
.fuse .head{stroke:#fff6d8;stroke-width:2.6;stroke-linecap:round;stroke-dasharray:4 96;stroke-dashoffset:4;opacity:0;filter:drop-shadow(0 0 1.5px rgba(255,200,80,1)) drop-shadow(0 0 5px rgba(240,180,60,.6))}
@keyframes fuseTrail{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes fuseHead{0%{stroke-dashoffset:4;opacity:0}6%{opacity:1}90%{opacity:1}100%{stroke-dashoffset:-96;opacity:0}}
.has-fuse:hover,.has-fuse:focus-visible{background:transparent;color:var(--ink)}
@media (hover:hover){
  .has-fuse:hover .trail{animation:fuseTrail .65s var(--ease-io) forwards}
  .has-fuse:hover .head{animation:fuseHead .65s var(--ease-io) forwards}
  .has-fuse:hover{background:var(--ink);color:var(--white);transition:background-color .2s .6s,color .2s .6s}
}
.has-fuse:focus-visible .trail{animation:fuseTrail .65s var(--ease-io) forwards}
.has-fuse:focus-visible .head{animation:fuseHead .65s var(--ease-io) forwards}
.has-fuse:focus-visible{background:var(--ink);color:var(--white);transition:background-color .2s .6s,color .2s .6s}
@media (hover:none){
  .has-fuse:active .trail{animation:fuseTrail .34s var(--ease-io) forwards}
  .has-fuse:active .head{animation:fuseHead .34s var(--ease-io) forwards}
  .has-fuse:active{background:var(--ink);color:var(--white);transition:background-color .15s .3s,color .15s .3s}
}

.motion .mobile-menu{animation:menuIn .35s var(--ease)}
@keyframes menuIn{from{opacity:0}to{opacity:1}}
.motion .mobile-menu-nav a{animation:rise .6s var(--ease) both;animation-delay:calc(var(--i,0) * 70ms + 80ms)}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
