/* ════════════════════════════════════════════════════════════
   JESSY ABI NADER — Maison layer (loaded last on every page)
   Pass 2 — measured against eliesaab.com (see PR notes).
   The house typefaces are kept: Oswald (display), Space Mono (meta),
   Inter (body), Montserrat (wordmark / UI labels) — set with restraint:
   light weights, uppercase, wide tracking, generous whitespace.
   Overrides styles.css / pages.css.
   ════════════════════════════════════════════════════════════ */

/* ---------- 1 · tokens ---------- */
:root {
  --display: "Oswald", "Arial Narrow", sans-serif;
  --mono:    "Space Mono", ui-monospace, monospace;
  --sans:    "Inter", system-ui, sans-serif;
  --ui:      "Montserrat", "Inter", system-ui, sans-serif;
  --serif:   var(--display);                     /* legacy alias (as on main) */

  --ink:      #fafaf8;   /* page ground */
  --ink-2:    #f3f2ef;   /* rails, footer, wells */
  --ink-3:    #ecebe7;   /* toolbar boxes */
  --chalk:    #100f0d;
  --chalk-80: rgba(16, 15, 13, 0.84);
  --chalk-60: rgba(16, 15, 13, 0.66);
  --chalk-35: rgba(16, 15, 13, 0.46);
  --muted:    #85827d;   /* inactive tabs / menu items */
  --hairline: rgba(16, 15, 13, 0.12);
  --line:     rgba(16, 15, 13, 0.24);
  --field:    #d9d7d2;   /* form field border */
  --error:    #b3261e;
  --error-bg: #fbeceb;

  --mh-h: 70px;
  --pad: 35px;           /* page side margin (desktop) */
  --gutter: var(--pad);
  --maxw: 1440px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
:root[data-theme="dark"] {
  --ink:      #0d0d0c;
  --ink-2:    #171716;
  --ink-3:    #1f1f1d;
  --chalk:    #f2f0ea;
  --chalk-80: rgba(242, 240, 234, 0.88);
  --chalk-60: rgba(242, 240, 234, 0.72);
  --chalk-35: rgba(242, 240, 234, 0.55);
  --muted:    #9a978f;
  --hairline: rgba(242, 240, 234, 0.16);
  --line:     rgba(242, 240, 234, 0.34);
  --field:    rgba(242, 240, 234, 0.3);
  --error:    #ff8a80;
  --error-bg: rgba(255, 138, 128, 0.1);
}
@media (max-width: 1023px) { :root { --pad: 24px; } }
@media (max-width: 767px)  { :root { --mh-h: 60px; --pad: 16px; } }

html { scroll-padding-top: calc(var(--mh-h) + 16px); scrollbar-width: thin; -webkit-text-size-adjust: 100%; }
html::-webkit-scrollbar { display: initial; width: 8px; }
html::-webkit-scrollbar-thumb { background: var(--hairline); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--ink); color: var(--chalk);
  font-family: var(--sans); font-weight: 300; font-size: 15px; line-height: 1.6; letter-spacing: 0;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--chalk); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 2 · type ---------- */
/* display headings — Oswald light, uppercase, tracked, deliberately small (Elie Saab sets section titles at ~17–19px) */
.t-display, .page-title, .serif-xl, .serif-lg, .founder-copy h2, .look-story h2, .nb-copy h2, .contact-h,
.consultation-section h2, .booking-header h2, .prose h2, .faq-more h2, .coming h1, .coming h2 {
  font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.1em;
  line-height: 1.2; color: var(--chalk);
}
.page-title { font-size: clamp(22px, 2.3vw, 30px); }
.prose h2 { font-size: clamp(17px, 1.6vw, 20px); margin-top: 2.2em; }
/* small meta — Space Mono */
.eyebrow, .kicker, .mono-label, .crumbs, .pre-label, .nb-num, table.jan th {
  font-family: var(--mono); font-weight: 400; font-size: 11px; line-height: 1.5;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--chalk-60);
}
.page-lead { font-family: var(--sans); font-style: normal; font-weight: 300; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; color: var(--chalk-80); }
.prose p, .prose li, .nb-copy p, .founder-copy p, .look-story p, details.qa p, details.qa .qa-body li { font-weight: 300; color: var(--chalk-80); }
.prose h3, .faq-group > h2 {
  font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chalk);
}
strong, b { font-weight: 500; }

/* underlined text link (Elie Saab's only editorial CTA) */
.u-link, .text-link, .link-cta, .ed-btn, .link-back {
  display: inline-block; position: relative; padding: 0 0 4px; border: 0 !important; background: none; cursor: pointer;
  font-family: var(--ui); font-weight: 500; font-size: 11.5px; line-height: 1.4; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--chalk); text-decoration: none;
}
.u-link::after, .text-link::after, .link-cta::after, .ed-btn::after, .link-back::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: left; transition: transform 0.5s var(--ease);
}
.u-link:hover::after, .text-link:hover::after, .link-cta:hover::after, .ed-btn:hover::after, .link-back:hover::after { transform: scaleX(0); transform-origin: right; }
.u-link--light { color: #fff; }
.prose a, .pdp-acc-body a, .sg-foot a, .os-help a, .co-foot a, .co-error a {
  color: var(--chalk); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--line);
}
.prose a:hover, .pdp-acc-body a:hover, .sg-foot a:hover { text-decoration-color: currentColor; }

