/* Nico Ardenghi — site.css
   Layout: the facade grid. Full-bleed rooms (campaign images) alternate with structured corridors
   (product rows, text). Square images; one eased top-right corner per component; nothing else rounded. */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-full-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-wdth-normal.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@property --lr { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  /* colour: limewash page, basalt text, cypress and basalt bands, garnet used once per view */
  --calce: #F2EEE7; --intonaco: #E7E0D4; --travertino: #D5C5AA; --pietra: #9A8F80;
  --bronzo: #5B4A3B; --ombra: #56626A; --cipresso: #353D2E; --basalto: #1C1A17; --granata: #772B27;
  --line: rgb(154 143 128 / .42); --line-on: rgb(242 238 231 / .28);
  /* type */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* grid */
  --gm: 16px; --gut: 12px; --max: 1600px; --hdr: 56px;
  /* shape and motion */
  --eased: 0 12px 0 0; --eased-sm: 0 6px 0 0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1); --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.9' intercept='-.45'/%3E%3CfeFuncG type='linear' slope='1.9' intercept='-.45'/%3E%3CfeFuncB type='linear' slope='1.9' intercept='-.45'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gm: 32px; --gut: 20px; --hdr: 64px; } }
@media (min-width: 1280px) { :root { --gm: 48px; --gut: 24px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--calce); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--calce); color: var(--basalto); font: 400 16px/1.6 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 75; background: var(--calce); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--basalto); outline-offset: 3px; }
.band--cipresso :focus-visible, .ftr :focus-visible, .on-image :focus-visible, .hero :focus-visible { outline-color: var(--calce); }
::selection { background: var(--cipresso); color: var(--calce); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 120; left: 16px; top: calc(env(safe-area-inset-top, 0px) + 8px); padding: 12px 20px; background: var(--basalto); color: var(--calce); border-radius: var(--eased); transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: max(var(--gm), env(safe-area-inset-left, 0px)); padding-right: max(var(--gm), env(safe-area-inset-right, 0px)); }
.grain { position: fixed; inset: 0; z-index: 100; pointer-events: none; background: var(--noise) 0 0 / 220px 220px; opacity: .045; }
.ic { width: 20px; height: 20px; flex: none; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3, .hero-h, .fit-name, .pdp-name, .lead-xl, .pc-name, .tile-h, .menu-big a, .pair-q p, .look-t, .bag-t {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -0.015em; text-wrap: balance; margin: 0;
}
.display { font-size: clamp(52px, 8.6vw, 136px); line-height: .96; letter-spacing: -0.025em; }
.h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; }
.h3 { font-size: clamp(24px, 2vw, 28px); line-height: 1.15; font-weight: 400; }
em { font-style: italic; }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; max-width: 34em; margin: 0; }
.lead-xl { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.25; }
.eyebrow, .label { font: 500 12px/1.2 var(--sans); font-stretch: 90%; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.mono { font: 400 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.small { font-size: 14px; line-height: 1.5; }
p { margin: 0; text-wrap: pretty; }

/* ---------- links and buttons ---------- */
.lnk { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 12px/1 var(--sans); font-stretch: 90%; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.lnk::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform-origin: 0 50%; transition: transform .45s var(--ease); }
.lnk .ic { width: 16px; height: 16px; transition: transform .45s var(--ease); }
@media (hover: hover) { .lnk:hover::after { transform: scaleX(.35); } .lnk:hover .ic { transform: translateX(4px); } }
.lnk--on { color: var(--calce); }
.lnk.small { min-height: 40px; }

.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px;
  background: var(--basalto); color: var(--calce); border-radius: var(--eased); font: 500 12px/1 var(--sans); font-stretch: 90%; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  --sw: var(--cipresso); --sw-fg: var(--calce); transition: color .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sw); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .55s var(--ease); }
.btn .ic { width: 16px; height: 16px; transition: transform .45s var(--ease); }
@media (hover: hover) { .btn:hover::before { transform: scaleX(1); transform-origin: 0 50%; } .btn:hover { color: var(--sw-fg); } .btn:hover .ic { transform: translateX(4px); } }
.btn:focus-visible::before { transform: scaleX(1); transform-origin: 0 50%; }
.btn:focus-visible { color: var(--sw-fg); }
.btn--on { background: var(--calce); color: var(--basalto); --sw: var(--travertino); --sw-fg: var(--basalto); }
.btn--line { background: transparent; color: var(--basalto); box-shadow: inset 0 0 0 1px var(--basalto); --sw: var(--basalto); }
.btn--full { width: 100%; }
@media (hover: none) { .btn:active::before { transform: scaleX(1); transform-origin: 0 50%; transition-duration: .3s; } .btn:active { color: var(--sw-fg); } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--eased-sm); transition: background-color .3s var(--ease); }
@media (hover: hover) { .icon-btn:hover { background: rgb(28 26 23 / .06); } }
.icon-btn--line { box-shadow: inset 0 0 0 1px var(--line); }
.chip { min-height: 40px; padding: 0 16px; border-radius: var(--eased-sm); box-shadow: inset 0 0 0 1px var(--line); font: 500 12px/1 var(--sans); font-stretch: 90%; letter-spacing: .1em; text-transform: uppercase; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
@media (hover: hover) { .chip:hover { box-shadow: inset 0 0 0 1px var(--basalto); } }
.chip[aria-pressed="true"] { background: var(--basalto); color: var(--calce); box-shadow: inset 0 0 0 1px var(--basalto); }
kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 4px; margin-right: 4px; border-radius: var(--eased-sm); box-shadow: inset 0 0 0 1px currentColor; font: 12px var(--mono); }

