/* =========================================================
   Maison Kinetic — storefront
   Designed & developed by Kinetics Digital Agency
   ========================================================= */
@font-face { font-family: "Quiche Display"; src: url("/assets/fonts/quichedisplay-regular-webfont.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Quiche Display"; src: url("/assets/fonts/quichedisplay-bold-webfont.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Quiche Display"; src: url("/assets/fonts/quichedisplay-lightitalic-webfont.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "The Signature"; src: url("/assets/fonts/thesignature-webfont.woff2") format("woff2"); font-display: swap; }

:root {
  --blue: #0307fe;
  --blue-dark: #0205c4;
  --blue-glow: #4b4fff;
  --ink: #0b0b10;
  --ink-2: #16161d;
  --paper: #f5f3ee;
  --paper-2: #ebe8e1;
  --white: #fff;
  --muted: #6c6a72;
  --muted-dark: #a3a2ad;
  --line: rgba(11, 11, 16, .12);
  --line-dark: rgba(255, 255, 255, .14);
  --serif: "Quiche Display", "Times New Roman", Georgia, serif;
  --script: "The Signature", "Brush Script MT", cursive;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.dark .eyebrow, .eyebrow--light { color: #9d9fff; }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: .98; }
.display em, .h-serif em { font-style: italic; font-weight: 300; }
.script { font-family: var(--script); font-weight: 400; color: var(--blue); letter-spacing: 0; line-height: .8; }
.dark .script { color: var(--blue-glow); text-shadow: 0 0 60px rgba(3, 7, 254, .5); }
.h-serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.05; }
.section-title { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 32px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid transparent; transition: color .45s var(--ease), border-color .45s, transform .2s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease-out); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 18px 40px -18px rgba(3, 7, 254, .7); }
.btn--blue::before { background: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::before { background: var(--blue); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light::before { background: var(--blue); }
.btn--light:hover { color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-line { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 6px; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease-out); }
.link-line:hover::after { transform: scaleX(0); }
.link-line svg { width: 14px; height: 14px; }

/* ---------- Announcement + Header ---------- */
.announce { background: var(--blue); color: #fff; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; text-align: center; padding: 10px var(--gutter); position: relative; z-index: 61; }
.header { position: sticky; top: 0; z-index: 60; height: var(--header-h); color: var(--ink); transition: background-color .5s var(--ease), color .4s, box-shadow .4s, backdrop-filter .4s; }
.header.is-solid { background: rgba(245, 243, 238, .82); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 var(--line); }
body.has-hero .header { position: fixed; left: 0; right: 0; top: var(--announce-h, 38px); color: #fff; }
body.has-hero .header.is-solid { top: 0; color: var(--ink); }
.header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav { display: flex; gap: 28px; }
.nav a { position: relative; white-space: nowrap; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.brand { font-family: var(--serif); font-size: 26px; letter-spacing: .32em; text-transform: uppercase; text-align: center; white-space: nowrap; line-height: 1; }
.brand small { display: block; font-family: var(--sans); font-size: 8.5px; letter-spacing: .5em; margin-top: 6px; opacity: .7; }
.header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .3s; }
.icon-btn:hover { background: rgba(127, 127, 127, .14); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease-out); }
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.45); } }
.menu-toggle { display: none; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: #fff; padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 8px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out); }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-family: var(--serif); font-size: 44px; line-height: 1.2; }
.mobile-menu .close { position: absolute; top: 24px; right: var(--gutter); color: #fff; }

/* ---------- Search overlay ---------- */
.search { position: fixed; inset: 0; z-index: 80; background: rgba(11, 11, 16, .55); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.search.is-open { opacity: 1; visibility: visible; }
.search__panel { background: var(--paper); padding: 40px var(--gutter) 48px; transform: translateY(-30px); transition: transform .6s var(--ease-out); }
.search.is-open .search__panel { transform: none; }
.search__field { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); max-width: 900px; margin: 0 auto; }
.search__field input { flex: 1; border: 0; background: none; outline: none; font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); padding: 10px 0; min-width: 0; }
.search__results { max-width: 900px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.search__results a { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.search__results img { width: 56px; height: 70px; object-fit: cover; background: var(--paper-2); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: heroZoom 2.4s var(--ease-out) forwards; opacity: .62; filter: saturate(.85) contrast(1.05); }
@keyframes heroZoom { to { transform: scale(1.02); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 16, .7) 0%, rgba(11, 11, 16, .25) 28%, rgba(11, 11, 16, .45) 55%, rgba(11, 11, 16, .95) 100%), linear-gradient(90deg, rgba(11, 11, 16, .65) 0%, transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(3, 7, 254, .4), transparent 70%); }
.hero__content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(56px, 10vh, 120px); display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 48px; }
.hero h1 { font-size: clamp(3.4rem, 8.6vw, 9rem); }
.hero h1 .split-line:last-child { margin-top: -.12em; padding-bottom: .1em; }
.hero h1 .script { display: block; font-size: 1.7em; line-height: .9; margin-left: .9em; }
.hero__aside { display: flex; flex-direction: column; gap: 28px; max-width: 480px; justify-self: end; }
.hero__aside .btn { padding: 0 26px; }
.hero__aside p { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.hero__aside .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 1px; height: 46px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; inset: 0; background: #fff; animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(105%); animation: lineUp 1.2s var(--ease-out) forwards; animation-delay: var(--d, .2s); }
@keyframes lineUp { to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal, .split-line > span { opacity: 1; transform: none; animation: none; transition: none; } .hero__media img { animation: none; transform: none; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.6vw, 34px); white-space: nowrap; }
.marquee__item::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--blue-glow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.dark { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.section-head .h-serif { margin-top: 18px; }
.section-head p { max-width: 380px; color: var(--muted); }

/* Category mosaic */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(220px, 24vw, 340px); gap: 16px; }
.cat { position: relative; overflow: hidden; background: var(--paper-2); color: #fff; grid-column: span 4; }
.cat:nth-child(5n+1) { grid-column: span 5; grid-row: span 2; }
.cat:nth-child(5n+2) { grid-column: span 7; }
.cat:nth-child(5n+3) { grid-column: span 3; }
.cat:nth-child(5n+4) { grid-column: span 4; }
.cat:nth-child(5n+5) { grid-column: span 12; grid-row: span 1; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 16, .75)); transition: opacity .6s; }
.cat:hover img { transform: scale(1.07); }
.cat__label { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.cat__label h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; }
.cat__label span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.cat__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: grid; place-items: center; flex: none; transition: background .4s, color .4s, transform .5s var(--ease-out); }
.cat:hover .cat__arrow { background: #fff; color: var(--ink); transform: rotate(-45deg); }
.cat__arrow svg { width: 18px; height: 18px; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; gap: 16px; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), transform 1.4s var(--ease-out); }
.card__media img + img { opacity: 0; }
.card:hover .card__media img:first-child { transform: scale(1.06); }
.card:hover .card__media img + img { opacity: 1; transform: scale(1.03); }
.badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 12px; background: #fff; color: var(--ink); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-radius: 999px; }
.badge--blue { background: var(--blue); color: #fff; }
.badge--dark { background: var(--ink); color: #fff; }
.card__quick { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; min-height: 48px; transform: translateY(calc(100% + 20px)); transition: transform .6s var(--ease-out), background .3s, color .3s; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); color: var(--ink); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.card:hover .card__quick, .card__quick:focus-visible { transform: none; }
.card__quick:hover { background: var(--blue); color: #fff; }
.card__info { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.card__name { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.card__cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.price { font-size: 14px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-weight: 400; margin-right: 8px; }
.price .sale { color: var(--blue); }
.card--soldout .card__media img { filter: grayscale(.4); opacity: .7; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.story__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.story__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.6s var(--ease-out); }
.story__media.is-in img { transform: scale(1); }
.story__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-dark); }
.story h2 { font-size: clamp(3rem, 6.5vw, 6rem); margin: 22px 0 32px; }
.story h2 .script { display: block; font-size: 1.2em; margin: -.1em 0 0 1.2em; }
.story p { font-size: 17px; line-height: 1.8; color: #cfcfd8; max-width: 520px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line-dark); }
.stats div { padding: 26px 0 0; }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.stats span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value { padding: 48px 40px; display: flex; gap: 20px; align-items: flex-start; }
.value + .value { border-left: 1px solid var(--line); }
.value svg { width: 28px; height: 28px; color: var(--blue); flex: none; margin-top: 4px; }
.value h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 14px; }

/* Press */
.press { text-align: center; }
.press__quote { font-family: var(--serif); font-size: clamp(28px, 4vw, 54px); line-height: 1.2; max-width: 1000px; margin: 0 auto; min-height: 2.4em; transition: opacity .6s; }
.press__quote::before { content: "“"; color: var(--blue); }
.press__quote::after { content: "”"; color: var(--blue); }
.press__sources { display: flex; justify-content: center; gap: clamp(24px, 6vw, 80px); margin-top: 40px; flex-wrap: wrap; }
.press__sources button { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); opacity: .3; transition: opacity .4s; letter-spacing: .04em; }
.press__sources button.is-active, .press__sources button:hover { opacity: 1; }

/* Newsletter */
.newsletter { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.newsletter::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -450px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 60%); }
.newsletter__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.newsletter h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.newsletter p { color: rgba(255, 255, 255, .8); margin-top: 18px; max-width: 460px; }
.newsletter form { display: flex; border-bottom: 1px solid rgba(255, 255, 255, .6); padding-bottom: 6px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 18px; padding: 12px 0; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .6); }
.newsletter .form-msg { margin-top: 14px; font-size: 13px; min-height: 20px; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding: 96px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; padding-bottom: 72px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { text-align: left; font-size: 30px; }
.footer__about { color: var(--muted-dark); max-width: 340px; margin-top: 22px; }
.footer h4 { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 20px; }
.footer li + li { margin-top: 10px; }
.footer li a { transition: color .3s; }
.footer li a:hover { color: var(--blue-glow); }
.footer__big { text-align: center; font-family: var(--serif); font-size: clamp(40px, 10.4vw, 190px); line-height: .85; letter-spacing: -.04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16); padding: 56px 0 24px; white-space: nowrap; overflow: hidden; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--muted-dark); }
.credit { display: inline-flex; align-items: center; gap: 12px; color: #fff; padding: 8px 16px 8px 10px; border: 1px solid var(--line-dark); border-radius: 999px; transition: border-color .3s, background .3s; }
.credit:hover { border-color: var(--blue); background: rgba(3, 7, 254, .18); }
.credit img { height: 26px; width: auto; }
.credit small { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); line-height: 1.2; }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(11, 11, 16, .5); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .7s var(--ease-out); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 26px 32px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.drawer__head h2 sup { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 6px; }
.ship-bar { padding: 18px 32px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ship-bar__track { height: 3px; background: var(--paper-2); margin-top: 10px; border-radius: 3px; overflow: hidden; }
.ship-bar__fill { height: 100%; background: var(--blue); transition: width .8s var(--ease-out); }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 32px; }
.line { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.line img { width: 92px; height: 115px; object-fit: cover; background: var(--paper-2); }
.line__top { display: flex; justify-content: space-between; gap: 12px; }
.line h3 { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.2; }
.line__meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.line__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 36px; }
.qty button { width: 34px; height: 100%; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.remove { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid currentColor; }
.remove:hover { color: var(--ink); }
.drawer__foot { padding: 24px 32px 32px; border-top: 1px solid var(--line); background: #fff; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.drawer__total strong { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.drawer__foot p { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.empty { text-align: center; padding: 80px 20px; }
.empty .h-serif { font-size: 34px; margin-bottom: 12px; }
.empty p { color: var(--muted); margin-bottom: 28px; }

/* Toast */
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 14px 18px 14px 14px; border-radius: 999px; display: flex; align-items: center; gap: 14px; font-size: 13px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); transition: transform .6s var(--ease-out), opacity .4s, visibility .4s; max-width: calc(100vw - 32px); opacity: 0; visibility: hidden; }
.toast.is-show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.toast button { color: #9d9fff; font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-left: 6px; }

/* ---------- Shop page ---------- */
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(36px, 4vw, 56px); }
.page-head h1 { font-size: clamp(3.4rem, 9vw, 8.5rem); }
.page-head h1 .script { font-size: 1.1em; margin-left: .15em; }
.page-head p { color: var(--muted); max-width: 460px; margin-top: 22px; }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(245, 243, 238, .9); backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.toolbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; transition: all .3s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar__right { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); flex: none; }
.select { appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230b0b10' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right center; padding-right: 18px; font-size: 13px; color: var(--ink); cursor: pointer; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 80px 0; color: var(--muted); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); padding: 32px 0 clamp(80px, 10vw, 140px); }
.crumbs { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 32px; }
.crumbs a:hover { color: var(--ink); }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumbs button { aspect-ratio: 4 / 5; overflow: hidden; opacity: .5; outline: 1px solid transparent; transition: opacity .3s, outline-color .3s; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { opacity: 1; outline-color: var(--ink); outline-offset: 2px; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out, opacity .4s; }
.pdp__info { padding-top: 8px; }
.pdp__info h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); margin: 18px 0 18px; }
.pdp__price { font-size: 20px; font-variant-numeric: tabular-nums; display: flex; gap: 12px; align-items: baseline; }
.pdp__price s { color: var(--muted); font-size: 16px; }
.pdp__desc { color: #3b3a42; font-size: 16px; line-height: 1.8; margin: 28px 0 32px; max-width: 520px; }
.option { margin-bottom: 26px; }
.option__label { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.option__label span { color: var(--muted); letter-spacing: .04em; text-transform: none; font-size: 13px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { min-width: 52px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; transition: all .25s; }
.swatch:hover { border-color: var(--ink); }
.swatch.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.buy { display: flex; gap: 12px; margin: 8px 0 18px; }
.buy .qty { height: 54px; }
.buy .qty button { width: 44px; }
.buy .btn { flex: 1; }
.stock-note { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.stock-note i { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgba(31, 157, 85, .15); }
.stock-note.low i { background: #d97706; box-shadow: 0 0 0 4px rgba(217, 119, 6, .15); }
.stock-note.out i { background: #b91c1c; box-shadow: 0 0 0 4px rgba(185, 28, 28, .15); }
.accordion { margin-top: 40px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; font-weight: 300; transition: transform .4s var(--ease-out); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 24px; color: #3b3a42; }
.accordion .acc-body li { padding: 4px 0 4px 22px; position: relative; }
.accordion .acc-body li::before { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 1px; background: var(--blue); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.perks div { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); padding: 14px; background: #fff; border-radius: 12px; }
.perks svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; min-height: calc(100vh - var(--header-h)); }
.checkout__main { padding: clamp(40px, 5vw, 72px) clamp(16px, 5vw, 80px) 80px var(--gutter); max-width: 820px; justify-self: end; width: 100%; }
.checkout__side { background: #fff; border-left: 1px solid var(--line); padding: clamp(40px, 5vw, 72px) var(--gutter) 80px clamp(24px, 4vw, 64px); }
.checkout__side-inner { position: sticky; top: calc(var(--header-h) + 32px); max-width: 460px; }
.checkout h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 40px; }
.fieldset { border: 0; padding: 0; margin: 0 0 40px; }
.fieldset legend { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 24px; margin-bottom: 20px; padding: 0; }
.fieldset legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; height: 58px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 22px 16px 6px; outline: none; transition: border-color .25s, box-shadow .25s; font-size: 15px; }
.field textarea { height: 96px; resize: vertical; padding-top: 26px; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 14px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(3, 7, 254, .1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { top: 8px; font-size: 11px; letter-spacing: .04em; }
.pay-options { display: grid; gap: 12px; }
.pay-option { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.pay-option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(3, 7, 254, .1); }
.pay-option input { accent-color: var(--blue); width: 18px; height: 18px; }
.pay-option strong { display: block; font-weight: 600; }
.pay-option small { color: var(--muted); }
.pay-option svg { margin-left: auto; width: 28px; height: 28px; color: var(--muted); }
.summary-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; }
.summary-line .thumb { position: relative; }
.summary-line img { width: 64px; height: 80px; object-fit: cover; background: var(--paper-2); border-radius: 8px; }
.summary-line .thumb b { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; }
.summary-line h4 { font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.2; }
.summary-line small { color: var(--muted); font-size: 12px; }
.totals { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #3b3a42; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 18px; color: var(--ink); align-items: baseline; }
.totals .grand strong { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.form-error { color: #b91c1c; font-size: 14px; margin: 0 0 16px; min-height: 0; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 14px; }
.secure svg { width: 14px; height: 14px; }

/* ---------- Order confirmation ---------- */
.confirm { max-width: 880px; margin: 0 auto; padding: clamp(60px, 9vw, 120px) var(--gutter); text-align: center; }
.confirm__check { width: 88px; height: 88px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin: 0 auto 32px; box-shadow: 0 20px 60px -20px rgba(3, 7, 254, .8); animation: pop .9s var(--ease-out); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.confirm__check svg { width: 38px; height: 38px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .4s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm h1 { font-size: clamp(3rem, 7vw, 6rem); }
.confirm h1 .script { font-size: 1.1em; }
.confirm > p { color: var(--muted); max-width: 520px; margin: 22px auto 0; font-size: 16px; }
.tracker { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0; position: relative; }
.tracker::before { content: ""; position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 2px; background: var(--paper-2); }
.tracker__fill { position: absolute; top: 15px; left: 12.5%; height: 2px; background: var(--blue); transition: width 1.2s var(--ease-out); }
.tracker div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tracker i { width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 2px solid var(--paper-2); display: grid; place-items: center; transition: all .5s; }
.tracker .done i { background: var(--blue); border-color: var(--blue); }
.tracker .done { color: var(--ink); }
.tracker .done i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.order-card { text-align: left; background: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.order-card h3 { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gutter); }
.notfound h1 { font-size: clamp(6rem, 20vw, 16rem); }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--paper-2) 0%, #f1efe9 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero__content { grid-template-columns: 1fr; }
  .hero__aside { justify-self: start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: grid; justify-self: start; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .brand { font-size: 17px; letter-spacing: .2em; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .header__inner { gap: 8px; }
  .header__actions { gap: 0; }
  .icon-btn { width: 40px; height: 40px; }
  .brand small { display: none; }
  .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 36px 12px; }
  .cats { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; gap: 10px; }
  .cat, .cat:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .cat:nth-child(5n+1) { grid-column: span 2; grid-row: span 1; }
  .cat:nth-child(5n+5) { grid-column: span 2; }
  .cat__label { left: 16px; right: 16px; bottom: 16px; }
  .cat__arrow { width: 38px; height: 38px; }
  .story, .newsletter__inner, .pdp, .checkout, .order-card { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
  .value { padding: 32px 4px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; }
  .gallery__thumbs button { width: 64px; }
  .checkout__main { justify-self: stretch; padding-right: var(--gutter); }
  .checkout__side { border-left: 0; border-top: 1px solid var(--line); padding-left: var(--gutter); order: -1; padding-top: 32px; padding-bottom: 32px; }
  .card__quick { transform: none; min-height: 40px; font-size: 10px; left: 8px; right: 8px; bottom: 8px; }
  .card__info { flex-direction: column; gap: 4px; }
  .card__name { font-size: 17px; }
  .toolbar__right .count { display: none; }
}
@media (max-width: 560px) {
  .fields { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero h1 { font-size: 3.3rem; }
  .stats strong { font-size: 32px; }
  .perks { grid-template-columns: 1fr; }
  .announce { font-size: 9.5px; letter-spacing: .12em; }
  .tracker div { font-size: 9px; letter-spacing: .06em; }
  .drawer__head, .ship-bar, .drawer__items, .drawer__foot { padding-left: 20px; padding-right: 20px; }
}
