/* Alca Club demo. Tokens and decisions: clients/alcaclub/tokens/design-dna.md */

@font-face { font-family: 'Excon'; src: url('/assets/fonts/excon-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Excon'; src: url('/assets/fonts/excon-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Supreme'; src: url('/assets/fonts/supreme-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Supreme'; src: url('/assets/fonts/supreme-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --carbon: #131416;
  --cabin: #1e2023;
  --cabin-2: #282b2f;
  --alu: #c6ccd2;
  --alu-2: #b6bdc4;
  --chalk: #eceeef;
  --mist: #b5b9bd;
  --smoke: #8a8f94;
  --graphite: #3f4246;
  --seam: rgba(236, 238, 239, .14);
  --seam-dark: rgba(19, 20, 22, .22);
  --stitch: #f26b14;

  --display: 'Excon', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Supreme', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --gutter: 20px;
  --pad: 72px;
  --max: 1320px;
  --header: 60px;
}
@media (min-width: 768px) { :root { --gutter: 40px; --pad: 128px; --header: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--carbon);
  color: var(--mist);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; color: var(--chalk); letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--stitch); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--chalk); color: var(--carbon); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--pad); }
.ground-alu { background: var(--alu); color: var(--graphite); }
.ground-alu h1, .ground-alu h2, .ground-alu h3 { color: var(--carbon); }
.ground-cabin { background: var(--cabin); }

/* Type scale */
.t-hero { font-size: clamp(44px, 7.4vw, 104px); line-height: .94; letter-spacing: -.035em; }
.t-h2 { font-size: clamp(32px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; }
.t-h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.t-lead { font-size: 18px; line-height: 1.55; max-width: 34em; }
@media (min-width: 1024px) { .t-lead { font-size: 20px; } }
.t-label { font: 400 14px/1.4 var(--display); color: var(--smoke); }
.ground-alu .t-label { color: var(--graphite); }
.t-small { font-size: 14px; line-height: 1.5; color: var(--smoke); }
.ground-alu .t-small { color: var(--graphite); }
.price { font-family: var(--display); font-weight: 400; color: var(--chalk); font-variant-numeric: tabular-nums; }
.ground-alu .price { color: var(--carbon); }
.was { text-decoration: line-through; color: var(--smoke); font-family: var(--display); }
.ground-alu .was { color: var(--graphite); }

/* Buttons: filled primary, tonal secondary, text tertiary. 6px corners, never pills. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 6px;
  font: 500 16px/1 var(--display); letter-spacing: -.005em; text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--stitch); color: var(--carbon); }
.btn--primary:hover { background: #ff7c26; }
.btn--tonal { background: var(--cabin-2); color: var(--chalk); }
.btn--tonal:hover { background: #33373c; }
.ground-alu .btn--tonal { background: var(--carbon); color: var(--chalk); }
.ground-alu .btn--tonal:hover { background: var(--graphite); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { font-family: var(--display); color: var(--chalk); text-decoration: underline; text-decoration-color: var(--stitch); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ground-alu .link { color: var(--carbon); }
.link:hover { text-decoration-color: currentColor; }

/* Contrast stitch: the seam that replaces rules and borders. */
.seam { height: 2px; background: repeating-linear-gradient(90deg, var(--stitch) 0 9px, transparent 9px 15px); }
.seam--quiet { background: repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px); }
.ground-alu .seam--quiet { background: repeating-linear-gradient(90deg, var(--seam-dark) 0 9px, transparent 9px 15px); }
[data-sew] { clip-path: inset(0 0 0 0); }

/* Announcement + header */
.notice { background: var(--cabin); color: var(--mist); font: 400 13px/1.3 var(--display); text-align: center; padding: 10px var(--gutter); }
.header { position: sticky; top: 0; z-index: 40; background: rgba(19, 20, 22, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; min-height: 44px; }
.logo svg { height: 26px; width: auto; }
.logo .logo__mark { height: 20px; }
.nav { display: none; gap: 32px; font: 400 15px/1 var(--display); }
.nav a { color: var(--mist); text-decoration: none; padding: 14px 0; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--chalk); }
.header__tools { display: flex; align-items: center; gap: 4px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--chalk); font: 400 15px/1 var(--display); text-decoration: none; }
.icon-btn:hover { background: var(--cabin); }
.icon-btn svg { width: 22px; height: 22px; }
.bag-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 4px; background: var(--stitch); color: var(--carbon); font-size: 13px; }
.bag-count[data-empty] { background: var(--cabin-2); color: var(--mist); }
.menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .nav { display: flex; } .menu-btn { display: none; } }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--carbon); padding: 0 var(--gutter) 40px; display: flex; flex-direction: column; visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s; }
.menu[data-open] { visibility: visible; opacity: 1; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: var(--header); }
.menu nav { display: flex; flex-direction: column; margin-top: 24px; }
.menu nav a { font: 500 32px/1.1 var(--display); color: var(--chalk); text-decoration: none; padding: 14px 0; letter-spacing: -.02em; }
.menu__foot { margin-top: auto; }
.menu__note { margin-top: 16px; }