/* ---------- header ---------- */
.hdr { position: fixed; z-index: 70; top: env(safe-area-inset-top, 0px); left: 0; right: 0; color: var(--basalto); transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.hdr.is-solid { background: rgb(242 238 231 / .96); box-shadow: 0 1px 0 var(--line); }
.hdr.on-image:not(.is-solid) { color: var(--calce); }
.hdr.is-hidden { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); }
.hdr-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--hdr); max-width: var(--max); margin-inline: auto;
  padding-left: max(var(--gm), env(safe-area-inset-left, 0px)); padding-right: max(var(--gm), env(safe-area-inset-right, 0px)); transition: opacity .6s var(--ease); }
.hdr-nav { display: none; gap: 28px; }
.hdr-nav a, .hdr-btn, .hdr-menu { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 12px/1 var(--sans); font-stretch: 90%; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.hdr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.hdr-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) { .hdr-nav a:hover::after { transform: scaleX(1); } }
.hdr-menu { justify-self: start; }
.hdr-menu-ic { display: grid; gap: 5px; width: 20px; } .hdr-menu-ic i { display: block; height: 1.5px; background: currentColor; }
.hdr-menu-t { display: none; }
.hdr-logo { display: block; width: 136px; color: inherit; transition: opacity .5s var(--ease); }
.hdr-logo svg { display: block; width: 100%; height: auto; }
.hdr-util { justify-self: end; display: flex; align-items: center; gap: 8px; }
.hdr-btn-t { display: none; }
.hdr-count { font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
  .hdr-menu { display: none; } .hdr-nav { display: flex; } .hdr-logo { width: 176px; } .hdr-btn-t { display: inline; } .hdr-util { gap: 28px; }
  .hdr-search .ic { display: none; }
}
.is-home .hdr:not(.show-logo) .hdr-logo { opacity: 0; pointer-events: none; }

/* ---------- hero: the window ---------- */
.hero { position: relative; }
.hero-stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--calce); color: var(--calce); }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 60% 50%; }
.hero-media { will-change: clip-path; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgb(28 26 23 / .62), rgb(28 26 23 / .18) 42%, rgb(28 26 23 / 0) 60%), linear-gradient(to bottom, rgb(28 26 23 / .32), rgb(28 26 23 / 0) 26%); pointer-events: none; }
.hero-mark { position: absolute; left: 0; right: 0; top: calc(var(--hdr) + 2vh); padding-left: max(var(--gm), env(safe-area-inset-left, 0px)); padding-right: max(var(--gm), env(safe-area-inset-right, 0px)); color: var(--calce); transform-origin: 50% 0; pointer-events: none; }
.hero-mark svg { display: block; width: 100%; max-width: var(--max); margin-inline: auto; height: auto; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(32px, 7vh, 72px); display: grid; gap: 20px; }
.hero-h { font-size: clamp(52px, 8vw, 128px); line-height: .95; letter-spacing: -0.025em; }
.hero-h .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-h .ln > span { display: inline-block; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
/* first frame, only when the intro will play */
.js:not(.rm):not(.intro-done) .is-home .hero-media { clip-path: inset(16% 40% 6% 40% round 0 24px 0 0); }
.js:not(.rm):not(.intro-done) .is-home .hero-mark { color: var(--basalto); }
.js:not(.rm):not(.intro-done) .is-home .hero-scrim, .js:not(.rm):not(.intro-done) .is-home .hero-eye, .js:not(.rm):not(.intro-done) .is-home .hero-links, .js:not(.rm):not(.intro-done) .is-home .hdr-in { opacity: 0; }
.js:not(.rm):not(.intro-done) .is-home .hero-h .ln > span { transform: translateY(110%); }
.js:not(.rm):not(.intro-run):not(.intro-done) .is-home .hero-media { animation: na-open .01s 3s forwards; }
.js:not(.rm):not(.intro-run):not(.intro-done) .is-home :is(.hero-scrim, .hero-eye, .hero-links, .hdr-in) { animation: na-show .01s 3s forwards; }
.js:not(.rm):not(.intro-run):not(.intro-done) .is-home .hero-h .ln > span { animation: na-rise .01s 3s forwards; }
@keyframes na-open { to { clip-path: inset(0 round 0); } }
@keyframes na-show { to { opacity: 1; } }
@keyframes na-rise { to { transform: none; } }

/* the intro: a corridor after the hero, or the hand-over stage on desktop */
.intro { display: grid; gap: 40px; padding-block: 96px 64px; }
.intro-head { display: grid; gap: 16px; max-width: 720px; }
.intro-head .lnk { justify-self: start; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gut); }
@media (min-width: 1024px) { .row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 50%; } .row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hero--handoff .hero-stage { position: absolute; inset: 0; height: 100%; }
.hero--handoff { height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.hero--handoff .intro { position: absolute; inset: 0; z-index: 1; padding-top: calc(var(--hdr) + 3vh); padding-bottom: 4vh; align-content: center; gap: 28px; pointer-events: none; }
.hero--handoff .intro.is-live { pointer-events: auto; }
.hero--handoff .intro-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; max-width: none; gap: 12px 48px; }
.hero--handoff .intro-head .eyebrow, .hero--handoff .intro-head .h2 { grid-column: 1; }
.hero--handoff .intro-head .lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
.hero--handoff .intro-head .lnk { grid-column: 2; }
.hero--handoff .row { width: min(100%, calc(4 * 50vh * .8 + 3 * var(--gut))); width: min(100%, calc(4 * 50svh * .8 + 3 * var(--gut))); }
.hero--handoff .hero-mark { z-index: 2; }

