/* Valiente v3: the cast opens the page, then the collection in three chapters (Womenswear, Evening, Menswear). */

/* opener: the full cast, then the label's introduction */
.opener{padding:clamp(20px,4vh,40px) var(--gutter-r) clamp(32px,6vh,64px) var(--gutter);border-bottom:1px solid var(--thread)}
.opener-in{display:grid;grid-template-columns:minmax(300px,3fr) minmax(0,8fr);grid-template-areas:"copy cast";gap:clamp(24px,3.5vw,56px);align-items:center;max-width:1600px;margin:0 auto;min-height:calc(100svh - var(--head) - 80px)}
.opener-cast{grid-area:cast;margin:0}
.opener-cast img{display:block;width:100%;height:auto;aspect-ratio:1585/992;max-height:calc(100svh - var(--head) - 80px);object-fit:contain}
.opener-copy{grid-area:copy;display:grid;gap:22px;min-width:0}
.opener h1{margin:0;font-family:var(--display);font-weight:300;letter-spacing:-.025em;font-size:clamp(34px,4.2vw,64px);line-height:1;text-wrap:balance}
.opener h1 small{display:block;font-weight:500;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--cobalt);margin:0 0 18px}
.opener-text{margin:0;font-size:clamp(15px,1.1vw,17px);line-height:1.6;max-width:52ch;color:var(--ink)}
.opener .hero-actions{display:flex;gap:8px;margin:0;flex-wrap:nowrap}
@media (max-width:899px){
  .opener-in{grid-template-columns:1fr;grid-template-areas:"cast" "copy";min-height:0;gap:22px}
  .opener-cast img{max-height:none}
  .opener h1{font-size:clamp(30px,8.6vw,40px)}
  .opener .hero-actions{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:6px}
  .opener .hero-actions .btn{width:100%;padding:0 6px;font-size:13px;white-space:nowrap}
}
@media (max-width:360px){.opener .hero-actions .btn{font-size:12px;padding:0 4px}}