/* Hero: the trim fan */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 78% 40%, #24272b 0%, var(--carbon) 62%); }
.hero__grid { display: grid; gap: 20px; padding-block: 24px 44px; grid-template-areas: "title" "stage" "ctas" "lead"; }
.hero__title { grid-area: title; position: relative; z-index: 2; font-size: clamp(38px, 11vw, 104px); }
.hero__stage { grid-area: stage; position: relative; }
.hero__ctas { grid-area: ctas; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 auto; }
.hero__lead { grid-area: lead; color: var(--mist); max-width: 30em; }
.fan { position: relative; height: 270px; margin-inline: auto; width: 100%; max-width: 560px; }
.fan__case {
  position: absolute; left: 50%; bottom: 26px; width: 108px; margin-left: -54px;
  transform-origin: 50% 135%;
  transform: rotate(var(--r)) translateY(var(--y, 0px));
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55)) brightness(.86);
  will-change: transform;
}
.fan__case[data-active] { --y: -20px; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .6)) brightness(1); z-index: 6; }
.fan__floor { position: absolute; left: 10%; right: 10%; bottom: 6px; height: 40px; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .65), transparent 70%); }
.trims { display: flex; justify-content: center; gap: 2px; margin-top: 4px; }
.trim-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--smoke); font: 400 15px/1 var(--display); }
.trim-btn img { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px var(--carbon), 0 0 0 3px transparent; transition: box-shadow .25s; }
.trim-btn[aria-pressed="true"] { color: var(--chalk); }
.trim-btn[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--carbon), 0 0 0 4px var(--stitch); }
.hero .trim-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero__caption { text-align: center; margin-top: 6px; font: 400 14px/1.4 var(--display); color: var(--smoke); min-height: 20px; }
.hero__caption a { color: var(--chalk); }
.hero .seam { position: absolute; left: 0; right: 0; bottom: 0; }
@media (min-width: 390px) { .fan { height: 300px; } .fan__case { width: 122px; margin-left: -61px; } }
@media (min-width: 768px) {
  .fan { height: 500px; }
  .fan__case { width: 200px; margin-left: -100px; bottom: 48px; }
  .hero .trim-btn span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .trims { flex-wrap: wrap; gap: 4px 6px; }
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 7fr 6fr; grid-template-rows: 1fr auto auto auto 1fr; column-gap: 40px; row-gap: 28px;
    grid-template-areas: ". stage" "title stage" "lead stage" "ctas stage" ". stage";
    min-height: calc(100svh - var(--header) - 37px); padding-block: 56px 72px;
  }
  .hero__title { align-self: end; font-size: clamp(60px, 7vw, 112px); }
  /* The fan breaks out of the grid and runs off the right edge of the screen. */
  .hero__stage { align-self: center; margin-right: calc(-1 * (max(0px, (100vw - var(--max)) / 2 - var(--gutter)) + var(--gutter))); }
  .hero__ctas .btn { flex: 0 0 auto; }
  .fan { height: min(540px, calc(100svh - 300px)); min-height: 440px; }
  .fan__case { width: clamp(176px, 15vw, 224px); margin-left: calc(clamp(176px, 15vw, 224px) / -2); bottom: 64px; }
}

/* Cabin to pocket */
.cabin { position: relative; background: var(--carbon); }
.cabin__media { position: relative; overflow: hidden; aspect-ratio: 1; }
.cabin__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 57% 63%; }
.cabin__lines { padding: 40px 0 var(--pad); }
.cabin__lines .wrap { display: grid; gap: 22px; }
.cabin__line { font: 500 clamp(26px, 3.4vw, 48px)/1.08 var(--display); color: var(--chalk); letter-spacing: -.025em; max-width: 15em; }
.cabin__line span { color: var(--stitch); }
@media (min-width: 1024px) {
  .cabin__media { aspect-ratio: 21 / 9; }
  .cabin__lines .wrap { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
/* The pinned push-in runs only with JS and motion allowed; otherwise the photo and lines sit in normal flow. */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .js .cabin { height: 280vh; }
  .js .cabin__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .js .cabin__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .js .cabin__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 20, 22, .82) 0%, rgba(19, 20, 22, .3) 46%, transparent 70%); }
  .js .cabin__lines { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 0; z-index: 2; }
  .js .cabin__lines .wrap { position: relative; display: block; }
  .js .cabin__line { position: absolute; left: var(--gutter); top: 0; transform: translateY(-50%); max-width: 11em; }
  .js .cabin__line + .cabin__line { opacity: 0; }
}

/* Choose your trim: cutout rail on the aluminium band */
.rail-head { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 1024px) { .rail-head { grid-template-columns: 7fr 5fr; align-items: end; margin-bottom: 64px; } }
.lineup { display: grid; grid-auto-flow: column; grid-auto-columns: 58%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.lineup::-webkit-scrollbar { display: none; }
.lineup__item { scroll-snap-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit; }
.lineup__case { position: relative; padding: 0 12% 22px; transition: transform .5s var(--ease); }
.lineup__case img { filter: drop-shadow(0 14px 14px rgba(19, 20, 22, .28)); }
.lineup__case::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 4px; height: 22px; background: radial-gradient(50% 50% at 50% 50%, rgba(19, 20, 22, .38), transparent 72%); z-index: -1; }
.lineup__name { font: 500 26px/1.1 var(--display); color: var(--carbon); letter-spacing: -.02em; margin-top: 10px; }
.lineup__meta { font: 400 15px/1.4 var(--display); color: var(--graphite); margin-top: 4px; }
.lineup__item:hover .lineup__case { transform: translateY(-10px) rotate(-2deg); }
@media (min-width: 768px) { .lineup { grid-auto-columns: 32%; } }
@media (min-width: 1024px) {
  .lineup { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; padding: 0; margin: 0; gap: 24px; }
  .lineup__item:nth-child(even) { margin-top: 72px; }
  .lineup__name { font-size: 30px; }
}
.rail-foot { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 48px; }