/* ---------- product card ---------- */
.card { min-width: 0; }
.card-link { display: grid; gap: 12px; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 5; background: var(--intonaco); overflow: hidden; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease), transform 1.2s var(--ease); }
.card-b { opacity: 0; }
@media (hover: hover) { .card-link:hover .has-b .card-b { opacity: 1; } .card-link:hover .card-img img { transform: scale(1.02); } }
.card-link:focus-visible { outline-offset: 6px; }
.card-txt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-name { margin: 0; font: 500 14px/1.4 var(--sans); }
.card-price { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-meta { margin-top: -8px; font: 400 11px/1.4 var(--mono); letter-spacing: .04em; color: var(--bronzo); }

/* ---------- editorial pair ---------- */
.pair { display: grid; gap: 40px; padding-block: 64px 120px; }
.pair figure { margin: 0; overflow: hidden; background: var(--intonaco); }
.pair-a img, .pair-b img { width: 100%; height: 100%; object-fit: cover; }
.pair-side { display: grid; gap: 40px; align-content: start; }
.pair-q p { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.18; }
.pair-shop ul { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pair-shop li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; border-bottom: 1px solid var(--line); }
.pair-shop a { text-decoration: none; } .pair-shop a:hover { text-decoration: underline; }
@media (min-width: 1024px) {
  .pair { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding-block: 96px 192px; }
  .pair-a { grid-column: 1 / span 5; aspect-ratio: 2 / 3; }
  .pair-side { grid-column: 7 / span 6; padding-top: 22vh; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gut); }
  .pair-b { grid-column: 1 / span 4; aspect-ratio: 4 / 5; }
  .pair-q { grid-column: 1 / span 6; margin: 0; }
  .pair-shop { grid-column: 1 / span 5; }
}

/* ---------- light reveal: bands of light open across the image ---------- */
.lr { --lr: 0; transition: --lr 1.4s var(--ease); }
.lr img { transition: transform 1.6s var(--ease); }
.js:not(.rm) .lr:not(.lr-done) img { -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--lr) * 100%), transparent calc(var(--lr) * 100%)); mask-image: linear-gradient(90deg, #000 calc(var(--lr) * 100%), transparent calc(var(--lr) * 100%));
  -webkit-mask-size: 12.5% 100%; mask-size: 12.5% 100%; -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; }