/* ---------- 3 · buttons ---------- */
.btn, .cta, .form-submit, .footer-book {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 28px; margin: 0; border-radius: var(--radius);
  font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  line-height: 1.2; text-align: center; text-decoration: none;
  border: 1px solid var(--chalk); background: transparent; color: var(--chalk);
  box-shadow: none; cursor: pointer; overflow: visible;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s;
}
.cta::before, .footer-book::before { content: none !important; }
.btn-solid, .form-submit { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.btn-solid:hover, .form-submit:hover { opacity: 0.86; }
.btn-outline { background: transparent; border-color: var(--line); }
.btn-outline:hover, .cta:hover, .footer-book:hover { border-color: var(--chalk); }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .form-submit:disabled { opacity: 0.45; cursor: progress; }
.btn svg { flex: 0 0 auto; }

/* ---------- 4 · header ---------- */
.mh {
  position: sticky; top: 0; left: 0; right: 0; z-index: 110;
  height: var(--mh-h); padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  background: var(--ink); color: var(--chalk); border-bottom: 1px solid var(--hairline);
}
.mh-side { display: flex; align-items: center; gap: 6px; min-width: 0; }
.mh-right { justify-content: flex-end; gap: 10px; }
.mh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-width: 44px; min-height: 44px; padding: 0; margin: 0; background: none; border: 0; color: inherit; cursor: pointer;
  font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
}
.mh-menu { justify-content: flex-start; margin-left: -2px; }
.mh-btn svg { display: block; flex: 0 0 auto; }
.mh-btn:hover { opacity: 0.6; }
.mh-brand { display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: inherit; text-decoration: none; text-align: center; white-space: nowrap; line-height: 1; }
.co-brand { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
/* logo mark beside the wordmark, painted in the header's own ink */
.mh-logo { height: 30px; width: auto; flex: 0 0 auto; background-color: currentColor; }
.co-brand .mh-logo { height: 24px; }
.mh-word {
  display: block; font-family: var(--ui); font-weight: 500; text-transform: uppercase;
  font-size: 17px; letter-spacing: 0.34em; margin-right: -0.34em;
}
@media (max-width: 767px) {
  .mh { gap: 4px; }
  .mh-menu .mh-btn-label { display: none; }
  .mh-word { font-size: 13px; letter-spacing: 0.24em; margin-right: -0.24em; }
  .mh-brand { gap: 8px; }
  .mh-logo { height: 22px; }
  .mh-right { gap: 0; margin-right: -10px; }
  .mh-menu { margin-left: -12px; min-width: 44px; justify-content: center; }
}
@media (max-width: 359px) { .mh-word { font-size: 12px; letter-spacing: 0.18em; margin-right: -0.18em; } .mh-logo { height: 18px; } }

/* legacy chrome from older pages stays hidden */
.nav, .progress-rail, .preloader, footer.footer { display: none !important; }

/* ---------- 5 · drawer menu ---------- */
.md { position: fixed; inset: 0; z-index: 140; visibility: hidden; pointer-events: none; }
.md.open { visibility: visible; pointer-events: auto; }
.md-scrim {
  position: absolute; inset: 0; background: rgba(16, 15, 13, 0.32);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.md.open .md-scrim { opacity: 1; }
.md-panel {
  position: absolute; top: 10px; bottom: 10px; left: 10px; width: 460px; max-width: calc(100% - 20px);
  border-radius: 8px; background: var(--ink); color: var(--chalk);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(calc(-100% - 20px)); transition: transform 0.5s var(--ease), width 0.45s var(--ease);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.md.open .md-panel { transform: none; }
.md-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 0 30px; flex: 0 0 auto; }
.md-close {
  width: 44px; height: 44px; margin-right: -6px; display: grid; place-items: center; border: 0; background: none; color: var(--chalk); cursor: pointer;
}
.md-close span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink-2); display: grid; place-items: center; }
.md-tabs { display: flex; gap: 0; margin: 4px 30px 0; border-bottom: 1px solid var(--hairline); flex: 0 0 auto; }
.md-tab {
  flex: 1 1 0; padding: 14px 0 13px; margin-bottom: -1px; background: none; border: 0; border-bottom: 1px solid transparent; cursor: pointer;
  font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-align: left;
}
.md-tab + .md-tab { text-align: right; }
.md-tab[aria-selected="true"] { color: var(--chalk); border-bottom-color: var(--chalk); }
.md-body { flex: 1 1 auto; min-height: 0; display: flex; overflow: hidden; }
.md-main, .md-subs { overflow-y: auto; overscroll-behavior: contain; }
.md-main { flex: 0 0 100%; padding: 18px 30px 24px; }
.md-list, .md-sub ul { list-style: none; margin: 0; padding: 0; }
.md-list[hidden], .md-sub[hidden] { display: none; }
.md-item {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 46px; padding: 0; background: none; border: 0; cursor: pointer; text-align: left; text-decoration: none;
  font-family: var(--ui); font-weight: 400; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  transition: color 0.25s;
}
.md-item:hover, .md-item[aria-expanded="true"], .md-item[aria-current="page"] { color: var(--chalk); }
.md-item svg { flex: 0 0 auto; color: var(--chalk); }
.md-subs { flex: 1 1 auto; display: none; padding: 18px 30px 24px; }
.md-crumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--chalk); width: fit-content; }
.md-back { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font: inherit; }
.md-crumb, .md-back { font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.md-back:hover { color: var(--chalk); }
.md-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 22px; }
.md-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--ink-2); text-decoration: none; }
.md-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.2s var(--ease); }
.md-tile:hover img { transform: scale(1.04); }
.md-tile::before { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(0,0,0,0.45), transparent); }
.md-tile .u-link { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; color: #fff; font-size: 10.5px; }
/* paged looks — sets of four, swiped sideways (phones) or stepped with the arrow */
.md-tiles--paged { display: block; }
.md-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; outline: none; }
.md-track::-webkit-scrollbar { display: none; }
.md-page { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.md-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.md-dots { display: inline-flex; gap: 8px; }
.md-dots i { width: 18px; height: 2px; background: var(--line); cursor: pointer; transition: background 0.3s, width 0.3s; }
.md-dots i.on { background: var(--chalk); width: 28px; }
.md-next { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 2px; background: none; border: 0; cursor: pointer; color: var(--chalk);
  font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.md-next svg { transition: transform 0.3s var(--ease); }
.md-tiles--paged:not(.at-end) .md-next svg { animation: md-nudge 1.8s var(--ease) 0.6s 2; }
.md-tiles--paged.at-end .md-next svg { transform: rotate(180deg); }
@keyframes md-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .md-tiles--paged .md-next svg { animation: none !important; } .md-track { scroll-behavior: auto; } }
/* a sub-panel is open: phones push it over the list; desktop widens into columns */
.md.sub-open .md-subs { display: block; }
@media (max-width: 1023px) {
  .md.sub-open .md-main { display: none; }
  .md-subs { flex-basis: 100%; }
}
@media (min-width: 1024px) {
  .md.sub-open .md-panel { width: min(1120px, calc(100vw - 20px)); }
  .md-main { flex: 0 0 460px; }
  .md.sub-open .md-tabs { width: 400px; }
  .md-subs { padding-left: 40px; border-left: 1px solid var(--hairline); margin: 18px 0 24px; padding-top: 0; }
  .md-crumb .md-back { display: none; }
  .md-crumb .md-crumb-sep { display: none; }
  .md-tiles { grid-template-columns: repeat(4, 1fr); max-width: 640px; }
  .md-tiles--paged { max-width: 640px; }
  .md-page { grid-template-columns: repeat(4, 1fr); }
}
.md-foot {
  flex: 0 0 auto; padding: 16px 30px 20px; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
}
.md-foot a, .md-foot button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none;
  font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chalk);
}
.md-switch { width: 34px; height: 20px; border-radius: 10px; background: var(--ink-3); border: 1px solid var(--line); position: relative; transition: background 0.3s; flex: 0 0 auto; }
.md-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--chalk); transition: transform 0.3s var(--ease); }
:root[data-theme="dark"] .md-switch::after { transform: translateX(14px); }
.md-loc { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--chalk-60); width: 100%; }
@media (max-width: 767px) {
  .md-panel { top: 8px; bottom: 8px; left: 8px; max-width: calc(100% - 16px); width: calc(100% - 16px); }
  .md-head { padding: 10px 12px 0 22px; }
  .md-tabs { margin: 2px 22px 0; }
  .md-main, .md-subs { padding: 14px 22px 22px; }
  .md-foot { padding: 12px 22px 16px; }
}

