/* =========================================================
   MAISON VALÉR — Considered Design
   Shared stylesheet · dark default + light theme
   ========================================================= */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var-italic.woff2') format('woff2');
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var-italic.woff2') format('woff2');
  font-weight: 100 900; font-style: italic; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink:      #14100c;
  --coal:     #1b160f;
  --slate:    #221b13;
  --card:     #241d15;
  --cognac:   #c06b34;
  --cognac-2: #d68a55;
  --sienna:   #834a28;
  --bone:     #f0e9dc;
  --taupe:    #a99c89;
  --faint:    #746856;
  --line:     rgba(240,233,220,.10);
  --line-2:   rgba(240,233,220,.18);
  --glass:    rgba(24,19,13,.55);
  --shadow:   0 40px 90px -30px rgba(0,0,0,.75);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad: clamp(22px, 6vw, 96px);
  --wrap: 1320px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --slow: cubic-bezier(.16,1,.3,1);

  --disp-axes: "opsz" 144, "SOFT" 0, "WONK" 0;
}

[data-theme="light"] {
  --ink:      #f2ebde;
  --coal:     #ece3d3;
  --slate:    #f7f0e4;
  --card:     #fbf6ec;
  --cognac:   #a5551f;
  --cognac-2: #8f4620;
  --sienna:   #7a3f1e;
  --bone:     #1a140d;
  --taupe:    #6a5b47;
  --faint:    #97876e;
  --line:     rgba(26,20,13,.13);
  --line-2:   rgba(26,20,13,.22);
  --glass:    rgba(247,240,228,.62);
  --shadow:   0 40px 80px -34px rgba(80,52,26,.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: .005em;
  transition: background .5s var(--ease), color .5s var(--ease);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--cognac); color: #fff; }

/* Ambient grain + warm glow */
body::before {
  content:""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% -5%, rgba(192,107,52,.16), transparent 60%),
    radial-gradient(50% 45% at 12% 108%, rgba(131,74,40,.14), transparent 62%);
  transition: opacity .5s var(--ease);
}
body::after {
  content:""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="light"] body::after { opacity: .06; }

main, footer, header { position: relative; z-index: 1; }

/* =========================================================
   TYPE SYSTEM
   ========================================================= */
.display {
  font-family: var(--serif);
  font-variation-settings: var(--disp-axes);
  font-weight: 415;
  line-height: .98;
  letter-spacing: -.015em;
}
.serif-it { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 40; }

.eyebrow {
  font-family: var(--sans);
  font-size: clamp(10px, 1vw, 11.5px);
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--cognac);
  display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before {
  content:""; width: 26px; height: 1px; background: var(--cognac); opacity: .7;
}
.eyebrow.center::before { display:none; }

.lede {
  font-size: clamp(15px, 1.55vw, 18px);
  color: var(--taupe);
  line-height: 1.75;
  max-width: 54ch;
}

.rule { height: 1px; background: var(--line); border: 0; }

/* =========================================================
   LAYOUT
   ========================================================= */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }

.grid { display: grid; gap: clamp(28px, 4vw, 72px); }
.two { grid-template-columns: 1fr 1fr; align-items: center; }

.section-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .display { font-size: clamp(34px, 6vw, 74px); margin-top: 18px; }
.section-head .lede { margin-top: 26px; }

/* Buttons */
.btn {
  --bh: 54px;
  display: inline-flex; align-items: center; gap: 14px;
  height: var(--bh); padding: 0 28px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  border-radius: 40px; cursor: pointer; border: 1px solid transparent;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--slow), color .4s var(--ease), border-color .4s var(--ease);
}
.btn .arw { transition: transform .5s var(--slow); }
.btn:hover .arw { transform: translateX(5px); }
.btn::before {
  content:""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .55s var(--slow);
}
.btn:hover { transform: translateY(-2px); }