/* Brush it */
.brush { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .brush { grid-template-columns: 5fr 7fr; gap: 64px; } }
.brush__copy { display: grid; gap: 18px; }
/* The fabric runs as a stitched band to the screen edge (full width on a phone, off the right edge on desktop), not a framed tile. */
.brush-band { overflow-x: clip; }
.brush__stage { margin-inline: calc(var(--gutter) * -1); }
.brush__panel { position: relative; touch-action: none; overflow: hidden; background: var(--cabin); aspect-ratio: 4 / 3.4; }
.brush__panel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 80% at 28% 18%, rgba(255, 255, 255, .07), transparent 60%), linear-gradient(180deg, transparent 55%, rgba(10, 11, 12, .38)); }
.brush__panel canvas { width: 100%; height: 100%; cursor: grab; }
.brush__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .brush__panel canvas + img { display: none; }
.no-js .brush__panel canvas, .no-js .brush__hint { display: none; }
.brush__hint { position: absolute; z-index: 1; left: var(--gutter); bottom: 30px; font: 400 14px/1 var(--display); color: var(--chalk); background: rgba(19, 20, 22, .6); padding: 8px 10px; border-radius: 4px; pointer-events: none; transition: opacity .4s; }
.brush__swatches { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; padding-inline: var(--gutter); }
@media (min-width: 1024px) {
  .brush__stage { margin-inline: 0 calc(-1 * (max(0px, (100vw - var(--max)) / 2 - var(--gutter)) + var(--gutter))); }
  .brush__panel { aspect-ratio: auto; height: min(78vh, 680px); }
  .brush__hint { left: 28px; }
  .brush__swatches { padding-inline: 0; }
}

/* Carry set: exploded view */
.carry { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .carry { grid-template-columns: 5fr 7fr; gap: 64px; } }
.carry__copy { display: grid; gap: 20px; }
.carry__price { display: flex; align-items: baseline; gap: 14px; }
.carry__price .price { font-size: 44px; letter-spacing: -.02em; }
.carry__price .was { font-size: 22px; }
.carry__stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 640px; width: 100%; margin-inline: auto; }
.carry__part { position: absolute; filter: drop-shadow(0 18px 20px rgba(19, 20, 22, .3)); will-change: transform; }
.carry__part--case { width: 38%; left: 31%; top: 6%; }
.carry__part--wallet { width: 31%; left: 34.5%; top: 41%; transform: translate(88%, -48%) rotate(8deg); }
.carry__part--key { width: 12%; left: 13%; top: 38%; transform: translate(-24%, 30%) rotate(-14deg); }
.carry__label { position: absolute; font: 400 15px/1.3 var(--display); color: var(--carbon); }
.carry__label .price { display: block; color: var(--graphite); }
.carry__label--case { left: 0; top: 4%; }
.carry__label--wallet { right: 0; top: 2%; text-align: right; }
.carry__label--key { left: 0; bottom: 4%; }
@media (max-width: 767px) { .carry__part--key { top: 28%; } .carry__label--key { bottom: 0; } }
.carry__leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#carry-stage .carry__leaders { z-index: 1; }
.carry__leaders path { fill: none; stroke: var(--stitch); stroke-width: 2; stroke-dasharray: 7 5; }
.carry__note { display: grid; gap: 8px; }

/* Make it yours: engraving */
.engrave { display: grid; background: var(--carbon); }
.engrave__photo { position: relative; aspect-ratio: 1; overflow: hidden; }
.engrave__photo img { width: 100%; height: 100%; object-fit: cover; }
.engrave__body { display: grid; gap: 24px; padding: 48px var(--gutter) var(--pad); }
@media (min-width: 1024px) {
  .engrave { grid-template-columns: 1fr 1fr; }
  .engrave__photo { aspect-ratio: auto; min-height: 100%; }
  .engrave__body { padding: var(--pad) var(--gutter) var(--pad) 64px; max-width: 700px; }
}
.mono { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
@media (min-width: 768px) { .mono { grid-template-columns: 170px 1fr; gap: 32px; } }
.mono__case { position: relative; }
.mono__text {
  position: absolute; left: 0; right: 0; top: 60%; text-align: center;
  color: rgba(10, 10, 10, .62); mix-blend-mode: multiply; text-shadow: 0 1px 0 rgba(255, 255, 255, .08);
  font: 500 22px/1 var(--display); letter-spacing: .02em; white-space: nowrap; overflow: hidden;
}
@media (min-width: 768px) { .mono__text { font-size: 30px; } }
.mono__text[data-style="elegant"] { font-family: var(--body); font-weight: 400; letter-spacing: .28em; font-size: .8em; }
.mono__text[data-style="cursive"] { font-family: 'Snell Roundhand', 'Apple Chancery', 'Segoe Script', cursive; font-weight: 400; letter-spacing: 0; font-size: 1.15em; }
.field { display: grid; gap: 8px; }
.input {
  width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 6px;
  background: var(--cabin-2); color: var(--chalk); font: 400 18px/1 var(--display); letter-spacing: .04em;
  box-shadow: inset 0 -2px 0 var(--seam);
}
.input:focus { outline: none; box-shadow: inset 0 -2px 0 var(--stitch); }
.segs { display: flex; gap: 6px; flex-wrap: wrap; }
.seg { min-height: 44px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--cabin-2); color: var(--mist); font: 400 15px/1 var(--display); }
.seg[aria-pressed="true"], .seg[aria-checked="true"] { background: var(--chalk); color: var(--carbon); }