/* ---------- 6 · footer ---------- */
.mf { background: var(--ink-2); color: var(--chalk); padding: 48px var(--pad) 0; margin-top: 0; }
.mf-cols { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.mf-col summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: default; padding: 0 0 14px;
  font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chalk);
}
.mf-col summary::-webkit-details-marker { display: none; }
.mf-col summary svg { display: none; transition: transform 0.3s var(--ease); }
.mf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mf-col a {
  display: inline-block; padding: 4px 0; font-size: 13.5px; line-height: 1.5; color: var(--chalk-60); text-decoration: none; overflow-wrap: anywhere;
}
.mf-col a:hover, .mf-col a[aria-current="page"] { color: var(--chalk); }
.mf-mid { max-width: 1100px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.mf-mark { width: 26px; height: 66px; display: block; }
.mf-social { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.mf-social a, .mf-loc { font-size: 13px; color: var(--chalk-60); text-decoration: none; }
.mf-social a:hover { color: var(--chalk); }
.mf-base {
  max-width: none; margin: 32px calc(var(--pad) * -1) 0; padding: 18px var(--pad); border-top: 1px solid var(--hairline);
  text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chalk-60);
}
@media (min-width: 768px) and (max-width: 1023px) { .mf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; } }
@media (max-width: 767px) {
  .mf { padding-top: 28px; }
  .mf-cols { grid-template-columns: 1fr; gap: 0; }
  .mf-col { border-bottom: 1px solid var(--hairline); }
  .mf-col summary { cursor: pointer; min-height: 54px; padding: 0; }
  .mf-col summary svg { display: block; }
  .mf-col[open] summary svg { transform: rotate(180deg); }
  .mf-col ul { padding: 0 0 16px; }
  .mf-mid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; margin-top: 28px; }
  .mf-mid .mf-loc { order: 3; }
  .mf-social { justify-content: center; }
  .mf-base { padding-bottom: 84px; }   /* clear the advisor pill */
}