.btn--solid { background: var(--cognac); color: #fff; }
.btn--solid::before { background: var(--sienna); }
.btn--solid:hover::before { transform: translateY(0); }

.btn--ghost { border-color: var(--line-2); color: var(--bone); }
.btn--ghost::before { background: var(--cognac); }
.btn--ghost:hover { color: #fff; border-color: var(--cognac); }
.btn--ghost:hover::before { transform: translateY(0); }

/* Text link with wipe underline */
.tlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone); position: relative; padding-bottom: 4px;
}
.tlink::after {
  content:""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--cognac); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--slow);
}
.tlink:hover { color: var(--cognac); }
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink .arw { transition: transform .5s var(--slow); }
.tlink:hover .arw { transform: translateX(4px); }

/* Monogram (theme-aware via mask) */
.mono {
  -webkit-mask: url('../images/monogram.png') center/contain no-repeat;
          mask: url('../images/monogram.png') center/contain no-repeat;
  background: currentColor;
  display: inline-block; aspect-ratio: 1.25 / 1;
}

/* Wordmark + tagline (real logo artwork, theme-aware via mask) */
.wordmark {
  display: inline-block; aspect-ratio: 2.273 / 1; color: var(--bone);
  background: currentColor;
  -webkit-mask: url('../images/wordmark.png') left center/contain no-repeat;
          mask: url('../images/wordmark.png') left center/contain no-repeat;
}
.tagline {
  display: inline-block; aspect-ratio: 6.486 / 1; color: var(--taupe);
  background: currentColor;
  -webkit-mask: url('../images/tagline.png') left center/contain no-repeat;
          mask: url('../images/tagline.png') left center/contain no-repeat;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: 78px;
  display: flex; align-items: center;
  transition: height .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  height: 66px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
          backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
/* Over a cinematic dark hero, keep header text light until it docks */
.site-head.over-dark:not(.scrolled) {
  --bone: #f2ece0; --taupe: #cbbaa2; --line-2: rgba(242,236,224,.28);
  --glass: rgba(22,17,12,.4);
  color: var(--bone);
}
.head-inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .mono { width: auto; height: 34px; color: var(--bone); }
.brand .wordmark { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.nav a {
  font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: var(--taupe); position: relative; padding: 6px 0; transition: color .35s var(--ease);
}
.nav a::after {
  content:""; position:absolute; left:0; bottom:0; height:1px; width:100%;
  background: var(--cognac); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--slow);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.head-actions { display: flex; align-items: center; gap: 14px; }

/* Theme toggle — glass pill */
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--glass); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--bone); transition: transform .5s var(--slow), border-color .4s;
}
.theme-toggle:hover { transform: rotate(-18deg); border-color: var(--cognac); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-moon { display: block; }

.head-cta { display: inline-flex; }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 12px; width: 20px; height: 1.6px; background: var(--bone);
  transition: transform .4s var(--slow), opacity .3s;
}
.burger span:nth-child(1){ top: 17px; }
.burger span:nth-child(2){ top: 22px; }
.burger span:nth-child(3){ top: 27px; }
.burger.open span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad); gap: 4px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--slow);
  pointer-events: none;
}
.drawer.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.drawer a {
  font-family: var(--serif); font-variation-settings: "opsz" 90;
  font-size: clamp(30px, 9vw, 52px); font-weight: 360; color: var(--bone);
  padding: 10px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 18px;
  opacity: 0; transform: translateY(24px);
}
.drawer.open a { animation: drawerIn .6s var(--slow) forwards; }
.drawer.open a:nth-child(1){ animation-delay: .12s; }
.drawer.open a:nth-child(2){ animation-delay: .18s; }
.drawer.open a:nth-child(3){ animation-delay: .24s; }
.drawer.open a:nth-child(4){ animation-delay: .30s; }
.drawer.open a:nth-child(5){ animation-delay: .36s; }
.drawer a .n {
  display: none;
}
@keyframes drawerIn { to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-top: 78px; overflow: clip; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-media::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(18,14,10,.4) 0%, rgba(18,14,10,0) 26%, rgba(18,14,10,.5) 70%, var(--ink) 100%),
    linear-gradient(75deg, rgba(18,14,10,.82) 0%, rgba(18,14,10,.32) 42%, transparent 66%);
}
/* Hero is a cinematic dark band in BOTH themes — the leather reads best on a dark scrim */
.hero, .d2d-hero {
  --bone: #f2ece0; --taupe: #c3b39d; --cognac: #d68a55; --cognac-2: #e0a074;
  --line: rgba(242,236,224,.15); --line-2: rgba(242,236,224,.26);
  --glass: rgba(22,17,12,.5);
  color: var(--bone);
}
.hero .lede, .d2d-hero .lede { color: var(--taupe); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 9vh, 120px); }
.hero-eyebrow { margin-bottom: 26px; }
.hero-title {
  font-size: clamp(60px, 13.5vw, 200px);
  font-weight: 445;
  line-height: 1;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.08em; }
