/* ============ home: four full-screen sections ============ */
.screen{position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding:112px 0 64px}
.screen > .wrap{position:relative;z-index:2}
.screen.paper{background-color:var(--paper)}
/* every scroll lands exactly on a whole screen: done in home.js, not with CSS scroll-snap
   (Chrome on phones re-snaps to the screen it remembers and pulls the page back) */
html.pan-lock,html.pan-lock body{touch-action:pan-x pinch-zoom} /* vertical swipes go to home.js only */

/* 1: the brand */
/* full-screen background video; the copy sits on the quiet right side of the frame */
.screen.intro{background:#D6D7D4 url(hero-poster.webp) 30% 50%/cover no-repeat;overflow:hidden;justify-content:flex-end;padding-bottom:clamp(40px,7vh,80px)} /* the poster shows until the video plays */
.intro-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:30% 50%;z-index:0;pointer-events:none}
.intro-veil{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse 60% 75% at 100% 100%,rgba(226,227,224,.94) 0%,rgba(226,227,224,.82) 40%,rgba(226,227,224,0) 100%)} /* only the bottom-right corner behind the copy */
.intro-grid{display:block}
.intro-copy{max-width:620px}
.intro h1{font-size:clamp(28px,2.85vw,46px);line-height:1.15;letter-spacing:-.015em;margin-bottom:16px}
.intro h1 > span{display:table}   /* each line as wide as its words, so home.js can match them */
.intro h1 .gold{color:var(--brass-ink)}   /* same size as the first line; home.js spaces its letters to end where the first line ends */
.intro .lede{font-size:clamp(16px,1.15vw,18px);max-width:36ch;color:#3E4043}
.intro .hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.intro .hero-cta .btn{border-radius:10px}
.intro .btn.ghost{background:rgba(242,241,238,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.intro .btn.ghost:hover{background:var(--graphite)}
.scroll-cue{position:absolute;bottom:26px;left:50%;width:44px;height:56px;margin-left:-22px;z-index:2;display:grid;justify-items:center;align-content:end}
.scroll-cue i{display:block;width:1.5px;height:44px;background:var(--brass-ink);animation:cue 2.4s var(--ease) infinite;transform-origin:top}
@keyframes cue{0%{transform:scaleY(0)}50%{transform:scaleY(1)}100%{transform:scaleY(1);opacity:0}}

/* 2: discover, three rounded cards, 15px apart, filling most of the screen */
.screen.discover{padding:80px clamp(16px,2.4vw,40px) 14px;display:flex;flex-direction:column;justify-content:center;background:var(--paper)}
.discover .cards{position:relative;z-index:2;height:min(860px,calc(100svh - 131px));gap:15px;margin:0;padding:0} /* long side: up to 800px, as tall as the screen allows */
.discover .card{aspect-ratio:auto;height:100%;border-radius:18px}
.discover .card-body{padding-bottom:clamp(32px,6vh,60px)}
.discover .card.light .media img{padding:12% 6% 30%}
/* on the light screen the light card gets a white face so it still reads as a card */
.discover .card.light{background:#fff}
.discover .card.light.photo .media img{object-fit:cover;padding:0} /* a real photo fills the card */
.discover .card.light::after{background:linear-gradient(to top,#fff 0%,rgba(255,255,255,.7) 26%,rgba(255,255,255,0) 50%)}
.cards-dots{display:none}
@media (min-width:1360px){.screen.discover{padding-inline:72px}} /* leave room for the side rail */
/* desktop: the cards run from the top of the screen to the bottom */
@media (min-width:861px){
  .screen.discover{padding-top:14px;justify-content:flex-start}
  .discover .cards{height:calc(100svh - 28px)}
}
@media (max-width:860px){
  .screen.discover{padding-inline:0}
  .discover .cards{padding-inline:clamp(16px,6vw,40px);scroll-padding-inline:clamp(16px,6vw,40px)}
  .discover .card{flex-basis:84%}
  .discover .cards{height:min(860px,calc(100svh - 114px))}
  .cards-dots{display:flex;position:relative;z-index:3;margin-top:14px;justify-content:center;gap:6px}
  .cards-dots i{width:22px;height:3px;background:rgba(17,18,20,.18);transition:background .3s}
  .cards-dots i.on{background:var(--brass-ink)}
}

/* 3: the process: the four drawings from the illustration, read right to left */
.process{--pic:min(19vw,32svh,250px);--gap:clamp(20px,3.4vw,64px)}
.process-waves{position:absolute;inset:0;width:100%;height:100%;z-index:0;fill:none;stroke:var(--brass-ink);stroke-width:1;vector-effect:non-scaling-stroke;opacity:.4;pointer-events:none}
.process-waves path{vector-effect:non-scaling-stroke}
.waves-m{display:none}
@media (max-width:640px){.waves-d{display:none}.waves-m{display:block}}   /* phones: one drawing that runs from screen 2 into screen 3 */
.process-title{text-align:center;margin-bottom:clamp(28px,6vh,64px)}
.steps4{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap);padding:0}
.s4{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}
.s4 .pic{display:block;width:var(--pic);aspect-ratio:1;padding:5px;border:1.5px solid rgba(122,92,43,.55);border-radius:50%}
.s4 .pic img{display:block;width:100%;height:100%;border-radius:50%}
/* thin arrow in the gap, pointing to the next step (to the left) */
.s4:not(:last-child)::after{content:"";position:absolute;top:calc(var(--pic)/2 - 6px);left:calc(var(--gap)/-2 - 16px);width:32px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 12' fill='none' stroke='%237A5C2B' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M31 6H1M6 1 1 6l5 5'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.8}
.s4 .stem{display:block;width:1px;height:clamp(14px,3.2vh,34px);margin:clamp(10px,1.6vh,16px) 0;background:var(--brass-ink);opacity:.55}
.s4 .ix{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(122,92,43,.7);border-radius:50%;font-family:var(--f-logo);font-size:17px;font-weight:500;color:var(--brass-ink);direction:ltr}
.s4 h3{margin-top:clamp(12px,2vh,20px);font-size:clamp(23px,2vw,29px)}
.s4 p{margin-top:6px;color:var(--text-2);font-size:clamp(15px,1.1vw,17px);line-height:1.55;max-width:30ch}

/* 4: call to action */
.contact4 .contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,7vw,120px);align-items:center}
.contact4 h2{font-size:clamp(46px,6.6vw,92px);line-height:1.02;letter-spacing:-.02em;margin-bottom:24px}
.contact4 .side p{max-width:38ch;color:var(--text-2-dark)}
.promise{list-style:none;margin-top:32px;display:grid;gap:12px}
.promise li{display:flex;gap:14px;align-items:center;font-size:17px}
.promise li::before{content:"";width:8px;height:8px;background:var(--brass);transform:rotate(45deg);flex:none}
/* the WhatsApp card that replaced the form */
.wa-card{display:grid;gap:18px;padding:clamp(28px,3.4vw,48px);background:var(--ink-3);border-radius:18px}
.wa-card h3{font-size:clamp(30px,3vw,44px);line-height:1.1}
/* last screen, right side: the site links and the contact icons */
.end-cols{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,64px);align-items:start}
.end-h{font-family:var(--f-body);font-size:13px;font-weight:500;letter-spacing:.08em;color:var(--brass);margin-bottom:14px}
.end-links{display:grid;gap:4px}
.end-links a{font-size:clamp(17px,1.4vw,20px);line-height:1.9;color:var(--paper);transition:color .3s;width:fit-content}
.end-links a:hover,.end-links a:focus-visible{color:var(--brass)}
.end-social{list-style:none;display:grid;gap:4px;padding:0}
.end-social a{display:inline-flex;align-items:center;gap:12px;min-height:40px;font-size:clamp(17px,1.4vw,20px);color:var(--paper);transition:color .3s}
.end-social a:hover,.end-social a:focus-visible{color:var(--brass)}
.end-social svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
/* share button, top centre of the last screen */
.end-share{position:absolute;z-index:3;top:clamp(92px,13vh,130px);left:50%;transform:translateX(-50%);display:grid;justify-items:center;gap:8px}
.share-btn{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 22px;border:1px solid rgba(200,168,102,.55);border-radius:999px;background:transparent;color:var(--paper);font:inherit;font-size:16px;cursor:pointer;transition:background .3s,color .3s,border-color .3s}
.share-btn:hover,.share-btn:focus-visible{background:var(--brass);border-color:var(--brass);color:var(--graphite)}
.share-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.share-note{font-size:13px;color:var(--brass);min-height:1.2em}
.wa-card p{color:var(--text-2-dark);max-width:40ch;font-size:clamp(18px,1.6vw,22px)}
.wa-card .wa-btn{justify-self:start;margin-top:6px}
.mini-foot{position:relative;z-index:2;margin-top:clamp(40px,7vh,80px);display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--text-2-dark)}
.mini-foot nav{display:flex;gap:28px;flex-wrap:wrap}
.mini-foot a:hover{color:var(--brass)}
.mini-foot .sign{font-family:var(--f-head);font-size:17px;color:var(--brass)}

/* ============ side rail ============ */
/* progress rail */
.rail{position:fixed;z-index:40;left:clamp(6px,1.2vw,20px);top:50%;transform:translateY(-50%);display:grid;gap:4px;justify-items:center}
.rail .line{position:absolute;top:22px;bottom:22px;left:50%;width:1.5px;margin-left:-.75px;background:rgba(200,168,102,.3)}
.rail .line b{position:absolute;inset:0;background:var(--brass);transform-origin:top}
.rail a{position:relative;display:grid;place-items:center;width:44px;height:44px}
.rail a i{width:9px;height:9px;border-radius:50%;border:1.5px solid var(--brass);background:var(--paper);transition:background .3s,transform .3s}
.rail a.on i{background:var(--brass);transform:scale(1.3)}
.rail a span{position:absolute;left:44px;white-space:nowrap;font-size:14px;padding:4px 10px;background:var(--graphite);color:var(--paper);opacity:0;transform:translateX(-4px);transition:opacity .3s,transform .3s;pointer-events:none}
.rail{transition:opacity .4s var(--ease)}
@media (max-width:1359px){.rail{display:none}} /* only where the side margin is wide enough */
.rail.away{opacity:0;pointer-events:none}
.rail a:hover span,.rail a:focus-visible span{opacity:1;transform:none}

/* ============ responsive ============ */
@media (max-width:960px){
  /* phone/tablet: the bracelet fills the top, the copy sits at the bottom on a soft fade */
  .screen.intro{justify-content:flex-end}
  .screen.intro{background-image:url(hero-poster-m.webp);background-position:50% 50%}
  .intro-video{object-position:50% 50%} /* hero-m.mp4 is already cut to a vertical frame */
  .intro-veil{background:linear-gradient(to top,rgba(230,231,228,.94) 0%,rgba(230,231,228,.8) 30%,rgba(230,231,228,0) 58%)}
  .contact4 .contact-grid{grid-template-columns:1fr;gap:36px}
  /* phone/tablet: one step per row, drawing on the right, text beside it */
  .process{--pic:clamp(76px,22vw,104px)}
  .process-title{margin-bottom:clamp(18px,3vh,32px)}
  .steps4{grid-template-columns:1fr;gap:clamp(12px,2.2vh,22px);max-width:560px;margin-inline:auto}
  .s4{flex-direction:row;align-items:center;gap:18px;text-align:start}
  .s4 .pic{flex:none;position:relative;padding:3px}
  .s4:not(:last-child)::after{display:none}
  .s4 .stem{display:none}
  .s4 .ix{position:absolute;top:calc(var(--pic) - 28px);right:calc(var(--pic) - 28px);width:30px;height:30px;font-size:14px;background:var(--paper)}
  .s4 h3{margin-top:0}
  .s4 p{max-width:none}
}
@media (max-width:640px){
  .screen{padding:92px 0 40px}
  .screen.intro{padding-bottom:84px}   /* room for the hosting badge at the bottom of the screen */
  .intro h1{font-size:clamp(22px,8vw,32px);margin-bottom:14px}
  .intro .lede{font-size:16px}
  .intro .hero-cta{margin-top:24px}
  .intro .hero-cta .btn{flex:1;justify-content:center;padding:0 14px}
  .intro .hero-cta .btn.ghost{flex:0 0 auto}
  .callout{display:none}
  .scroll-cue{display:none}
  .screen.discover{padding-top:88px;padding-bottom:72px}
  .discover .cards{height:min(860px,calc(100svh - 88px - 72px - 31px))}
  .discover .card{flex-basis:84%;height:100%}
  .cards-dots{display:flex;position:relative;z-index:3;margin-top:14px;justify-content:center;gap:6px}
  .cards-dots i{width:22px;height:3px;background:rgba(17,18,20,.18);transition:background .3s}
  .cards-dots i.on{background:var(--brass-ink)}
  .s4 h3{font-size:23px}
  .s4 p{font-size:14.5px;line-height:1.5}
  .rail{display:none}
  .contact4 h2{margin-bottom:14px}
  .contact4 .contact-grid{gap:24px}
  .promise{margin-top:18px;gap:6px}
  .promise li{font-size:15px}
  .wa-card{padding:22px;gap:12px}
  .wa-card h3{font-size:26px}
  .wa-card p{font-size:17px}
  .end-links a,.end-social a{font-size:16px}
  .end-links a{line-height:1.75}
  .end-social a{min-height:34px}
  .end-share{top:96px}
  .wa-card .wa-btn{justify-self:stretch;justify-content:center}
  .contact4 .row2{grid-template-columns:1fr 1fr;gap:16px}
  .mini-foot{margin-top:24px}
  .mini-foot nav,.mini-foot .sign{display:none}
}
@media (prefers-reduced-motion:reduce){
}