/* ---------- 7 · advisor pill (Elie Saab "Chat to an expert") ---------- */
.advisor-tab {
  position: fixed; z-index: 120; right: max(20px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 16px 0 14px; border-radius: 6px;
  background: #100f0d; color: #fff; border: 0; text-decoration: none;
  font-family: var(--ui); font-weight: 600; font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16); transition: opacity 0.3s, transform 0.3s var(--ease);
}
.advisor-tab::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3fcf6e; flex: 0 0 auto; }
.advisor-icon { display: inline-flex; width: auto; height: auto; background: none; color: #fff; }
.advisor-icon::after { content: none; }
.advisor-icon svg { width: 15px; height: 15px; }
.advisor-tab > span:last-child { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
:root[data-theme="dark"] .advisor-tab { background: #f2f0ea; color: #100f0d; }
:root[data-theme="dark"] .advisor-icon { color: #100f0d; }
@media (max-width: 767px) {   /* phones: a compact round button so it never sits on content */
  .advisor-tab { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 48px; height: 48px; min-height: 0; padding: 0; border-radius: 50%; justify-content: center; gap: 0; }
  .advisor-tab::before { position: absolute; top: 11px; right: 11px; box-shadow: 0 0 0 2px #100f0d; }
  .advisor-icon svg { width: 20px; height: 20px; }
  .advisor-tab > span:last-child { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
html.nav-locked .advisor-tab { opacity: 0; pointer-events: none; transform: translateY(10px); }
.advisor-tab { margin-bottom: var(--cookie-h, 0px); transition: opacity 0.3s, transform 0.3s var(--ease), margin-bottom 0.3s var(--ease); }
html body #jan-cookie { z-index: 130 !important; background: #100f0d; border-top: 0; font-family: var(--sans); }
html body #jan-cookie .jc-inner { max-width: var(--maxw); padding: 16px var(--pad); }
html body #jan-cookie p { font-family: var(--sans); font-weight: 300; font-size: 13px; }
html body #jan-cookie a { color: #f6f3ee; }
html body #jan-cookie button { font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; border-radius: var(--radius); min-height: 42px; padding: 0 20px; }
html.nav-locked { overflow: hidden; }

/* ---------- 8 · shared: tabs band, carousel, product card ---------- */
.tabs { display: flex; justify-content: center; border-bottom: 1px solid var(--hairline); }
.tab {
  position: relative; flex: 0 1 auto; min-width: 0; min-height: 52px; padding: 0 clamp(16px, 4vw, 64px); margin-bottom: -1px;
  display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color 0.25s, border-color 0.25s;
}
.tab:hover { color: var(--chalk); }
.tab[aria-selected="true"], .tab.is-active { color: var(--chalk); border-bottom-color: var(--chalk); }
@media (max-width: 767px) {
  .tabs { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 0 var(--pad); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { padding: 0 14px; font-size: 10.5px; letter-spacing: 0.14em; flex: 0 0 auto; }
  .tabs--fit { justify-content: space-around; padding: 0; }
  .tabs--fit .tab { flex: 1 1 0; padding: 0 6px; }
}

.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 15px) / 4); gap: 5px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; min-width: 0; }
.car-arrow {
  position: absolute; z-index: 3; top: var(--arrow-top, 50%); transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: #100f0d; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); transition: opacity 0.3s;
}
.car-arrow[disabled] { opacity: 0; pointer-events: none; }
.car-prev { left: 14px; } .car-next { right: 14px; }
@media (max-width: 1023px) { .carousel-track { grid-auto-columns: calc((100% - 10px) / 3); } }
@media (max-width: 767px) {
  .carousel-track { grid-auto-columns: 100%; gap: 6px; padding: 0 13%; scroll-padding: 0 13%; }
  .carousel-track > * { scroll-snap-align: center; }
  .car-arrow { display: none; }
}

/* product card (collection grid, home carousel, you may also like) */
.pc { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--chalk); text-decoration: none; }
.pc-media { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--ink-2); border-radius: 2px; }
.pc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); }
.pc-img-alt { opacity: 0; }
.pc-info { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 2px 0; min-width: 0; }
.pc-name {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--ui); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.pc-price { flex: 0 0 auto; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.02em; color: var(--chalk-60); }
@media (hover: hover) and (pointer: fine) {
  .pc:hover .pc-img-alt { opacity: 1; }
  .pc:hover .pc-media:has(.pc-img-alt) .pc-img:not(.pc-img-alt) { opacity: 0; }
  .pc:hover .pc-media:not(:has(.pc-img-alt)) .pc-img { transform: scale(1.025); }
}
@media (max-width: 767px) {
  .pc-info { flex-direction: column; align-items: flex-start; gap: 3px; padding: 9px 4px 0; }
  .pc-name { max-width: 100%; font-size: 10.5px; letter-spacing: 0.12em; }
  .pc-price { font-size: 11px; }
}

/* ---------- 9 · page shell (inner pages) ---------- */
body.subpage { padding-top: 0; }
.page { padding: clamp(40px, 7vh, 80px) 0 clamp(72px, 11vh, 120px); }
.page-head { max-width: var(--maxw); margin: 0 auto clamp(32px, 5vh, 56px); padding: 0 var(--pad); text-align: center; }
.page-head .kicker { display: block; margin-bottom: 16px; }
.page-lead { max-width: 640px; margin: 16px auto 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-bottom: 18px; }
.crumbs a { color: var(--chalk-60); text-decoration: none; }
.crumbs a:hover, .crumbs [aria-current] { color: var(--chalk); }
.prose { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); }
.prose > * { max-width: none; }
.faq { max-width: 820px; margin: 0 auto; padding: 0 var(--pad); display: flex; flex-direction: column; }
.faq-group, .faq > details.qa, .faq-more { width: 100%; }
details.qa summary { font-family: var(--sans); font-weight: 400; font-size: 15px; letter-spacing: 0; padding: 18px 40px 18px 0; }
details.qa summary:hover { opacity: 0.7; }
.faq-more { margin-top: clamp(32px, 6vh, 56px); padding: clamp(24px, 4vw, 40px); background: var(--ink-2); text-align: center; display: grid; gap: 14px; justify-items: center; border: 0; }
.faq-more h2 { font-size: 18px; }
.faq-more p { color: var(--chalk-80); margin: 0; }
.faq-more .faq-more-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
table.jan { width: 100%; border-collapse: collapse; }
table.jan th, table.jan td { padding: 10px 8px; border-bottom: 1px solid var(--hairline); text-align: center; }
table.jan td { font-weight: 300; font-size: 14px; }
table.jan th:first-child, table.jan td:first-child { text-align: left; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 10 · site forms (contact etc.) ---------- */
.form-section-label {
  display: block; width: 100%; margin: 32px 0 16px; padding: 0 0 10px; border: 0; border-bottom: 1px solid var(--hairline);
  font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chalk);
}
.form-grid { gap: 14px; }
.field { gap: 7px; }
.field label { font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chalk-80); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 5px;
  background: transparent; color: var(--chalk); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.4;
}
.field textarea { min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--chalk); outline: none; box-shadow: 0 0 0 1px var(--chalk); }
.field select option { color: #111; background: #fff; }
.form-submit { margin-top: 24px; min-height: 52px; }
.form-note { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--chalk-60); }
.form-status { font-family: var(--sans); font-size: 14px; }