.hero-title .line > span { display: block; transform: translateY(120%); }
.hero-title em {
  font-style: italic; font-variation-settings: "opsz" 144; color: var(--cognac);
  font-weight: 420;
}
.hero-sub {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line); padding-top: 26px;
}
.hero-sub .lede { max-width: 40ch; margin: 0; }
.hero-scroll {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe);
}
.hero-scroll .dot {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center;
}
.hero-scroll .dot svg { width: 14px; height: 14px; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(-3px); } 50%{ transform: translateY(3px); } }

/* Reveal-on-load helpers for hero */
.load .hero-title .line > span { animation: lineUp 1.05s var(--slow) forwards; }
.load .hero-title .l1 > span { animation-delay: .30s; }
.load .hero-title .l2 > span { animation-delay: .42s; }
.load .hero-title .l3 > span { animation-delay: .54s; }
@keyframes lineUp { to { transform: translateY(0); } }
.load .fade-seq { animation: fadeUp 1s var(--slow) forwards; opacity: 0; }
.load .fade-seq.d1 { animation-delay: .7s; }
.load .fade-seq.d2 { animation-delay: .85s; }
@keyframes fadeUp { from { opacity:0; transform: translateY(20px);} to {opacity:1; transform:none;} }

/* =========================================================
   MARQUEE RIBBON
   ========================================================= */
.ribbon {
  border-block: 1px solid var(--line); overflow: hidden; padding-block: 20px;
  background: var(--coal);
}
.ribbon-track { display: flex; width: max-content; gap: 0; animation: marquee 34s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span {
  font-family: var(--serif); font-variation-settings: "opsz" 90; font-style: italic;
  font-size: clamp(22px, 3.6vw, 44px); font-weight: 340; color: var(--bone);
  padding-inline: 34px; white-space: nowrap; opacity: .9;
}
.ribbon-track .star { color: var(--cognac); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--slow), transform .9s var(--slow); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

.img-reveal { position: relative; overflow: hidden; }
.img-reveal img { transform: scale(1.12); transition: transform 1.4s var(--slow); will-change: transform; }
.img-reveal.in img { transform: scale(1); }
.img-reveal::after {
  content:""; position:absolute; inset:0; background: var(--cognac); transform-origin: bottom;
  transition: transform 1s var(--slow);
}
.img-reveal.in::after { transform: scaleY(0); transform-origin: top; }

/* =========================================================
   ETHOS / SPLIT BLOCKS
   ========================================================= */
.ethos .display { font-size: clamp(30px, 4.6vw, 60px); font-weight: 360; }
.ethos .display em { font-style: italic; color: var(--cognac); }
.ethos-stats { display: flex; gap: clamp(28px, 5vw, 72px); margin-top: 48px; flex-wrap: wrap; }
.stat .num {
  font-family: var(--serif); font-variation-settings: var(--disp-axes);
  font-size: clamp(38px, 5vw, 60px); font-weight: 400; color: var(--bone); display: block; line-height: 1;
}
.stat .lbl { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-top: 12px; }

.figure { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure.tall { aspect-ratio: 4/5; }

.cap { font-size: 12px; letter-spacing: .04em; color: var(--faint); margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; }

/* =========================================================
   COLLECTION PREVIEW (home) + shared product grid
   ========================================================= */
.prod-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 26px); }

