/* =========================================================
   Michael Toschi — site styles
   Palette: avorio paper, pietra stone, espresso ink,
   Rosso Corsa accent, Giallo Modena (crest only)
   ========================================================= */
:root {
  --paper: #EFEBE3;
  --paper-2: #E8E3D9;
  --stone: #E4DED2;
  --ink: #17130F;
  --ink-2: #4A433B;
  --muted: #7A7167;
  --line: #D6CFC2;
  --rosso: #C4141B;
  --rosso-dk: #9E0F15;
  --giallo: #F2B705;
  --espresso: #211B16;
  --espresso-2: #2E2620;
  --white: #FBFAF7;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3vw, 40px);
  --maxw: 1600px;
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
/* The page color lives on html and main, not body: WebKit colors iOS overscroll by blending the
   body background over html's, so an opaque body would always win. site.js sets .at-foot in the
   lower half of the page so overscroll past the footer stays dark like the footer. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paper); }
html.at-foot { background: var(--espresso); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0; color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
main { display: flow-root; background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
/* The hidden attribute must beat component display rules like .btn's inline-flex */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rosso); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.pdp-rail { max-width: 1240px; }
.grid--compact { grid-template-columns: repeat(4, minmax(0, 220px)); gap: 28px 16px; }
.grid--compact .card__name { font-size: 14px; }
.grid--compact .card__price { font-size: 13px; }
.grid--compact .card__color { font-size: 12px; }

/* ---------- Type ---------- */
/* Serif headings leave opsz unpinned so the browser matches Bodoni Moda's optical size to the
   rendered size; the large display cuts (opsz 72-96) have hairlines too fine to read */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 56ch; }
.small { font-size: 13px; }
.muted { color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--white);
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--rosso); border-color: var(--rosso); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link {
  font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: color .2s;
}
.link:hover { color: var(--rosso); }

/* ---------- Announcement ---------- */
.announce {
  background: var(--espresso); color: #EDE6DA; font-size: 12.5px; letter-spacing: .02em;
  height: 36px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.announce__msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; text-align: center; opacity: 0; transition: opacity .6s; }