/* Delivery band */
.facts { display: grid; }
.fact { padding: 22px 0; display: grid; gap: 4px; }
.fact + .fact { background: repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px) top / 100% 2px no-repeat; }
.fact strong { font: 500 22px/1.2 var(--display); color: var(--chalk); letter-spacing: -.015em; }
@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 8px 28px; }
  .fact:first-child { padding-left: 0; }
  .fact + .fact { background: repeating-linear-gradient(180deg, var(--seam) 0 9px, transparent 9px 15px) left / 2px 100% no-repeat; }
}

/* Footer */
.footer { background: var(--carbon); padding-block: 72px 32px; color: var(--mist); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 4fr 2fr 2fr 3fr; } }
.footer__brand svg { height: 34px; width: auto; color: var(--chalk); }
.footer h3 { font: 400 14px/1.4 var(--display); color: var(--smoke); margin-bottom: 12px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--chalk); text-decoration: none; font: 400 16px/1.3 var(--display); }
.footer li a:hover { color: var(--stitch); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; font-size: 14px; color: var(--smoke); background: repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px) top / 100% 2px no-repeat; }

/* Bag drawer: a real surface with a shadow */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(10, 11, 12, .6); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(440px, 100vw); background: var(--cabin); box-shadow: -30px 0 60px rgba(0, 0, 0, .45); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .45s var(--ease); visibility: hidden; }
body[data-bag-open] .scrim { opacity: 1; visibility: visible; }
body[data-bag-open] .drawer { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px var(--gutter); }
.drawer__head h2 { font-size: 22px; }
.drawer__meter { padding: 4px var(--gutter) 16px; font: 400 14px/1.4 var(--display); color: var(--mist); }
.meter { height: 2px; margin-top: 10px; background: repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px); position: relative; }
.meter span { position: absolute; inset: 0 auto 0 0; background: repeating-linear-gradient(90deg, var(--stitch) 0 9px, transparent 9px 15px); transition: width .5s var(--ease); }
.drawer__lines { flex: 1; overflow-y: auto; padding: 0 var(--gutter); overscroll-behavior: contain; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; align-items: start; background: repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px) top / 100% 2px no-repeat; }
.line img { width: 64px; height: 84px; object-fit: contain; }
.line__title { font: 500 16px/1.3 var(--display); color: var(--chalk); }
.line__meta { font-size: 14px; color: var(--smoke); margin-top: 2px; }
.line__remove { background: none; border: 0; padding: 10px 0; color: var(--smoke); font: 400 14px/1 var(--display); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.drawer__empty { padding: 32px 0; display: grid; gap: 16px; justify-items: start; }
.drawer__foot { padding: 20px var(--gutter) 24px; background: var(--cabin-2); display: grid; gap: 12px; }
.drawer__total { display: flex; justify-content: space-between; font: 500 18px/1 var(--display); color: var(--chalk); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--chalk); color: var(--carbon); font: 400 15px/1.4 var(--display); padding: 14px 18px; border-radius: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); transition: transform .4s var(--ease), visibility 0s .4s; max-width: calc(100vw - 32px); }
.toast[data-show] { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--ease); }

/* Reveal: content is visible without JS; JS adds the entrance. */
.js [data-reveal] { will-change: transform, opacity; }

/* ===== Collection ===== */
.coll-hero { padding-block: 40px 32px; display: grid; gap: 16px; }
@media (min-width: 1024px) { .coll-hero { grid-template-columns: 7fr 5fr; align-items: end; padding-block: 72px 48px; } }
.picker { display: grid; gap: 12px; }
.models { display: flex; flex-wrap: wrap; gap: 6px; }
.model-btn { min-height: 44px; min-width: 64px; padding: 0 14px; border: 0; border-radius: 6px; background: var(--cabin-2); color: var(--chalk); font: 400 15px/1 var(--display); transition: background-color .2s, color .2s; }
.model-btn:hover { background: #33373c; }
.model-btn[aria-pressed="true"], .model-btn[aria-checked="true"] { background: var(--chalk); color: var(--carbon); }
.model-btn[data-out] { color: var(--smoke); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.model-btn[data-out][aria-checked="true"] { background: var(--smoke); color: var(--carbon); }
.ground-alu .model-btn { background: rgba(19, 20, 22, .08); color: var(--carbon); }
.ground-alu .model-btn[aria-pressed="true"] { background: var(--carbon); color: var(--chalk); }

.stock-note { font: 400 14px/1.3 var(--display); color: var(--graphite); margin-top: 6px; min-height: 18px; }
.stock-note[data-out] { color: #9a3d07; }

.spread { display: grid; gap: 32px; }
@media (min-width: 1024px) { .spread { grid-template-columns: 1fr 1fr; gap: 0; } }
.spread__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.spread__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 60%; }
@media (min-width: 1024px) { .spread__photo img { scale: 1.3; transform-origin: 20% 68%; } }
.spread__body { display: grid; gap: 18px; align-content: center; padding: 0 var(--gutter); }
@media (min-width: 1024px) { .spread__body { padding: 64px; } .spread__photo { aspect-ratio: auto; min-height: 640px; } }
.spread__pair { display: flex; gap: 18px; align-items: flex-end; }
.spread__pair img { width: 120px; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); }

.acc { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.acc::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .acc { grid-auto-columns: 26%; } }
@media (min-width: 1024px) { .acc { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 32px; } }
.acc__item { scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.acc__img { height: 220px; display: grid; place-items: end center; padding-bottom: 18px; position: relative; }
.acc__img img { max-height: 100%; width: auto; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .45)); transition: transform .5s var(--ease); }
.acc__img::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: 6px; height: 16px; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .55), transparent 72%); z-index: -1; }
.acc__item:hover .acc__img img { transform: translateY(-8px); }
.acc__name { font: 500 20px/1.2 var(--display); color: var(--chalk); margin-top: 12px; }
.acc__meta { font: 400 15px/1.4 var(--display); color: var(--smoke); margin-top: 2px; }
.acc__dots { display: flex; gap: 6px; margin-top: 10px; }
.acc__dots img { width: 18px; height: 18px; border-radius: 50%; }
.tag-out { color: var(--stitch); }
@media (min-width: 1024px) { .acc__img { height: 280px; } }