.pcard {
  grid-column: span 6; position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: border-color .5s var(--ease), transform .6s var(--slow);
}
.pcard:hover { border-color: var(--line-2); }
.pcard--wide { grid-column: span 6; }
.pcard-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--slate); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--slow); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 30px; color: var(--bone);
  background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
}
.pcard-arch {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: var(--serif); font-variation-settings: "opsz" 40; font-style: italic;
  font-size: 15px; color: var(--bone);
  background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 30px; padding: 5px 14px;
}
.pcard-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard-body .sku { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.pcard-body h3 { font-family: var(--serif); font-variation-settings: "opsz" 60; font-weight: 420; font-size: clamp(19px, 2vw, 24px); line-height: 1.12; }
.pcard-body p { font-size: 13.5px; color: var(--taupe); line-height: 1.65; }
.pcard-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.pcard-price { font-family: var(--serif); font-variation-settings: "opsz" 40; font-size: 18px; color: var(--bone); }
.pcard-price small { font-family: var(--sans); font-size: 11px; color: var(--faint); letter-spacing: .1em; }

.swatches { display: flex; gap: 8px; }
.swatch { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-2); }
.sw-brown { background: #8a4b28; } .sw-black { background: #1c1c1c; } .sw-gray { background: #9a9a97; }
.sw-blue { background: #2f4f7e; } .sw-green { background: #1f5f3f; }

/* Filter bar (collection) */
.filterbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 12px; border-radius: 50px; margin-bottom: clamp(34px, 5vw, 56px);
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  position: sticky; top: 86px; z-index: 90;
}
.chip {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--taupe); padding: 10px 20px; border-radius: 40px; cursor: pointer;
  border: 1px solid transparent; background: transparent;
  transition: color .35s var(--ease), background .35s var(--ease), border-color .35s;
}
.chip:hover { color: var(--bone); }
.chip.active { color: #fff; background: var(--cognac); }
[data-theme="light"] .chip.active { color: #fff; }

.pcard.hide { display: none; }

/* =========================================================
   DESK TO DESTINATIONS
   ========================================================= */
.d2d-hero { min-height: 92svh; display: flex; align-items: flex-end; padding-top: 78px; overflow: clip; position: relative; isolation: isolate; }
.d2d-hero .hero-media img { object-position: center 40%; }
.d2d-hero .hero-media::after {
  background:
    linear-gradient(180deg, rgba(20,16,12,.45), rgba(20,16,12,.05) 35%, rgba(20,16,12,.85) 82%, var(--ink)),
    linear-gradient(90deg, rgba(20,16,12,.55), transparent 60%);
}
.arch {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: center;
  padding-block: clamp(56px, 8vw, 120px); border-bottom: 1px solid var(--line);
}
.arch:nth-child(even) .arch-media { order: 2; }
.arch-index {
  font-family: var(--serif); font-variation-settings: var(--disp-axes);
  font-size: clamp(60px, 9vw, 130px); color: transparent;
  -webkit-text-stroke: 1px var(--line-2); line-height: .8; display: block; margin-bottom: 8px;
}
.arch h2 { font-family: var(--serif); font-variation-settings: "opsz" 144; font-weight: 380; font-size: clamp(34px, 5.5vw, 68px); line-height: .98; }
.arch h2 em { font-style: italic; color: var(--cognac); }
.arch .role { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cognac); margin: 20px 0 18px; }
.arch p { color: var(--taupe); max-width: 46ch; font-size: 15px; line-height: 1.75; }
.arch-media { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.arch-media img { width: 100%; height: 100%; object-fit: cover; }
.arch-meta { display: flex; gap: 28px; margin-top: 30px; }
.arch-meta .k { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); display:block; margin-bottom: 6px; }
.arch-meta .v { font-family: var(--serif); font-variation-settings: "opsz" 40; font-size: 17px; color: var(--bone); }

/* Feature strip */
.feat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.feat {
  background: var(--ink); padding: clamp(28px, 3vw, 44px) clamp(18px,2vw,28px);
  display: flex; flex-direction: column; gap: 16px;
}
.feat .ic { width: 30px; height: 30px; color: var(--cognac); }
.feat h4 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); }
.feat p { font-size: 12.5px; color: var(--taupe); line-height: 1.6; }