.announce__msg.is-on { opacity: 1; }
.announce a { border-bottom: 1px solid rgba(237,230,218,.5); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
}
.header__left { display: flex; align-items: center; gap: 4px; }
.header__right { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.logo { display: flex; align-items: center; gap: 12px; justify-self: center; }
.logo img { height: 40px; width: auto; }
.logo__word {
  font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .38em;
  font-variation-settings: "wdth" 125; text-transform: uppercase; white-space: nowrap; padding-left: .2em;
}
.iconbtn { width: 42px; height: 42px; display: inline-grid; place-items: center; position: relative; }
.iconbtn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.iconbtn:hover { color: var(--rosso); }
.badge {
  position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--rosso); color: #fff; font-size: 10.5px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.badge[data-n="0"] { display: none; }
.menu-toggle { display: none; }

.nav { display: flex; justify-content: center; gap: 4px; border-top: 1px solid var(--line); }
.nav__item { position: static; }
.nav__link {
  display: block; padding: 13px 16px; font-size: 13.5px; font-weight: 500; letter-spacing: .01em;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__item:hover .nav__link::after, .nav__item:focus-within .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link--sale { color: var(--rosso); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--paper);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  box-shadow: 0 30px 40px -30px rgba(23,19,15,.25);
}
.nav__item:hover .mega, .nav__item:focus-within .mega, .nav__item.is-open .mega {
  opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease);
}
.mega__inner { max-width: var(--maxw); margin: 0 auto; padding: 32px var(--gutter) 40px; display: grid; grid-template-columns: repeat(3, minmax(160px, 220px)) 1fr; gap: 40px; }
.mega h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 5px 0; font-size: 15px; }
.mega li a:hover { color: var(--rosso); }
.mega__promo { justify-self: end; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 620px; width: 100%; }
.mega__card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; background: var(--stone); }
.mega__card strong { display: block; margin-top: 10px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.mega__card span { font-size: 13px; color: var(--muted); }

/* ---------- Drawer (mobile nav, cart, filters) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(23,19,15,.45); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.scrim.is-on { opacity: 1; visibility: visible; transition: opacity .3s; }
.drawer {
  position: fixed; top: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); z-index: 100;
  display: flex; flex-direction: column; transition: transform .35s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none !important; visibility: visible; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 24px; height: 64px; border-bottom: 1px solid var(--line); flex: none; }
.drawer__title { font-family: var(--serif); font-size: 24px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); flex: none; background: var(--paper); }

.mnav__group { border-bottom: 1px solid var(--line); }
.mnav__group > button, .mnav__group > a { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 18px; font-family: var(--serif); text-align: left; }
.mnav__group > button svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform .25s; }
.mnav__group.is-open > button svg { transform: rotate(45deg); }
.mnav__sub { display: none; padding: 0 0 16px 2px; }
.mnav__group.is-open .mnav__sub { display: block; }
.mnav__sub a { display: block; padding: 8px 0; font-size: 15px; color: var(--ink-2); }
.mnav__util { padding-top: 24px; display: grid; gap: 12px; font-size: 14px; }

/* cart */
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line__img { background: var(--stone); aspect-ratio: 1; display: grid; place-items: center; padding: 8px; }
.cart-line__img img { mix-blend-mode: multiply; max-height: 100%; object-fit: contain; }
.cart-line__name { font-weight: 600; font-size: 15px; }
.cart-line__meta { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.cart-line__price { font-size: 14px; text-align: right; }
.cart-line__remove { font-size: 12.5px; color: var(--muted); border-bottom: 1px solid currentColor; margin-top: 10px; }
.cart-line__remove:hover { color: var(--rosso); }
.qty { display: inline-flex; border: 1px solid var(--line); height: 36px; align-items: center; }
.qty button { width: 34px; height: 100%; font-size: 17px; }
.qty button:hover { color: var(--rosso); }
.qty span { min-width: 28px; text-align: center; font-size: 14px; }
.cart-sum { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.cart-note { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.cart-empty { padding: 48px 0; text-align: center; }
.cart-empty p { font-family: var(--serif); font-size: 24px; margin-bottom: 20px; }
.checkout-msg { display: none; margin-top: 14px; padding: 16px; background: var(--stone); font-size: 14px; }
.checkout-msg.is-on { display: block; }
.checkout-msg strong { display: block; margin-bottom: 6px; }

/* ---------- Search overlay ---------- */
.search {
  position: fixed; inset: 0; z-index: 110; background: var(--paper); overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
}
.search.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.search__bar { display: flex; align-items: center; gap: 12px; max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 2; }
.search__bar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; flex: none; }
.search__input { flex: 1; border: 0; background: transparent; font-family: var(--serif); font-size: clamp(24px, 3.5vw, 40px); padding: 8px 0; outline: none; min-width: 0; }
.search__body { max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gutter) 60px; }
.search__suggest { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--line); font-size: 13px; background: var(--paper); }
.chip:hover { border-color: var(--ink); }
.chip--on { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 120;
  background: var(--ink); color: var(--white); padding: 14px 20px; font-size: 14px;
  display: flex; gap: 16px; align-items: center; opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  max-width: calc(100vw - 32px);
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast a { border-bottom: 1px solid rgba(255,255,255,.6); font-weight: 600; white-space: nowrap; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.card { position: relative; }
.card__frame { position: relative; overflow: hidden; }
.card__media {
  position: relative; display: block; aspect-ratio: 4/5; background: var(--stone); overflow: hidden;
}
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10%;
  mix-blend-mode: multiply; transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.card__media .card__alt { opacity: 0; object-fit: cover; padding: 0; transform: scale(1.9); transform-origin: 82% 58%; }
@media (hover: hover) {
  .card:hover .card__main { opacity: 0; }
  .card:hover .card__alt { opacity: 1; transform: scale(1.75); }
}
.card__tag { position: absolute; top: 12px; left: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; background: var(--paper); padding: 4px 8px; z-index: 2; }
.card__tag--sale { background: var(--rosso); color: #fff; }
.card__wish { position: absolute; top: 6px; right: 6px; z-index: 3; }
.card__wish svg { width: 20px; height: 20px; }
.card__wish.is-on svg { fill: var(--rosso); stroke: var(--rosso); }
.card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; background: rgba(251,250,247,.96);
  padding: 10px 12px 12px; transform: translateY(calc(100% + 12px)); transition: transform .3s var(--ease);
}
.card__quick p { margin: 0 0 8px; font-size: 12px; font-weight: 600; }
.card__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.card__sizes button { min-width: 38px; height: 30px; padding: 0 6px; border: 1px solid var(--line); font-size: 12px; background: var(--paper); }
.card__sizes button:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
@media (hover: hover) and (min-width: 900px) {
  .card:hover .card__quick, .card:focus-within .card__quick { transform: none; }
}
.card__info { padding-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.card__name { font-weight: 600; font-size: 15px; }
.card__price { font-size: 14px; text-align: right; white-space: nowrap; }
.card__price s { color: var(--muted); margin-right: 6px; }
.card__price .sale { color: var(--rosso); }
.card__color { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* ---------- Home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(86vh, 860px); background: var(--espresso); color: var(--white); }
.hero__content { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(32px, 5vw, 88px) clamp(20px, 4vw, 72px); position: relative; }
.hero__content::before { content: ""; position: absolute; top: clamp(32px, 5vw, 88px); left: clamp(20px, 4vw, 72px); width: 56px; height: 4px; background: linear-gradient(90deg, var(--rosso) 0 50%, var(--giallo) 50% 100%); }
.hero__content h1 { max-width: none; font-size: clamp(44px, 5.4vw, 92px); }
.hero__sub { font-size: 16px; margin: 22px 0 32px; max-width: 40ch; color: rgba(251,250,247,.82); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media { position: relative; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__load h1, .hero__load .hero__sub, .hero__load .hero__ctas { animation: rise .9s var(--ease) both; }
.hero__load .hero__sub { animation-delay: .12s; }
.hero__load .hero__ctas { animation-delay: .24s; }
.hero__load .hero__img { animation: settle 1.8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }

.section { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.section--tight { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.section-head p { margin: 12px 0 0; color: var(--ink-2); max-width: 54ch; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { display: block; }
.tile__img { aspect-ratio: 3/4; overflow: hidden; background: var(--stone); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.035); }
.tile__label { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.tile__label strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.tile__label span { font-size: 13px; color: var(--muted); }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature { position: relative; display: block; color: var(--white); overflow: hidden; background: var(--espresso); }
.feature img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover img { transform: scale(1.03); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(23,19,15,.7)); }
.feature__text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 36px); z-index: 2; }
.feature__text p { margin: 8px 0 16px; max-width: 40ch; color: rgba(251,250,247,.86); }

.spotlight { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 640px; }
.spotlight__mood { background: var(--espresso); overflow: hidden; }
.spotlight__mood img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__body { background: var(--paper-2); display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 80px); }
.spotlight__shoe { mix-blend-mode: multiply; width: 100%; max-width: 560px; margin: 0 auto 28px; }
.spotlight__price { font-size: 16px; margin: 4px 0 18px; }
.spotlight__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.story-band { position: relative; color: var(--white); background: var(--espresso); overflow: hidden; }
.story-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; opacity: .78; }
.story-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,19,15,.82) 0%, rgba(23,19,15,.35) 60%, rgba(23,19,15,.1) 100%); z-index: 1; }
.story-band__inner { position: relative; z-index: 2; min-height: 620px; display: flex; flex-direction: column; justify-content: center; }
.story-band h2 { max-width: 16ch; }
.story-band p { max-width: 46ch; margin: 20px 0 28px; color: rgba(251,250,247,.86); font-size: 16px; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; max-width: 34ch; border-left: 2px solid var(--giallo); padding-left: 20px; margin: 0 0 28px; }

.tech { background: var(--espresso); color: #EDE6DA; }
.tech .lede { color: #CFC6B8; }
.tech__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.tech__item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #000; }
.tech__item h3 { margin: 20px 0 8px; color: var(--white); }
.tech__item h3 small { display: block; font-family: var(--sans); font-weight: 400; font-size: 13px; color: #A99F91; margin-top: 6px; letter-spacing: .01em; }
.tech__item p { color: #CFC6B8; font-size: 14.5px; max-width: 42ch; }

.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.strip a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--stone); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; }
.strip a:hover img { transform: scale(1.05); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo a { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); }
.duo img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.duo__text { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.duo__text p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- Newsletter / footer ---------- */
.signup { background: var(--paper-2); border-top: 1px solid var(--line); }
.signup__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.signup form { display: flex; border-bottom: 1px solid var(--ink); }
.signup input { flex: 1; border: 0; background: transparent; height: 52px; font-size: 16px; outline: none; min-width: 0; }
.signup button { font-weight: 600; font-size: 14px; padding: 0 4px 0 16px; }
.signup button:hover { color: var(--rosso); }
.signup__done { font-family: var(--serif); font-size: 22px; }

.footer { background: var(--espresso); color: #D9D1C4; padding: 64px 0 28px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: #A99F91; max-width: 34ch; }
.footer h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--giallo); }
.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border: 1px solid #4a4038; display: grid; place-items: center; }
.footer__social svg { width: 17px; height: 17px; fill: currentColor; }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid #3b322b; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #8E8476; font-size: 12.5px; }

/* ---------- Collection page ---------- */
.plp-hero { position: relative; color: var(--white); background: var(--espresso); overflow: hidden; }
.plp-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.plp-hero__inner { position: relative; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 40px; }
.plp-hero p { margin: 14px 0 0; max-width: 52ch; color: rgba(251,250,247,.9); }
.plp-head { padding: 44px 0 8px; }
.plp-head p { margin: 12px 0 0; color: var(--ink-2); max-width: 60ch; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--rosso); }
.plp-hero .crumbs { color: rgba(251,250,247,.75); }
.subnav { display: flex; gap: 8px; overflow-x: auto; padding: 20px 0 4px; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav .chip { flex: none; }
.toolbar {
  position: sticky; top: calc(var(--header-h) + 45px); z-index: 20; background: var(--paper);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 28px;
}
.toolbar__left { display: flex; align-items: center; gap: 16px; }
.toolbar button.filter-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.toolbar button.filter-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.toolbar__count { font-size: 13px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sort select { border: 1px solid var(--line); background: var(--paper); height: 38px; padding: 0 30px 0 12px; font-size: 13.5px; appearance: none; -webkit-appearance: none;
  background-image: 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='%2317130F' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.active-filters .chip svg { width: 10px; height: 10px; stroke: currentColor; stroke-width: 2; }
.active-filters button.clear { font-size: 13px; border-bottom: 1px solid currentColor; margin-left: 4px; }
.fgroup { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fgroup h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.fopts { display: flex; flex-wrap: wrap; gap: 8px; }
.fopts label { cursor: pointer; }
.fopts input { position: absolute; opacity: 0; pointer-events: none; }
.fopts input:checked + .chip { background: var(--ink); color: var(--white); border-color: var(--ink); }
.fopts input:focus-visible + .chip { outline: 2px solid var(--rosso); outline-offset: 2px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.load-more { text-align: center; margin: 56px 0 0; }
.load-more p { font-size: 13px; color: var(--muted); }
.empty { padding: 60px 0; text-align: center; }
.empty h3 { margin-bottom: 12px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr); gap: clamp(24px, 4vw, 64px); padding-top: 24px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery__item { background: var(--stone); aspect-ratio: 4/5; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16/11; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; mix-blend-mode: multiply; }
.gallery__item .zoom { position: absolute; inset: 0; background-repeat: no-repeat; background-size: 230%; mix-blend-mode: multiply; }
.gallery__dots { display: none; }
.buy { position: sticky; top: calc(var(--header-h) + 64px); align-self: start; padding-bottom: 40px; }
.buy .crumbs { margin-bottom: 18px; }
.buy__coll { font-size: 13px; color: var(--muted); }
.buy__coll a { border-bottom: 1px solid currentColor; }
.buy h1 { font-size: clamp(36px, 3.6vw, 56px); margin: 6px 0 10px; }
.buy__price { font-size: 18px; margin-bottom: 22px; }
.buy__price s { color: var(--muted); margin-right: 8px; }
.buy__price .sale { color: var(--rosso); }
.buy__price small { display: block; font-size: 12.5px; color: var(--rosso); margin-top: 4px; }
.buy__row { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; font-size: 14px; }
.buy__row strong { font-weight: 600; }
.buy__row button { font-size: 13px; border-bottom: 1px solid currentColor; }
.buy__row button:hover { color: var(--rosso); }
.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 8px; }
.sizes button { height: 44px; border: 1px solid var(--line); font-size: 14px; background: var(--paper); transition: border-color .15s; }
.sizes button:hover { border-color: var(--ink); }
.sizes button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.sizes--wide { grid-template-columns: repeat(3, 1fr); }
.size-error { color: var(--rosso); font-size: 13px; min-height: 20px; margin-bottom: 8px; }
.buy__actions { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; margin-bottom: 18px; }
.buy__actions .qty { height: 50px; }
.buy__actions .wish { width: 50px; height: 50px; border: 1px solid var(--line); display: grid; place-items: center; }
.buy__actions .wish svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.buy__actions .wish.is-on svg { fill: var(--rosso); stroke: var(--rosso); }
.assure { list-style: none; padding: 16px 0; margin: 0 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.assure li { display: flex; gap: 12px; align-items: flex-start; }
.assure svg { width: 18px; height: 18px; flex: none; stroke: var(--ink); fill: none; stroke-width: 1.4; margin-top: 1px; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; font-size: 14.5px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .25s; }
.acc[open] summary svg { transform: rotate(45deg); }
.acc__body { padding: 0 0 20px; font-size: 14.5px; color: var(--ink-2); }
.acc__body ul { padding-left: 18px; margin: 10px 0 0; }
.acc__body li { margin-bottom: 4px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 14px 0 0; font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

.mood-band { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mood-band img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.mobile-buy { display: none; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.modal__scrim { position: absolute; inset: 0; background: rgba(23,19,15,.5); }
.modal__box { position: relative; background: var(--paper); width: min(720px, 100%); max-height: 90vh; overflow: auto; padding: 32px; }
.modal__box--img { width: min(1200px, 100%); padding: 0; background: var(--stone); }
.modal__box--img img { mix-blend-mode: multiply; width: 100%; max-height: 86vh; object-fit: contain; padding: 4%; }
.modal__close { position: absolute; top: 8px; right: 8px; }
table.size-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 16px; }
.size-table th, .size-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.size-table th { font-weight: 600; }

/* ---------- Editorial pages ---------- */
.page-hero { position: relative; color: var(--white); background: var(--espresso); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,19,15,.05) 30%, rgba(23,19,15,.75)); }
.page-hero__inner { position: relative; z-index: 2; min-height: 70vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 56px; }
.page-hero p { margin: 16px 0 0; max-width: 50ch; font-size: 17px; color: rgba(251,250,247,.9); }

.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.chapter--flip .chapter__img { order: 2; }
.chapter__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.chapter__year { font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 7vw, 110px); line-height: 1; color: var(--rosso); display: block; margin-bottom: 12px; }
.chapter__text p { color: var(--ink-2); max-width: 50ch; font-size: 16px; }
.chapter__text h2 { margin-bottom: 20px; }
.chapter + .chapter { margin-top: clamp(64px, 9vw, 140px); }

.pull { text-align: center; max-width: 900px; margin: 0 auto; }
/* A full sentence rather than a heading, so a sturdier cut than its size would get, with more leading */
.pull blockquote { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.3; margin: 0 0 20px; font-variation-settings: "opsz" 18; }
.pull cite { font-style: normal; font-size: 14px; color: var(--muted); }
.films { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.film { margin: 0; }
.film iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--espresso); }
.film figcaption { margin-top: 12px; font-weight: 600; font-size: 15px; }

.techpage section { padding: clamp(56px, 7vw, 100px) 0; border-bottom: 1px solid #3b322b; }
.techpage { background: var(--espresso); color: #EDE6DA; }
.techpage .lede { color: #CFC6B8; }
.tech-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.tech-row img { width: 100%; background: #000; }
.tech-name { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 9vw, 140px); line-height: .95; color: var(--white); }
.tech-full { font-size: 14px; color: #A99F91; margin: 10px 0 24px; letter-spacing: .02em; }
.tech-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.tech-points li { padding-left: 22px; position: relative; color: #CFC6B8; font-size: 15px; }
.tech-points li::before { content: ""; position: absolute; left: 0; top: .65em; width: 10px; height: 2px; background: var(--giallo); }
.tech-points strong { color: var(--white); font-weight: 600; }
.subnav--dark .chip { background: transparent; color: #EDE6DA; border-color: #4a4038; }
.subnav--dark .chip:hover { border-color: #EDE6DA; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 96px); }
.contact-card { border-top: 1px solid var(--line); padding: 20px 0; }
.contact-card h3 { font-size: 20px; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--ink-2); }
.contact-card a { border-bottom: 1px solid currentColor; }
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--white); padding: 13px 14px; font-size: 15px; border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.has-error input, .field.has-error textarea { border-color: var(--rosso); }
.field .err { display: none; color: var(--rosso); font-size: 12.5px; margin-top: 5px; }
.field.has-error .err { display: block; }
.form-done { display: none; background: var(--paper-2); padding: 28px; }
.form-done.is-on { display: block; }
.form-done h3 { margin-bottom: 8px; }

.policy { max-width: 760px; }
.policy h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 18px; }
.policy h3 { font-size: 21px; margin: 32px 0 10px; }
.policy p, .policy li { color: var(--ink-2); font-size: 15.5px; }
.policy-tabs { display: flex; gap: 8px; margin: 24px 0 40px; flex-wrap: wrap; }
.policy-panel[hidden] { display: none; }
.address { font-style: normal; background: var(--paper-2); padding: 18px 20px; margin: 16px 0; }

.wish-empty { text-align: center; padding: 80px 0; }
.wish-empty h2 { margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .logo__word { display: none; }
  .mega__inner { grid-template-columns: repeat(3, minmax(140px, 1fr)); }
  .mega__promo { display: none; }
}
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight__mood img { aspect-ratio: 16/10; }
  .pdp { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  :root { --header-h: 60px; }
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  /* Side columns hug their icons and the logo centers in the space between, so it can't crowd them */
  .header__bar { grid-template-columns: auto 1fr auto; }
  .header__left .iconbtn--search-d, .header__right .iconbtn--wish-d { display: none; }
  .logo { gap: 8px; }
  .logo img { height: 34px; }
  .logo__word { display: inline; font-size: 11px; letter-spacing: .22em; }
  .toolbar { top: var(--header-h); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
  .card__name { font-size: 14px; }
  .card__info { grid-template-columns: 1fr; }
  .card__price { text-align: left; }
  .card__media .card__alt { display: none; }
  .grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; }
  .grid--compact .card__info { padding-top: 8px; }
  .grid--compact .card__name { font-size: 12.5px; line-height: 1.25; }
  .grid--compact .card__price { font-size: 12px; }
  .grid--compact .card__color, .grid--compact .card__wish { display: none; }
  .features, .duo, .films { grid-template-columns: 1fr; }
  .tech__grid { grid-template-columns: 1fr; gap: 36px; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .signup__inner { grid-template-columns: 1fr; gap: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .story-band__inner { min-height: 560px; }
  .chapter, .tech-row, .contact-grid { grid-template-columns: 1fr; }
  .chapter--flip .chapter__img { order: 0; }
  .mood-band { grid-template-columns: 1fr 1fr; }
  .mood-band img:nth-child(3) { display: none; }

  .pdp { grid-template-columns: 1fr; padding-top: 0; gap: 20px; }
  .pdp-wrap { padding: 0; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; margin: 0; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item, .gallery__item--wide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; cursor: default; }
  .gallery__dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0 0; }
  .gallery__dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s; }
  .gallery__dots span.is-on { background: var(--ink); }
  .buy { position: static; padding: 0 var(--gutter) 24px; }
  .buy .crumbs { display: none; }
  .mobile-buy {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; transform: translateY(100%); transition: transform .3s var(--ease);
  }
  .mobile-buy.is-on { transform: none; }
  .mobile-buy div { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
  .mobile-buy strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-buy .btn { min-height: 46px; padding: 0 22px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 5 / 4; }
  .hero__img { object-position: 50% 55%; }
  .hero__content { padding-top: 56px; padding-bottom: 44px; }
  .hero__content::before { top: 28px; }
}
@media (max-width: 560px) {
  .tiles { gap: 10px; }
  .tile__label strong { font-size: 19px; }
  .tile__label span { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .sizes { grid-template-columns: repeat(4, 1fr); }
  .form .row2 { grid-template-columns: 1fr; }
  .duo a { grid-template-columns: 1fr; }
  .duo img { aspect-ratio: 16/10; }
  .toolbar__count { display: none; }
  .modal__box { padding: 24px 18px; }
}
