/* ==========================================================================
   SUELO — Golf
   Restraint (Aman) · Material as the logo (Loro Piana) · A sense of place (Rosewood)
   ========================================================================== */

:root {
  /* Ground palette — nearly colourless, so the photography and the stripe speak */
  --salt: #F7F2E8;
  --stone: #EEE7DB;
  --stone-2: #E5DCCD;
  --coast: #CBB79D;          /* brand-board chip, used for UI tints */
  --caramel: #B08D62;        /* the Links stripe and grip as knit (matches the brand renders) */
  --coast-deep: #9C8565;
  --ocean: #0D2B4D;          /* ink */
  --palm: #8A9A7B;
  --sunset: #C96A4A;

  --ink: var(--ocean);
  --ink-2: rgba(13, 43, 77, 0.74);
  --ink-3: rgba(13, 43, 77, 0.52);
  --line: rgba(13, 43, 77, 0.14);
  --line-strong: rgba(13, 43, 77, 0.28);
  --on-image: #FBF8F2;

  --serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Helvetica Neue", system-ui, sans-serif;

  --gutter: clamp(16px, 2.4vw, 36px);
  --header-h: 68px;
  --max: 1520px;
  --measure: 34rem;
  --section: clamp(88px, 12vw, 184px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--salt);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--coast); color: var(--ocean); }
:focus-visible { outline: 1px solid var(--ocean); outline-offset: 4px; }
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 200;
  background: var(--ocean); color: var(--salt); padding: 10px 16px;
  font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--ink-2);
}
.label--ink { color: var(--ink); }
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 4.6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 72;
}
.h1 {
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 72;
}
.h2 {
  font-weight: 300;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 60;
}
.h3 {
  font-weight: 400;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.25;
  font-variation-settings: "opsz" 36;
}
.lede {
  font-weight: 300;
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  line-height: 1.45;
  font-variation-settings: "opsz" 36;
}
.body { color: var(--ink-2); max-width: var(--measure); }
.body p + p { margin-top: 1em; }
em, .italic { font-style: italic; }
.num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
}
.num small { font-size: .38em; letter-spacing: 0; margin-left: .12em; vertical-align: .9em; }