/* ===== Product page ===== */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: var(--pad); }
@media (min-width: 1024px) { .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding-top: 32px; align-items: start; } }

.gallery { position: relative; margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 1024px) { .gallery { margin: 0; } }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.slide { margin: 0; scroll-snap-align: start; position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 40%, #2d3034 0%, var(--cabin) 70%); }
.slide--alu { background: radial-gradient(70% 60% at 50% 40%, #d8dde1 0%, var(--alu) 75%); }
.slide--photo { background: var(--carbon); }
.slide--photo img { width: 100%; height: 100%; object-fit: cover; }
.slide__cut { height: 84%; width: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .5)); }
.slide--alu .slide__cut { filter: drop-shadow(0 20px 22px rgba(19, 20, 22, .3)); }
.slide__cap { position: absolute; left: 16px; bottom: 14px; font: 400 14px/1.2 var(--display); color: var(--mist); }
.slide--alu .slide__cap { color: var(--graphite); }
.slide .mono__text { top: 64%; font-size: 30px; }
@media (min-width: 768px) { .slide .mono__text { font-size: 44px; } }
.gallery__count { position: absolute; right: 16px; top: 14px; font: 400 14px/1 var(--display); color: var(--chalk); background: rgba(19, 20, 22, .55); padding: 8px 10px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.gallery__thumbs { display: none; }
@media (min-width: 1024px) {
  .gallery__track { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; gap: 12px; }
  .slide { aspect-ratio: 1 / 1.1; border-radius: 4px; }
  .slide:first-child { grid-column: 1 / -1; aspect-ratio: 1.25; }
  .slide:first-child .slide__cut { height: 82%; }
  .gallery__count { display: none; }
}

.buy { display: grid; gap: 22px; }
@media (min-width: 1024px) { .buy { position: sticky; top: calc(var(--header) + 24px); } }
.buy__head { display: grid; gap: 8px; }
.buy__title { font-size: clamp(30px, 3vw, 40px); line-height: 1.04; letter-spacing: -.03em; }
.buy__title span { color: var(--mist); font-weight: 400; }
.buy__price { display: flex; align-items: baseline; gap: 12px; font-size: 28px; }
.buy__price .t-small { font-size: 14px; }
.buy__tagline { color: var(--mist); }
.opt { display: grid; gap: 10px; }
.opt__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 400 15px/1.3 var(--display); color: var(--smoke); }
.opt__label b { font-weight: 400; color: var(--chalk); }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; }
.swatch img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 2px var(--carbon), 0 0 0 3px rgba(236, 238, 239, .0); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.swatch[aria-checked="true"] img { box-shadow: 0 0 0 3px var(--carbon), 0 0 0 5px var(--stitch); }
.swatch:hover img { transform: scale(1.06); }
.swatch[data-out] { opacity: .45; }
.models--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.models--grid .model-btn { min-width: 0; padding: 0 6px; }
.older { margin-top: 2px; }
.older summary { list-style: none; cursor: pointer; font: 400 14px/1 var(--display); color: var(--mist); min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--seam); }
.older summary::-webkit-details-marker { display: none; }
.older .models--grid { margin-top: 4px; }
.opt__error { font: 400 14px/1.3 var(--display); color: var(--stitch); min-height: 0; }

/* Radio-style options: a list between seams, filled marker on the picked one */
.choices { display: grid; }
.choice { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; cursor: pointer; background: repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px) top / 100% 2px no-repeat; }
.choice:last-child { background: repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px) top / 100% 2px no-repeat, repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px) bottom / 100% 2px no-repeat; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__mark { width: 20px; height: 20px; border-radius: 50%; background: var(--cabin-2); position: relative; }
.choice input:checked + .choice__mark { background: var(--stitch); }
.choice input:checked + .choice__mark::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--carbon); }
.choice input:focus-visible + .choice__mark { outline: 2px solid var(--stitch); outline-offset: 3px; }
.choice__text { display: grid; gap: 2px; }
.choice__text b { font: 500 16px/1.3 var(--display); color: var(--chalk); }
.choice__text small { font-size: 14px; color: var(--smoke); line-height: 1.4; }
.choice__price { text-align: right; font: 400 16px/1.3 var(--display); color: var(--chalk); }
.choice__price small { display: block; color: var(--stitch); font-size: 13px; }
.set-extra { display: grid; gap: 10px; padding: 4px 0 16px 36px; }
.set-extra[hidden] { display: none; }