.js:not(.rm) .lr:not(.in) img { transform: scale(1.06); }
.lr.in { --lr: 1; }
.rv { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js:not(.rm) .rv:not(.in) { opacity: 0; transform: translateY(16px); }

/* ---------- bands ---------- */
.band--cipresso { background: var(--cipresso); color: var(--calce); }
.band--cipresso .lead, .band--cipresso p { color: rgb(242 238 231 / .86); }

/* ---------- the Fit System ---------- */
.fit { position: relative; }
.fit-wrap { display: grid; gap: 40px; padding-block: 96px; }
.fit-head { display: grid; gap: 16px; max-width: 640px; }
.fit-intro { max-width: 30em; }
.fit-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gm)); padding-inline: var(--gm); }
.fit-steps::-webkit-scrollbar { display: none; }
.fit-step { scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-content: start; }
.fit-text { grid-column: 1 / -1; grid-row: 2; display: grid; gap: 10px; align-content: start; }
.fit-name { font-size: clamp(48px, 7vw, 112px); line-height: .9; letter-spacing: -0.03em; }
.fit-line { font: 300 italic clamp(20px, 1.8vw, 26px)/1.3 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; color: var(--calce) !important; }
.fit-wears { max-width: 26em; }
.fit-specs { display: grid; margin: 8px 0 4px; border-top: 1px solid var(--line-on); }
.fit-specs div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line-on); }
.fit-specs dt { font: 500 12px/1.4 var(--sans); font-stretch: 90%; letter-spacing: .12em; text-transform: uppercase; color: rgb(242 238 231 / .7); }
.fit-specs dd { margin: 0; font-size: 15px; }
.fit-text .lnk { justify-self: start; }
.fit-draw { position: relative; background: rgb(242 238 231 / .05); aspect-ratio: 3 / 4; }
.fit-svg { position: absolute; left: 0; top: 7%; width: 100%; height: 86%; overflow: visible; }
.fit-svg path { fill: none; stroke: var(--calce); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js:not(.rm) .fit-step:not(.is-on) .fit-svg path { stroke-dashoffset: 1; }
.js:not(.rm) .fit-svg path { transition: stroke-dashoffset 1.3s var(--ease); }
.fit-svg path:nth-child(2), .fit-svg path:nth-child(3) { transition-delay: .12s; } .fit-svg path:nth-child(4) { transition-delay: .24s; }
.fit-svg path:nth-child(n+5) { transition-delay: .36s; } .fit-svg path:nth-child(n+7) { transition-delay: .5s; }
.fit-photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: rgb(242 238 231 / .06); }
.fit-photo img { width: 100%; height: 100%; object-fit: cover; }
.fit-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.fit-pager { display: flex; gap: 4px; }
.fit-pager button { min-height: 44px; padding: 0 16px; font: 500 12px/1 var(--sans); font-stretch: 90%; letter-spacing: .12em; text-transform: uppercase; color: rgb(242 238 231 / .62); box-shadow: inset 0 -1px 0 var(--line-on); transition: color .3s var(--ease), box-shadow .3s var(--ease); }
.fit-pager button[aria-pressed="true"] { color: var(--calce); box-shadow: inset 0 -2px 0 var(--calce); }
.fit-rail { display: none; flex: 1; height: 1px; background: var(--line-on); position: relative; min-width: 120px; }
.fit-rail i { position: absolute; inset: 0; background: var(--calce); transform: scaleX(0); transform-origin: 0 50%; }
.fit-kb { display: none; color: rgb(242 238 231 / .6) !important; }
.kb .fit[data-mode="pin"].is-pinned .fit-kb { display: block; }
@media (min-width: 1024px) {
  .fit-steps { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .fit-step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* pinned stage (desktop, motion on) */
.fit.is-stage .fit-pin { height: 100vh; height: 100svh; display: flex; align-items: center; }
.fit.is-stage .fit-wrap { padding-block: calc(var(--hdr) + 24px) 32px; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 28px; align-content: center; height: 100%; }
.fit.is-stage .fit-head { grid-column: 1 / span 5; }
.fit.is-stage .fit-steps { grid-column: 1 / -1; display: block; position: relative; height: min(58vh, 560px); }
.fit.is-stage .fit-step { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: stretch; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.fit.is-stage .fit-step.is-on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
.fit.is-stage .fit-text { grid-column: 1 / span 5; grid-row: 1; align-content: end; }
.fit.is-stage .fit-draw { grid-column: 6 / span 3; grid-row: 1; aspect-ratio: auto; }
.fit.is-stage .fit-photo { grid-column: 9 / span 4; grid-row: 1; aspect-ratio: auto; }
.fit.is-stage .fit-photo img { transform: scale(1.04); transition: transform 1.4s var(--ease); }
.fit.is-stage .fit-step.is-on .fit-photo img { transform: none; }
.fit.is-stage .fit-name { font-size: clamp(64px, 8vw, 128px); }
.fit.is-stage .fit-ctrl { grid-column: 1 / -1; }
.fit.is-stage .fit-rail { display: block; }

/* ---------- shop by piece ---------- */
.pieces { display: grid; gap: 32px; padding-block: 120px; }
.pieces-list ul { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pieces-list a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; min-height: 72px; padding-block: 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: opacity .35s var(--ease); }
.pc-name { font-size: clamp(34px, 5vw, 76px); line-height: 1.05; transition: transform .5s var(--ease); }
.pc-go { opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
@media (hover: hover) { .pieces-list ul:hover a { opacity: .4; } .pieces-list ul:hover a:hover { opacity: 1; } .pieces-list a:hover .pc-name { transform: translateX(12px); } .pieces-list a:hover .pc-go { opacity: 1; transform: none; } }
.pieces-list a:focus-visible .pc-go { opacity: 1; transform: none; }
.pieces-pv { display: none; }
@media (min-width: 1024px) {
  .pieces { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding-block: 160px; }
  .pieces-list { grid-column: 1 / span 7; }
  .pieces-pv { display: block; grid-column: 9 / span 4; position: sticky; top: calc(var(--hdr) + 40px); align-self: start; aspect-ratio: 4 / 5; background: var(--intonaco); overflow: hidden; margin-top: 40px; }
  .pv { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s var(--ease); }
  .pv img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.4s var(--ease); }
  .pv.is-on { opacity: 1; } .pv.is-on img { transform: none; }
}

/* ---------- rooms ---------- */
.room { position: relative; }
.room-media { margin: 0; position: relative; overflow: hidden; background: var(--intonaco); }
.room-media img { width: 100%; height: 100%; object-fit: cover; }
.room--story .room-media { height: 78vh; height: 78svh; min-height: 420px; }
.room-panel { position: relative; z-index: 1; display: grid; gap: 16px; margin: -64px var(--gm) 0; padding: 32px 24px; background: var(--calce); border-radius: var(--eased); max-width: 600px; }
.room-panel .lnk { justify-self: start; }
@media (min-width: 1024px) {
  .room--story .room-media { height: 92vh; height: 92svh; }
  .room-panel { margin: -200px 0 0 max(var(--gm), calc((100vw - var(--max)) / 2 + var(--gm))); padding: 48px 48px 40px; }
}
.room--move .room-media { aspect-ratio: 4 / 5; max-height: 100svh; }
@media (min-width: 768px) { .room--move .room-media { aspect-ratio: 1913 / 822; } }
.room-over { position: absolute; left: 0; right: 0; top: 0; display: grid; gap: 20px; justify-items: start; padding-top: clamp(28px, 3vw, 56px); }
.room--move .display { font-size: clamp(48px, 6.4vw, 120px); }
.room--move .room-over { color: var(--basalto); }
.room--head .room-media { height: 92vh; height: 92svh; min-height: 520px; }
.room-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgb(28 26 23 / .6), rgb(28 26 23 / 0) 55%); pointer-events: none; }
.room-over--low { top: auto; bottom: 0; padding-top: 0; padding-bottom: clamp(32px, 7vh, 80px); color: var(--calce); }

/* ---------- lookbook ---------- */
.look { padding-block: 120px; }
.look-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.look-head .eyebrow { margin-bottom: 16px; }
.look-ctrl { display: flex; align-items: center; gap: 12px; }
.look-count { min-width: 4.5em; text-align: center; }
.look-track { list-style: none; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-left: max(var(--gm), calc((100vw - var(--max)) / 2 + var(--gm))); padding-right: var(--gm); scroll-padding-left: max(var(--gm), calc((100vw - var(--max)) / 2 + var(--gm))); }
.look-track::-webkit-scrollbar { display: none; }
.look-item { scroll-snap-align: start; }
.look-item figure { margin: 0; display: grid; gap: 16px; }
.look-item img { aspect-ratio: 3 / 4; width: 100%; height: auto; object-fit: cover; background: var(--intonaco); }
.look-item figcaption { display: grid; gap: 6px; }
.look-t { font-size: 26px; line-height: 1.15; }
.look-pieces { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--bronzo); }
.look-pieces a { color: var(--basalto); }
@media (min-width: 768px) { .look-track { grid-auto-columns: 40%; } }
@media (min-width: 1024px) { .look-track { grid-auto-columns: calc((min(100vw, var(--max)) - 2 * var(--gm) - 2 * var(--gut)) / 3.3); } }