/* =========================================================
   ABOUT
   ========================================================= */
.manifesto {
  font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 0;
  font-weight: 350; font-size: clamp(28px, 4.4vw, 58px); line-height: 1.16; letter-spacing: -.01em;
  max-width: 20ch;
}
.manifesto em { font-style: italic; color: var(--cognac); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.pillar { padding: 32px 0; border-top: 1px solid var(--line-2); }
.pillar .k { font-family: var(--serif); font-variation-settings: "opsz" 40; font-style: italic; color: var(--cognac); font-size: 16px; }
.pillar h3 { font-size: 14px; font-weight: 600; letter-spacing: .06em; margin: 16px 0 12px; text-transform: uppercase; }
.pillar p { font-size: 14px; color: var(--taupe); line-height: 1.7; }

/* =========================================================
   CONTACT
   ========================================================= */
.form { display: grid; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--bone);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 12px 2px; transition: border-color .4s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cognac); }
.field select option { background: var(--coal); color: var(--bone); }
.field textarea { resize: vertical; min-height: 120px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.contact-side { display: flex; flex-direction: column; gap: 34px; }
.contact-item .k { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cognac); margin-bottom: 10px; }
.contact-item .v { font-family: var(--serif); font-variation-settings: "opsz" 40; font-size: clamp(18px, 2vw, 22px); color: var(--bone); }
.contact-item a.v:hover { color: var(--cognac); }