.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; cursor: pointer; }
.toggle__text b { display: block; font: 500 16px/1.3 var(--display); color: var(--chalk); }
.toggle__text small { font-size: 14px; color: var(--smoke); }
.switch { position: relative; width: 48px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 6px; background: var(--cabin-2); transition: background-color .25s; pointer-events: none; }
.switch span::after { content: ''; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 4px; background: var(--mist); transition: transform .25s var(--ease), background-color .25s; }
.switch input:checked + span { background: var(--stitch); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--carbon); }
.switch input:focus-visible + span { outline: 2px solid var(--stitch); outline-offset: 3px; }
.engrave-fields { display: grid; gap: 12px; }
.engrave-fields[hidden] { display: none; }

.atc { display: flex; justify-content: space-between; width: 100%; padding: 0 22px; min-height: 58px; font-size: 17px; }
.atc .price { color: var(--carbon); }
.eta { display: grid; gap: 4px; font-size: 15px; }
.eta b { font: 500 16px/1.4 var(--display); color: var(--chalk); }
.trust { display: grid; gap: 0; }
.trust li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 12px 0; font-size: 15px; line-height: 1.45; }
.trust li + li { background: repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px) top / 100% 2px no-repeat; }
.trust svg { width: 22px; height: 22px; color: var(--chalk); margin-top: 1px; }
.trust b { font-weight: 500; color: var(--chalk); font-family: var(--display); }
.list-reset { list-style: none; margin: 0; padding: 0; }