/* ---------- 11 · home ---------- */
.home { padding: 0 0 clamp(72px, 10vh, 110px); }
.h-hero { padding: 0 var(--pad); }
.h-hero-media {
  position: relative; overflow: hidden; background: #0d0d0c; border-radius: 2px;
  height: clamp(420px, calc(100svh - var(--mh-h)), 860px);
}
.h-vid, .h-hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0; transition: opacity 0.8s var(--ease); }
.h-vid.is-active { opacity: 1; }
.h-hero-media::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent); pointer-events: none; }
.h-copy {
  position: absolute; z-index: 2; left: 50%; bottom: clamp(28px, 6vh, 56px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; color: #fff; width: max-content; max-width: calc(100% - 32px);
}
.h-copy[hidden] { display: none; }
.h-copy-title {
  margin: 0; font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.16em; margin-right: -0.16em;
  font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; color: #fff;
}
.h-hero .tabs { margin-top: 0; }
.h-sec { margin-top: clamp(64px, 10vh, 104px); }
.h-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 var(--pad); margin-bottom: 22px; }
.h-title { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(16px, 1.4vw, 19px); text-transform: uppercase; letter-spacing: 0.14em; color: var(--chalk); }
.h-sec .carousel { padding: 0 var(--pad); }
.h-sec .car-prev { left: calc(var(--pad) + 14px); } .h-sec .car-next { right: calc(var(--pad) + 14px); }
.h-more { display: flex; justify-content: center; margin-top: 28px; }
.ed-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); border-radius: 2px; text-decoration: none; }
.ed-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.4s var(--ease); }
.ed-tile:hover img { transform: scale(1.03); }
.ed-tile::before { content: ""; position: absolute; inset: 60% 0 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent); }
.ed-tile .u-link { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; }
.h-banner { padding: 0 var(--pad); }
.h-banner-media { position: relative; display: block; overflow: hidden; aspect-ratio: 2.4 / 1; background: #0d0d0c; border-radius: 2px; text-decoration: none; }
.h-banner-media img, .h-banner-vid { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform 1.6s var(--ease); }
.h-banner-media:hover img, .h-banner-media:hover .h-banner-vid { transform: scale(1.02); }
.h-banner-media::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent); }
@media (max-width: 767px) {
  .h-hero, .h-banner { padding: 0; }
  .h-hero-media { height: clamp(460px, calc(100svh - var(--mh-h) - 72px), 700px); border-radius: 0; }
  .h-sec { margin-top: 64px; }
  .h-sec-head { justify-content: center; text-align: center; margin-bottom: 18px; }
  .h-sec-head .u-link { display: none; }
  .h-sec .carousel { padding: 0; }
  .h-banner-media { aspect-ratio: 4 / 5; border-radius: 0; }
  .h-banner-media img { object-position: 84% center; }
  .h-banner-vid { object-position: center; }
  .h-banner .tabs { justify-content: flex-start; }
}

/* ---------- 12 · collection ---------- */
.plp { padding: 0 0 clamp(72px, 11vh, 120px); }
.plp-bar { display: grid; grid-template-columns: auto 1fr; align-items: stretch; gap: 0 5px; padding: 5px 5px 0; }
.plp-coll {
  display: flex; align-items: center; min-height: 54px; padding: 0 22px; min-width: 240px; border-radius: 2px;
  background: var(--ink-3); font-family: var(--ui); font-weight: 600; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
}
.plp-bar .tabs { justify-content: flex-start; background: var(--ink-2); border-bottom: 0; padding: 0 8px; border-radius: 2px; }
.plp-bar .tab { min-height: 54px; padding: 0 22px; }
.plp-tools { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 24px; min-height: 44px; padding: 0 var(--pad); }
.plp-sort { display: inline-flex; align-items: center; gap: 4px; position: relative; }
.plp-sort label, .plp-count { font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.plp-sort select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--chalk); cursor: pointer;
  padding: 10px 18px 10px 4px; font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
}
.plp-sort::after { content: ""; position: absolute; right: 4px; top: 50%; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.plp-count { color: var(--chalk-60); font-family: var(--mono); font-weight: 400; letter-spacing: 0.06em; text-transform: none; font-size: 11px; }
.plp-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 0 5px; grid-auto-flow: dense;
}
.plp-grid .pc-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(to top, rgba(250,250,248,0.94), rgba(250,250,248,0.0)); opacity: 0; transform: translateY(6px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
:root[data-theme="dark"] .plp-grid .pc-info { background: linear-gradient(to top, rgba(13,13,12,0.9), rgba(13,13,12,0)); }
.plp-grid .pc:hover .pc-info, .plp-grid .pc:focus-visible .pc-info { opacity: 1; transform: none; }
.plp-ed { grid-column: 2 / span 2; grid-row: 1; position: relative; overflow: hidden; background: #0d0d0c; border-radius: 2px; min-height: 100%; }
.plp-ed video, .plp-ed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plp-ed-copy { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2; white-space: nowrap; }
.plp-ed::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent); }
@media (hover: none), (max-width: 1023px) {
  .plp-grid .pc-info, :root[data-theme="dark"] .plp-grid .pc-info { position: static; opacity: 1; transform: none; background: none; padding: 9px 4px 12px; }
}
@media (max-width: 1023px) { .plp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .plp-bar { grid-template-columns: 1fr; gap: 5px; }
  .plp-coll { min-width: 0; min-height: 48px; padding: 0 16px; }
  .plp-bar .tabs { display: none; }
  .plp-tools { padding: 0 11px; justify-content: space-between; gap: 12px; }
  .plp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plp-ed { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .plp-grid .pc-info { padding: 8px 6px 14px; }
}
.look-story { max-width: 680px; margin: clamp(72px, 12vh, 120px) auto 0; padding: 0 var(--pad); text-align: center; display: flex; flex-direction: column; align-items: center; }
.look-story h2 { font-size: clamp(17px, 1.6vw, 20px); margin: 12px 0 18px; }
.look-story p { max-width: 60ch; margin: 0 0 1em; }
.look-story .u-link { margin-top: 14px; }

/* ---------- 13 · product page ---------- */
.pdp { padding: 0 0 clamp(64px, 10vh, 110px); }
.pdp-top {
  display: grid; grid-template-columns: minmax(150px, 1fr) auto minmax(330px, 1fr); align-items: start;
  padding: 26px var(--pad) 0;
}
.pdp-left { display: flex; flex-direction: column; align-items: center; gap: 0; align-self: stretch; }
.pdp-back {
  align-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--chalk); text-decoration: none;
  font-family: var(--ui); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.pdp-back span { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.pdp-back:hover { opacity: 0.6; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 12px; margin-top: auto; margin-bottom: auto; padding: 24px 0; }
.pdp-thumbs button { width: 92px; aspect-ratio: 2 / 3; padding: 3px; border: 1px solid transparent; border-radius: 6px; background: none; cursor: pointer; opacity: 0.7; transition: opacity 0.25s, border-color 0.25s; }
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.pdp-thumbs button.active, .pdp-thumbs button:hover { opacity: 1; border-color: var(--line); }
.pdp-media { position: relative; width: calc(min(calc(100svh - var(--mh-h) - 60px), 980px) * 2 / 3); min-width: 380px; max-width: 46vw; }
.dress-main { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; background: var(--ink-2); touch-action: pan-y; }
.dress-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transform-origin: center; transition: transform 0.35s var(--ease); user-select: none; -webkit-user-drag: none; }
.dz-controls { position: absolute; z-index: 3; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.dz-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.9); color: #100f0d; font-size: 17px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.dz-btn:hover { background: #fff; }
.dg-arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(255,255,255,0.92); color: #100f0d; box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.dg-arrow[hidden] { display: none; }
.dg-prev { left: 14px; } .dg-next { right: 14px; }
.dress-progress { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.dress-progress[hidden] { display: none; }
.dress-progress-bar { position: relative; flex: 1; height: 1px; background: var(--hairline); overflow: hidden; }
.dress-progress-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--chalk); transition: transform 0.4s var(--ease); }
.dress-counter { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--chalk-60); }

