/* =========================================================
   KORDIX Atelier — boutique fictive de doudounes · thème clair
   ========================================================= */

@property --accent { syntax: '<color>'; inherits: true; initial-value: #FF7A1A; }
@property --accent-dark { syntax: '<color>'; inherits: true; initial-value: #C04A00; }
@property --tint { syntax: '<color>'; inherits: true; initial-value: #FFE9D8; }
@property --tint2 { syntax: '<color>'; inherits: true; initial-value: #FFD6B5; }

:root {
  --page: #FBF7F2;
  --paper: #FFFFFF;
  --ink: #1C1A17;
  --ink-2: #6B655E;
  --line: rgba(28, 26, 23, .12);
  --glass: rgba(255, 255, 255, .55);
  --accent: #FF7A1A;
  --accent-dark: #C04A00;
  --tint: #FFE9D8;
  --tint2: #FFD6B5;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 30px 60px -30px rgba(60, 40, 20, .35);
  transition: --accent .8s ease, --accent-dark .8s ease, --tint .8s ease, --tint2 .8s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px; }

/* ---------- Typo ---------- */

.eyebrow {
  margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.h2 { margin: 0; font-weight: 700; font-size: clamp(36px, 4.6vw, 68px); line-height: 1; letter-spacing: -.035em; }
.h2 em { font-size: 1.12em; letter-spacing: -.01em; }
.lead { color: var(--ink-2); max-width: 46ch; margin: 0; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 99px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 12px 24px -12px rgba(28, 26, 23, .6); }
.btn--ink:hover { background: #000; }
.btn--ghost { background: var(--glass); border-color: rgba(28, 26, 23, .18); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: #fff; }
.btn--accent { background: var(--ink); color: #fff; }
.btn--accent::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.btn--block { width: 100%; }
.btn.is-added { background: #2E8B57; }

.round-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(28, 26, 23, .16); background: var(--glass); backdrop-filter: blur(10px);
  transition: background .25s, transform .3s var(--ease);
}
.round-btn:hover { background: #fff; transform: translateY(-2px); }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent-dark); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--page) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.logo__mark {
  display: grid; gap: 3px; padding: 7px; width: 36px; height: 36px; border-radius: 11px;
  background: var(--accent); transition: background .8s;
}
.logo__mark i { height: 4px; border-radius: 4px; background: #fff; }
.logo__word { display: flex; flex-direction: column; font-weight: 800; font-size: 19px; letter-spacing: .16em; line-height: 1; }
.logo__word small { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--ink-2); margin-top: 2px; }

.pills {
  display: flex; gap: 4px; padding: 5px; border-radius: 99px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(60, 40, 20, .35);
}
.pills a {
  padding: 8px 16px; border-radius: 99px; text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.pills a:hover { background: var(--tint); }
.pills a.is-on { background: var(--ink); color: #fff; }
.nav__icons { justify-self: end; display: flex; align-items: center; gap: 8px; }
.lang {
  display: flex; padding: 3px; border-radius: 99px;
  border: 1.5px solid rgba(28, 26, 23, .16); background: var(--glass); backdrop-filter: blur(10px);
}
.lang button {
  min-width: 36px; height: 34px; padding: 0 10px; border: 0; border-radius: 99px; background: none;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; transition: background .25s, color .25s;
}
.lang button:hover { background: #fff; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 99px;
  background: var(--accent-dark); color: #fff; font-size: 11px; font-weight: 800;
}
.cart-btn.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 35% { transform: scale(1.15) rotate(-6deg); } 70% { transform: scale(.96); } }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate;
  margin: 0 14px; padding: 34px clamp(22px, 3.4vw, 50px) 26px;
  min-height: max(640px, calc(100svh - 86px));
  border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 46%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 70%),
    var(--tint);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.25fr) minmax(200px, .75fr);
  grid-template-rows: 1fr auto;
  gap: 18px 24px;
}

.hero__bgname {
  position: absolute; left: 50%; top: 47%; z-index: -1; margin: 0;
  translate: -50% -50%;
  font-family: var(--serif); font-style: italic; font-size: clamp(120px, 21vw, 360px); line-height: 1;
  white-space: nowrap; color: color-mix(in srgb, var(--tint2) 75%, transparent); letter-spacing: -.02em;
  pointer-events: none; user-select: none;
}
.hero__bgname.is-swap { animation: nameIn .9s var(--ease) both; }
@keyframes nameIn { from { opacity: 0; transform: translateY(6%) scale(.96); } }

.hero__left { grid-column: 1; grid-row: 1; align-self: center; display: grid; gap: 26px; justify-items: start; z-index: 2; }
.hero__ctrl { display: flex; align-items: center; gap: 8px; }
.counter { margin-left: 8px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.counter b { color: var(--ink); }
.hero__title { margin: 0; font-weight: 700; font-size: clamp(40px, 4.4vw, 70px); line-height: .98; letter-spacing: -.04em; }
.hero__title em { display: inline-block; font-size: 1.14em; letter-spacing: -.01em; }
.hero__desc { margin: 16px 0 0; max-width: 36ch; color: var(--ink-2); font-weight: 500; }
.hero__copy.is-swap > * { animation: copyIn .7s var(--ease) both; }
.hero__copy.is-swap > :nth-child(2) { animation-delay: .06s; }
.hero__copy.is-swap > :nth-child(3) { animation-delay: .12s; }
@keyframes copyIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

.hero__stage { grid-column: 2; grid-row: 1 / span 2; position: relative; min-height: 460px; z-index: 1; }
.stage-item {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.box-img { display: block; width: 100%; height: auto; }
.box-wrap { animation: floaty 5s ease-in-out infinite; }
/* petit tremblement : « il y a quelque chose là-dedans » */
.box-wrap .box-img { transform-origin: 50% 80%; animation: wiggle 5.5s ease-in-out infinite; }
.stage-item .box-wrap { width: min(122%, 820px); }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@keyframes wiggle {
  0%, 78%, 100% { transform: none; }
  81% { transform: rotate(-1.6deg) translateY(-2px); }
  84% { transform: rotate(1.4deg); }
  87% { transform: rotate(-1deg) translateY(-1px); }
  90% { transform: rotate(.6deg); }
  93% { transform: none; }
}
.qmarks { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.qmarks span {
  position: absolute; left: var(--x); top: var(--y);
  font-family: var(--serif); font-style: italic; font-size: var(--s); line-height: 1;
  color: var(--accent-dark); opacity: .28;
  animation: qfloat var(--d) ease-in-out var(--o) infinite;
}
@keyframes qfloat { 50% { transform: translateY(-16px) rotate(8deg); opacity: .5; } }

.hero__right { grid-column: 3; grid-row: 1; align-self: center; justify-self: end; display: grid; gap: 26px; justify-items: end; text-align: right; z-index: 2; }
.price { display: grid; justify-items: end; line-height: 1; }
.price b { font-size: clamp(40px, 3.6vw, 56px); font-weight: 800; letter-spacing: -.04em; }
.price s { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--ink-2); text-decoration-color: var(--accent-dark); text-decoration-thickness: 2px; }
.price__value { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ink-2); }
.price--sm { justify-items: start; }
.price--sm b { font-size: 36px; }
.field { display: grid; gap: 10px; justify-items: inherit; }
.field__label { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: inherit; }
.size {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(28, 26, 23, .16); background: var(--glass);
  font-size: 13px; font-weight: 800; transition: background .2s, color .2s, transform .25s var(--ease);
}
.size:hover { background: #fff; transform: translateY(-2px); }
.size[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.size:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; transform: none; }
.swatches { display: flex; gap: 8px; }
.swatch {
  width: 28px; height: 28px; border-radius: 50%; border: 3px solid #fff; background: var(--c);
  box-shadow: 0 0 0 1.5px transparent; transition: transform .25s var(--ease), box-shadow .25s;
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.ship-note { margin: 0; font-size: 13px; color: var(--ink-2); font-weight: 500; }

.hero__bottom { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; z-index: 2; }
.socials { display: flex; gap: 8px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(28, 26, 23, .16); background: var(--glass); transition: background .2s;
}
.socials a:hover { background: #fff; }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.tagline { margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.02em; text-align: center; line-height: 1.1; }
.tagline em { font-size: 1.15em; }
.next-card {
  justify-self: end; display: flex; align-items: center; gap: 12px;
  padding: 7px 18px 7px 7px; border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .9); background: var(--glass); backdrop-filter: blur(12px);
  box-shadow: 0 16px 30px -20px rgba(60, 40, 20, .45);
  text-align: left; transition: transform .35s var(--ease), background .25s;
}
.next-card:hover { transform: translateY(-4px); background: #fff; }
.next-card__img { width: 74px; height: 74px; border-radius: 16px; background: var(--nt, #eee); display: grid; place-items: center; overflow: hidden; transition: background .6s; }
.next-card__img .box-img { width: 96%; }
.next-card__txt { display: grid; line-height: 1.1; }
.next-card__txt small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.next-card__txt b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; }

/* ---------- Bandeau ---------- */

.marquee { overflow: hidden; margin: 40px 0 0; border-block: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: 30px; width: max-content; padding: 16px 0; animation: slide 34s linear infinite; }
.marquee span { font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.marquee em { font-size: 1.15em; }
.marquee i { font-style: normal; color: var(--accent); font-size: 22px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: clamp(70px, 9vw, 130px) var(--gutter); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 54px); }

.filters { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.chip { padding: 9px 18px; border-radius: 99px; border: 0; background: none; font-size: 14px; font-weight: 700; transition: background .2s, color .2s; }
.chip:hover { background: var(--tint); }
.chip.is-on { background: var(--ink); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card.is-hidden { display: none; }
.card__media {
  position: relative; height: 380px; border: 0; padding: 0; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 45%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%), var(--t);
  display: grid; place-items: center;
}
.card__media .box-img { position: relative; z-index: 1; width: 94%; transition: transform .6s var(--ease); }
.card:hover .card__media .box-img { animation: wiggle 1.2s ease-in-out; transform: translateY(-8px) scale(1.03); }
.card__name-bg {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  font-family: var(--serif); font-style: italic; font-size: 120px; line-height: 1; white-space: nowrap; color: var(--t2);
  pointer-events: none; z-index: 0;
}
.card__badge {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  padding: 5px 12px; border-radius: 99px; background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.card__badge--sale { background: #fff; color: var(--ink); text-transform: none; letter-spacing: .02em; }
.card__body { padding: 18px 20px 20px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; }
.card__body h3 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; }
.card__body p { margin: 0; grid-column: 1; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.card__price { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-weight: 800; font-size: 20px; line-height: 1.1; }
.card__price small { display: block; font-weight: 500; font-size: 13px; color: var(--ink-2); }
.card__body .btn { grid-column: 1 / -1; margin-top: 14px; }

/* Matière */
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.tech__visual {
  position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--r-xl);
  background: radial-gradient(60% 60% at 50% 45%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%), var(--tint);
}
.tech__jacket { position: absolute; inset: 4% 6%; display: grid; place-items: center; }
.tech__jacket .box-img { width: 100%; }
.spot {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); font-weight: 800; font-size: 14px;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35);
}
.spot::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #fff;
  animation: ping 2.2s ease-out infinite;
}
.spot.is-hot, .spot:hover { background: var(--ink); color: #fff; }
@keyframes ping { from { opacity: .9; transform: scale(.8); } to { opacity: 0; transform: scale(1.6); } }
.specs { list-style: none; counter-reset: s; margin: 30px 0; padding: 0; display: grid; gap: 4px; }
.specs li {
  counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px;
  padding: 16px 16px 16px 12px; border-radius: var(--r-md); transition: background .25s;
}
.specs li::before {
  content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 1.5px solid rgba(28, 26, 23, .2); font-weight: 800; font-size: 14px;
}
.specs li.is-hot { background: #fff; box-shadow: 0 14px 30px -22px rgba(60, 40, 20, .5); }
.specs li.is-hot::before { background: var(--ink); color: #fff; border-color: var(--ink); }
.specs b { font-size: 18px; }
.specs span { color: var(--ink-2); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats div { padding: 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); display: grid; }
.stats b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 40px; line-height: 1; }
.stats span { font-size: 13px; color: var(--ink-2); font-weight: 600; }

/* Tailles */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; background: var(--page); }
tbody th { font-weight: 800; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: var(--tint); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq .section__head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); font-size: 20px; transition: rotate .3s var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); max-width: 62ch; }

/* Newsletter */
.club { padding-top: 0; }
.club__card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl);
  background: radial-gradient(70% 90% at 15% 20%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%), var(--tint);
}
.club__card p { margin: 14px 0 0; color: var(--ink-2); font-weight: 500; }
.club__form { display: flex; flex-wrap: wrap; gap: 10px; }
.club__form input {
  flex: 1 1 220px; min-width: 0; padding: 15px 22px; border-radius: 99px;
  border: 1.5px solid rgba(28, 26, 23, .16); background: #fff; font: inherit; color: var(--ink);
}
.club__form input[aria-invalid="true"] { border-color: #C62828; }
.club__note { flex-basis: 100%; margin: 4px 0 0 !important; font-size: 13px; }

/* Footer */
.footer { padding: 60px var(--gutter) 0; border-top: 1px solid var(--line); overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer__blurb { color: var(--ink-2); max-width: 34ch; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer h3 { margin: 0 0 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.footer nav a { text-decoration: none; font-weight: 600; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.footer__legal a { color: var(--ink); font-weight: 700; }
.footer__word {
  margin: 10px 0 -2.2vw; text-align: center; white-space: nowrap; line-height: .9;
  font-weight: 800; font-size: 12.5vw; letter-spacing: -.05em; color: var(--tint2);
}
.footer__word em { color: var(--accent); font-size: 1.12em; }

/* ---------- Dialogues ---------- */

dialog { color: var(--ink); }
dialog::backdrop { background: rgba(28, 26, 23, .32); backdrop-filter: blur(4px); }

.drawer {
  margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(430px, 100%); max-width: 100%;
  padding: 0; border: 0; background: var(--page);
  display: none; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .3);
}
.drawer[open] { display: flex; animation: drawerIn .45s var(--ease); }
.drawer.is-closing { animation: drawerOut .3s ease-in forwards; }
@keyframes drawerIn { from { transform: translateX(100%); } }
@keyframes drawerOut { to { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 14px; }
.drawer__head h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.ship { margin: 0 24px 10px; padding: 14px 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.ship p { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.ship__bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ship__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .5s var(--ease); }
.lines { list-style: none; margin: 0; padding: 6px 24px; flex: 1; overflow-y: auto; display: grid; align-content: start; gap: 10px; }
.line {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center;
  padding: 8px 12px 8px 8px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  animation: copyIn .4s var(--ease) both;
}
.line__thumb { height: 72px; border-radius: 12px; background: var(--t); display: grid; place-items: center; }
.line__thumb .box-img { width: 94%; }
.line b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; line-height: 1.1; }
.line small { color: var(--ink-2); font-size: 13px; }
.line__right { display: grid; justify-items: end; gap: 6px; }
.line__price { font-weight: 800; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid rgba(28, 26, 23, .16); border-radius: 99px; background: #fff; }
.qty button { width: 30px; height: 30px; border: 0; background: none; border-radius: 50%; font-weight: 700; }
.qty button:hover { background: var(--tint); }
.qty output { min-width: 22px; text-align: center; font-weight: 800; font-size: 14px; }
.drawer__empty { flex: 1; display: none; place-content: center; justify-items: center; text-align: center; gap: 18px; padding: 24px; }
.drawer__empty p { margin: 0; font-size: 17px; }
.drawer.is-empty .drawer__empty { display: grid; }
.drawer.is-empty .lines, .drawer.is-empty .drawer__foot { display: none; }
.drawer__foot { padding: 16px 24px 24px; border-top: 1px solid var(--line); }
.drawer__foot dl { margin: 0 0 16px; display: grid; gap: 6px; }
.drawer__foot dl div { display: flex; justify-content: space-between; }
.drawer__foot dt { color: var(--ink-2); }
.drawer__foot dd { margin: 0; font-weight: 700; }
.drawer__foot .total { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 19px; }
.drawer__foot .total dt { color: var(--ink); font-weight: 800; }

.modal {
  width: min(940px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0;
  border: 0; border-radius: var(--r-xl); background: var(--page); overflow: auto;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
}
.modal[open] { animation: popIn .45s var(--ease); }
.modal.is-closing { animation: popOut .25s ease-in forwards; }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes popOut { to { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__close { position: absolute; right: 18px; top: 18px; z-index: 2; }
.product[open] { display: grid; grid-template-columns: 1fr 1fr; }
.product__media {
  min-height: 460px; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(60% 60% at 50% 45%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%), var(--t);
}
.product__media .box-wrap { width: min(100%, 520px); }
.product__info { padding: 40px 34px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.product__info p { margin: 0; color: var(--ink-2); }
.product__info .field { justify-items: start; }
.product__info .sizes { justify-content: flex-start; }
.product__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.product__facts li { padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.field.is-error .field__label { color: #C62828; }
.field.is-error .sizes { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.done { width: min(520px, calc(100vw - 32px)); padding: 44px 34px 34px; text-align: center; }
.done[open] { display: grid; justify-items: center; gap: 16px; }
.done .h2 { font-size: clamp(34px, 6vw, 48px); }
.done p { margin: 0; color: var(--ink-2); }
.done__flake { font-family: var(--serif); font-style: italic; font-size: 84px; line-height: 1; color: var(--accent-dark); animation: wiggle 2.4s ease-in-out infinite; }
@keyframes spin { to { rotate: 360deg; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; translate: -50% calc(100% + 40px); visibility: hidden;
  display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 99px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--shadow);
  transition: translate .45s var(--ease), visibility 0s .45s;
}
.toast.is-on { translate: -50% 0; visibility: visible; transition-delay: 0s; }
.toast__img { width: 40px; height: 40px; border-radius: 50%; background: var(--t, var(--tint)); display: grid; place-items: center; overflow: hidden; }
.toast__img .box-img { width: 92%; }

/* ---------- Apparitions ---------- */

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .pills a:nth-child(n+4) { display: none; }
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
  .hero__left { grid-column: 1; grid-row: 1; }
  .hero__stage { grid-column: 2; grid-row: 1 / span 2; min-height: 420px; }
  .hero__stage .box-wrap { width: min(110%, 620px); }
  .hero__right { grid-column: 1; grid-row: 2; justify-self: start; justify-items: start; text-align: left; }
  .price { justify-items: start; }
  .sizes { justify-content: flex-start; }
  .hero__bottom { grid-row: 3; }
  .tech { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .club__card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { grid-template-columns: 1fr auto; }
  .pills { display: none; }
  .hero {
    margin: 0 10px; padding: 22px 18px 20px; min-height: 0;
    grid-template-columns: 1fr; grid-template-rows: auto;
    text-align: center;
  }
  .hero__left, .hero__right, .hero__stage, .hero__bottom { grid-column: 1; grid-row: auto; }
  .hero__left { justify-items: center; gap: 18px; }
  .hero__desc { margin-inline: auto; }
  .eyebrow { justify-content: center; }
  .hero__ctas { justify-content: center; }
  .hero__stage { min-height: 300px; order: 2; }
  .hero__stage .box-wrap { width: 104%; }
  .hero__right { order: 3; justify-self: stretch; justify-items: center; text-align: center; gap: 18px; }
  .price { justify-items: center; }
  .sizes, .swatches { justify-content: center; }
  .hero__bottom { order: 4; grid-template-columns: 1fr; justify-items: center; }
  .hero__bottom .socials { display: none; }
  .next-card { justify-self: center; }
  .hero__bgname { top: 46%; font-size: 34vw; }
  .qmarks { display: none; }
  .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stats b { font-size: 30px; }
  .product[open] { grid-template-columns: 1fr; }
  .product__media { min-height: 0; padding: 30px 20px 10px; }
  .product__media .box-wrap { width: 92%; }
  .product__info { padding: 22px 20px 26px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