/* ---------- newsletter ---------- */
.letters-in { display: grid; gap: 40px; padding-block: 96px; }
.letters-in .lead { margin-top: 16px; }
.nl { display: grid; gap: 12px; align-content: end; }
.nl .label { color: rgb(242 238 231 / .8); }
.nl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.nl input { min-height: 48px; padding: 0 16px; border: 0; border-radius: 0; background: rgb(242 238 231 / .08); color: var(--calce); box-shadow: inset 0 -1px 0 var(--line-on); font-size: 16px; }
.nl input::placeholder { color: rgb(242 238 231 / .45); }
.nl input:focus { outline: none; box-shadow: inset 0 -2px 0 var(--calce); }
.nl-msg { min-height: 1.5em; }
@media (min-width: 1024px) { .letters-in { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); } .letters-in > div { grid-column: 1 / span 6; } .nl { grid-column: 8 / span 5; } }

/* ---------- footer ---------- */
.ftr { background: var(--basalto); color: var(--calce); }
.ftr-in { display: grid; gap: 64px; padding-block: 80px calc(40px + env(safe-area-inset-bottom, 0px)); }
.ftr-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gut); }
.ftr-col ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; }
.ftr-col a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: rgb(242 238 231 / .82); }
.ftr-col a:hover { color: var(--calce); text-decoration: underline; }
.ftr-col .label { color: rgb(242 238 231 / .58); }
.ftr-studio p { margin-top: 16px; color: rgb(242 238 231 / .82); }
.ftr-base { display: grid; gap: 28px; padding-top: 40px; border-top: 1px solid var(--line-on); }
.ftr-lock { display: block; width: 168px; color: var(--calce); }
.ftr-lock svg { width: 100%; height: auto; display: block; }
.ftr-disc { max-width: 46em; color: rgb(242 238 231 / .72); }
.ftr-copy { color: rgb(242 238 231 / .58); }
@media (min-width: 1024px) { .ftr-top { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ftr-base { grid-template-columns: auto 1fr auto; align-items: end; gap: 48px; } }

/* ---------- shop ---------- */
.shop-head { display: grid; gap: 16px; padding-top: calc(var(--hdr) + 72px); padding-bottom: 40px; }
.shop-bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); z-index: 20; display: grid; gap: 12px; padding-block: 12px; background: rgb(242 238 231 / .96); box-shadow: 0 1px 0 var(--line); transition: top .5s var(--ease); }
.hdr-gone .shop-bar { top: env(safe-area-inset-top, 0px); }
.filters { display: grid; gap: 8px; min-width: 0; }
.fgroup { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gm)); padding-inline: var(--gm); }
.fgroup::-webkit-scrollbar { display: none; }
.fgroup .label { min-width: 3.6em; color: var(--bronzo); }
.fgroup .chip { flex: none; }
.shop-side { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.density { display: none; gap: 4px; }
.density button { width: 40px; height: 40px; font: 12px var(--mono); border-radius: var(--eased-sm); color: var(--bronzo); }
.density button[aria-pressed="true"] { color: var(--basalto); box-shadow: inset 0 0 0 1px var(--basalto); }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gut); padding-block: 40px 120px; }
.tile { position: relative; grid-column: span 2; display: block; min-height: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--intonaco); color: var(--calce); text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(28 26 23 / .55), rgb(28 26 23 / 0) 50%); }
.tile-t { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 8px; }
.tile-h { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; }
@media (hover: hover) { .tile:hover img { transform: scale(1.03); } }
.shop-empty { display: grid; justify-items: start; gap: 16px; padding-bottom: 120px; }
@media (min-width: 768px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tile { aspect-ratio: auto; } }
@media (min-width: 1024px) {
  .shop-bar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .filters { grid-auto-flow: column; justify-content: start; gap: 24px; } .fgroup { margin: 0; padding: 0; overflow: visible; }
  .density { display: flex; }
  .shop-grid[data-d="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shop-grid[data-d="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shop-grid[data-d="2"] .tile { grid-column: span 1; aspect-ratio: 4 / 5; }
}

/* ---------- product page ---------- */
.pdp { padding-top: var(--hdr); }
.pdp-grid { display: grid; gap: 32px; padding-top: 16px; }
.pdp-gallery { position: relative; min-width: 0; }
.g-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gm)); }
.g-track::-webkit-scrollbar { display: none; }
.g-item { margin: 0; scroll-snap-align: start; position: relative; background: var(--intonaco); }
.g-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.g-item figcaption { display: none; }
.g-count { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; background: rgb(242 238 231 / .92); border-radius: var(--eased-sm); }
.pdp-info { display: grid; gap: 24px; align-content: start; min-width: 0; }
.crumbs { color: var(--bronzo); } .crumbs a { color: var(--bronzo); }
.pdp-name { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.02; }
.pdp-price { font-size: 18px; font-variant-numeric: tabular-nums; margin-top: -12px; }
.pdp-block { display: grid; gap: 12px; }
.pdp-block .label a { color: inherit; }
.pdp-colours { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.pdp-colours li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 20px; height: 20px; background: var(--sw); box-shadow: inset 0 0 0 1px rgb(28 26 23 / .18); border-radius: var(--eased-sm); }
.pdp-cut { display: inline-flex; box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--eased-sm); justify-self: start; }
.pdp-cut button { min-height: 44px; padding: 0 18px; font-size: 14px; color: var(--bronzo); }
.pdp-cut button[aria-checked="true"] { color: var(--basalto); box-shadow: inset 0 -2px 0 var(--basalto); }
.pdp-uni { color: var(--bronzo); }
.pdp-sizes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; box-shadow: inset 0 0 0 1px var(--line); }
.pdp-sizes button { min-height: 52px; font: 13px var(--mono); box-shadow: inset 0 0 0 .5px var(--line); transition: background-color .25s var(--ease), color .25s var(--ease); }
.pdp-sizes button:last-of-type:not([hidden]) { border-radius: var(--eased); }
@media (hover: hover) { .pdp-sizes button:hover { background: var(--intonaco); } }
.pdp-sizes button[aria-checked="true"] { background: var(--basalto); color: var(--calce); }
.pdp-sizes.is-error { box-shadow: inset 0 0 0 1px var(--granata); }
.pdp-msg { min-height: 1.5em; margin-top: -12px; }
.pdp-msg.is-error { color: var(--granata); }
.pdp-note { color: var(--bronzo); margin-top: -8px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; list-style: none; font: 500 12px/1 var(--sans); font-stretch: 90%; letter-spacing: .12em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc-pm { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.acc[open]:not(.closing) .acc-pm { transform: rotate(45deg); }
.acc-b { padding-bottom: 20px; max-width: 36em; }
.pdp-spec { color: var(--bronzo); }
.pdp-with, .pdp-more { display: grid; gap: 24px; padding-top: 96px; }
.pdp-more { padding-bottom: 120px; }
.pdp-dock { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px max(var(--gm), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gm), env(safe-area-inset-left, 0px));
  background: rgb(242 238 231 / .97); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
.pdp-dock.is-on { transform: none; }
.pdp-dock-t { display: grid; font-size: 14px; line-height: 1.3; min-width: 0; }
.pdp-dock-t span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1024px) {
  .pdp-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding-top: 24px; }
  .pdp-gallery { grid-column: 1 / span 7; }
  .g-track { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); overflow: visible; margin: 0; }
  .g-item:first-child, .g-item:last-child:nth-child(even) { grid-column: span 2; }
  .g-item figcaption { display: block; position: absolute; left: 16px; bottom: 14px; padding: 6px 10px; background: rgb(242 238 231 / .9); border-radius: var(--eased-sm); opacity: 0; transition: opacity .3s var(--ease); }
  .g-item:hover figcaption { opacity: 1; }
  .g-count { display: none; }
  .pdp-info { grid-column: 9 / span 4; position: sticky; top: calc(var(--hdr) + 24px); padding-bottom: 40px; }
  .pdp-dock { display: none; }
}