.pdp-info { width: 100%; max-width: 330px; justify-self: center; padding: 6px 0 24px; }
.pdp-name {
  margin: 0; text-align: center; font-family: var(--display); font-weight: 300; text-transform: uppercase;
  font-size: 22px; letter-spacing: 0.14em; line-height: 1.25; color: var(--chalk);
}
.pdp-sub { margin: 6px 0 0; text-align: center; font-family: var(--ui); font-weight: 500; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--chalk-60); }
.pdp-price { margin: 14px 0 0; text-align: center; font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; color: var(--chalk); }
.pdp-block { margin-top: 30px; }
.pdp-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px;
  font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chalk);
}
.pdp-label .dress-sel { font-family: var(--sans); font-weight: 300; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--chalk-80); }
.pdp-label .dress-sel:empty { display: none; }
.pdp-label-start { display: inline-flex; gap: 10px; align-items: baseline; }
.dress-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.dress-swatch, .dress-swatch.active, .dress-swatch:hover:not(.active) {
  position: relative; width: 36px; height: 44px; min-height: 0; padding: 0 0 8px; border: 0; background: none; color: var(--chalk); cursor: pointer;
  display: flex; align-items: flex-start; justify-content: center;
}
.dress-swatch.active .dot { outline: 0; }
.dress-swatch:focus-visible { outline: 1px solid var(--chalk); outline-offset: 2px; }
.dress-swatch .dot { display: block; width: 34px; height: 34px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, 0.14); box-shadow: inset 0 0 0 2px var(--ink); }
.dress-swatch > span:not(.dot) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dress-swatch::after { content: ""; position: absolute; left: 1px; right: 1px; bottom: 0; height: 1px; background: var(--chalk); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.dress-swatch.active::after { transform: scaleX(1); }
.dress-swatch:hover:not(:disabled) .dot { border-color: var(--chalk-60); }
.dress-swatch:disabled { cursor: not-allowed; opacity: 0.28; }
.dress-swatch .dot-custom { background: conic-gradient(from 0deg, #c9a86a, #b79bc4, #9db7c9, #cf9e9e, #8db59a, #c9a86a); }
:root[data-theme="dark"] .dress-swatch .dot { border-color: rgba(255,255,255,0.3); }
.dress-variants { display: grid; gap: 8px; }
.dress-variant-opt {
  display: flex; flex-direction: row; text-align: left; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--field); border-radius: 6px; background: transparent; color: var(--chalk); cursor: pointer; transition: border-color 0.25s;
}
.dress-variant-opt:hover { border-color: var(--chalk-60); }
.dress-variant-opt.active { border-color: var(--chalk); box-shadow: inset 0 0 0 1px var(--chalk); background: transparent; color: var(--chalk); }
.dress-variant-opt .dv-name, .dress-variant-opt .dv-price { display: inline; margin: 0; }
.dress-variant-opt .dv-name { font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.dress-variant-opt .dv-price { font-family: var(--mono); font-size: 12px; }
.dress-sizes { display: grid; grid-template-columns: repeat(6, 40px); justify-content: space-between; row-gap: 12px; }
.dress-sizes button {
  width: 40px; height: 40px; padding: 0; border: 1px solid var(--field); border-radius: 8px; background: transparent; color: var(--chalk); cursor: pointer;
  font-family: var(--mono); font-size: 12px; transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.dress-sizes button:hover { border-color: var(--chalk); }
.dress-sizes button.active, .dress-sizes button.active:hover { background: var(--chalk); border-color: var(--chalk); color: var(--ink); }
.dress-sizes button { min-width: 0; min-height: 0; letter-spacing: 0; }
.pdp-error {
  margin: 0 0 12px; padding: 9px 12px; border-radius: 4px; background: var(--error-bg); color: var(--error);
  font-family: var(--sans); font-weight: 400; font-size: 13px; line-height: 1.4;
}
.pdp-error[hidden] { display: none; }
.pdp-sg-row { display: flex; justify-content: flex-end; margin-top: 14px; }
.sg-link {
  position: relative; padding: 0 0 3px; min-height: 0; background: none; border: 0; cursor: pointer; color: var(--chalk);
  font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid currentColor;
}
.sg-link:hover { opacity: 0.6; }
.pdp-lead { margin: 22px 0 0; font-size: 13px; line-height: 1.6; color: var(--chalk-60); }
.pdp-actions { display: grid; gap: 10px; margin-top: 20px; }
.pdp-actions .btn { min-height: 46px; }
.pdp-acc { margin-top: 28px; border-top: 0; }
.pdp-acc-item { border-bottom: 1px solid var(--hairline); }
.pdp-acc-head {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 0;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--chalk);
  font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
}
.pdp-acc-head svg { flex: 0 0 auto; transition: transform 0.3s var(--ease); color: var(--chalk-60); }
.pdp-acc-item.open .pdp-acc-head svg { transform: rotate(180deg); }
.pdp-acc-body { display: none; padding: 0 0 18px; }
.pdp-acc-item.open .pdp-acc-body { display: block; }
.pdp-acc-body p { margin: 0 0 0.8em; font-size: 14px; line-height: 1.6; color: var(--chalk-80); }
.dress-details-list { margin: 0; display: grid; gap: 10px; }
.dress-details-list dt { font-family: var(--ui); font-weight: 500; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chalk-60); margin: 0; }
.dress-details-list dd { margin: 2px 0 0; font-size: 14px; color: var(--chalk-80); }

.pdp-related { margin-top: clamp(64px, 10vh, 104px); }
.pdp-related .h-sec-head { justify-content: center; }

@media (max-width: 1180px) {
  .pdp-top { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1fr); gap: 0 clamp(24px, 4vw, 48px); padding-top: 20px; }
  .pdp-left { display: none; }
  .pdp-media { width: 100%; min-width: 0; max-width: none; }
  .pdp-info { max-width: 380px; }
}
@media (max-width: 767px) {
  .pdp-top { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .dress-main { border-radius: 0; }
  .dress-progress { margin: 0; gap: 0; }
  .dress-progress .dress-counter { display: none; }
  .dz-controls { display: none; }
  .dg-arrow { width: 34px; height: 34px; }
  .pdp-info { max-width: 560px; padding: 22px var(--pad) 8px; }
  .pdp-name { font-size: 19px; }
  .dress-sizes { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
  .dress-sizes button { width: 100%; height: 42px; }
  .pdp-block { margin-top: 26px; }
}

/* size guide — right-hand panel (desktop), full sheet (phones) */
.sg-modal { position: fixed; inset: 0; z-index: 300; }
.sg-modal[hidden] { display: none; }
.sg-modal-backdrop { position: absolute; inset: 0; background: rgba(16,15,13,0.32); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.sg-modal-card {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); color: var(--chalk); padding: 22px 32px 40px; border-radius: 0; border: 0; max-width: none; max-height: none; transform: none; left: auto;
}
.sg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); margin-bottom: 20px; }
.sg-head h2 { margin: 0; font-family: var(--display); font-weight: 300; font-size: 18px; letter-spacing: 0.14em; text-transform: uppercase; }
.sg-modal-close { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--chalk); cursor: pointer; display: grid; place-items: center; position: static; }
.sg-modal-note { font-size: 13.5px; line-height: 1.6; color: var(--chalk-80); }
.sg-modal-card h3 { margin: 26px 0 10px; font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.sg-modal-card table.jan { table-layout: fixed; }
.sg-modal-card table.jan th:first-child, .sg-modal-card table.jan td:first-child { width: 36%; }
.sg-modal-card table.jan th, .sg-modal-card table.jan td { padding: 9px 4px; font-size: 12.5px; }
.sg-foot { margin-top: 20px; font-size: 13px; color: var(--chalk-80); }
@media (max-width: 767px) { .sg-modal-card { padding: 14px var(--pad) 32px; } }

/* ---------- 14 · editorial pages ---------- */
.founder { align-items: start; gap: clamp(32px, 6vw, 112px); padding: clamp(56px, 9vh, 104px) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.founder + .founder { border-top: 1px solid var(--hairline); }
.founder-media { position: sticky; top: calc(var(--mh-h) + 24px); }
.subpage .parallax-frame img { transform: none !important; }
.founder-media .parallax-frame { -webkit-mask-image: none; mask-image: none; }
.founder-copy { max-width: 620px; }
.founder-copy h2 { font-size: clamp(20px, 2vw, 26px); margin: 14px 0 18px; }
.founder-copy .founder-sub { font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chalk); margin: 2em 0 0.6em; }
.founder-copy blockquote { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; border-left: 1px solid var(--line); padding-left: 20px; margin: 26px 0; }
.founder-copy p { font-size: 15px; line-height: 1.8; }
.founder-copy .signature-line { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.1em; font-size: 16px; }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder-media { position: static; }
}
.nb-overview { position: sticky; top: var(--mh-h); z-index: 20; background: var(--ink); padding: 0 var(--pad); max-width: none !important; margin: 0 0 clamp(48px, 8vh, 96px); border-bottom: 1px solid var(--hairline); }
.nb-overview ol { max-width: 1100px; margin: 0 auto; gap: 0; }
.nb-overview-label { display: none; }
.nb-overview a {
  justify-content: center; padding: 18px 12px; text-align: center; border-bottom: 2px solid transparent;
  font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.nb-overview a[aria-current="true"], .nb-overview a:hover { color: var(--chalk); border-bottom-color: var(--chalk); opacity: 1; background: none; }
.nb-article { scroll-margin-top: calc(var(--mh-h) + 80px); }
.nb-copy h2 { font-size: clamp(20px, 2vw, 26px); }
.nb-sub { font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--chalk); }
.nb-copy p.nb-close { font-family: var(--display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; }
@media (max-width: 860px) {
  .nb-overview { padding: 0; }
  .nb-overview ol { display: flex; overflow-x: auto; scrollbar-width: none; grid-template-columns: none; }
  .nb-overview ol::-webkit-scrollbar { display: none; }
  .nb-overview li { flex: 0 0 auto; border: 0 !important; }
  .nb-overview a { white-space: nowrap; padding: 16px 16px; }
}
.contact-layout { max-width: var(--maxw); padding: 0 var(--pad); }
.contact-h { font-size: 18px; margin-bottom: 18px; }
.contact-layout .form-submit { width: 100%; }
.consultation-section { background: var(--ink-2); border: 0; border-radius: 4px; }
.consultation-section h2 { font-size: 18px; }
.contact-layout .consultation-section h2 { font-weight: 300; font-size: 18px; letter-spacing: 0.12em; line-height: 1.3; }
.contact-layout .consultation-section .footer-book, .consultation-section .footer-book { width: 100%; margin: 22px 0 12px; font-size: 11.5px; line-height: 1.2; background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.footer-book:hover { opacity: 0.86; color: var(--ink); }
.contact-direct dt { font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chalk-60); }
.contact-direct dd { font-size: 15px; }
.oc-h { font-family: var(--ui); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chalk); }
.oc-step-no, .oc-variant, .oc-made-mono, .oc-status, .oc-ref { font-family: var(--mono); }
.oc-piece { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  .md-panel, .md-scrim, .pc-img, .h-vid, .dress-progress-bar span { transition: none !important; }
}