/* ---------- Links & buttons ---------- */
.link {
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 11px/1 var(--sans);
  letter-spacing: 0.24em; text-transform: uppercase;
  padding-bottom: 7px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .6s var(--ease-out), opacity .3s;
}
.link:hover { background-size: 34% 1px; }
.link--quiet { background-size: 0 1px; }
.link--quiet:hover { background-size: 100% 1px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  background: var(--ocean); color: var(--salt);
  font: 400 11.5px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: #163C66; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { background: var(--ocean); color: var(--salt); }
.btn--light { background: var(--salt); color: var(--ocean); }
.btn--light:hover { background: #fff; }

/* ---------- The stripe — Suelo's signature, never a logo ---------- */
.stripe {
  --sw: 1.5px; --sb: 6px; --sg: 2.5px;
  display: inline-block; flex: none;
  width: calc(var(--sw) * 2 + var(--sb) + var(--sg) * 2);
  height: 56px;
  background:
    linear-gradient(90deg,
      var(--ocean) 0 var(--sw),
      transparent var(--sw) calc(var(--sw) + var(--sg)),
      var(--caramel) calc(var(--sw) + var(--sg)) calc(var(--sw) + var(--sg) + var(--sb)),
      transparent calc(var(--sw) + var(--sg) + var(--sb)) calc(var(--sw) + var(--sg) * 2 + var(--sb)),
      var(--ocean) calc(var(--sw) + var(--sg) * 2 + var(--sb)));
}
.stripe--h {
  width: 56px; height: calc(var(--sw) * 2 + var(--sb) + var(--sg) * 2);
  background:
    linear-gradient(180deg,
      var(--ocean) 0 var(--sw),
      transparent var(--sw) calc(var(--sw) + var(--sg)),
      var(--caramel) calc(var(--sw) + var(--sg)) calc(var(--sw) + var(--sg) + var(--sb)),
      transparent calc(var(--sw) + var(--sg) + var(--sb)) calc(var(--sw) + var(--sg) * 2 + var(--sb)),
      var(--ocean) calc(var(--sw) + var(--sg) * 2 + var(--sb)));
}
.stripe--light { --ocean: var(--on-image); }
.stripe--grow { height: 0; transition: height 1.6s var(--ease-out) .2s; }
.is-in .stripe--grow, .stripe--grow.is-in { height: var(--h, 120px); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--stone { background: var(--stone); }
.section--ocean { background: var(--ocean); color: var(--salt); }
.section--ocean .label, .section--ocean .body { color: rgba(247, 242, 232, .72); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.center { text-align: center; }
.stack > * + * { margin-top: var(--stack, 24px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(247, 242, 232, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  transition: box-shadow .4s var(--ease), transform .5s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
}
.site-header__left, .site-header__right { display: flex; align-items: center; gap: 28px; }
.site-header__right { justify-content: flex-end; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font: 400 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 0;
}
.nav-btn .burger { width: 20px; height: 9px; position: relative; }
.nav-btn .burger::before, .nav-btn .burger::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .5s var(--ease-out);
}
.nav-btn .burger::before { top: 0; }
.nav-btn .burger::after { bottom: 0; }
.nav-btn:hover .burger::after { transform: scaleX(.6); transform-origin: left; }
.nav-link { font: 400 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; }
.nav-link--desk { display: none; }
.bag-count { display: inline-block; min-width: 1.4em; text-align: center; }

.wordmark {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  font: 400 19px/1 var(--sans);
  letter-spacing: .46em; margin-right: -.46em;
  text-transform: uppercase;
}
.wordmark svg { width: 46px; color: var(--ink); margin-left: -.46em; }

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .nav-link--desk { display: inline-block; }
  .wordmark { font-size: 21px; }
}

/* ---------- Menu overlay (Aman-style, full screen, image preview) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--salt);
  display: grid; grid-template-rows: var(--header-h) 1fr auto;
  visibility: hidden; opacity: 0;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .6s var(--ease); }
.menu__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); }
.menu__close .burger::before { transform: translateY(4px) rotate(45deg); }
.menu__close .burger::after { transform: translateY(-4px) rotate(-45deg); }
.menu__body { display: grid; grid-template-columns: 1fr; padding: 4vh var(--gutter) 0; overflow: auto; }
.menu__nav { display: flex; flex-direction: column; gap: clamp(6px, 1.3vh, 14px); }
.menu__nav a {
  display: inline-flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 5.2vh, 3.4rem); line-height: 1.12;
  font-variation-settings: "opsz" 72;
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), color .3s;
}
.menu__nav a .label { font-size: 10px; transform: translateY(-.9em); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .25s; }
.menu__nav:hover a { color: var(--ink-3); }
.menu__nav:hover a:hover { color: var(--ink); }
.menu__media { display: none; position: relative; overflow: hidden; background: var(--stone); }
.menu__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .9s var(--ease), transform 2.4s var(--ease-out);
}
.menu__media img.is-active { opacity: 1; transform: scale(1); }
.menu__foot {
  display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between;
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.menu__foot div { display: flex; gap: 28px; flex-wrap: wrap; }
@media (min-width: 900px) {
  .menu__body { grid-template-columns: 5fr 7fr; gap: 6vw; padding: 6vh var(--gutter) 6vh; }
  .menu__media { display: block; }
}

/* ---------- Bag drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 90; background: rgba(13, 43, 77, .28);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.bag {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(460px, 100vw);
  background: var(--salt);
  display: grid; grid-template-rows: auto 1fr auto;
  transform: translateX(100%);
  transition: transform .7s var(--ease-out);
}
.bag.is-open { transform: none; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 0 24px; height: var(--header-h); border-bottom: 1px solid var(--line); }
.bag__lines { overflow: auto; padding: 8px 24px; }
.bag__empty { padding: 48px 0; }
.bag__empty p { color: var(--ink-2); margin-bottom: 24px; }
.bag-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.bag-line img { width: 88px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.bag-line__name { font-size: 1.0625rem; line-height: 1.3; }
.bag-line__meta { font: 400 12px/1.7 var(--sans); letter-spacing: .04em; color: var(--ink-2); margin-top: 4px; }
.bag-line__qty { display: inline-flex; align-items: center; gap: 14px; margin-top: 12px; font: 400 13px/1 var(--sans); }
.bag-line__qty button { width: 26px; height: 26px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.bag-line__price { font: 400 13px/1.4 var(--sans); letter-spacing: .04em; }
.bag-line__remove { font: 400 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; display: block; }
.bag__foot { padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--salt); }
.bag__total { display: flex; justify-content: space-between; font: 400 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.bag__note { font: 400 12px/1.6 var(--sans); color: var(--ink-3); margin-bottom: 18px; }

/* ---------- Media frames ---------- */
.frame { display: block; position: relative; overflow: hidden; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--45 { aspect-ratio: 4 / 5; }
.frame--32 { aspect-ratio: 3 / 2; }
.frame--11 { aspect-ratio: 1 / 1; }
.frame--34 { aspect-ratio: 3 / 4; }
.frame--169 { aspect-ratio: 16 / 9; }
.frame--zoom img { transition: transform 1.6s var(--ease-out); }
.frame--zoom:hover img, a:hover .frame--zoom img { transform: scale(1.03); }
.caption { display: flex; justify-content: space-between; gap: 24px; margin-top: 14px; }
.caption .label { font-size: 10.5px; }

/* ---------- Hero (inset, one image per screen) ---------- */
.hero { padding: 0 var(--gutter); }
.hero__frame {
  position: relative; overflow: hidden; background: var(--stone-2);
  height: calc(100svh - var(--header-h) - var(--gutter));
  min-height: 520px; max-height: 1100px;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero__frame picture { position: absolute; inset: 0; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 25, 40, 0) 52%, rgba(10, 25, 40, .38) 100%);
}
.js .hero__frame img { transform: scale(1.06); transition: transform 3.2s var(--ease-out); }
.js .is-loaded .hero__frame img { transform: scale(1); }
.hero__copy {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: clamp(24px, 4vw, 56px);
  color: var(--on-image);
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}
.hero__copy .label { color: rgba(251, 248, 242, .86); }
.hero__copy .display { max-width: 14ch; }
.hero__copy .link { color: var(--on-image); }
@media (min-width: 900px) {
  .hero__copy { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero__copy > div { display: flex; flex-direction: column; gap: 22px; }
  /* Home: the golfer holds the left third; copy sits in the open ocean */
  .hero--home .hero__copy { left: 50%; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 26px; }
  .hero--home .hero__frame::after { background: linear-gradient(180deg, rgba(10,25,40,0) 46%, rgba(10,25,40,.34) 100%), linear-gradient(90deg, rgba(10,25,40,0) 50%, rgba(10,25,40,.10)); }
}
.js .hero__copy > * { opacity: 0; transform: translateY(12px); transition: opacity 1.4s var(--ease-out) .5s, transform 1.4s var(--ease-out) .5s; }
.js .is-loaded .hero__copy > * { opacity: 1; transform: none; }

/* Page hero (inner pages) */
.page-hero { padding: 0 var(--gutter); }
.page-hero__frame { position: relative; overflow: hidden; background: var(--stone-2); height: clamp(420px, 78svh, 920px); }
.page-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,40,0) 50%, rgba(10,25,40,.34)); }
.page-hero__copy { position: absolute; z-index: 2; left: 0; bottom: 0; padding: clamp(24px, 4vw, 56px); color: var(--on-image); display: flex; flex-direction: column; gap: 18px; }
.page-hero__copy .label { color: rgba(251, 248, 242, .86); }

.page-intro { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); text-align: center; }
.page-intro .h1 { margin: 18px auto 0; max-width: 18ch; }
.page-intro .body { margin: 22px auto 0; }

/* ---------- Statement (centred, narrow, lots of air) ---------- */
.statement { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.statement .lede { max-width: 30ch; }
.statement .pron { font-style: italic; color: var(--ink-3); font-size: 1rem; }

/* ---------- Split (image + copy) ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 96px); align-items: center; }
.split__copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.split__copy .body { max-width: 30rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; }
  .split--rev { grid-template-columns: 5fr 7fr; }
  .split--rev .split__media { order: 2; }
  .split--even { grid-template-columns: 1fr 1fr; }
}

.specs-inline { display: flex; flex-wrap: wrap; gap: 10px 22px; font: 400 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.specs-inline li { display: inline-flex; align-items: center; gap: 22px; }
.specs-inline li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--coast-deep); margin-left: -22px; margin-right: 0; position: relative; left: -11px; }

/* ---------- Full-frame image with caption ---------- */
.fullframe { padding: 0 var(--gutter); }
.fullframe .frame { height: clamp(460px, 92svh, 1080px); }
.fullframe--copy .frame { display: flex; }
.overlay-copy {
  position: absolute; inset: auto 0 0 0; z-index: 2; color: var(--on-image);
  padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
}
.overlay-copy .label { color: rgba(251, 248, 242, .86); }
.overlay-copy .body { color: rgba(251, 248, 242, .88); }
.frame--scrim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,40,0) 45%, rgba(10,25,40,.42)); pointer-events: none; }