/* Sticky add-to-bag bar */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(30, 32, 35, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -18px 40px rgba(0, 0, 0, .35); transform: translateY(110%); transition: transform .45s var(--ease); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); }
.sticky-buy[data-show] { transform: none; }
.sticky-buy__in { display: flex; align-items: center; gap: 12px; max-width: var(--max); margin-inline: auto; }
.sticky-buy__swatch { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.sticky-buy__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sticky-buy__text b { font: 500 15px/1.2 var(--display); color: var(--chalk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__text span { font: 400 14px/1.2 var(--display); color: var(--mist); }
.sticky-buy .btn { min-height: 48px; padding: 0 18px; }

/* Story layer */
.specs { display: grid; gap: 40px; }
@media (min-width: 1024px) { .specs { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.spec-list { margin: 0; }
.spec-list div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 0; background: repeating-linear-gradient(90deg, var(--seam-dark) 0 9px, transparent 9px 15px) top / 100% 2px no-repeat; }
@media (min-width: 768px) { .spec-list div { grid-template-columns: 200px 1fr; gap: 24px; } }
.spec-list dt { font: 400 15px/1.4 var(--display); color: var(--graphite); }
.spec-list dd { margin: 0; font: 500 17px/1.4 var(--display); color: var(--carbon); }
.views { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.views figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.views img { max-height: 380px; width: auto; filter: drop-shadow(0 18px 18px rgba(19, 20, 22, .3)); }
.views figcaption { font: 400 14px/1.3 var(--display); color: var(--graphite); text-align: center; }

.faq { display: grid; }
.faq details { background: repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px) top / 100% 2px no-repeat; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 500 19px/1.3 var(--display); color: var(--chalk); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px/1 var(--display); color: var(--stitch); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 40em; }
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: 5fr 7fr; gap: 64px; } }

.bundle-cta { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) { .bundle-cta { grid-template-columns: 6fr 6fr; } }
.trio { position: relative; height: 340px; }
.trio img { position: absolute; bottom: 30px; width: auto; filter: drop-shadow(0 18px 18px rgba(19, 20, 22, .32)); }
.trio__case { height: 300px; left: 20%; }
.trio__wallet { height: 190px; left: 50%; transform: rotate(6deg); }
.trio__key { height: 170px; left: 76%; transform: rotate(-8deg); }
.trio::after { content: ''; position: absolute; left: 12%; right: 6%; bottom: 18px; height: 24px; background: radial-gradient(50% 50% at 50% 50%, rgba(19, 20, 22, .3), transparent 72%); }
@media (min-width: 768px) { .trio { height: 440px; } .trio__case { height: 390px; } .trio__wallet { height: 240px; } .trio__key { height: 220px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.footer__line { margin-top: 16px; max-width: 26em; }
.field-stack { display: grid; gap: 16px; }
.fan--intro .fan__case { transition: none; }
.fan__case { cursor: pointer; }
.carry__stage.is-live .carry__part--wallet, .carry__stage.is-live .carry__part--key { transform: none; }

/* Product page: radio-based options, engraving overlay, slide grounds */
label.model-btn { display: grid; place-items: center; cursor: pointer; }
label.model-btn:has(input:checked) { background: var(--chalk); color: var(--carbon); }
label.model-btn:has(input:focus-visible) { outline: 2px solid var(--stitch); outline-offset: 2px; }
label.model-btn:has(input:disabled) { cursor: not-allowed; }
.model-btn[hidden], .older[hidden] { display: none; }
.swatch[aria-current="true"] img, label.swatch:has(input:checked) img { box-shadow: 0 0 0 3px var(--carbon), 0 0 0 5px var(--stitch); }
label.swatch { cursor: pointer; }
label.swatch:has(input:focus-visible) img, a.swatch:focus-visible img { outline: 2px solid var(--stitch); outline-offset: 5px; }
label.seg { display: inline-flex; align-items: center; cursor: pointer; }
label.seg:has(input:checked) { background: var(--chalk); color: var(--carbon); }
label.seg:has(input:focus-visible) { outline: 2px solid var(--stitch); outline-offset: 2px; }
fieldset.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.opt > legend { padding: 0; width: 100%; margin-bottom: 10px; }
.slide__case { position: absolute; inset: 12% 0 6%; display: flex; justify-content: center; }
.slide__case .slide__cut { height: 100%; }
.slide__set { display: none; position: absolute; top: 0; bottom: 0; left: 50%; aspect-ratio: 480 / 963; translate: -50% 0; pointer-events: none; }
.slide__case.is-set .slide__set { display: block; }
.slide__set img { position: absolute; height: auto; }
.slide__set-wallet { width: 66%; left: 17%; top: 43%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
.slide__set-key { width: 23%; left: -21%; top: 30%; rotate: -8deg; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); }
@media (max-width: 1023px) { .slide__cap { top: 16px; bottom: auto; } }
@media (min-width: 1024px) { .slide:first-child .slide__case { inset: 9% 0; } }
@media (max-width: 1023px) {
  .slide:first-child { aspect-ratio: 1 / 1.15; }
  .slide:first-child .slide__case { inset: 8% 0 4%; }
}
.slide--white { background: radial-gradient(70% 60% at 50% 40%, #d8dde1 0%, var(--alu) 75%); }
.slide--white img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.page-pdp .footer { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
.slide__cap--light { color: var(--chalk); text-shadow: 0 1px 8px rgba(19, 20, 22, .6); }
.slide--white .slide__cap { color: var(--graphite); }
.page-pdp .wrap > .pdp { padding-top: 0; }
@media (min-width: 1024px) { .page-pdp .wrap > .pdp { padding-top: 32px; } }
body[data-bag-open] .sticky-buy { transform: translateY(110%); }
.slide > .slide__cut { position: absolute; top: 12%; left: 50%; height: 82%; translate: -50% 0; }
.slide--white img { object-fit: contain; }
@media (min-width: 1024px) {
  .slide__cap { top: 16px; bottom: auto; }
  .slide--wide { grid-column: 1 / -1; aspect-ratio: 1.6; }
}
.sticky-buy__text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.specs .t-h2 + .spec-list { margin-top: 28px; }
.rail-foot .link { display: inline-flex; align-items: center; min-height: 44px; }
.slide--camera > .slide__cut { top: 13%; height: auto; width: 74%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 97%); mask-image: linear-gradient(180deg, #000 70%, transparent 97%); }
/* Product carry set: the home page's exploded view on carbon, held still. */
.carry--dark .carry__label { color: var(--chalk); }
.carry--dark .carry__label .price { color: var(--mist); }
.carry--dark .carry__part { filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .55)); }
/* 360px phones: a shorter first photo so the description clears the sticky bar on the first screen. */
@media (max-width: 379px) {
  .slide:first-child { aspect-ratio: 1 / 1.04; }
  .sticky-buy .btn { padding: 0 14px; }
}

/* ===== Collection: picker, trim book, extras ===== */
.coll-hero__title { font-size: clamp(40px, 11vw, 88px); line-height: .98; letter-spacing: -.035em; max-width: 9em; }
.coll-hero__copy { display: grid; gap: 18px; }
.fit-note { font: 400 16px/1.45 var(--display); color: var(--chalk); min-height: 46px; }
.picker .models--grid .model-btn[aria-pressed="true"] { background: var(--chalk); color: var(--carbon); }
@media (min-width: 1024px) { .coll-hero { gap: 64px; } .picker { padding-bottom: 6px; } }

.book { display: grid; gap: 3px; }
.book__trim { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 38%; gap: 16px; align-items: center; min-height: 340px; padding: 28px var(--gutter); color: var(--chalk); text-decoration: none; }
.book__fabric { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) contrast(.9); transition: transform 1.2s var(--ease), filter .5s var(--ease); }
.book__trim::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19, 20, 22, .78) 0%, rgba(19, 20, 22, .35) 55%, rgba(19, 20, 22, .05) 100%); }
.book__text { display: grid; gap: 6px; align-self: center; justify-items: start; }
.book__name { font: 500 clamp(34px, 10vw, 44px)/1 var(--display); letter-spacing: -.03em; }
.book__meta { font: 400 17px/1.3 var(--display); color: var(--mist); }
.book__note { font: 400 14px/1.35 var(--display); color: var(--chalk); padding-top: 8px; background: repeating-linear-gradient(90deg, var(--stitch) 0 9px, transparent 9px 15px) top left / 54px 2px no-repeat; margin-top: 6px; }
.book__cta { margin-top: 14px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 4px; background: rgba(236, 238, 240, .14); font: 500 15px/1 var(--display); color: var(--chalk); transition: background .3s var(--ease); }
.book__trim:hover .book__cta, .book__trim:focus-visible .book__cta { background: var(--stitch); color: var(--carbon); }
.book__trim[data-out] .book__cta { background: rgba(236, 238, 240, .08); color: var(--mist); }
/* Phone: the case stands whole in its band and swaps sides band to band, so the column reads as a book, not a list. */
.book__trim:nth-child(even) { grid-template-columns: 38% minmax(0, 1fr); }
.book__trim:nth-child(even) .book__text { order: 2; }
.book__trim:nth-child(even) .book__case { rotate: 4deg; }
.book__trim:nth-child(even)::before { transform: scaleX(-1); }
.book__case { justify-self: center; height: 280px; width: auto; rotate: -4deg; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .55)); transition: transform .6s var(--ease), opacity .4s; }
.book__trim:hover .book__case, .book__trim:focus-visible .book__case { transform: translateY(-14px) rotate(-3deg); }
.book__trim:focus-visible { outline: 2px solid var(--stitch); outline-offset: -4px; }
.book__trim[data-out] .book__fabric { filter: grayscale(.85) brightness(.45); }
.book__trim[data-out] .book__case { opacity: .4; }
.book__trim[data-out] .book__note { color: var(--smoke); background: none; padding-top: 0; }
@media (min-width: 1024px) {
  .book { display: flex; gap: 3px; height: min(80vh, 700px); min-height: 560px; }
  .book__trim { flex: 1 1 0; min-width: 0; grid-template-columns: 1fr; align-items: start; min-height: 0; padding: 32px 28px; transition: flex-grow .7s var(--ease); }
  .book__trim::before { background: linear-gradient(180deg, rgba(19, 20, 22, .74) 0%, rgba(19, 20, 22, .2) 45%, rgba(19, 20, 22, .05) 100%); }
  .book__text { align-self: start; padding: 0; }
  .book__name { font-size: clamp(32px, 2.6vw, 44px); }
  .book__trim:nth-child(even) { grid-template-columns: 1fr; }
  .book__trim:nth-child(even) .book__text { order: 0; }
  .book__trim:nth-child(even) .book__case { rotate: 0deg; }
  .book__trim:nth-child(even)::before { transform: none; }
  .book { --edge: max(var(--gutter), (100vw - var(--max)) / 2); }
  .book__trim:first-child { padding-left: var(--edge); }
  .book__trim:last-child { padding-right: var(--edge); }
  .book__case { position: absolute; left: 50%; top: 236px; height: calc(100% - 272px); margin: 0; translate: -50% 0; rotate: 0deg; }
  .book__trim:first-child .book__case { left: calc(50% + (var(--edge) - 28px) / 2); }
  .book__trim:last-child .book__case { left: calc(50% - (var(--edge) - 28px) / 2); }
  .book__trim:hover, .book__trim:focus-visible { flex-grow: 1.6; }
  .book__trim:hover .book__fabric { transform: scale(1.06); }
}