.form-note { font-size: 13px; color: var(--faint); }
.form-status { font-size: 13.5px; color: var(--cognac); min-height: 20px; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band .display { font-size: clamp(38px, 8vw, 116px); font-weight: 350; }
.cta-band .display em { font-style: italic; color: var(--cognac); }
.cta-band .lede { margin: 26px auto 40px; text-align: center; }
.cta-band .mono {
  width: clamp(160px, 30vw, 340px); height: clamp(160px, 30vw, 340px);
  color: var(--bone); opacity: .04; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%); z-index: 0;
}
.cta-band .wrap { position: relative; z-index: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-foot { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 90px) 40px; background: var(--coal); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 60px); }
.foot-brand .mono { width: auto; height: 42px; color: var(--bone); margin-bottom: 14px; display: block; }
.foot-brand .wordmark { height: 44px; width: auto; display: block; }
.foot-brand .tagline { height: 13px; width: auto; display: block; margin-top: 12px; opacity: .85; }
.foot-brand p { color: var(--taupe); font-size: 14px; max-width: 34ch; margin-top: 18px; line-height: 1.7; }
.foot-col h5 { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
.foot-col a { display: block; color: var(--taupe); font-size: 14px; padding: 7px 0; transition: color .3s; }
.foot-col a:hover { color: var(--cognac); }
.foot-bottom {
  margin-top: clamp(44px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
}
.foot-bottom p { font-size: 12px; color: var(--faint); letter-spacing: .04em; }

/* Side rail hashtag */
.side-rail {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; z-index: 80; pointer-events: none;
  font-size: 11px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase;
  color: var(--faint); opacity: .6;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
  .feat-strip { grid-template-columns: repeat(2, 1fr); }
  .side-rail { display: none; }
}
@media (max-width: 1080px) {
  .nav, .head-cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 860px) {
  .two { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; gap: 30px; }
  .arch:nth-child(even) .arch-media { order: 0; }
  .arch-media { aspect-ratio: 3/4; max-height: 62vh; }
  .pillars { grid-template-columns: 1fr; }
  .pcard, .pcard--wide { grid-column: span 12; }
  .two-col { grid-template-columns: 1fr; }
  .hero-sub { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .foot-top { grid-template-columns: 1fr; }
  .feat-strip { grid-template-columns: 1fr; }
  .ethos-stats { gap: 28px 40px; }
  .filterbar { top: 78px; gap: 6px; padding: 10px; }
  .chip { padding: 9px 14px; font-size: 11px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-title .line > span { transform: none !important; }
  .img-reveal img { transform: none !important; }
  .img-reveal::after { display: none; }
  .ribbon-track { animation: none !important; }
}

/* Focus visibility */
:focus-visible { outline: 2px solid var(--cognac); outline-offset: 3px; border-radius: 3px; }

/* =========================================================
   v2 — GALLERY CARDS · GLASS · LANG SWITCH · RTL  (overrides)
   ========================================================= */

/* --- remove the old image "wipe / slide / zoom" animation --- */
.img-reveal img { transform: none !important; }
.img-reveal::after { display: none !important; }
.figure img, .arch-media img { transition: none; }

/* --- responsive product grid: 3 / 2 / 1 --- */
.prod-grid { grid-template-columns: repeat(3, 1fr) !important; gap: clamp(14px, 1.6vw, 26px); }
.pcard, .pcard--wide { grid-column: auto !important; }
@media (max-width: 1040px) { .prod-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px)  { .prod-grid { grid-template-columns: 1fr !important; } }

/* --- frosted-glass product card --- */
.pcard {
  background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.012) 46%, rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  box-shadow: 0 24px 60px -34px rgba(0,0,0,.72), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden; padding: 9px;
  transition: border-color .5s var(--slow), transform .5s var(--slow), box-shadow .5s var(--slow);
}
.pcard:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 34px 70px -34px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); }
[data-theme="light"] .pcard {
  background: linear-gradient(155deg, rgba(255,255,255,.66), rgba(255,255,255,.30));
  border-color: rgba(20,16,12,.10);
  box-shadow: 0 22px 48px -30px rgba(60,40,20,.30), inset 0 1px 0 rgba(255,255,255,.7);
}

/* --- 1:1 media stage with layered hover image --- */
.pcard-media { position: relative; aspect-ratio: 1/1 !important; border-radius: 13px; overflow: hidden; background: var(--slate); }
.pcard-link { position: absolute; inset: 0; display: block; z-index: 4; background: transparent; }
.pcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .55s var(--slow); z-index: 1; }
.pcard-img--alt { opacity: 0; z-index: 2; }
.pcard-media.has-alt:hover .pcard-img--alt { opacity: 1; }
.pcard:hover .pcard-media img { transform: none !important; }
.pcard-tag, .pcard-arch { z-index: 6; pointer-events: none; }