/* ---------- Stripe manifesto ---------- */
.manifesto { display: grid; gap: clamp(40px, 6vw, 120px); align-items: center; }
.manifesto__mark { display: flex; justify-content: center; }
.manifesto__mark .stripe { --sw: 3px; --sb: 14px; --sg: 5px; --h: clamp(220px, 36vw, 440px); }
@media (min-width: 900px) { .manifesto { grid-template-columns: 5fr 2fr 5fr; } }

/* ---------- Grounds (terrain colourways) ---------- */
.grounds-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.grounds {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter); margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.grounds::-webkit-scrollbar { display: none; }
.ground { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; }
.ground .frame { aspect-ratio: 3 / 4; }
.ground__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ground__name { font-weight: 300; font-size: 1.6rem; line-height: 1.1; font-variation-settings: "opsz" 48; }
.ground__note { color: var(--ink-2); font-size: .975rem; line-height: 1.55; max-width: 28ch; }
@media (min-width: 900px) {
  .grounds { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.6vw, 28px); overflow: visible; padding: 0; margin: 0; }
}

/* Swatch — a little sock-stripe chip */
.swatch {
  --band: var(--caramel); --body: #FBFAF6; --edge: var(--ocean);
  display: inline-block; vertical-align: middle;
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background:
    linear-gradient(90deg, transparent 0 11px, var(--edge) 11px 12.5px, transparent 12.5px 13.5px,
      var(--band) 13.5px 16.5px, transparent 16.5px 17.5px, var(--edge) 17.5px 19px, transparent 19px) ,
    var(--body);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 1px 2px rgba(13, 43, 77, .08);
}
.swatch--links { --band: var(--caramel); }
.swatch--desert { --band: var(--sunset); }
.swatch--heathland { --band: var(--palm); }
.swatch--bluff { --body: var(--ocean); --edge: #F4EFE6; --band: var(--caramel); box-shadow: none; }
.swatch--plain { --band: transparent; --edge: transparent; }

/* ---------- Figures (Loro Piana fibre vocabulary) ---------- */
.figures { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.figure { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.figure .body { font-size: .975rem; }
@media (min-width: 700px) {
  .figures { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .figure { padding: 40px 32px 44px; border-bottom: 0; }
  .figure + .figure { border-left: 1px solid var(--line); }
  .figure:first-child { padding-left: 0; }
}
.section--ocean .figures, .section--ocean .figure, .section--ocean .figure + .figure { border-color: rgba(247,242,232,.16); }

/* ---------- Editions ---------- */
.editions-list { border-top: 1px solid var(--line); }
.edition-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.edition-row .h3 { font-weight: 300; }
.edition-row .label { white-space: nowrap; }
.edition-row__no { font: 400 11px/1 var(--sans); letter-spacing: .2em; color: var(--ink-3); min-width: 3.4em; }

/* ---------- Journal ---------- */
.journal { display: grid; gap: clamp(40px, 4vw, 56px) clamp(16px, 2vw, 32px); }
.story { display: flex; flex-direction: column; gap: 18px; }
.story__title { font-weight: 300; font-size: clamp(1.3rem, 1.6vw, 1.55rem); line-height: 1.25; font-variation-settings: "opsz" 36; max-width: 22ch; }
@media (min-width: 900px) {
  .journal { grid-template-columns: repeat(3, 1fr); }
  .journal .story:nth-child(2) { margin-top: 18%; }
}

/* ---------- Newsletter ---------- */
.letters { display: grid; gap: 40px; align-items: end; }
.letters form { display: flex; border-bottom: 1px solid var(--line-strong); }
.letters input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 18px 0;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 300; outline: none;
}
.letters input::placeholder { color: var(--ink-3); }
.letters button { font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 0 0 0 20px; }
.letters__thanks { font-style: italic; color: var(--ink-2); padding: 18px 0; display: none; }
.letters.is-done form { display: none; }
.letters.is-done .letters__thanks { display: block; }
@media (min-width: 900px) { .letters { grid-template-columns: 1fr 1fr; gap: 8vw; } }

/* ---------- Footer ---------- */
.footer { background: var(--stone); padding: clamp(72px, 9vw, 128px) 0 32px; }
.footer__top { display: grid; gap: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.footer__brand .wordmark { align-items: flex-start; }
.footer__brand .wordmark svg { margin-left: 0; }
.footer__brand p { color: var(--ink-2); max-width: 26ch; font-size: 1rem; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
.footer__cols h4 { font: 400 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.footer__cols li + li { margin-top: 10px; }
.footer__cols a { font-size: 1rem; color: var(--ink); transition: color .3s; }
.footer__cols a:hover { color: var(--coast-deep); }
.footer__base {
  margin-top: clamp(64px, 8vw, 112px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font: 400 11px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.footer__base div { display: flex; gap: 24px; flex-wrap: wrap; }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 4fr 8fr; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Shop ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 36px; }
.filter { font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); padding: 10px 0; position: relative; transition: color .3s; }
.filter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .5s var(--ease-out); }
.filter:hover, .filter.is-active { color: var(--ink); }
.filter.is-active::after { transform: scaleX(1); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 4vw, 64px) clamp(10px, 1.6vw, 28px); }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 16px; }
.card .frame { aspect-ratio: 4 / 5; }
.card .frame img + img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.card:hover .frame img + img { opacity: 1; }
.card__meta { display: flex; flex-direction: column; gap: 6px; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name { font-size: 1.125rem; line-height: 1.3; font-weight: 400; }
.card__sub { font: 400 11px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.card__price { font: 400 13px/1 var(--sans); letter-spacing: .06em; white-space: nowrap; }
.card__swatches { display: flex; gap: 6px; margin-top: 4px; }
.card__swatches .swatch { width: 16px; height: 16px; background-size: 100% 100%; }
.card__swatches .swatch { background:
    linear-gradient(90deg, transparent 0 6px, var(--edge) 6px 6.8px, transparent 6.8px 7.2px, var(--band) 7.2px 8.8px, transparent 8.8px 9.2px, var(--edge) 9.2px 10px, transparent 10px), var(--body); }
.card--editorial { grid-column: span 2; }
.card--editorial .frame { aspect-ratio: auto; height: 100%; min-height: 420px; }
.card[hidden] { display: none; }
@media (max-width: 999px) { .card--editorial .frame { aspect-ratio: 4 / 3; min-height: 0; } }

/* ---------- Product detail ---------- */
.crumbs { display: flex; gap: 10px; font: 400 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); padding: 22px 0; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; gap: 32px; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.pdp__gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1);
}
.pdp__gallery::-webkit-scrollbar { display: none; }
.pdp__gallery .frame { scroll-snap-align: start; aspect-ratio: 4 / 5; }
.pdp__dots { display: flex; justify-content: center; gap: 8px; margin-top: -16px; }
.pdp__dots span { width: 18px; height: 1px; background: var(--line-strong); transition: background .3s, width .4s var(--ease-out); }
.pdp__dots span.is-active { background: var(--ink); width: 34px; }
.pdp__info { display: flex; flex-direction: column; gap: 28px; }
.pdp__title { display: flex; flex-direction: column; gap: 10px; }
.pdp__price { font: 400 14px/1 var(--sans); letter-spacing: .08em; }
.pdp__desc { color: var(--ink-2); }
.opt { display: flex; flex-direction: column; gap: 14px; }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; }
.opt__head .label b { font-weight: 400; color: var(--ink); }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch-btn { display: inline-flex; padding: 4px; border-radius: 50%; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s; }
.swatch-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--ink); }
.swatch-btn .swatch { width: 34px; height: 34px; background-size: auto; }
.swatch-btn .swatch {
  background: linear-gradient(90deg, transparent 0 13px, var(--edge) 13px 14.6px, transparent 14.6px 15.6px, var(--band) 15.6px 18.4px, transparent 18.4px 19.4px, var(--edge) 19.4px 21px, transparent 21px), var(--body);
}
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-btn {
  min-height: 52px; box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font: 400 13px/1 var(--sans); letter-spacing: .08em;
  transition: box-shadow .3s, background .3s, color .3s;
}
.size-btn small { font-size: 10px; letter-spacing: .06em; color: var(--ink-3); }
.size-btn:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.size-btn[aria-pressed="true"] { background: var(--ocean); color: var(--salt); box-shadow: none; }
.size-btn[aria-pressed="true"] small { color: rgba(247,242,232,.7); }
.pdp__assure { display: grid; gap: 8px; font: 400 12px/1.6 var(--sans); letter-spacing: .04em; color: var(--ink-2); }
.pdp__assure li { display: flex; gap: 12px; align-items: center; }
.pdp__assure li::before { content: ""; width: 14px; height: 1px; background: var(--coast-deep); }
.pdp__mill { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp__mill .stripe { height: 44px; }
.pdp__mill p { font-size: .975rem; color: var(--ink-2); line-height: 1.5; }
.pdp__mill strong { font-weight: 400; color: var(--ink); }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font: 400 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 11px; height: 11px; background: linear-gradient(var(--ink), var(--ink)) center / 11px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 11px no-repeat; transition: transform .4s var(--ease-out); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 24px; color: var(--ink-2); font-size: 1rem; }
.accordion .acc-body p + p { margin-top: .8em; }