.extra { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; padding-top: 24px; background: repeating-linear-gradient(90deg, var(--seam) 0 9px, transparent 9px 15px) top / 100% 2px no-repeat; }
.extra__case { width: 96px; height: auto; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5)); }
.extra__body { display: grid; gap: 6px; justify-items: start; }
.extra__name { font: 500 26px/1.1 var(--display); color: var(--chalk); letter-spacing: -.02em; }
.extra__price { font-size: 18px; display: flex; gap: 10px; align-items: baseline; }
.extra__fits { color: var(--mist); font-size: 15px; line-height: 1.45; margin-bottom: 6px; }
.extra .acc__dots { margin: 0 0 6px -11px; flex-wrap: wrap; }
@media (min-width: 1024px) { .extra { grid-template-columns: 130px minmax(0, 1fr); gap: 32px; } .extra__case { width: 130px; } }

.dot { flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; display: grid; place-items: center; border-radius: 50%; }
.acc__dots { gap: 0; margin-left: -11px; }
.acc__dots .dot img { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(236, 238, 239, .28); transition: box-shadow .25s var(--ease); }
.spread .acc__dots .dot img { box-shadow: 0 0 0 1px rgba(236, 238, 239, .28); }
.acc__dots .dot[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--cabin), 0 0 0 4px var(--stitch); }
.spread .acc__dots .dot[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--carbon), 0 0 0 4px var(--stitch); }
.dot[data-out] img { opacity: .4; }
.dot:focus-visible { outline: 2px solid var(--stitch); outline-offset: -4px; }
/* Every item's action sits on one line across the rail, whatever is above it. */
.acc__add, .acc__notify { margin-top: auto; align-self: start; }
.acc__item > :nth-last-child(2) { margin-bottom: 14px; }
.acc__notify { display: grid; gap: 8px; width: 100%; }
.acc__notify .btn { justify-self: start; }
.acc__notify-fields { display: grid; gap: 8px; }
.acc__notify-fields .input { min-height: 48px; font-size: 16px; letter-spacing: 0; }
.acc__notify-done { font: 400 15px/1.4 var(--display); color: var(--chalk); }
.acc__notify-done:empty, .acc__notify [hidden] { display: none; }
.acc__add:disabled { opacity: .5; cursor: not-allowed; }
.acc__soon { font-size: 14px; line-height: 1.45; color: var(--smoke); margin-top: 8px; }
.acc__img { height: 200px; }
.acc__img img { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 18px); max-height: none; object-fit: contain; object-position: center bottom; }
.acc__img--wide img { left: 14%; width: 72%; }
.acc { scroll-padding-inline: var(--gutter); }
@media (min-width: 1024px) { .acc__img { height: 260px; } }
.acc__item[data-out] .acc__img img { filter: grayscale(.6) drop-shadow(0 14px 14px rgba(0, 0, 0, .45)); opacity: .7; }
