/* DV72 SILK MENU · Maison Élan · stage 2 of 3: the silk (a WebGL2 cloth) over the CSS swatch fallback. Own dark theme (never follows the OS). Desktop = the concept's 1600×1000 frame scaled
   by --u; phones/narrow = concept_phone; short landscape = its own compact layout. */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --u: clamp(0.62px, min(calc(100vw / 1600), calc(100vh / 1000)), 1.5px);
  --ivory: #ece4d6; --ivory-70: rgba(236, 228, 214, .7); --gold: #d9c6a2; --taupe: #a99b84;
  --ink: #2b2318; --ink-on: #3d1a12; --ink-mute: #6f5d43; --red: #8a3b2a;
  color-scheme: dark;
}
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(80% 70% at 50% 30%, #1a2236 0%, #0c101b 55%, #06080e 100%) fixed, #0c101b;
  color: var(--ivory); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  overflow: hidden; overscroll-behavior: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 50; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px;
  background: #ece4d6; color: #14161d; font: 600 13px/1 Inter; letter-spacing: .04em; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 6; height: max(56px, calc(var(--u) * 92));
  display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--u) * 56);
  border-bottom: 1px solid rgba(236, 228, 214, .09);
}
.logo { display: inline-flex; align-items: center; gap: .32em; min-height: 44px; text-decoration: none; color: var(--ivory);
  font: 600 max(16px, calc(var(--u) * 22))/1 'Cormorant Garamond', serif; letter-spacing: .32em; text-transform: uppercase; }