/* chapter titles: Womenswear sits in the first look's stage, Evening and Menswear get their own band */
.chapter-title{margin:0;font-family:var(--display);font-weight:200;letter-spacing:-.035em;line-height:.9;font-size:clamp(56px,9vw,150px)}
.chapter-title small,.chapter-n{display:block;font-family:var(--text);font-weight:500;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--cobalt);margin:0 0 16px;line-height:1.4}
.hero .chapter-title{position:relative;z-index:3;font-size:clamp(44px,5.4vw,84px)}
.chapter{padding:clamp(72px,14vh,160px) var(--gutter-r) clamp(28px,6vh,64px) var(--gutter);border-top:1px solid var(--thread)}
.chapter-in{max-width:1600px;margin:0 auto}
.chapter-sub{margin:18px 0 0;font-size:16px;line-height:1.6;max-width:46ch;color:var(--ink-soft)}
.chapter.dark{background:var(--ink);color:var(--paper);border-top-color:var(--ink)}
.chapter.dark .chapter-n{color:#e6ec1a}
.chapter.dark .chapter-sub{color:rgba(255,245,222,.7)}
@media (max-width:899px){
  .chapter-title{font-size:clamp(48px,15vw,84px)}
  .kinetic .hero .chapter-title{font-size:clamp(44px,13.5vw,72px)}
}

/* bespoke: by appointment, with the atelier enquiry form beside it */
.commission{align-items:start}
.bespoke{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,88px);align-items:start;max-width:1400px;margin:0 auto;width:100%}
.bespoke-intro{display:grid;gap:clamp(14px,2.4vh,24px);align-content:start;background:var(--paper);padding:clamp(20px,3vw,40px);box-shadow:0 0 0 1px rgba(17,18,20,.06)}
.bespoke-intro h2{margin:0;font-family:var(--display);font-weight:400;font-size:clamp(56px,7vw,112px);line-height:.92;letter-spacing:-.04em;color:var(--ink)}
.bespoke-intro .order-kicker,.enquiry .order-kicker{margin:0}
.bespoke-intro .order-lead{margin:0}
.bespoke-img{margin:clamp(6px,1vh,12px) 0 0}
.bespoke-img img{display:block;width:100%;height:auto;aspect-ratio:753/1092;object-fit:cover}
.enquiry{position:sticky;top:calc(var(--head) + 24px);background:var(--paper);padding:clamp(24px,3vw,44px);box-shadow:0 0 0 1px rgba(17,18,20,.08);scroll-margin-top:calc(var(--head) + 16px)}
.enq-form{display:grid;gap:18px}
.enq-title{margin:0;font-family:var(--display);font-weight:400;font-size:clamp(36px,3.6vw,56px);line-height:1;letter-spacing:-.03em;color:var(--ink)}
.enq-lead{margin:0 0 6px;font-size:17px;line-height:1.55;color:var(--ink-soft)}
.fld{display:grid;gap:8px;margin:0;border:0;padding:0;min-width:0}
.fld label,.fld legend{font:500 16px/1.3 var(--text);color:var(--ink);padding:0}
.fld legend{margin-bottom:10px}
.fld .opt{color:var(--ink-soft);font-weight:400}
.fld input,.fld textarea{width:100%;min-height:52px;padding:12px 14px;border:1px solid rgba(17,18,20,.28);border-radius:0;background:#fff;color:var(--ink);font:400 17px/1.4 var(--text);transition:border-color .2s,box-shadow .2s}
.fld textarea{resize:vertical;min-height:120px}
.fld input:hover,.fld textarea:hover{border-color:rgba(17,18,20,.5)}
.fld input:focus-visible,.fld textarea:focus-visible{outline:none;border-color:var(--cobalt);box-shadow:0 0 0 3px rgba(22,78,197,.2)}
.fld input[aria-invalid="true"]{border-color:#c2261a}
.fld input::placeholder{color:#8a8d94}
.err{margin:0;font-size:14px;line-height:1.4;color:#c2261a}
.count{margin:0;font-size:13px;color:var(--ink-soft)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips legend{width:100%}
.chip{position:relative;display:inline-flex}
.chip input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.chip span{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid rgba(17,18,20,.28);font:400 15px/1 var(--text);color:var(--ink);background:#fff;transition:background .2s,color .2s,border-color .2s}
.chip input:hover + span{border-color:var(--ink)}
.chip input:checked + span{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.chip input:focus-visible + span{outline:2px solid var(--cobalt);outline-offset:2px}
.check{display:grid;grid-template-columns:24px 1fr;gap:12px;align-items:center;font-size:16px;line-height:1.4;color:var(--ink);cursor:pointer;min-height:44px}
.check input{width:22px;height:22px;margin:0;accent-color:var(--ink)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.enq-send{width:100%;border:0;cursor:pointer;margin-top:4px}
.enq-send[disabled]{opacity:.7;cursor:progress}
.order-cta{background:var(--cobalt)}
.order-cta:hover{background:var(--ink)}
.enq-note{margin:0;font-size:14px;color:var(--ink-soft)}
.form-status{margin:0;font-size:15px;line-height:1.5}
.form-status:empty{display:none}
.form-status.is-error{color:#c2261a}
.form-status a{color:var(--ink);text-underline-offset:4px}
.enq-done{display:grid;gap:14px}
.enq-done:focus{outline:none}
@media (max-width:899px){
  .commission{padding-top:260px}
  .bespoke{grid-template-columns:1fr;gap:20px}
  .bespoke-intro{padding:24px var(--gutter-r) 28px var(--gutter);box-shadow:none}
  .enquiry{position:static;padding:28px var(--gutter-r) 32px var(--gutter);box-shadow:none;border-top:1px solid var(--thread)}
  .chip span{font-size:14px;padding:0 13px}
}
.bespoke [hidden]{display:none!important}

/* footer legal links, commission terms line, legal pages */
.foot-legal{display:inline-flex;gap:18px;flex-wrap:wrap}
.foot-legal a{color:inherit;text-underline-offset:4px}
.bespoke-terms{margin:0;font-size:15px;line-height:1.55;color:var(--ink-soft);max-width:48ch;border-left:2px solid var(--cobalt);padding-left:14px}
.enq-note a{color:inherit;text-underline-offset:3px}
.legal-in{max-width:760px;margin:0 auto;padding:clamp(40px,8vh,96px) var(--gutter-r) clamp(56px,10vh,120px) var(--gutter)}
.legal-in h1{margin:0;font-family:var(--display);font-weight:300;font-size:clamp(40px,6vw,80px);line-height:1;letter-spacing:-.03em}
.legal-in .kicker{margin:0 0 16px}
.legal-date{margin:14px 0 36px;font-size:14px;color:var(--ink-soft)}
.legal-in h2{margin:40px 0 12px;font-family:var(--display);font-weight:500;font-size:22px;letter-spacing:-.01em}
.legal-in p,.legal-in li{font-size:17px;line-height:1.65;color:var(--ink);max-width:68ch}
.legal-in p{margin:0 0 14px}
.legal-in ul{margin:0 0 14px;padding-left:1.2em}
.legal-in li{margin:0 0 6px}
.legal-in a{color:var(--cobalt);text-underline-offset:3px}

/* ---------- David's brand: cobalt #164EC5 and ivory #FFF5DE, and his own logo ----------
   This sheet loads after the others on every page, so the colours set here win everywhere. */
:root{--paper:#fff5de;--paper-2:#f5e8c8;--cobalt:#164ec5;--cobalt-deep:#0f3a96;--thread:rgba(16,17,20,.12)}
.lam img,.kinetic .lam,.shirt .pair img,.gown .trio img,.fit-row img,.gx-ill img{background-color:#fffcf5}
.gx + .gx{border-top-color:rgba(255,245,222,.12)}
.gx figcaption,.gx-label .disc,.gx-label dt,.gx-label .credit{color:rgba(255,245,222,.62)}
.gx-label dl,.gx-label .desc{border-top-color:rgba(255,245,222,.2)}
.kinetic .gx-word{-webkit-text-stroke-color:rgba(255,245,222,.32)}
.kinetic .gx-label{box-shadow:0 0 0 1px rgba(255,245,222,.14)}
@media (max-width:899px){.kinetic .gx-label,.kinetic .gx.flip .gx-label{box-shadow:0 -1px 0 rgba(255,245,222,.18)}}
/* the poster slabs drawn by script keep their old blue in an inline style: retint them */
.mv[style*="1f3ad6"]{--c:#164ec5!important}

/* header logo: the V monogram and the VALIENTE wordmark, in cobalt */
.brand{color:var(--cobalt);gap:12px}
.brand .logo-v{width:37px;height:24px;flex:none}
.brand .logo-w{width:105px;height:12px;flex:none}
/* pages whose markup still has the old line mark draw the same logo from the image files */
.brand:not(.brand-logo) > svg,.brand:not(.brand-logo) > span{display:none}
.brand:not(.brand-logo)::before,.brand:not(.brand-logo)::after{content:"";flex:none;background:currentColor}
.brand:not(.brand-logo)::before{width:37px;height:24px;-webkit-mask:url(../img/brand/valiente-v.svg) center/contain no-repeat;mask:url(../img/brand/valiente-v.svg) center/contain no-repeat}
.brand:not(.brand-logo)::after{width:105px;height:12px;-webkit-mask:url(../img/brand/valiente-wordmark.svg) center/contain no-repeat;mask:url(../img/brand/valiente-wordmark.svg) center/contain no-repeat}
@media (max-width:479px){.brand .logo-w,.brand:not(.brand-logo)::after{display:none}}

/* the full logo near the end of the home page: ivory on a cobalt field, as in the brand pack */
.cast .frame{background:var(--cobalt);display:grid;place-items:center;padding:clamp(36px,7vw,110px) clamp(20px,4vw,48px)}
.cast .frame img{width:min(100%,680px);height:auto;aspect-ratio:1359/951}

/* the runway's cards and frames in ivory (doubled or nested selectors, because lineup.css loads after this sheet) */
.lu.lu{background:linear-gradient(to bottom,transparent 0 63%,rgba(16,17,20,.03) 72%,rgba(16,17,20,.075) 100%),radial-gradient(52% 70% at 47% 40%,rgba(255,251,240,.8),transparent 70%),var(--paper)}
.lu .lu-card{background:#f7ecd2}
.lu .lu-card:nth-child(even){background:#f3e6c8}
.lu .lu-card[data-active]{background:#fffaee}
.lu .lu-frame{background:#fbf2df}
.lu .lu-shot img.ill{background:#fffcf5}

/* the first look, waiting behind the thread curtain on the home page: it steps out as the threads part.
   Multiplied onto the ivory, so the white paper of the drawing takes the page colour; the corner mark is cropped. */
.kinetic .hero-stage{background:var(--paper)}
.hero-look{--q:0;position:absolute;z-index:2;margin:0;left:70%;top:10%;height:82%;pointer-events:none;mix-blend-mode:multiply;opacity:var(--q);
  transform:translate3d(-50%,calc((1 - var(--q)) * 28px),0) scale(calc(.96 + var(--q) * .04));transform-origin:50% 100%}
.hero-look img{display:block;height:100%;width:auto;clip-path:polygon(0 0,100% 0,100% 80%,74% 80%,74% 100%,0 100%)}
/* phones: the stage fills the whole screen (also once the browser bar slides away); the look stands large under the
   headline, its feet kept above the browser bar; the text and buttons follow below the stage */
@media (max-width:899px){
  .kinetic .hero .hero-stage{height:calc(100lvh - var(--head))}
  .hero-look{left:50%;top:27%;height:calc(100svh - var(--head) - 27% - 14px)}
  .hero-intro .hero-actions{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:6px;margin:22px 0 40px!important}
  .hero-intro .hero-actions .btn{width:100%;padding:0 6px;font-size:13px;white-space:nowrap}
}
/* a shorter stay on the opening screen: the line-up follows as soon as the curtain is open */
@media (min-width:900px){.kinetic .hero.hero{height:165svh}}
@media (max-width:899px){.kinetic .hero.hero{height:155lvh}}

/* bespoke, simplified: no photograph (it repeated the evening gown) and no second button beside the form */
.bespoke-img,.bespoke-intro .order-cta{display:none}
@media (min-width:900px){.bespoke{grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:center}}
/* the poster slabs and sun stay out of this section: the threads and the form are enough */
.commission .mv{display:none}
.bespoke-intro{background:none;box-shadow:none;padding:0;align-self:center}
.bx-split{display:flex;overflow:hidden;padding-bottom:.06em}
.bx-l{display:inline-block}
/* the form, one question at a time */
.stepper{gap:20px}
.stepper .enq-step:not(.is-on){display:none!important}
.enq-head{display:grid;gap:10px}
.enq-progress{margin:0;font:500 12px/1.4 var(--text);letter-spacing:.2em;text-transform:uppercase;color:var(--cobalt)}
.enq-bar{position:relative;display:block;height:2px;overflow:hidden;background:rgba(17,18,20,.12)}
.enq-bar::after{content:"";position:absolute;inset:0;background:var(--cobalt);transform-origin:left;transform:scaleX(var(--v,0));transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.stepper .enq-step.is-on{animation:enq-in .45s cubic-bezier(.2,.7,.2,1)}
@keyframes enq-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.stepper .enq-step.is-on{animation:none}.enq-bar::after{transition:none}}
.stepper .fld > label,.stepper .fld > legend{font:400 clamp(22px,2.2vw,30px)/1.2 var(--display);letter-spacing:-.01em}
.enq-nav{display:flex;align-items:center;gap:12px;margin-top:4px}
.enq-back{background:none;border:0;padding:12px 4px 12px 0;font:500 15px/1 var(--text);color:var(--ink-soft);cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.enq-back:hover{color:var(--ink)}
.enq-nav .order-cta{width:auto;min-width:9rem;margin:0 0 0 auto;border:0;cursor:pointer}
@media (max-width:899px){
  .bespoke{gap:28px}
  .bespoke-intro{padding:0 var(--gutter-r) 0 var(--gutter)}
}

/* the looks on desktop: the label card is exactly as tall as the garment frame beside it, top and bottom aligned;
   the detail photograph inside the card takes whatever height is left, shown whole */
@media (min-width:900px){
  .kinetic .obj-in{container-type:inline-size;align-items:start;align-content:center;
    --lam-w:min(calc((100cqw - clamp(24px,5vw,88px)) / 2),calc((100svh - var(--head) - 140px) * .75),560px)}
  .kinetic .obj .label{display:flex;flex-direction:column;gap:12px;height:calc(var(--lam-w) * 4 / 3);overflow:hidden;box-sizing:border-box}
  .kinetic .obj .label > *{flex:none;margin-block:0}
  .kinetic .obj .label .second{flex:1 1 0;min-height:0;display:flex;flex-direction:column;gap:8px;margin:4px 0 0}
  .kinetic .obj .label .second img{flex:1 1 0;min-height:0;width:min(100%,300px);height:auto;aspect-ratio:auto;object-fit:contain;object-position:0 0;background:none}
}
/* ...and exactly as wide: the card and the garment frame are the same size, meeting at the gutter */
@media (min-width:900px){
  .kinetic .obj .label{width:var(--lam-w);max-width:none;justify-self:start}
  .kinetic .obj.flip .label{justify-self:end}
  .kinetic .obj .label .second img{transform:none!important}
  .kinetic .obj .label .second figcaption{flex:none}
}

/* the shirts rail: the line sits under its heading, inside the page margins, and travels with it */
.rail .rail-head{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;padding-inline:var(--gutter) var(--gutter-r)}
.rail .rail-head p{margin:0;max-width:44ch}

/* ---------- bespoke and contact, reworked ----------
   Words on the left, the form as one calm card on the right that keeps its size from question to question;
   choices are lettered rows, buttons have their labels centred. */
.enq-nav .order-cta,.enq-send{justify-content:center;text-align:center;gap:10px;padding:0 28px}
.enq-next::after{content:"\2192";font-size:1.1em;line-height:1}
.stepper .chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;counter-reset:opt}
.stepper .chips legend{grid-column:1 / -1}
.stepper .chip{display:flex}
.stepper .chip span{width:100%;min-height:56px;gap:14px;padding:0 16px;justify-content:flex-start}
.stepper .chip span::before{counter-increment:opt;content:counter(opt,upper-alpha);display:inline-grid;place-items:center;width:26px;height:26px;flex:none;border:1px solid currentColor;font:500 12px/1 var(--text);opacity:.55}
.stepper .chip input:checked + span::before{opacity:1}
.enquiry .enq-form > .order-kicker{display:none}
.enquiry .enq-title{font-size:clamp(30px,2.6vw,40px)}
.enquiry .enq-lead{font-size:16px;margin:-8px 0 4px;max-width:44ch}
@media (min-width:900px){
  .commission.commission{padding-inline:clamp(32px,6vw,96px)}
  .bespoke{max-width:1240px;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(48px,6vw,112px);align-items:center}
  .bespoke-intro{gap:22px}
  .bespoke-intro .order-lead{font-size:18px;line-height:1.6;max-width:40ch}
  .enquiry{position:relative;top:auto;display:flex;flex-direction:column;min-height:min(600px,calc(100svh - var(--head) - 120px));padding:clamp(32px,3.2vw,52px);box-shadow:0 0 0 1px rgba(16,17,20,.1),0 40px 80px -48px rgba(16,17,20,.45)}
  .enquiry .enq-form{flex:1;display:flex;flex-direction:column;gap:22px}
  .enquiry .enq-form > .enq-nav{margin-top:auto;padding-top:8px}
}
@media (max-width:899px){
  .stepper .chips{grid-template-columns:1fr;gap:8px}
  .stepper .chip span{min-height:52px}
  .enq-nav .order-cta,.enq-nav .enq-send{flex:1}
}

/* bespoke, evened out: two equal columns of the same height; the left column's first line sits level with
   "Get in touch" and its last line level with the buttons. Choices are plain, centred tiles. */
.stepper .chip span::before{content:none;display:none}
.stepper .chip span{justify-content:center;text-align:center;padding:0 14px}
.stepper .chip:last-of-type:nth-of-type(odd){grid-column:1 / -1}
@media (min-width:900px){
  .bespoke{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:clamp(40px,5vw,96px)}
  .bespoke-intro{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:clamp(32px,3.2vw,52px) 0}
  .bespoke-intro .bespoke-terms{margin-top:auto}
}

/* gowns on phones: the photograph whole at the top, the drawing and the back view side by side beneath it,
   same height, nothing overlapping */
@media (max-width:899px){
  .kinetic .gx-main,.kinetic .gx.flip .gx-main{top:29%;height:min(50%,calc(86vw * 1.5))}
  .kinetic .gx-ill,.kinetic .gx.flip .gx-ill,.kinetic .gx-back,.kinetic .gx.flip .gx-back{top:57%;bottom:auto;width:auto;height:min(32%,58vw)}
  .kinetic .gx-ill img,.kinetic .gx-back img{height:100%;width:auto;max-width:none}
  .kinetic .gx-ill,.kinetic .gx.flip .gx-ill{left:var(--gutter);right:auto}
  .kinetic .gx-back,.kinetic .gx.flip .gx-back{right:var(--gutter-r);left:auto}
}

/* larger labels on the choices and buttons, so the text carries the tile rather than the empty box */
.stepper .chip span{font-size:clamp(17px,1.3vw,19px);letter-spacing:-.005em}
.enq-nav .order-cta,.enq-nav .enq-send{font-size:clamp(17px,1.3vw,19px)}
@media (max-width:899px){.stepper .chip span{font-size:17px}}

/* the first look over the curtain keeps its true proportions (it was squeezed to the width left beside it) */
.hero-look{width:max-content}
.hero-look img{max-width:none}
@media (max-width:899px){.hero-look{height:min(calc(100svh - var(--head) - 27% - 14px),calc((100vw - 16px) * 1.5))}}

/* the shirts rail on desktop: every photograph the same height, the same gap from photograph to text in every card,
   and the rail starts inside the page margin */
@media (min-width:900px){
  .kinetic .track{padding-left:clamp(32px,6vw,96px)}
  .kinetic .rail .rail-head{padding-left:clamp(32px,6vw,96px)}
  .kinetic .shirt{width:auto;grid-template-columns:auto minmax(0,26rem)}
  .kinetic .shirt .pair,.kinetic .shirt .pair.solo{grid-template-columns:none;grid-auto-flow:column;justify-content:start}
  .kinetic .shirt .pair img,.kinetic .shirt .pair.solo img{width:auto;height:min(54svh,480px);max-height:none;max-width:none;aspect-ratio:3/4}
}
/* the shirts rail on phones: one photograph per card, all the same size, the text starting on the photograph's left edge,
   the heading on the same edge, and each card settling with equal margins (no neighbour's text peeking in) */
@media (max-width:899px){
  .kinetic .rail{--cw:calc(100vw - 48px)}
  .kinetic .rail .rail-head{padding-left:24px;padding-right:24px}
  .kinetic .track{gap:56px;padding-left:24px;padding-right:0}
  .kinetic .track::after{content:"";flex:none;width:24px;margin-left:-56px}
  .kinetic .shirt{width:var(--cw);align-items:start;align-content:start;gap:14px}
  .kinetic .shirt .pair,.kinetic .shirt .pair.solo{grid-template-columns:1fr;justify-items:start}
  .kinetic .shirt .pair img.ill{display:none}
  .kinetic .shirt .pair img,.kinetic .shirt .pair.solo img{width:auto;max-width:100%;height:min(40svh,340px);aspect-ratio:3/4}
}
/* detail photographs in the look cards sit just above their caption, so a wide photo never floats far from it */
@media (min-width:900px){.kinetic .obj .label .second img{object-position:0 100%}}
/* phones: room above the bespoke text for the full-size V the threads draw there */
@media (max-width:899px){.commission{padding-top:max(300px,calc(46vw / .7726 + 76px))}}

/* footer: one even rhythm, every item on a 44px row */
.foot>*{display:inline-flex;align-items:center;min-height:44px;margin:0}
.foot .credit-by{white-space:pre}
.foot-legal{gap:24px}
@media (max-width:899px){
  .foot{flex-direction:column;align-items:flex-start;gap:4px;padding-block:20px calc(20px + env(safe-area-inset-bottom,0px))}
  .foot>span:first-child{letter-spacing:.08em}
}
/* wide screens: the two legal links join the row, so every footer item has the same gap */
@media (min-width:900px){.foot-legal{display:contents}}
/* the footer sits clear of the bottom edge of the screen */
.foot.foot{padding-top:40px;padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
@media (max-width:899px){.foot.foot{padding-top:32px;padding-bottom:calc(56px + env(safe-area-inset-bottom,0px))}}
/* the narrow Ivory Margarita drawing fills its frame: the space either side carries the drawing's own paper tone,
   sampled from its left and right edges, so it reads as one complete image */
img[src*="shirt-guipure-ill"]{background:linear-gradient(#f3eee9 3.1%,#f2eee9 9.4%,#f2eee9 15.6%,#f1ede8 21.9%,#f1ede9 28.1%,#f1ede8 34.4%,#f0ece6 40.6%,#f1ede7 46.9%,#efebe7 53.1%,#ede9e6 59.4%,#ede9e6 65.6%,#ece8e5 71.9%,#eae6e3 78.1%,#e6e2dd 84.4%,#ece9e3 90.6%,#f5f3ef 96.9%) left/50% 100% no-repeat,linear-gradient(#f5f3ef 3.1%,#f6f4f0 9.4%,#f6f4f0 15.6%,#f6f3ef 21.9%,#f6f3ef 28.1%,#f5f3ef 34.4%,#f5f3ef 40.6%,#f4f2ee 46.9%,#f4f2ee 53.1%,#f2f0ec 59.4%,#f3efe9 65.6%,#f2eee9 71.9%,#f2eee9 78.1%,#ede9e5 84.4%,#f3f1ed 90.6%,#f5f2ee 96.9%) right/50% 100% no-repeat!important}
/* phones: the shirts rail starts a clear step below the header and the photograph shrinks on short screens,
   so the heading and the photo never run up under the header */
@media (max-width:899px){
  .kinetic .rail-in{justify-content:flex-start!important;padding-top:28px!important;padding-bottom:20px!important;gap:18px}
  .kinetic .rail .rail-head{gap:8px;margin:0}
  .kinetic .shirt .pair img,.kinetic .shirt .pair.solo img{height:clamp(170px,calc(100svh - var(--head) - 410px),340px)!important}
}