/* ---------- collection, campaign, house, reading ---------- */
.reading { display: grid; gap: 24px; padding-block: 120px; }
.reading > * { max-width: 680px; }
.reading--page { padding-top: calc(var(--hdr) + 96px); }
.reading .h3 { margin-top: 24px; }
.credits { display: grid; margin: 0; border-top: 1px solid var(--line); }
.credits div { display: grid; gap: 4px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.credits dt { font: 500 12px/1.4 var(--sans); font-stretch: 90%; letter-spacing: .12em; text-transform: uppercase; color: var(--bronzo); }
.credits dd { margin: 0; }
@media (min-width: 1024px) { .reading > * { margin-left: calc((100% - 0px) * 3 / 12); } .credits div { grid-template-columns: 16em 1fr; } }
.lookset { display: grid; gap: 32px; padding-block: 64px; }
.lookset-img { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--intonaco); }
.lookset-img img { width: 100%; height: 100%; object-fit: cover; }
.lookset-txt { display: grid; gap: 16px; align-content: start; }
.lookset-txt .row { margin-top: 24px; }
.lookset:last-child { padding-bottom: 160px; }
@media (min-width: 1024px) {
  .lookset { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding-block: 96px; }
  .lookset-img { grid-column: 1 / span 5; } .lookset-txt { grid-column: 7 / span 6; padding-top: 8vh; }
  .lookset--flip .lookset-img { grid-column: 8 / span 5; grid-row: 1; } .lookset--flip .lookset-txt { grid-column: 1 / span 6; grid-row: 1; }
  .lookset .row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lookset-txt .row:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.cp-head { display: grid; gap: 20px; padding-top: calc(var(--hdr) + 80px); padding-bottom: 72px; }
.cp-head .lead { max-width: 36em; }
.cp-room { margin: 0 0 96px; }
.cp-room img { width: 100%; height: auto; }
.cp-cap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; padding-top: 16px; padding-left: max(var(--gm), calc((100vw - var(--max)) / 2 + var(--gm))); padding-right: var(--gm); }
.cp-links { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--bronzo); }
.cp-links a { color: var(--basalto); }
.cp-pair { display: grid; gap: 48px; margin-bottom: 96px; }
.cp-one { margin: 0; }
.cp-one img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--intonaco); }
.cp-pair .cp-cap { padding-left: 0; }
@media (min-width: 1024px) {
  .cp-pair { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); margin-bottom: 160px; }
  .cp-pair .cp-one:first-child { grid-column: 1 / span 6; } .cp-pair .cp-one:last-child { grid-column: 8 / span 5; margin-top: 30vh; }
  .cp-room { margin-bottom: 160px; }
}
.end { display: grid; justify-items: start; gap: 28px; padding-block: 40px 160px; }
.chapter { display: grid; gap: 40px; padding-block: 72px; }
.chapter-imgs { position: relative; display: grid; gap: var(--gut); }
.chapter-imgs figure { margin: 0; overflow: hidden; background: var(--intonaco); }
.chapter-imgs img { width: 100%; height: 100%; object-fit: cover; }
.ch-a { aspect-ratio: 4 / 5; }
.ch-b { aspect-ratio: 4 / 5; width: 62%; justify-self: end; margin-top: -30%; }
.chapter-txt { display: grid; gap: 20px; align-content: start; }
.chapter-txt .lnk { justify-self: start; }
.dt { margin: 8px 0 0; border-top: 1px solid var(--line); }
.dt-row { display: grid; gap: 6px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.dt dt { font: 400 22px/1.2 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; }
.dt dd { margin: 0; color: var(--bronzo); max-width: 34em; }
.tbl { overflow-x: auto; margin-top: 8px; }
.tbl table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.tbl td.mono { white-space: nowrap; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font: 500 12px/1.3 var(--sans); font-stretch: 90%; letter-spacing: .12em; text-transform: uppercase; color: var(--bronzo); }
.tbl tbody th { font: 400 18px/1.2 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; }
@media (min-width: 1024px) {
  .chapter { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); padding-block: 120px; }
  .chapter-imgs { grid-column: 1 / span 6; } .chapter-txt { grid-column: 8 / span 5; padding-top: 6vh; }
  .chapter--flip .chapter-imgs { grid-column: 8 / span 5; grid-row: 1; } .chapter--flip .chapter-txt { grid-column: 1 / span 6; grid-row: 1; }
  .ch-b { position: absolute; right: -8%; bottom: -12%; width: 46%; margin: 0; }
  .dt-row { grid-template-columns: 12em 1fr; gap: 24px; }
}
.nf { min-height: 80vh; display: grid; align-content: center; justify-items: start; gap: 24px; padding-top: calc(var(--hdr) + 64px); padding-bottom: 96px; }
.nf-mark { width: 140px; height: auto; color: var(--cipresso); }