/* checkout: keep the advisor button clear of the last button on phones */
@media (max-width: 767px) { .co-page .co-main { padding-bottom: 76px; } }

/* ---------- header navigation: Collections | The Maison | Notebook | Contact (desktop) ---------- */
.mh-nav { display: none; align-items: center; gap: 22px; min-width: 0; }
.mh-dd { position: relative; }
.mh-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; margin: 0;
  background: none; border: 0; color: inherit; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--ui); font-weight: 500; font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase;
  position: relative;
}
.mh-link svg { width: 10px; height: 10px; transition: transform 0.3s var(--ease); }
.mh-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.mh-link:hover::after, .mh-dd.open > .mh-link::after, .mh-link[aria-current="page"]::after { transform: scaleX(1); }
.mh-dd.open > .mh-link svg { transform: rotate(180deg); }
.mh-pop {
  position: absolute; top: calc(100% + 13px); left: -22px; min-width: 250px; z-index: 120;
  background: var(--ink); border: 1px solid var(--hairline); border-top: 0; padding: 14px 22px 18px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.mh-pop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.mh-dd.open .mh-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mh-pop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mh-pop a {
  display: block; padding: 8px 0; color: var(--chalk-60); text-decoration: none; white-space: nowrap;
  font-family: var(--ui); font-weight: 400; font-size: 13px; letter-spacing: 0.02em;
}
.mh-pop a:hover, .mh-pop a[aria-current="page"] { color: var(--chalk); }
@media (min-width: 1200px) {
  .mh-nav { display: flex; }
  .mh-menu { display: none; }
}
/* drawer: three tabs */
.md-tab:nth-child(2):not(:last-child) { text-align: center; }
/* footer contact lines with icons */
.mf-col a.mf-ic { display: inline-flex; align-items: center; gap: 10px; }
.mf-col a.mf-ic svg { flex: 0 0 auto; opacity: 0.85; }
/* drawer: four tabs (Collections / The Maison / Notebook / Contact) */
.md-tabs .md-tab, .md-tabs .md-tab + .md-tab, .md-tab:nth-child(2):not(:last-child) { text-align: center; }
.md-tabs .md-tab:first-child { text-align: left; }
.md-tabs .md-tab:last-child { text-align: right; }
.md-tabs .md-tab { flex: 1 1 auto; letter-spacing: 0.14em; white-space: nowrap; }
@media (max-width: 420px) { .md-tabs .md-tab { font-size: 10.5px; letter-spacing: 0.1em; } }
.md-contact .md-item { justify-content: flex-start; }
.md-contact .md-item svg { opacity: 0.85; }
.md-contact .md-item span { text-transform: none; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.md-contact li:nth-child(3) { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); }
/* Our Philosophy: photo centred, text below (desktop too) */
.founder.founder--stacked { display: block; text-align: left; }
.founder--stacked .founder-media { position: static; max-width: 1100px; margin: 0 auto clamp(32px, 5vh, 56px); }
.founder--stacked .founder-media img { width: 100%; height: auto; display: block; }
.founder--stacked .founder-copy { max-width: 720px; margin: 0 auto; }
/* contact page: icons beside email, phone and address */
.contact-direct dd a.cd-ic { display: inline-flex; align-items: center; gap: 10px; }
.contact-direct dd a.cd-ic svg { flex: 0 0 auto; opacity: 0.85; }

/* ---------- bag: header count + Add to Bag confirmation (bag.js) ---------- */
.mh-bag { position: relative; }
.mh-bag-count {
  position: absolute; top: 6px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--chalk); color: var(--ink); font-family: var(--ui); font-weight: 500; font-size: 9.5px; line-height: 16px;
  letter-spacing: 0; text-align: center; pointer-events: none;
}
.mh-bag-count[hidden] { display: none; }
@media (max-width: 767px) {
  /* phones: menu · wordmark · advisor + bag (appointments stay in the menu and footer) */
  .mh-right .mh-cal { display: none; }
  .mh-right .mh-btn { min-width: 40px; }
}
.bag-toast {
  position: fixed; z-index: 120; top: calc(var(--mh-h) + 12px); right: var(--pad); width: min(380px, calc(100vw - 2 * var(--pad)));
  padding: 18px 20px 20px; background: var(--ink); color: var(--chalk); border: 1px solid var(--hairline);
  box-shadow: 0 18px 50px rgba(16, 15, 13, 0.14); animation: bag-in 0.35s var(--ease);
}
.bag-toast[hidden] { display: none; }
@keyframes bag-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.bag-toast-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bag-toast-title { margin: 0; font-family: var(--ui); font-weight: 500; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.bag-toast-title:focus { outline: none; }
.bag-toast-close { display: inline-grid; place-items: center; width: 36px; height: 36px; margin: -8px -10px -8px 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.bag-toast-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); }
.bt-img { width: 64px; height: 84px; object-fit: cover; object-position: center 15%; background: var(--ink-2); }
.bt-meta p { margin: 0; }
.bt-name { font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.bt-opt { margin-top: 4px !important; font-size: 13px; color: var(--chalk-60); }
.bt-price { margin-top: 6px !important; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.bag-toast-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.bag-toast-actions .btn { min-height: 44px; padding: 0 12px; }
@media (max-width: 767px) {
  .bag-toast { top: auto; bottom: 12px; left: var(--pad); right: var(--pad); width: auto; }
  @keyframes bag-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .bag-toast { animation: none; } }
/* order confirmed: one row per piece (bag orders) */
.oc-order-multi { display: block; }
.oc-lines { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
.oc-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.oc-line .oc-img { width: 64px; height: 84px; }
.oc-line .oc-variant { margin: 6px 0 0; }
.oc-line-price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.oc-line-price span { display: block; font-size: 12px; color: var(--chalk-60); }