.links ul { display: flex; align-items: center; gap: calc(var(--u) * 46); list-style: none; margin: 0; padding: 0; }
.links > ul > li > a, .coll-btn, .tool {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ivory-70);
  font: 500 max(11px, calc(var(--u) * 13))/1 'Inter', sans-serif; letter-spacing: .16em; text-transform: uppercase;
  transition: color .2s ease;
}
.tool { letter-spacing: .12em; text-transform: none; }
.tools { display: flex; align-items: center; gap: calc(var(--u) * 22); }
.links > ul > li > a:hover, .tool:hover, .coll-btn:hover { color: #fff; }
.coll-btn { gap: 7px; color: #fff; position: relative; }
.coll-btn .chev { width: 9px; height: 6px; transition: transform .3s ease; }
.coll-btn[aria-expanded="false"] .chev { transform: rotate(-90deg); }
.coll-btn[aria-expanded="false"] { color: var(--ivory-70); }
.coll-btn[aria-expanded="false"]:hover { color: #fff; }
.coll-btn::after { content: ''; position: absolute; left: 0; right: 16px; bottom: 9px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; opacity: .6; }
.coll-btn:hover::after { transform: scaleX(1); }
.links > ul > li > a:focus-visible, .coll-btn:focus-visible, .tool:focus-visible, .logo:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.bag svg, .bag-n { display: none; }

/* ---------------- hero + caption ---------------- */
.hero { position: fixed; left: calc(var(--u) * 56); bottom: max(calc(var(--u) * 140), 124px); z-index: 2; max-width: calc(var(--u) * 470); margin: 0;
  transition: opacity .35s ease, visibility .35s; }
.hero.veiled { opacity: 0; visibility: hidden; }
.eyebrow { margin: 0; font: 600 max(10px, calc(var(--u) * 11))/1.3 'Inter', sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); }
.hero h1 { margin: calc(var(--u) * 16) 0 0; font: 500 max(36px, calc(var(--u) * 64))/1 'Cormorant Garamond', serif; letter-spacing: -.01em; color: rgba(236, 228, 214, .9); }
.hero h1 em { font-style: italic; color: var(--gold); }
.cap { position: fixed; left: 48px; bottom: 40px; z-index: 2; font: 500 13px/1.45 'Inter', sans-serif; letter-spacing: .02em; pointer-events: none; color: var(--ivory); }
.cap b { display: block; font: 600 12px/1 'Inter', sans-serif; letter-spacing: .22em; text-transform: uppercase; opacity: .62; margin-bottom: 8px; }
.cap span { font-size: 17px; font-weight: 500; letter-spacing: -.005em; }
.cap i { display: block; font-style: normal; opacity: .62; margin-top: 4px; font-size: 13px; }
.brandmark { position: fixed; right: 48px; bottom: 40px; z-index: 2; font: 600 11px/1 'Inter', sans-serif; letter-spacing: .3em; text-transform: uppercase; opacity: .42; pointer-events: none; }

/* ---------------- the silk ---------------- */
#silk { position: fixed; left: 0; top: 0; width: 1px; height: 1px; z-index: 3; pointer-events: none; display: block; }
.ink-clip { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.ink { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.blk { position: absolute; left: 0; top: 0; white-space: pre; line-height: 1; }
.g { display: inline-block; will-change: transform; }   /* each glyph its own compositor layer: moving the silk never repaints or re-rasters text */
.hd { font: 600 calc(var(--s) * 10.5)/1 'Inter', sans-serif; letter-spacing: .3em; color: var(--ink-mute); }
.num { font: 500 calc(var(--s) * 12)/1 'Inter', sans-serif; letter-spacing: .02em; color: #75634a; transition: color .25s ease; }
.lab { font: 500 calc(var(--s) * 31)/1 'Cormorant Garamond', serif; color: var(--ink); transition: color .25s ease; }
.lab.ita { font-style: italic; color: var(--ink-on); }
.lab.ita .g { opacity: 0; }
.irow.on .num, .irow.cur .num { color: var(--red); }
.dot { width: calc(var(--s) * 8); height: calc(var(--s) * 8); }
.dot::before { content: ''; display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #b0503a, var(--red) 60%, #5e2418);
  transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.irow.cur .dot::before { transform: scale(1); }
.soon { font: 600 calc(var(--s) * 9)/1 'Inter', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.irow.dis .lab, .irow.dis .num { color: #9b8b72; }
.mono { font: italic 500 calc(var(--s) * 18)/1 'Cormorant Garamond', serif; color: #6f5d43; }

.silk-menu { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.silk-menu[hidden] { display: none; }
.silk-menu ul { list-style: none; margin: 0; padding: 0; }
.row { position: absolute; left: 0; top: 0; display: block; pointer-events: auto; touch-action: none; cursor: pointer; border-radius: 3px;
  outline: none; -webkit-tap-highlight-color: transparent; text-decoration: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.row:focus-visible { outline: 1.5px dashed var(--red); outline-offset: -5px; }
.row[aria-disabled="true"] { cursor: not-allowed; }

html.menu-closed #silk, html.menu-closed .ink-clip, html.menu-closed .swatch { visibility: hidden; }
html.rm #silk, html.rm .ink-clip, html.rm .swatch { transition: opacity .25s ease; }
html.rm.fading #silk, html.rm.fading .ink-clip, html.rm.fading .swatch { opacity: 0; }

/* no WebGL: a frosted silk swatch with CSS folds, the same DOM print laid flat */
.swatch { display: none; position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none; border-radius: 0 0 3px 3px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 252, 244, 0) 0, rgba(255, 252, 244, .5) 7%, rgba(255, 252, 244, 0) 12%, rgba(120, 100, 70, .14) 17%, rgba(255, 252, 244, 0) 21%),
    linear-gradient(180deg, rgba(241, 230, 208, .94), rgba(232, 220, 196, .94));
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 26px 34px 60px rgba(0, 0, 0, .5), inset 0 -10px 0 rgba(150, 120, 80, .16); }
.swatch i { position: absolute; inset: 14px; border: 1.3px dashed rgba(132, 104, 64, .6); }
html.no-fx .swatch { display: block; }
html.no-fx #silk { visibility: hidden; }

/* ---------------- narrow screens (concept_phone) ---------------- */
@media (max-width: 899px) {
  .nav { height: 70px; padding: 0 16px 0 20px; }
  .logo { flex-direction: column; align-items: flex-start; gap: 3px; font-size: 19px; letter-spacing: .36em; line-height: 1; }
  .hide-s { display: none; }
  .links { margin-left: auto; }
  .links > ul > li > a, .coll-btn { font-size: 12px; letter-spacing: .16em; }
  .coll-btn { padding: 0 8px; }
  .coll-btn::after { display: none; }
  .tools { gap: 0; }
  .bag { width: 44px; height: 44px; justify-content: center; position: relative; color: var(--ivory); }
  .bag svg { display: block; width: 21px; height: 21px; }
  .bag-t { display: none; }
  .bag-n { display: block; position: absolute; right: 5px; top: 7px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--gold); color: #14161d;
    font: 600 9.5px/15px 'Inter', sans-serif; text-align: center; letter-spacing: 0; }
  .hero { left: 22px; bottom: 112px; max-width: calc(100vw - 44px); }
  .hero h1 { font-size: clamp(34px, 10.4vw, 54px); margin-top: 12px; }
  .cap { left: 22px; bottom: 26px; }
  .cap span { font-size: 15px; }
  .cap i { display: none; }
  .brandmark { display: none; }
}
@media (max-height: 519px) and (orientation: landscape) {
  .nav { height: 56px; }
  .logo { flex-direction: row; gap: .32em; font-size: 16px; }
  .hero { left: 22px; bottom: 64px; max-width: 320px; }
  .hero h1 { font-size: 30px; margin-top: 8px; }
  .cap { left: 22px; bottom: 14px; }
  .cap b { margin-bottom: 5px; }
  .cap span { font-size: 14px; }
  .cap i { display: none; }
  .brandmark { display: none; }
}
@media (hover: none) { .coll-btn::after { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .coll-btn .chev, .hero, .dot::before, .num, .lab { transition: none; }
}