/* ---------- overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 85; background: rgb(28 26 23 / .4); opacity: 0; transition: opacity .5s var(--ease); }
.scrim.is-on { opacity: 1; }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--calce); overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); }
.menu-in { display: grid; gap: 32px; padding-block: 8px 48px; min-height: 100%; align-content: start; }
.menu-top { display: flex; justify-content: space-between; align-items: center; min-height: var(--hdr); }
.menu-big { list-style: none; margin: 0; padding: 0; display: grid; }
.menu-big a { display: block; font-size: 40px; line-height: 1.2; padding-block: 8px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-small { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gut); }
.menu-small a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.menu-foot { color: var(--bronzo); }
.search { position: fixed; z-index: 90; left: 0; right: 0; top: 0; max-height: 100vh; overflow-y: auto; background: var(--calce); box-shadow: 0 1px 0 var(--line); padding-top: env(safe-area-inset-top, 0px); }
.search-in { display: grid; gap: 20px; padding-block: 16px 40px; }
.search-top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--basalto); }
.search-top input { min-height: 64px; border: 0; background: none; font: 300 clamp(26px, 3vw, 40px)/1.2 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0; color: var(--basalto); }
.search-top input:focus { outline: none; }
.search-top input::placeholder { color: var(--pietra); }
.search-hint button { min-height: 40px; padding: 0 8px; text-decoration: underline; text-underline-offset: 4px; }
.search-res { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gut); }
@media (min-width: 1024px) { .search-res { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.bag { position: fixed; z-index: 95; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: grid; grid-template-rows: auto 1fr auto; background: var(--calce); padding-top: env(safe-area-inset-top, 0px); transform: translateX(100%); transition: transform .6s var(--ease-io); }
.bag.is-on { transform: none; }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line); }
.bag-t { font-size: 28px; }
.bag-body { overflow-y: auto; padding: 8px 24px; }
.bag-list { list-style: none; margin: 0; padding: 0; }
.bag-item { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.bag-item img { width: 88px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--intonaco); }
.bag-item-t { display: grid; gap: 4px; align-content: start; font-size: 14px; }
.bag-item-t a { font-weight: 500; text-decoration: none; }
.bag-item-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.bag-item-row button { min-height: 40px; text-decoration: underline; text-underline-offset: 4px; color: var(--bronzo); }
.bag-empty { padding-block: 24px; }
.bag-foot { display: grid; gap: 12px; padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.bag-sum { display: flex; justify-content: space-between; font-weight: 500; font-variant-numeric: tabular-nums; }
.bag-note { color: var(--bronzo); }
.bag-concept { padding: 12px 14px; background: var(--intonaco); border-radius: var(--eased-sm); }
html.is-locked { overflow: hidden; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .15s !important; animation-duration: .01s !important; scroll-behavior: auto !important; }
}
.rm *, .rm *::before, .rm *::after { transition-duration: .15s !important; }
.rm .btn::before { transform: none; opacity: 0; transition: opacity .15s !important; }
@media (hover: hover) { .rm .btn:hover::before { opacity: 1; } }
.rm .btn:focus-visible::before { opacity: 1; }
@media (min-width: 1024px) { .fit:not(.is-stage) .fit-ctrl { display: none; } }
.hdr-logo { display: flex; align-items: center; min-height: 44px; }
.pair-shop a { display: inline-flex; align-items: center; min-height: 44px; }
.cp-links a { display: inline-flex; align-items: center; min-height: 40px; }
.pdp-block .lnk { justify-self: start; }

/* ---------- smooth scrolling (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- depth and the cloth coming closer ---------- */
.px img { transition: opacity .4s var(--ease) !important; }
.cp-frame { overflow: hidden; background: var(--intonaco); }
.cp-one .cp-frame { aspect-ratio: 4 / 5; }
.cp-one .cp-frame img { height: 100%; }

