/* Colin Erwin, Zürich. Cream paper, stoat brown, espresso ink.
   Archivo throughout: Expanded for the name and the small capitals, normal width for everything you read. */
:root {
  --cream: #EFE6D6;
  --paper: #F5EFE4;
  --butter: #E6D6A8;
  --camel: #B98B5B;
  --stoat: #4A2F1F;
  --espresso: #2B1E16;
  --studio: #D3C9C4;
  --stoat-tone: #5A3B2A;
  --line: rgba(43, 30, 22, .2);
  --line-light: rgba(239, 230, 214, .26);
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --serif: var(--sans); /* one family, kept as an alias */
  --gutter: clamp(18px, 3.2vw, 48px);
  --max: 1560px;
  --ease: cubic-bezier(.22, .8, .18, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 2px solid var(--camel); outline-offset: 4px; }
::selection { background: var(--stoat); color: var(--cream); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { opacity: .66; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--espresso); color: var(--cream); padding: 10px 14px; font-family: var(--sans); font-size: 14px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* The small capitals: Archivo Expanded, as in the brand book */
.label, .btn, .link, .nav, .bag-btn, .menu-btn, .close, .price, .piece-no, .piece-hint, .worn button, .field span, .sizes span, .step-no, .prices, .foot-nav, .foot-bottom, .status, .bag-row, .bag-list, .check, .specs dt {
  font-family: var(--sans);
}
.label { font-stretch: 125%; font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; }
.wordmark { font-family: var(--sans); font-stretch: 125%; font-weight: 500; letter-spacing: .03em; white-space: nowrap; }
.display { font-family: var(--sans); font-weight: 300; font-size: clamp(42px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.025em; }
.display em { font-style: normal; }
.piece-name { font-family: var(--sans); font-stretch: 125%; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.15; color: var(--stoat); }
.piece-colour { font-size: 16px; opacity: .75; }

/* The block lockup: letters stacked in pairs, flush left and right */
.block { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; justify-items: center; row-gap: .14em; line-height: .74; margin: 0; font-family: var(--sans); font-stretch: 125%; font-weight: 500; }
.block span:nth-child(5n+1) { justify-self: start; }
.block span:nth-child(5n) { justify-self: end; }
.spread { display: flex; justify-content: space-between; margin: 0; font-family: var(--sans); font-stretch: 125%; font-weight: 500; line-height: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--espresso); color: var(--cream);
  min-height: 52px; padding: 0 28px;
  font-stretch: 125%; font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--espresso); white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn-light { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link {
  font-stretch: 125%; font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 4px;
  transition: background-size .5s var(--ease);
}
/* Hover only where there is a pointer, so taps on a phone don't leave buttons stuck half-styled */
@media (hover: hover) {
  .btn:hover { background: transparent; color: var(--espresso); }
  .btn-light:hover { background: transparent; color: var(--cream); }
  .link:hover { background-size: 0 1px; background-position: 100% 100%; }
  .piece-photo:hover .alt { opacity: 1; }
  .piece-photo:hover .piece-hint { opacity: 1; transform: none; }
}

/* Film grain, light and cheap to draw */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .12 0 0 0 0 .09 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Intro ---------- */
.curtain { display: none; }
html.intro .curtain {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 150;
  background: var(--cream); color: var(--stoat);
  animation: curtain-up 1.1s var(--ease-in-out) 2.15s forwards;
}
html.intro body { overflow: hidden; }
.curtain-inner { display: flex; flex-direction: column; align-items: stretch; gap: 30px; width: min(70vw, 340px); }
.curtain-track { position: relative; width: 100%; height: 44px; border-bottom: 1px solid var(--line); }
.curtain-weasel { position: absolute; bottom: 5px; left: 0; width: 84px; height: 38px; animation: run-across 1.2s var(--ease) .15s both; }
.curtain-name { width: 100%; font-size: min(14vw, 68px); }
.curtain-name span { opacity: 0; transform: translateY(40%); animation: letter-in .7s var(--ease) both; }
.curtain-name span:nth-child(1) { animation-delay: .9s; } .curtain-name span:nth-child(2) { animation-delay: .95s; }
.curtain-name span:nth-child(3) { animation-delay: 1s; } .curtain-name span:nth-child(4) { animation-delay: 1.05s; }
.curtain-name span:nth-child(5) { animation-delay: 1.1s; } .curtain-name span:nth-child(6) { animation-delay: 1.15s; }
.curtain-name span:nth-child(7) { animation-delay: 1.2s; } .curtain-name span:nth-child(8) { animation-delay: 1.25s; }
.curtain-name span:nth-child(9) { animation-delay: 1.3s; } .curtain-name span:nth-child(10) { animation-delay: 1.35s; }
.curtain-city { font-size: 12px; opacity: 0; animation: fade-in .8s ease 1.5s forwards; }
@keyframes run-across { from { left: 0; } to { left: calc(100% - 84px); } }
@keyframes letter-in { to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes curtain-up { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  color: var(--espresso);
  transition: background .5s var(--ease), transform .6s var(--ease), box-shadow .5s;
}
.header.solid { background: rgba(239, 230, 214, .94); box-shadow: 0 1px 0 var(--line); }
.header.hide { transform: translateY(-100%); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 68px; padding: 0 var(--gutter); }
.nav { display: flex; align-items: center; gap: 30px; font-stretch: 125%; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.nav a, .bag-btn, .menu-btn { text-decoration: none; position: relative; text-transform: uppercase; }
.nav a::after, .bag-btn::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .bag-btn:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { justify-content: flex-end; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--stoat); }
.brand-weasel { width: 44px; height: 20px; }
.brand .wordmark { font-size: 16px; color: var(--espresso); }
.count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 6px; margin-left: 6px; border-radius: 11px; background: var(--espresso); color: var(--cream); font-size: 10.5px; letter-spacing: 0; font-variant-numeric: tabular-nums; transition: transform .4s var(--ease); }
.count.bump { transform: scale(1.25); }
.menu-btn { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--gutter) 36px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out);
}
.menu.open { clip-path: inset(0); }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { text-decoration: none; font-weight: 300; letter-spacing: -.02em; font-size: clamp(38px, 11vw, 64px); line-height: 1.1; }
.menu-foot { display: flex; flex-direction: column; gap: 18px; }
.menu-foot p { font-size: 15px; opacity: .75; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 660px; overflow: hidden;
  background: linear-gradient(180deg, #C3B6B1 0%, #D2C7C2 48%, #DED4D0 100%);
}
.hero-photo {
  position: absolute; right: 0; bottom: 0; height: 100%; aspect-ratio: 1122 / 1402; max-width: 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.js .hero-photo img { transform: scale(1.06); opacity: 0; transition: transform 2.4s var(--ease), opacity 1.6s ease; }
.js .loaded .hero-photo img { transform: none; opacity: 1; }
.hero-copy {
  position: absolute; left: var(--gutter); top: 0; bottom: 0; z-index: 2;
  width: clamp(300px, 36vw, 560px);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 5vh, 60px);
  padding: 90px 0 120px;
}
.lockup { color: var(--stoat); display: flex; flex-direction: column; gap: .36em; font-size: clamp(60px, 7.2vw, 112px); }
.lockup .block { width: 100%; font-size: 1em; }
.lockup .spread { font-size: .16em; }
.hero-lede { display: flex; flex-direction: column; gap: 26px; max-width: 26rem; }
.hero-lede p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.worn { position: absolute; left: var(--gutter); bottom: 32px; z-index: 2; display: flex; align-items: baseline; gap: 26px; }
.worn ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.worn button { font-stretch: 125%; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-decoration-color: rgba(43, 30, 22, .35); text-underline-offset: 5px; transition: text-decoration-color .3s; }
.worn button:hover { text-decoration-color: currentColor; }
.worn button img { display: none; }
.worn .label { opacity: .6; }
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.3s var(--ease); }
.js .loaded .rise { opacity: 1; transform: none; }
.js .loaded .hero-lede.rise { transition-delay: .15s; }
.js .loaded .worn.rise { transition-delay: .3s; }

/* Scroll reveals */
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease, transform 1.2s var(--ease); }
.js .fade.in { opacity: 1; transform: none; }
.js .reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-in-out); }
.js .reveal img { transform: scale(1.14); transition: transform 2s var(--ease); }
.js .reveal.in { clip-path: inset(0); }
.js .reveal.in img { transform: none; }
figcaption { font-size: 14px; margin-top: 12px; opacity: .75; }

