/* Home page only. Shared components live in ../site.css */

/* ---------- Hero ---------- */
.hero{position:relative; padding-top:var(--nav-h); overflow:clip}
.hero__grid{display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 7fr); align-items:center; gap:clamp(1rem, 3vw, 3rem);
  min-height:calc(min(100svh, 940px) - var(--nav-h) - 6.25rem)} /* leaves room for the whole occasions band in the first screen */
.hero__copy{position:relative; z-index:2; padding-block:2rem 3.5rem}
.hero__copy h1{max-width:11ch}
.hero__copy .lead{margin-top:1.35rem; max-width:29rem}
.hero__copy .ctas{margin-top:2.1rem}
.hero__stage{height:min(calc(100svh - var(--nav-h) - 7rem), 740px); min-height:420px; margin-right:calc(var(--gutter) * -1)}
.hero__stage .stage__still{object-fit:contain; object-position:50% 60%}
.stage:not(.is-live) .stage__ui, .stage:not(.is-live) .hero__hint{display:none}
.hero__ui{right:var(--gutter); bottom:1rem; left:auto}
.hero__ui .chapter-dots button{min-width:clamp(56px, 7vw, 104px)}
.hero__hint{position:absolute; left:0; bottom:1.55rem; z-index:5; display:flex; align-items:center; gap:.4rem; font-size:.8rem; color:var(--text-2); pointer-events:none}
.hero__hint .ph{font-size:1rem; color:var(--accent-ink)}

@media (max-width:900px){
  .hero__grid{grid-template-columns:1fr; min-height:0; gap:0}
  .hero__stage{order:-1; height:clamp(260px, 46svh, 440px); min-height:0; margin-inline:calc(var(--gutter) * -1)}
  .hero__copy{padding-block:.75rem 3rem}
  .hero__copy h1{max-width:none}
  .hero__ui{right:var(--gutter); bottom:.35rem}
  .hero__hint{display:none}
}
@media (max-width:600px){
  .hero__ui .chapter-dots span{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}
  .hero__ui .chapter-dots button{min-width:30px}
  .hero__ui{gap:.6rem}
  .stage-btn{width:36px; height:36px}
  .hero .ctas .btn{flex:1 1 100%}
}
@media (max-height:640px) and (max-width:900px){ .hero__stage{height:clamp(220px, 38svh, 320px)} }

/* ---------- Gifting teaser ---------- */
.gift-for__head{margin-bottom:clamp(2rem, 1.4rem + 2vw, 3.25rem)}
.gift-for__head .lead{margin-top:1rem}
.gift-for__more{margin-top:clamp(1.75rem, 1.2rem + 2vw, 2.75rem)}
@media (min-width:861px){ .gift-for__more{text-align:right} }

/* ---------- Capabilities teaser ---------- */
.theirs .collage__text .lead{margin-top:1rem; margin-bottom:1.5rem}
.theirs .ctas{margin-top:1.75rem}
.theirs .collage__a{--ratio:4 / 5}

/* ---------- Seasonal teaser ---------- */
.season__head{margin-bottom:clamp(2rem, 1.5rem + 2vw, 3rem)}
.season__head .lead{margin-top:1rem}
.season__more{margin-top:2rem}