/* ---------- fabric loupe on product images ---------- */
.can-zoom { overflow: hidden; cursor: zoom-in; }
.can-zoom img { transition: transform .7s var(--ease); }
.can-zoom.is-zoom img { transform: scale(2.1); transition-duration: .9s; }
.can-zoom.is-zoom figcaption { opacity: 0 !important; }

/* ---------- quieter, richer hover ---------- */
@media (hover: hover) {
  .card-link:hover .card-img img { transform: scale(1.035); transition: opacity .5s var(--ease), transform 1.8s var(--ease); }
  .card-link:hover .card-name { text-decoration: underline; text-underline-offset: 4px; }
  .look-item img { transition: transform 1.6s var(--ease), opacity .6s var(--ease); }
  .look-track:hover .look-item:not(:hover) img { opacity: .62; }
  .look-item:hover img { transform: scale(1.025); }
  .look-item figure { overflow: hidden; }
  .pair-shop li a { transition: transform .5s var(--ease); }
  .pair-shop li:hover a { transform: translateX(6px); }
  .ftr-col a { background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s var(--ease); }
  .ftr-col a:hover { background-size: 100% 1px; text-decoration: none; }
  .tile img { transition: transform 1.8s var(--ease); }
  .tile:hover img { transform: scale(1.04); }
}
.look-item img { display: block; }

/* ---------- page transitions: the new page rises over the old, the product image travels ---------- */
@view-transition { navigation: auto; }
.hdr { view-transition-name: na-hdr; }
.g-item:first-child img { view-transition-name: na-product; }
::view-transition-old(root) { animation: na-vt-out .55s cubic-bezier(0.65, 0, 0.35, 1) both; }
::view-transition-new(root) { animation: na-vt-in .85s cubic-bezier(0.22, 1, 0.36, 1) both; }
::view-transition-group(na-product) { animation-duration: .85s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
::view-transition-group(na-hdr) { animation-duration: .4s; }
@keyframes na-vt-out { to { opacity: .4; transform: translateY(-1.5%); } }
@keyframes na-vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