/* thumbnail strip (Alibaba-style) */
.pcard-thumbs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; gap: 6px; padding: 9px; justify-content: center;
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--slow), transform .35s var(--slow);
}
.pcard-media:hover .pcard-thumbs { opacity: 1; transform: none; }
.pcard-thumb {
  width: 40px; height: 40px; border-radius: 9px; overflow: hidden; cursor: pointer; padding: 0;
  border: 1px solid rgba(255,255,255,.55); background: rgba(20,16,12,.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: outline-color .2s, transform .2s;
}
.pcard-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard-thumb.active { outline: 2px solid var(--bone); outline-offset: -2px; }
.pcard-thumb:hover { transform: translateY(-2px); }
@media (hover: none) { .pcard-thumbs { opacity: 1; transform: none; } }

/* body + swatches */
.pcard-body { padding: 16px 15px 15px; gap: 9px; }
.pcard-body h3 .sub { display: inline-block; font-style: italic; font-weight: 380; color: var(--taupe); font-size: .84em; margin-top: 2px; }
.pcard-foot { border-top: 1px solid var(--line); }
.swatches { display: flex; gap: 9px; align-items: center; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); cursor: pointer; padding: 0; position: relative; transition: box-shadow .2s, transform .2s; }
.swatch:hover { transform: scale(1.1); }
.swatch.active { box-shadow: 0 0 0 2px var(--ink), 0 0 0 3.5px var(--cognac); }
[data-theme="light"] .swatch.active { box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--cognac); }
.sw-brown { background: #8a4a26; } .sw-black { background: #232120; }
.sw-gray  { background: #9a938a; } .sw-blue  { background: #3c5a78; } .sw-green { background: #2f5d43; }

/* --- filter bar glass --- */
.filterbar { background: rgba(255,255,255,.045); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border: 1px solid var(--line-2); border-radius: 999px; }
[data-theme="light"] .filterbar { background: rgba(255,255,255,.5); border-color: rgba(20,16,12,.08); }
.chip { border-radius: 999px; }

/* --- shared section band + form card --- */
.band { background: var(--coal); border-block: 1px solid var(--line); }
.form-card { background: linear-gradient(155deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: 16px; padding: clamp(24px, 3vw, 44px); }
[data-theme="light"] .form-card { background: var(--card); border-color: rgba(20,16,12,.08); }

/* --- language switch --- */
.lang-switch { display: inline-flex; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: rgba(255,255,255,.03); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lang-switch button { font: 600 11px/1 var(--sans); letter-spacing: .06em; color: var(--taupe); padding: 6px 9px; border-radius: 999px; cursor: pointer; background: none; border: 0; transition: color .2s, background .2s; }
.lang-switch button:hover { color: var(--bone); }
.lang-switch button.active { background: var(--cognac); color: #fff; }
.site-head.over-dark:not(.scrolled) .lang-switch { border-color: rgba(240,233,220,.25); }
.site-head.over-dark:not(.scrolled) .lang-switch button { color: rgba(240,233,220,.8); }
.site-head.over-dark:not(.scrolled) .lang-switch button.active { color: #fff; }
.lang-switch.in-drawer { margin-top: 30px; }
@media (max-width: 1080px) { .head-actions .lang-switch { display: none; } }
@media (min-width: 1081px) { .lang-switch.in-drawer { display: none; } }

/* --- 1:1 archetype media on Desk to Destinations --- */
.arch-media { aspect-ratio: 1/1 !important; max-height: none; }

/* =========================================================
   RTL / Arabic
   ========================================================= */
[dir="rtl"] .side-rail { right: auto; left: 14px; }
[dir="rtl"] .arw { transform: scaleX(-1); }
[dir="rtl"] .tlink .arw, [dir="rtl"] .btn .arw { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .arch-index { }
[dir="rtl"] body { font-family: 'Archivo', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
[dir="rtl"] .display, [lang="ar"] .display,
[dir="rtl"] .wordmark, [dir="rtl"] .manifesto {
  font-family: 'Noto Naskh Arabic', 'Amiri', 'Scheherazade New', 'Times New Roman', Georgia, serif;
  letter-spacing: 0;
}
[dir="rtl"] .eyebrow { letter-spacing: .12em; }
[dir="rtl"] .ribbon, [dir="rtl"] .side-rail { direction: ltr; }

/* =========================================================
   v2.1 — title line-reveal + no-link media
   ========================================================= */
.anim-title { }
.anim-title .tl-line {
  display: block; overflow: hidden;
  padding: .16em .06em .20em; margin: -.14em -.06em -.18em;
}
.anim-title .tl-inner {
  display: block; transform: translateY(118%);
  transition: transform 1.05s var(--slow); transition-delay: var(--d, 0s);
  will-change: transform;
}
.anim-title.in .tl-inner { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim-title .tl-inner { transform: none !important; transition: none !important; }
}

/* media has no link now — base image fills the stage directly */
.pcard-media { cursor: default; }
.pcard-thumb { cursor: pointer; }

/* =========================================================
   v2.2 — product card "Get a Quote" CTA (fill-sweep effect)
   ========================================================= */
.pcard-cta {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 16px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent;
  color: var(--bone); text-decoration: none;
  font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  transition: color .45s var(--slow), border-color .45s var(--slow), box-shadow .45s var(--slow);
}
.pcard-cta::before {                       /* the cognac sweep */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, var(--cognac), var(--cognac-2));
  transform: translateX(-101%);
  transition: transform .55s var(--slow);
}
.pcard-cta-in {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 9px;
}
.pcard-cta .arw { transition: transform .4s var(--slow); }
.pcard-cta:hover { color: #fff; border-color: transparent; box-shadow: 0 12px 26px -12px rgba(192,107,52,.6); }
.pcard-cta:hover::before { transform: translateX(0); }
.pcard-cta:hover .arw { transform: translateX(5px); }
.pcard-cta:focus-visible { outline: 2px solid var(--cognac); outline-offset: 3px; }
[dir="rtl"] .pcard-cta::before { transform: translateX(101%); }
[dir="rtl"] .pcard-cta:hover::before { transform: translateX(0); }
[dir="rtl"] .pcard-cta:hover .arw { transform: scaleX(-1) translateX(5px); }

/* =========================================================
   v2.3 — filter bar hugs its content (no oversized pill)
   ========================================================= */
.filterbar { width: fit-content; max-width: 100%; }
@media (max-width: 600px) {
  .filterbar {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filterbar::-webkit-scrollbar { display: none; }
  .filterbar .chip { flex: 0 0 auto; }
}

/* =========================================================
   v2.4 — e-commerce gallery: no hover-swap, click thumbs,
   swipe (mobile) + arrows (desktop)
   ========================================================= */
/* remove any hover second-image behaviour completely */
.pcard-img--alt { display: none !important; }
.pcard-media.has-alt:hover .pcard-img--alt { opacity: 0 !important; }

/* thumbnails: always visible, change on CLICK only */
.pcard-thumbs { opacity: 1 !important; transform: none !important; }

/* prev / next arrows — desktop only (touch uses swipe) */
.pcard-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 34px; height: 34px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; padding: 0;
  border: 1px solid rgba(255,255,255,.55); background: rgba(20,16,12,.42);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.pcard-nav:hover { background: rgba(20,16,12,.7); }
.pcard-nav--prev { left: 10px; }
.pcard-nav--next { right: 10px; }
.pcard-media.multi:hover .pcard-nav { display: flex; }
@media (hover: none) { .pcard-nav { display: none !important; } }  /* mobile swipes instead */
[dir="rtl"] .pcard-nav--prev { left: auto; right: 10px; }
[dir="rtl"] .pcard-nav--next { right: auto; left: 10px; }

/* =========================================================
   v2.5 — footer brand: centre the logo lockup
   ========================================================= */
.foot-brand { text-align: center; }
.foot-brand .mono,
.foot-brand .wordmark,
.foot-brand .tagline { margin-left: auto; margin-right: auto; }
.foot-brand p { margin-left: auto; margin-right: auto; }

/* =========================================================
   v2.6 — light theme: keep header logo/icons visible while
   the mobile menu is open (drawer bg is light, so header must be dark).
   Overrides the over-dark light-forcing during menu-open.
   ========================================================= */
[data-theme="light"] body.menu-open .site-head {
  --bone: #1a140d;
  --taupe: #6b5d49;
  --line-2: rgba(20,16,12,.18);
  color: var(--bone);
}