/* ---------- The idea ---------- */
.idea { padding: clamp(110px, 15vh, 190px) 0 clamp(100px, 12vw, 170px); }
.idea-label { border-top: 1px solid var(--espresso); padding-top: 16px; margin-bottom: clamp(48px, 6vw, 96px); }
.scrub { font-size: clamp(30px, 4vw, 64px); font-weight: 300; line-height: 1.12; letter-spacing: -.025em; max-width: 22ch; margin-left: 25%; }
.scrub .w { opacity: .14; transition: opacity .25s linear; }
.scrub .w.on { opacity: 1; }
.idea-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin: clamp(70px, 9vw, 130px) 0 0 25%; max-width: 900px; }

/* ---------- Collection ---------- */
.collection { background: var(--paper); padding: clamp(100px, 12vw, 170px) 0 clamp(80px, 10vw, 150px); }
.col-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; border-bottom: 1px solid var(--espresso); padding-bottom: 32px; margin-bottom: clamp(70px, 9vw, 130px); }
.col-head .label { margin-bottom: 18px; }
.col-head .display { font-size: clamp(52px, 8vw, 132px); line-height: .95; color: var(--stoat); }
.col-intro { display: flex; flex-direction: column; gap: 14px; max-width: 28rem; }
.piece { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); align-items: end; margin-bottom: clamp(90px, 12vw, 180px); }
.piece-photo { position: relative; display: block; width: 100%; aspect-ratio: 1122 / 1402; overflow: hidden; background: var(--studio); }
.piece-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.piece-photo .alt { opacity: 0; transition: opacity .9s ease; }
.piece-photo:focus-visible .alt { opacity: 1; }
.piece-hint { position: absolute; left: 16px; bottom: 16px; font-stretch: 125%; font-weight: 500; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--espresso); background: var(--paper); padding: 7px 10px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
.piece-photo:focus-visible .piece-hint { opacity: 1; transform: none; }
.piece-text { display: flex; flex-direction: column; gap: 14px; max-width: 28rem; padding-bottom: 6px; }
.piece-no { font-stretch: 125%; font-size: 11px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.piece-no span { opacity: .45; }
.piece-text .piece-colour { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.piece-buy { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.price { font-variant-numeric: tabular-nums; font-size: 14px; letter-spacing: .04em; }
.price s { opacity: .45; margin-right: 8px; }
.piece-a .piece-photo { grid-column: 1 / span 7; }
.piece-a .piece-text { grid-column: 9 / span 4; }
.piece-b .piece-text { grid-column: 2 / span 4; grid-row: 1; }
.piece-b .piece-photo { grid-column: 7 / span 5; grid-row: 1; }
.piece-c .piece-photo { grid-column: 2 / span 6; }
.piece-c .piece-text { grid-column: 9 / span 4; }

.look { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 48px); align-items: center; border-top: 1px solid var(--espresso); border-bottom: 1px solid var(--espresso); padding: 26px 0; }
.look-thumbs { display: flex; gap: 6px; }
.look-thumbs img { width: 68px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--studio); }
.look-copy { display: flex; flex-direction: column; gap: 6px; }
.look-copy p { font-size: 16px; max-width: 34rem; }
.look-buy { display: flex; align-items: center; gap: 24px; }

/* ---------- The weasel ---------- */
.weasel-story { position: relative; overflow: hidden; background: var(--stoat); color: var(--cream); padding: clamp(100px, 11vw, 160px) 0; }
.runner { position: absolute; top: clamp(40px, 5vw, 80px); left: 0; right: 0; pointer-events: none; }
.runner-weasel { width: clamp(260px, 30vw, 480px); height: auto; aspect-ratio: 522.3 / 232.7; color: var(--stoat-tone); will-change: transform; }
.ws-grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); align-items: center; }
.ws-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 22px; }
.ws-copy .display { margin-bottom: 8px; }
.ws-copy p:not(.label) { max-width: 30rem; }
.ws-photo { grid-column: 7 / span 5; position: relative; overflow: hidden; }
.ws-photo img { width: 100%; aspect-ratio: 774 / 887; object-fit: cover; }
.ws-photo figcaption, .ws-photo-2 figcaption { color: var(--cream); }
.ws-photo-2 { width: clamp(160px, 15vw, 230px); margin-top: 18px; }
.ws-photo-2 img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }

/* ---------- Made in Italy ---------- */
.making { padding: clamp(110px, 12vw, 180px) 0; }
.making-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); align-items: start; }
.making-copy { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 22px; }
.making-copy > p:not(.label) { max-width: 32rem; }
.making-copy .display { color: var(--stoat); }
.cloths { margin: 22px 0 0; border-top: 1px solid var(--espresso); }
.cloths div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cloths dt { font-family: var(--sans); font-stretch: 125%; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding-top: 6px; }
.cloths dd { margin: 0; font-size: 16px; }
.making-photo { grid-column: 8 / span 5; position: sticky; top: 100px; }
.making-photo { overflow: hidden; }
.making-photo img { width: 100%; aspect-ratio: 602 / 752; object-fit: cover; }

/* ---------- How it works ---------- */
.reserving { background: var(--butter); padding: clamp(110px, 12vw, 180px) 0; }
.res-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(50px, 6vw, 90px); }
.res-head .display { color: var(--stoat); max-width: 14ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 40px); }
.steps li { border-top: 1px solid var(--espresso); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step-no { font-stretch: 125%; font-weight: 500; font-size: 11px; letter-spacing: .14em; }
.steps h3 { font-size: 22px; font-weight: 400; letter-spacing: -.01em; line-height: 1.2; color: var(--stoat); }
.steps p { font-size: 16px; }
.prices { width: 100%; max-width: 720px; margin-top: clamp(60px, 7vw, 110px); border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.prices caption { text-align: left; padding-bottom: 14px; }
.prices th, .prices td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.prices thead th { font-stretch: 125%; font-weight: 500; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; border-bottom-color: var(--espresso); }
.prices td { text-align: right; width: 9rem; }
.prices thead th:not(:first-child) { text-align: right; }
.prices .row-look th, .prices .row-look td { font-weight: 600; border-bottom-color: var(--espresso); }

/* ---------- Letters ---------- */
.letters { background: var(--espresso); color: var(--cream); padding: clamp(110px, 12vw, 180px) 0; }
.letters-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.letters .display { font-size: clamp(48px, 7vw, 116px); line-height: .98; }
.letters-form { display: flex; flex-direction: column; gap: 22px; }
.letters-form > p:first-child { max-width: 28rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 12px; opacity: .8; }
.field input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid currentColor; padding: 12px 0; font-size: 17px; border-radius: 0; }
.field input:focus { outline: none; border-bottom-width: 2px; padding-bottom: 11px; }
.field input::placeholder { color: inherit; opacity: .4; }
.status { font-size: 13px; min-height: 1.4em; line-height: 1.5; }
#pdp-status:not(:empty) { margin-top: 12px; }
.letters .status { color: var(--butter); }

/* ---------- Footer ---------- */
.footer { background: var(--stoat); color: var(--cream); }
.footer .wrap { padding-top: clamp(90px, 10vw, 150px); padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: clamp(60px, 7vw, 100px); }
.foot-lockup { width: clamp(220px, 22vw, 300px); display: flex; flex-direction: column; gap: 28px; text-decoration: none; }
.foot-lockup svg { width: 100%; height: auto; aspect-ratio: 522.3 / 232.7; }
.foot-lockup .block { font-size: calc(clamp(220px, 22vw, 300px) / 5); }
.foot-lockup .spread { font-size: 12px; margin-top: -8px; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-stretch: 125%; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-bottom { align-self: stretch; display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; font-size: 12px; border-top: 1px solid var(--line-light); padding-top: 22px; opacity: .85; }

/* ---------- Sheets ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(43, 30, 22, .42); opacity: 0; transition: opacity .5s ease; }
.scrim.open { opacity: 1; }
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(100%, 1040px);
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .8s var(--ease-in-out);
}
.sheet.open { transform: none; }
.sheet-narrow { width: min(100%, 480px); }
.sheet-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); }
.close { font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding: 24px var(--gutter) 60px; }
.pdp-shots { display: flex; flex-direction: column; gap: 10px; }
.pdp-shots img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--studio); }
.pdp-info { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
.pdp-info .piece-name { font-size: clamp(22px, 2.2vw, 30px); }
.pdp-price { font-family: var(--sans); font-size: 15px; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.pdp-price .muted { font-size: 13px; margin-left: 8px; }
.sizes { border: 0; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes legend { margin-bottom: 12px; padding: 0; }
.sizes label { position: relative; }
.sizes input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sizes span { display: grid; place-items: center; min-width: 54px; height: 46px; padding: 0 10px; border: 1px solid var(--line); font-size: 13px; transition: background .3s, border-color .3s, color .3s; }
.sizes label:hover span { border-color: var(--espresso); }
.sizes input:checked + span { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.sizes input:focus-visible + span { outline: 2px solid var(--camel); outline-offset: 2px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.specs dt { font-size: 12px; opacity: .6; padding-top: 3px; }
.specs dd { margin: 0; }
.bag-body { padding: 8px var(--gutter) 48px; display: flex; flex-direction: column; gap: 20px; }
.bag-list { list-style: none; margin: 0; padding: 0; }
.bag-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bag-list img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--studio); }
.bag-list p { font-size: 14px; }
.bag-list .small { font-size: 12px; opacity: .7; margin-top: 2px; }
.bag-list button { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.bag-empty { font-size: 16px; padding: 16px 0; }
.bag-sum { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.bag-row { display: flex; justify-content: space-between; font-size: 14px; font-variant-numeric: tabular-nums; }
.bag-look { color: var(--stoat); }
.bag-form { display: flex; flex-direction: column; gap: 18px; }
.pay { border: 0; margin: 0 0 6px; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.pay legend { font-size: 16px; padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 13px; line-height: 1.5; align-items: start; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--stoat); }
.check b { font-weight: 600; }
.bag-done { display: flex; flex-direction: column; gap: 16px; padding: 20px 0; }
.bag-done svg { width: 120px; height: 54px; color: var(--stoat); }
.bag-done .piece-name { font-size: 28px; }
.bag-due { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }

/* Paying the CHF 50 deposit */
.payit { display: flex; flex-direction: column; gap: 18px; margin-top: 4px; }
.payit[hidden], .pay-panel[hidden], .pay-tabs[hidden], .pay-qr[hidden] { display: none; }
.pay-ref { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); }
.pay-ref b { font-stretch: 125%; font-weight: 600; font-size: 20px; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--espresso); }
.pay-tabs button { min-height: 46px; font-stretch: 125%; font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; transition: background .3s var(--ease), color .3s var(--ease); }
.pay-tabs button[aria-selected="true"] { background: var(--espresso); color: var(--cream); }
.pay-tabs button:focus-visible { outline: 2px solid var(--stoat); outline-offset: 2px; }
.pay-panel { display: flex; flex-direction: column; gap: 14px; }
.pay-how, .pay-later { font-size: 14px; line-height: 1.5; }
.pay-qr { margin: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pay-qr img, .qr-bill > div { width: 200px; height: 200px; background: #fff; }
.qr-bill > div svg { width: 100%; height: 100%; }
.pay-qr figcaption { font-size: 12.5px; opacity: .75; line-height: 1.45; max-width: 34ch; }
.pay-rows { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.pay-rows > div { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pay-rows dt { font-size: 12px; opacity: .66; }
.pay-rows dd { margin: 2px 0 0; grid-column: 1; font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pay-rows .copy { grid-column: 2; grid-row: 1 / span 2; min-height: 40px; padding: 0 4px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.show-phone { display: none; }
@media (max-width: 760px) {
  .show-phone { display: inline; }
  .hide-phone { display: none; }
  .qr-bill > div { width: 180px; height: 180px; }
}
html.locked, html.locked body { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-left a:nth-child(3) { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav-left { display: none; }
  .header-row { grid-template-columns: auto 1fr; }
  .nav-right { gap: 18px; }
  .bag-btn { font-size: 0; letter-spacing: 0; }
  .bag-btn .count { font-size: 10.5px; margin: 0; }
  .menu-btn { display: inline-block; }
  .hero { height: auto; min-height: 0; padding-top: 68px; display: flex; flex-direction: column; }
  .hero-photo { position: relative; right: auto; width: 100%; max-width: 560px; height: auto; margin: 0 auto; -webkit-mask-image: none; mask-image: none; }
  .hero-copy { position: relative; left: auto; top: auto; bottom: auto; width: auto; padding: 40px var(--gutter) 0; gap: 34px; }
  .lockup { font-size: min(17vw, 96px); width: min(100%, 480px); }
  .worn { position: relative; left: auto; bottom: auto; flex-direction: column; gap: 12px; padding: 36px var(--gutter) 44px; }
  .worn ul { flex-direction: column; gap: 12px; }
  .scrub, .idea-cols { margin-left: 0; }
  .idea-cols { grid-template-columns: 1fr; }
  .col-head, .letters-grid { grid-template-columns: 1fr; }
  .piece { grid-template-columns: 1fr; gap: 26px; }
  .piece .piece-photo, .piece .piece-text { grid-column: 1 !important; grid-row: auto !important; }
  .piece-b .piece-photo { order: -1; }
  .look { grid-template-columns: 1fr; }
  .look-buy { justify-content: space-between; flex-wrap: wrap; }
  .ws-grid, .making-grid { grid-template-columns: 1fr; gap: 40px; }
  .ws-copy, .ws-photo, .making-copy, .making-photo { grid-column: 1; }
  .ws-photo-2 { width: 50%; }
  .making-photo { position: static; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .pdp-shots { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; }
  .pdp-shots img { width: 82%; flex: none; scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .cloths div { grid-template-columns: 1fr; gap: 6px; }
  .brand .wordmark { font-size: 13px; }
  .brand-weasel { width: 36px; height: 16px; }
  .look-buy { flex-direction: column; align-items: stretch; }
  .prices td { width: auto; }
  .foot-bottom { justify-content: center; text-align: center; }
}
/* ---------- Phones: a layout of its own ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  html, body { overflow-x: clip; }
  body { font-size: 16px; line-height: 1.5; }
  .display { letter-spacing: -.03em; }

  /* Header: slim, thumb-sized targets */
  .header-row { height: 56px; }
  .brand { gap: 9px; }
  .nav-right { gap: 6px; }
  .bag-btn, .menu-btn { min-height: 44px; display: inline-flex; align-items: center; }
  .bag-btn { min-width: 32px; justify-content: center; }
  .menu { padding: 92px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }

  /* Hero: one full-screen picture, the name set in cream over its foot */
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; padding-top: 0; height: auto; min-height: 0; background: var(--cream); }
  .hero-photo { grid-area: 1 / 1; position: relative; width: 100%; max-width: none; height: 100svh; min-height: 580px; max-height: 920px; aspect-ratio: auto; margin: 0; }
  .hero-photo { background: #CDC3BE; }
  .hero-photo img { object-position: 50% 22%; }
  .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 30, 22, 0) 42%, rgba(43, 30, 22, .5) 68%, rgba(43, 30, 22, .9) 100%); }
  .hero-copy { grid-area: 1 / 1; align-self: end; position: relative; z-index: 2; width: auto; padding: 0 var(--gutter) 30px; gap: 22px; color: var(--cream); }
  .lockup { color: var(--cream); font-size: 12.5vw; width: 62vw; }
  .hero-lede { gap: 22px; max-width: none; }
  .hero-lede p { font-size: 15.5px; line-height: 1.5; max-width: 33ch; }
  .hero-actions { gap: 22px; flex-wrap: nowrap; }
  .hero .btn { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
  .hero .link { color: var(--cream); }
  .worn { grid-area: 2 / 1; position: relative; left: auto; bottom: auto; flex-direction: column; align-items: stretch; gap: 12px; padding: 22px 0 26px; }
  .worn .label { padding: 0 var(--gutter); }
  .worn ul { flex-direction: row; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .worn ul::-webkit-scrollbar { display: none; }
  .worn li { flex: none; }
  .worn button { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 14px 4px 4px; border: 1px solid var(--line); text-decoration: none; white-space: nowrap; background: var(--paper); }
  .worn button img { display: block; width: 34px; height: 42px; object-fit: cover; background: var(--studio); }

  /* The idea */
  .idea { padding: 76px 0 84px; }
  .idea-label { margin-bottom: 30px; }
  .scrub { font-size: 29px; line-height: 1.17; max-width: none; letter-spacing: -.02em; }
  .idea-cols { margin-top: 44px; gap: 18px; }

  /* Collection: full-bleed pictures, the second view inset so it's visible without hover */
  .collection { padding: 76px 0 64px; }
  .col-head { gap: 20px; padding-bottom: 24px; margin-bottom: 40px; }
  .col-head .label { margin-bottom: 14px; }
  .col-head .display { font-size: 12.4vw; line-height: .95; }
  .col-intro { gap: 10px; }
  .piece { gap: 0; margin-bottom: 60px; }
  .piece .piece-photo { width: auto; margin: 0 calc(-1 * var(--gutter)); }
  .piece-photo .alt { opacity: 1; inset: auto 14px 14px auto; width: 28%; height: auto; aspect-ratio: 4 / 5; outline: 3px solid var(--paper); }
  .piece-hint { opacity: 1; transform: none; left: auto; right: 11px; bottom: calc(28% + 28px); font-size: 9px; padding: 5px 7px; }
  .piece-text { max-width: none; gap: 10px; padding: 22px 0 0; }
  .piece-text .piece-colour { padding-bottom: 12px; }
  .piece-text > p:not([class]) { font-size: 15.5px; }
  .piece-buy { align-items: center; padding-top: 14px; margin-top: 4px; }
  .piece-buy .price { font-size: 15px; }
  .piece-buy .link { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; background: var(--espresso); color: var(--cream); background-image: none; }
  .look { gap: 16px; padding: 22px 0 0; border-bottom: 0; }
  .look-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .look-thumbs img { width: 100%; }
  .look-buy { flex-direction: column; align-items: stretch; gap: 14px; }
  .look-buy .price { font-size: 15px; }
  .look-buy .btn { width: 100%; }

  /* The weasel: the detail overlaps the big close-up */
  .weasel-story { padding: 84px 0 72px; }
  .runner { top: 26px; }
  .runner-weasel { width: 190px; }
  .ws-grid { gap: 0; }
  .ws-copy { gap: 18px; }
  .ws-photo-2 { position: relative; z-index: 2; width: 46%; margin: 26px 0 -72px auto; }
  .ws-photo-2 figcaption { display: none; }
  .ws-photo { margin: 0 calc(-1 * var(--gutter)); }
  .ws-photo figcaption { padding: 0 var(--gutter); }

  /* Made in Italy */
  .making { padding: 0 0 80px; }
  .making-grid { gap: 40px; }
  .making-photo { order: -1; margin: 0 calc(-1 * var(--gutter)); }
  .making-photo img { aspect-ratio: 1 / 1; object-position: 50% 30%; }
  .making-photo figcaption { padding: 0 var(--gutter); }
  .making-copy { gap: 18px; }
  .cloths { margin-top: 12px; }
  .cloths div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .cloths dt { padding-top: 0; }
  .cloths dd { font-size: 15.5px; }

  /* How it works: a vertical timeline */
  .reserving { padding: 80px 0; }
  .res-head { gap: 14px; margin-bottom: 36px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; border-top: 0; padding: 0 0 28px; }
  .steps li::before { content: ''; position: absolute; left: 15.5px; top: 38px; bottom: 6px; width: 1px; background: var(--espresso); opacity: .3; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li:last-child::before { display: none; }
  .step-no { grid-row: 1 / span 2; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--espresso); border-radius: 50%; letter-spacing: 0; }
  .steps h3 { grid-column: 2; font-size: 20px; padding-top: 4px; }
  .steps p { grid-column: 2; font-size: 15.5px; }
  .prices { margin-top: 48px; font-size: 13.5px; }
  .prices th[scope="row"] { padding-right: 10px; }
  .prices td { width: auto; white-space: nowrap; padding-left: 12px; }
  .prices thead th { font-size: 9.5px; letter-spacing: .1em; }

  /* Letters */
  .letters { padding: 80px 0 88px; }
  .letters-grid { gap: 28px; }
  .letters .display { font-size: 13.4vw; }
  .letters .btn { width: 100%; }

  /* Footer */
  .footer .wrap { padding-top: 72px; padding-bottom: calc(26px + env(safe-area-inset-bottom)); gap: 52px; }
  .foot-lockup { width: 200px; gap: 22px; }
  .foot-lockup .block { font-size: 40px; }
  .foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; width: 100%; }
  .foot-nav a { padding: 15px 0; border-top: 1px solid var(--line-light); }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }

  /* Sheets rise from the bottom */
  .sheet, .sheet-narrow { top: auto; left: 0; right: 0; width: 100%; max-height: calc(100svh - 34px); border-radius: 16px 16px 0 0; transform: translateY(100%); transition: transform .65s var(--ease-in-out); }
  .sheet-bar { padding: 22px var(--gutter) 12px; border-radius: 16px 16px 0 0; }
  .sheet-bar::before { content: ''; position: absolute; left: 50%; top: 8px; width: 38px; height: 4px; margin-left: -19px; border-radius: 2px; background: var(--line); }
  .close { min-height: 40px; display: inline-flex; align-items: center; }
  .pdp { padding: 14px 0 calc(32px + env(safe-area-inset-bottom)); gap: 18px; }
  .pdp-shots { padding: 0 var(--gutter); scroll-padding: 0 var(--gutter); gap: 8px; scrollbar-width: none; }
  .pdp-shots::-webkit-scrollbar { display: none; }
  .pdp-shots img { width: 80%; }
  .pdp-info { padding: 0 var(--gutter); gap: 12px; }
  .pdp-info form { order: 1; }
  #pdp-desc { order: 2; font-size: 15.5px; }
  .pdp-info .specs { order: 3; }
  .sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 6px 0 16px; }
  .sizes legend { grid-column: 1 / -1; }
  .sizes span { min-width: 0; height: 48px; }
  .specs { font-size: 14.5px; gap: 8px 18px; }
  .bag-body { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .check { font-size: 13.5px; }
  .field input { font-size: 16px; }

  /* The dock: a reserve bar that follows you once the hero has passed */
  .dock {
    display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 70;
    align-items: center; justify-content: space-between; gap: 12px; padding: 7px 7px 7px 16px;
    background: var(--espresso); color: var(--cream); box-shadow: 0 14px 34px rgba(43, 30, 22, .32);
    transform: translateY(calc(100% + 30px)); transition: transform .6s var(--ease);
  }
  .dock.show { transform: none; }
  .dock-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14px; line-height: 1.25; }
  .dock-text span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock .label { font-size: 9px; opacity: .65; }
  .dock .btn { flex: none; min-height: 44px; padding: 0 18px; background: var(--cream); color: var(--espresso); border-color: var(--cream); }
}
@media (max-width: 370px) {
  .hero-actions { gap: 16px; }
  .hero .btn { padding: 0 18px; }
  .sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .js .fade, .js .rise, .js .reveal, .js .reveal img, .js .hero-photo img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .scrub .w { opacity: 1; }
}