/* ---------- About teaser: arch photo + copper sash + hanging name tag (deliberately no box motif) ---------- */
.studio{overflow:clip}
.studio__grid{display:grid; grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr); gap:clamp(2rem, 6vw, 6rem); align-items:center}
.studio__media{position:relative; max-width:420px; width:100%; padding-bottom:2.5rem}
/* arch mask: a round-topped window, the shape of a shop doorway */
.studio__photo{--ratio:4 / 5;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' preserveAspectRatio='none'%3E%3Cpath d='M0 125V50A50 50 0 0 1 100 50V125Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' preserveAspectRatio='none'%3E%3Cpath d='M0 125V50A50 50 0 0 1 100 50V125Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.studio__photo::after{display:none}
.studio__photo > img{object-position:50% 40%}
/* the sash: a copper satin ribbon across the photo, running in from the page edge, V-cut tail */
.studio__sash{position:absolute; left:-50vw; right:-2.25rem; top:66%; height:clamp(18px, 1.8vw, 26px); z-index:1;
  background:linear-gradient(180deg, #d8b386 0%, var(--copper) 24%, #a67a4a 58%, var(--copper) 82%, #c99c6a 100%);
  clip-path:polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%);
  box-shadow:0 8px 14px -10px color-mix(in srgb, var(--navy) 70%, transparent); transform-origin:left}
/* the name tag hangs from the sash on a string */
.studio__tag{position:absolute; z-index:2; right:-.5rem; top:calc(66% + clamp(18px, 1.8vw, 26px) + 1.6rem);
  display:flex; flex-direction:column; gap:.15rem; margin:0; padding:2.1rem 1.15rem 1rem; text-align:center; background:var(--kraft); color:var(--navy);
  clip-path:polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%, 0 18px); border-radius:0 0 var(--r-tag) var(--r-tag);
  -webkit-mask:radial-gradient(circle 6px at 50% 16px, transparent 96%, #000 100%); mask:radial-gradient(circle 6px at 50% 16px, transparent 96%, #000 100%);
  transform:rotate(3deg); transform-origin:50% -1.6rem}
.studio__tag::before{content:""; position:absolute; inset:0; background:linear-gradient(110deg, rgba(255,255,255,.3), transparent 45%); pointer-events:none}
.studio__media::after{ /* the string, from the sash to the tag's hole */
  content:""; position:absolute; z-index:2; right:calc(-.5rem + 6.5rem - 1px); top:calc(66% + clamp(18px, 1.8vw, 26px) - 4px); width:2px; height:calc(1.6rem + 20px);
  background:var(--copper-ink); opacity:.85; transform:rotate(3deg); transform-origin:top}
.studio__tag-name{font-family:var(--f-display); font-weight:600; font-size:1.08rem; line-height:1.2; letter-spacing:-0.01em}
.studio__tag-meta{font-size:.82rem; color:#4A3A26}
.js-motion .studio__media[data-reveal] .studio__sash{transform:scaleX(0); transition:transform 1.3s var(--ease-inout) .2s}
.js-motion .studio__media[data-reveal] .studio__tag{opacity:0; transform:rotate(-8deg) translateY(-10px); transition:opacity .5s ease 1s, transform 1.2s var(--ease-spring) 1s}
.js-motion .studio__media[data-reveal].is-in .studio__sash{transform:none}
.js-motion .studio__media[data-reveal].is-in .studio__tag{opacity:1; transform:rotate(3deg)}
.studio__text .lead{margin-top:1rem}
.studio__points{list-style:none; padding:0; margin:1.6rem 0 1.8rem; display:grid; gap:.75rem}
.studio__points li{display:flex; gap:.75rem; align-items:flex-start; font-weight:500}
.studio__points .ph{font-size:1.3rem; color:var(--accent-ink); flex:none; margin-top:.05rem}
@media (max-width:760px){
  .studio__grid{grid-template-columns:minmax(0, 1fr)}
  .studio__media{max-width:min(320px, 78%); order:2; padding-bottom:5.5rem}
}
/* string x = tag centre; keep in sync if the tag width changes */
.studio__tag{width:13rem}
.studio__media::after{right:calc(-.5rem + 6.5rem - 1px)}
@media (max-width:420px){
  .studio__media{max-width:72%}
  .studio__tag{width:11rem; right:-2.75rem}
  .studio__media::after{right:calc(-2.75rem + 5.5rem - 1px)}
}

/* ---------- Quote band ---------- */
.quote-band{--ribbon-x:86%; --ribbon-y:80%}
.quote-band__inner{max-width:var(--maxw)}
.quote-band h2{max-width:14ch}
.quote-band .lead{margin-top:1.1rem; max-width:32rem}
.quote-band .ctas{margin-top:2rem}
.quote-band__mail{margin-top:1.4rem; font-size:var(--fs-small); color:var(--on-dark-2)}
.quote-band__mail a{text-underline-offset:4px}
@media (max-width:760px){
  .quote-band{--ribbon-x:84%; --ribbon-y:84%; padding-bottom:calc(var(--section-y) + 2.5rem)}
  .quote-band__inner{padding-right:3.75rem}
}

/* threads sit between tight sections */
.thread{margin-block:-1.5rem}
.theirs{padding-bottom:calc(var(--section-y) * .9)}