@media (min-width: 1000px) {
  .pdp { grid-template-columns: 7fr 5fr; gap: clamp(40px, 5vw, 100px); align-items: start; }
  .pdp__gallery { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; margin: 0; }
  .pdp__gallery .frame:first-child { grid-column: span 2; }
  .pdp__dots { display: none; }
  .pdp__info { position: sticky; top: calc(var(--header-h) + 24px); padding-bottom: 40px; }
}

.spec-table { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.spec-table > div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec-table dt { font: 400 11px/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.spec-table dd { font-size: 1.0625rem; }
@media (min-width: 900px) {
  .spec-table { grid-template-columns: 1fr 1fr; column-gap: 64px; }
}

/* ---------- Fibre page ---------- */
.glossary { display: grid; gap: 0; border-top: 1px solid var(--line); }
.glossary > div { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 300; font-size: 1.5rem; line-height: 1.2; font-variation-settings: "opsz" 48; }
.glossary dt span { font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-left: 12px; vertical-align: .35em; }
.glossary dd { color: var(--ink-2); max-width: 40rem; }
@media (min-width: 900px) { .glossary > div { grid-template-columns: 4fr 8fr; gap: 48px; } }

.journey { display: grid; gap: 0; counter-reset: step; }
.journey li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.journey li::before { counter-increment: step; content: "0" counter(step); font: 400 11px/2 var(--sans); letter-spacing: .2em; color: var(--ink-3); }
.journey h3 { font-weight: 400; font-size: 1.2rem; }
.journey p { color: var(--ink-2); font-size: 1rem; margin-top: 4px; }
.journey .label { margin-top: 6px; display: block; }

.care { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.care > div { background: var(--salt); padding: 28px 22px; display: flex; flex-direction: column; gap: 10px; }
.care .h3 { font-weight: 300; }
.care p { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
@media (min-width: 900px) { .care { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Grounds page chapters ---------- */
.chapter { display: grid; gap: 28px; }
.chapter + .chapter { margin-top: var(--section); }
.chapter__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.chapter__copy .h1 { max-width: 12ch; }
.chapter__product { display: flex; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); width: 100%; max-width: 30rem; }
.chapter__product .frame { width: 76px; aspect-ratio: 4 / 5; flex: none; }
.chapter__product div { flex: 1; }
.chapter__coords { font: 400 11px/1 var(--sans); letter-spacing: .2em; color: var(--ink-3); }
@media (min-width: 900px) {
  .chapter { grid-template-columns: 8fr 4fr; gap: 64px; align-items: end; }
  .chapter--rev { grid-template-columns: 4fr 8fr; }
  .chapter--rev .chapter__media { order: 2; }
}

/* ---------- Article ---------- */
.article-head { text-align: center; padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.article-head .display { max-width: 16ch; }
.article-head .byline { font: 400 11px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.prose { max-width: 38rem; margin: 0 auto; padding: 0 var(--gutter); font-size: 1.1875rem; line-height: 1.75; font-weight: 350; }
.prose p + p { margin-top: 1.2em; }
.prose .dropcap::first-letter { float: left; font-size: 4.6em; line-height: .82; padding: .06em .1em 0 0; font-weight: 300; font-variation-settings: "opsz" 72; }
.pull { max-width: 52rem; margin: clamp(56px, 7vw, 104px) auto; padding: 0 var(--gutter); text-align: center; font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.3; font-variation-settings: "opsz" 60; }
.article-figure { margin: clamp(56px, 7vw, 104px) auto; padding: 0 var(--gutter); max-width: var(--max); }
.article-figure--narrow { max-width: 62rem; }
.article-figure figcaption { margin-top: 14px; font: 400 11px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.article-pair { display: grid; gap: 10px; }
@media (min-width: 800px) { .article-pair { grid-template-columns: 1fr 1fr; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ocean); color: var(--salt);
  padding: 14px 22px; font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition: opacity .4s var(--ease), transform .6s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1.3s var(--ease-out), transform 1.3s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .12s; }
.js [data-reveal-delay="2"] { transition-delay: .24s; }
.js [data-reveal-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__frame img, .js .hero__copy > * { transform: none; opacity: 1; }
}

/* Utilities */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.mb-m { margin-bottom: 32px; } .mb-l { margin-bottom: clamp(40px, 5vw, 72px); }
.ink-2 { color: var(--ink-2); }
.card[hidden] { display: none; }
@media (max-width: 999px) { .hide-mobile { display: none !important; } }

/* ==========================================================================
   Consolidated PDP — variation explorer
   ========================================================================== */
.swatch--parkland { --band: #3F5E47; }
.swatch--alpine { --band: #7D8A97; }

.pdp__variant { font: 400 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.opt__note { color: var(--ink-2); font-size: .975rem; font-style: italic; min-height: 1.6em; }

/* Ground chips: swatch + name */
.ground-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 420px) { .ground-picker { grid-template-columns: repeat(6, 1fr); } }
.ground-chip {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 12px 2px 10px;
  font: 400 9.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow .3s var(--ease), color .3s;
}
.ground-chip .swatch { width: 32px; height: 32px; transition: transform .5s var(--ease-out); }
.ground-chip .swatch {
  background: linear-gradient(90deg, transparent 0 12px, var(--edge) 12px 13.6px, transparent 13.6px 14.6px, var(--band) 14.6px 17.4px, transparent 17.4px 18.4px, var(--edge) 18.4px 20px, transparent 20px), var(--body);
}
.ground-chip:hover { color: var(--ink); }
.ground-chip:hover .swatch { transform: translateY(-2px); }
.ground-chip[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* Segmented choices (height, quantity) */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg-btn {
  display: flex; align-items: center; gap: 14px; text-align: left;
  min-height: 64px; padding: 10px 16px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.seg-btn svg { width: 30px; height: 38px; flex: none; color: var(--ink-2); }
.seg-btn b { display: block; font: 400 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.seg-btn small { display: block; margin-top: 5px; font: 400 12px/1.3 var(--sans); letter-spacing: .02em; color: var(--ink-3); }
.seg-btn:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.seg-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--ink); background: rgba(255, 255, 255, .45); }
.seg-btn[aria-pressed="true"] svg { color: var(--ink); }

/* Explore */
.explore-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: clamp(28px, 4vw, 52px); }
.explore-head .body { max-width: 30rem; }
.explore-controls { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.toggle { display: inline-flex; gap: 22px; }
.toggle button {
  font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
  padding: 10px 0; position: relative; transition: color .3s;
}
.toggle button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .5s var(--ease-out); }
.toggle button:hover, .toggle button[aria-pressed="true"] { color: var(--ink); }
.toggle button[aria-pressed="true"]::after { transform: scaleX(1); }
.toggle + .toggle { padding-left: 28px; border-left: 1px solid var(--line); }

.explore-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
@media (min-width: 700px) { .explore-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 14px; } }
@media (min-width: 1100px) { .explore-grid { grid-template-columns: repeat(6, 1fr); gap: 40px 14px; } }
.tile { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.tile .frame { width: 100%; box-shadow: 0 0 0 0 var(--ink); transition: box-shadow .4s var(--ease); }
.tile .frame img { transition: transform 1.4s var(--ease-out); }
.tile:hover .frame img { transform: scale(1.04); }
.tile[aria-pressed="true"] .frame { box-shadow: 0 0 0 1px var(--ink); }
.tile__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 3px; align-items: center; }
.tile__meta .swatch { width: 18px; height: 18px; grid-row: span 2; }
.tile__meta .swatch {
  background: linear-gradient(90deg, transparent 0 6.6px, var(--edge) 6.6px 7.6px, transparent 7.6px 8.2px, var(--band) 8.2px 9.8px, transparent 9.8px 10.4px, var(--edge) 10.4px 11.4px, transparent 11.4px), var(--body);
}
.tile__name { font-size: 1.0625rem; line-height: 1.2; }
.tile__sub { font: 400 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* Home grounds: six, as a 3 × 2 field on desktop */
@media (min-width: 900px) {
  .grounds--six { grid-template-columns: repeat(3, 1fr); row-gap: clamp(40px, 4vw, 64px); }
  .grounds--six .ground .frame { aspect-ratio: 4 / 3; }
}
@media (max-width: 699px) { .toggle + .toggle { padding-left: 0; border-left: 0; } }

/* Five-pack builder */
.pdp__per { margin-left: 10px; font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.five .opt__head button.link { cursor: pointer; }
.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.slot { position: relative; display: block; padding: 0; text-align: left; transition: transform .5s var(--ease-out); }
.slot .frame { aspect-ratio: 4 / 5; box-shadow: inset 0 0 0 1px var(--line); }
.slot .frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease); }
.slot__n { position: absolute; left: 6px; top: 5px; font: 400 10px/1 var(--sans); letter-spacing: .1em; color: var(--ink-2); }
.slots:not(.is-mixing) .slot { cursor: pointer; }
.slots.is-mixing .slot .frame { box-shadow: inset 0 0 0 1px var(--line-strong); }
.slots.is-mixing .slot[aria-pressed="true"] { transform: translateY(-3px); }
.slots.is-mixing .slot[aria-pressed="true"] .frame { box-shadow: 0 0 0 1px var(--ink); }
.slots.is-mixing .slot[aria-pressed="true"] .slot__n { color: var(--ink); }
.tile .frame { position: relative; }
.tile__count {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  min-width: 28px; height: 22px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ocean); color: var(--salt); font: 400 11px/1 var(--sans); letter-spacing: .08em;
}
.opt__head { gap: 16px; }
.opt__head > .link, .opt__head > button { white-space: nowrap; flex: none; }

/* Anatomy (technical drawing + legend) */
.anatomy__figure { margin: 0; }
.anatomy__scroll { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
.anatomy__scroll::-webkit-scrollbar { display: none; }
.anatomy__svg { display: block; width: 100%; min-width: 760px; height: auto; }
.anatomy__svg text { font-family: var(--sans); }
.anatomy__views { display: none; }
.anatomy__legend { display: grid; gap: 0; margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); counter-reset: none; }
.anatomy__legend li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.anatomy__legend h3 { font-weight: 400; font-size: 1.15rem; line-height: 1.3; }
.anatomy__legend p { color: var(--ink-2); font-size: .975rem; line-height: 1.55; margin-top: 4px; }
.anatomy__n { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink); display: inline-flex; align-items: center; justify-content: center; font: 400 12px/1 var(--sans); }
@media (min-width: 1000px) {
  .anatomy__legend { grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); }
  .anatomy__legend li { grid-template-columns: 1fr; padding: 28px 22px 32px; border-bottom: 0; }
  .anatomy__legend li + li { border-left: 1px solid var(--line); }
  .anatomy__legend li:first-child { padding-left: 0; }
}

/* Underfoot */
.grip-points { display: grid; gap: 0; width: 100%; max-width: 30rem; border-top: 1px solid var(--line); }
.grip-points li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .975rem; color: var(--ink-2); }
.grip-points b { font: 400 11px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
@media (min-width: 1000px) {
  .pdp__gallery .frame:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 4 / 3; }
}
.prose h2 { font-weight: 400; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h2 + p { margin-top: .5em; }
