/* ============================================================================
   WALL JEWELS — the kolam world
   ----------------------------------------------------------------------------
   System: rice-flour line on pre-dawn ground. One hour of light (warm lamp),
   one motion clock, marks-not-hues for state. Everything aligns to the pulli
   (dot) module: 8px. Faces: Marcellus (inscriptional display), Jost (text).
   ========================================================================== */

/* ---------- 1. Faces ---------- */
@font-face {
  font-family: 'Marcellus';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/marcellus-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/jost-italic-latin.woff2') format('woff2');
}

/* ---------- 2. Tokens ---------- */
:root {
  /* ground — deep warm night ground matching WebGL Kolam */
  --ground:      #14110c;
  --ground-deep: #1c1711;
  --panel:       rgba(24, 19, 14, 0.88);
  --panel-2:     rgba(32, 25, 18, 0.92);
  --hairline:    rgba(244, 239, 228, .14);
  --hairline-2:  rgba(244, 239, 228, .26);

  /* luminous ivory ink for high contrast */
  --ink:      #f2edde;
  --ink-soft: #cfc9b8;
  --ink-dim:  #a49e8d;

  /* the two pigments (24K gold & sacred kaavi) */
  --gold:        #cfa14e;
  --gold-bright: #e6c47f;
  --kaavi:       #b0492f;
  --kaavi-soft:  #c7583d;

  /* the night surfaces */
  --night:      #14110c;
  --night-2:    #1c1811;
  --night-ink:  #f2edde;
  --night-soft: #cfc9b8;
  --night-dim:  #a49e8d;
  --night-hairline: rgba(244, 239, 228, .16);
  --night-gold: #cfa14e;
  --night-gold-bright: #e6c47f;

  /* type */
  --f-display: 'Marcellus', 'Times New Roman', serif;
  --f-text: 'Jost', 'Segoe UI', system-ui, sans-serif;

  /* pulli module */
  --u: 8px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1440px;
  /* the mat: content never runs edge to edge */
  --frame: 15vw;

  /* one motion clock */
  --beat: 640ms;
  --beat-slow: 1100ms;
  --ease: cubic-bezier(.19, 1, .22, 1);

  --header-h: 76px;
  --bar-h: 38px;
}

/* ---------- 3. Reset & browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Lenis drives scrolling when active — native smooth would fight it */
html.has-lenis { scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  background: transparent;
  color: var(--ink);
  font-family: var(--f-text);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: .012em;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  caret-color: var(--gold);
}
::selection { background: var(--kaavi); color: #f2edde; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground-deep); }
::-webkit-scrollbar-thumb { background: #b5aa93; border-radius: 5px; border: 2px solid var(--ground-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
* { scrollbar-width: thin; scrollbar-color: #b5aa93 var(--ground-deep); }

:focus { outline: none; }
:focus-visible {
  outline: 1.5px dotted var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p a, .prose a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  text-decoration-color: rgba(207, 161, 78, .45);
  transition: text-decoration-color var(--beat) var(--ease);
}
p a:hover, .prose a:hover { text-decoration-color: var(--gold-bright); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::placeholder { color: var(--ink-dim); opacity: 1; }

.skip {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -260%);
  background: var(--ground-deep); color: var(--ink); border: 1px solid var(--gold);
  padding: 10px 22px; z-index: 300; transition: transform var(--beat) var(--ease);
  font-size: 14px; letter-spacing: .1em;
}
.skip:focus-visible { transform: translate(-50%, 0); }

/* ---------- 4. Type voices ---------- */
.d1, .d2, .d3 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: .005em;
  text-wrap: balance;
}
.d1 { font-size: clamp(2.7rem, 7.2vw, 5.6rem); }
.d2 { font-size: clamp(2.05rem, 4.4vw, 3.45rem); line-height: 1.12; }
.d3 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.2; }

.lead { font-size: clamp(1.06rem, 1.6vw, 1.28rem); font-weight: 300; color: var(--ink-soft); max-width: 62ch; }
.small { font-size: 14px; color: var(--ink-dim); }

.cap {
  font-family: var(--f-text);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.cap--gold { color: var(--gold); }
.cap--kaavi { color: var(--kaavi-soft); }

.num {
  font-family: var(--f-display);
  color: var(--gold);
  font-size: 15px;
  letter-spacing: .08em;
}

/* ---------- 5. Layout primitives ---------- */
/* one hour of lamplight: a fixed warm wash over the whole ground */
main::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(110% 80% at 72% 0%, rgba(169, 123, 34, .05), transparent 55%),
    radial-gradient(90% 70% at 10% 100%, rgba(156, 58, 38, .04), transparent 60%);
}
.wrap {
  max-width: 100%;
  margin-inline: var(--frame);
  padding-inline: 0;
}
@media (max-width: 900px) {
  :root {
    --frame: clamp(12px, 3.5vw, 24px);
    --header-h: 68px;
  }
}
@media (max-width: 600px) {
  :root {
    --frame: 8px;
    --gutter: 10px;
    --header-h: 62px;
  }
  .section .wrap,
  .showroom .wrap,
  .faq .wrap,
  .collection-main .wrap,
  .filter-bar .wrap,
  .finale .wrap,
  .footer .wrap {
    padding: clamp(20px, 4vw, 28px) clamp(12px, 3.5vw, 18px);
    border-radius: 14px;
  }
  .header .wrap {
    padding-inline: 8px;
  }
}

/* Box containers for content sections on the WebGL Kolam ground */
.section .wrap,
.showroom .wrap,
.faq .wrap,
.collection-main .wrap,
.filter-bar .wrap,
.finale .wrap {
  position: relative;
  background: rgba(22, 17, 12, 0.88);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(207, 161, 78, 0.22);
  border-radius: 18px;
  padding: clamp(32px, 4.5vw, 64px) clamp(24px, 4vw, 56px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer {
  position: relative;
  background: transparent;
  padding-block: clamp(24px, 3.5vw, 44px);
  border-top: none;
}
.footer::before { content: none; }
.footer .wrap {
  position: relative;
  background: var(--night, #14110c);
  color: var(--night-ink, #f2edde);
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: 16px;
  padding: clamp(22px, 2.8vw, 36px) clamp(20px, 3vw, 36px) clamp(14px, 1.8vw, 20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section { position: relative; padding-block: clamp(36px, 5vw, 72px); }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }
.section--flush { padding-block: 0; }

/* threshold: the drawn gate every major section enters through */
.threshold {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: clamp(20px, 2.8vw, 36px);
}
.threshold svg { flex: none; overflow: visible; }
.threshold .rule { flex: 1; height: 1px; background: var(--hairline); position: relative; }
.threshold .rule::after {
  content: ''; position: absolute; right: 0; top: -2.5px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); opacity: .8;
}

/* section heading group — centered, compact luxury layout matching Most Loved Walls */
.headgroup {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
.headgroup .d2 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.15;
  text-align: center;
  color: var(--night-ink, #f2edde);
  margin: 0;
}
.headgroup .lead {
  margin-top: 2px;
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  color: var(--night-soft, #cfc9b8);
  text-align: center;
  max-width: 58ch;
  line-height: 1.45;
  padding-bottom: 0;
}

/* reveal choreography — one clock, staggered by --i */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--beat-slow) var(--ease),
    transform var(--beat-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.rv.is-in { opacity: 1; transform: none; }
.rv--wipe {
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path calc(var(--beat-slow) * 1.2) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.rv--wipe.is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv--wipe { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* ---------- 6. The thread (fixed kolam line layer) ---------- */
.thread-layer {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.thread-layer svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.thread-layer path {
  fill: none;
  stroke: rgba(242, 237, 222, .5);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.pulli-field {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(242, 237, 222, .13) 1px, transparent 1.5px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

/* ---------- 7. Buttons — drawn, with pulli corners ---------- */
.btn {
  --line: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 34px;
  font-family: var(--f-text);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--line);
  border: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  background: transparent;
  transition:
    color var(--beat) var(--ease),
    border-color var(--beat) var(--ease),
    background-color var(--beat) var(--ease),
    transform var(--beat) var(--ease);
}
.btn::before, .btn::after,
.btn .dot-a::before, .btn .dot-a::after {
  content: ''; position: absolute;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--line);
  opacity: .9;
  transition: background-color var(--beat) var(--ease), transform var(--beat) var(--ease);
}
.btn::before { top: -2.5px; left: -2.5px; }
.btn::after { top: -2.5px; right: -2.5px; }
.btn .dot-a { position: absolute; inset: 0; pointer-events: none; }
.btn .dot-a::before { bottom: -2.5px; left: -2.5px; top: auto; }
.btn .dot-a::after { bottom: -2.5px; right: -2.5px; top: auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { --line: var(--gold-bright); }
.btn--gold:hover { background: rgba(207, 161, 78, .12); border-color: var(--gold-bright); }
.btn--fill {
  --line: var(--ground-deep);
  background: var(--gold);
  border-color: var(--gold);
}
.btn--fill::before, .btn--fill::after,
.btn--fill .dot-a::before, .btn--fill .dot-a::after { background: var(--gold-bright); }
.btn--fill:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(242, 237, 222, .05); }
.btn--wa { --line: var(--gold-bright); }
.btn--wa:hover { background: rgba(207, 161, 78, .12); border-color: var(--gold-bright); }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-bright);
}
.textlink svg { transition: transform var(--beat) var(--ease); }
.textlink:hover svg { transform: translateX(6px); }

/* ---------- 8. Announcement bar (Frozen at top) ---------- */
.annbar {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(14, 11, 8, 0.98);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 56, 35, 0.3);
  height: var(--bar-h);
  display: flex; align-items: center;
  overflow: hidden;
}
.annbar::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, #ff3823, var(--gold) 45%, #ff3823 90%);
  opacity: .95;
}
.annbar__track {
  display: flex; gap: 56px; white-space: nowrap;
  padding-inline: var(--frame);
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: #ff3823; font-weight: 600;
}
.annbar__track strong { color: #ff3823; font-weight: 700; }
.annbar__track .sep { color: var(--gold); }
.annbar__track { animation: ann-slide 32s linear infinite; }
@keyframes ann-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .annbar__track { animation: none; } }

/* ---------- 9. Header ---------- */
.header {
  position: sticky; top: var(--bar-h); z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--beat) var(--ease), background-color var(--beat) var(--ease);
  padding-left: clamp(12px, 1.6vw, 24px);
  padding-right: clamp(12px, 1.6vw, 24px);
}
.header.is-scrolled { border-bottom-color: var(--hairline); }
.header__in {
  width: 100%; max-width: none; margin-inline: 0;
  padding-inline: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header__center {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}
.wordmark--img {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.wordmark--img img {
  height: 42px;
  width: auto;
  display: block;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
@media (max-width: 1080px) {
  .wordmark--img img { height: 36px; }
}

.wordmark { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.wordmark b {
  font-family: var(--f-display); font-weight: 400;
  font-size: 21px; letter-spacing: .3em; color: var(--ink);
}
.wordmark span {
  font-size: 9.5px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft, #cfc9b8) !important;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.2s ease;
}
.nav a:hover {
  color: var(--gold-bright, #e6c47f) !important;
  background: rgba(207, 161, 78, 0.1);
  border-color: rgba(207, 161, 78, 0.25);
  transform: translateY(-1px);
}
.nav a[aria-current="page"] {
  color: var(--gold-bright, #e6c47f) !important;
  font-weight: 600;
  background: rgba(207, 161, 78, 0.15);
  border-color: var(--gold, #cfa14e);
}

.header__socials {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff !important;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.nav-social svg {
  width: 14px;
  height: 14px;
  display: block;
}

.nav-social--ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 3px 10px rgba(214, 36, 159, 0.35);
}
.nav-social--fb {
  background: #1877f2;
  box-shadow: 0 3px 10px rgba(24, 119, 242, 0.35);
}
.nav-social--li {
  background: #0a66c2;
  box-shadow: 0 3px 10px rgba(10, 102, 194, 0.35);
}
.nav-social--wa {
  background: #25d366;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
}

.nav-social:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.5);
}

/* ---------- Theme Switcher (From Uiverse.io by JkHuger) ---------- */
.theme {
  display: inline-flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
  font-size: 6.5px;
  --transDur: 0.3s;
  --primary: #cfa14e;
  --primaryT: rgba(207, 161, 78, 0.4);
  flex-shrink: 0;
}

.theme *,
.theme input,
.theme label,
.theme span {
  font-size: 6.5px;
  box-sizing: border-box;
}

.theme__fill,
.theme__icon {
  transition: 0.3s;
}

.theme__fill {
  background-color: var(--bg, transparent);
  display: none;
}

.theme__icon,
.theme__toggle {
  z-index: 1;
}

.theme__icon,
.theme__icon-part {
  position: absolute;
  pointer-events: none;
}

.theme__icon {
  display: block;
  top: 0.75em;
  left: 0.75em;
  width: 1.5em;
  height: 1.5em;
}

.theme__icon-part {
  border-radius: 50%;
  box-shadow: 0.4em -0.4em 0 0.5em hsl(0,0%,100%) inset;
  top: calc(50% - 0.5em);
  left: calc(50% - 0.5em);
  width: 1em;
  height: 1em;
  transition: box-shadow var(--transDur) ease-in-out,
		opacity var(--transDur) ease-in-out,
		transform var(--transDur) ease-in-out;
  transform: scale(0.5);
}

.theme__icon-part ~ .theme__icon-part {
  background-color: hsl(0,0%,100%);
  border-radius: 0.05em;
  top: 50%;
  left: calc(50% - 0.05em);
  transform: rotate(0deg) translateY(0.5em);
  transform-origin: 50% 0;
  width: 0.1em;
  height: 0.2em;
}

.theme__icon-part:nth-child(3) {
  transform: rotate(45deg) translateY(0.45em);
}

.theme__icon-part:nth-child(4) {
  transform: rotate(90deg) translateY(0.45em);
}

.theme__icon-part:nth-child(5) {
  transform: rotate(135deg) translateY(0.45em);
}

.theme__icon-part:nth-child(6) {
  transform: rotate(180deg) translateY(0.45em);
}

.theme__icon-part:nth-child(7) {
  transform: rotate(225deg) translateY(0.45em);
}

.theme__icon-part:nth-child(8) {
  transform: rotate(270deg) translateY(0.5em);
}

.theme__icon-part:nth-child(9) {
  transform: rotate(315deg) translateY(0.5em);
}

.theme__label,
.theme__toggle,
.theme__toggle-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.theme__toggle,
.theme__toggle:before {
  display: block;
}

.theme__toggle {
  background-color: hsl(48,90%,85%);
  border-radius: 25% / 50%;
  box-shadow: 0 0 0 0.125em var(--primaryT);
  padding: 0.25em;
  width: 6em;
  height: 3em;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  margin: 0;
  font-size: 6.5px;
  line-height: 1;
  transition: background-color var(--transDur) ease-in-out,
		box-shadow 0.15s ease-in-out,
		transform var(--transDur) ease-in-out;
}

.theme__toggle:before {
  background-color: hsl(48,90%,55%);
  border-radius: 50%;
  content: "";
  width: 2.5em;
  height: 2.5em;
  transition: 0.3s;
}

.theme__toggle:focus {
  box-shadow: 0 0 0 0.125em var(--primary);
  outline: transparent;
}

/* Checked (Dark Mode Active) */
.theme__toggle:checked {
  background-color: hsl(198,90%,15%);
}

.theme__toggle:checked:before,
.theme__toggle:checked ~ .theme__icon {
  transform: translateX(3em);
}

.theme__toggle:checked:before {
  background-color: hsl(198,90%,55%);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(1) {
  box-shadow: 0.2em -0.2em 0 0.2em hsl(0,0%,100%) inset;
  transform: scale(1);
  top: 0.2em;
  left: -0.2em;
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part ~ .theme__icon-part {
  opacity: 0;
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(2) {
  transform: rotate(45deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(3) {
  transform: rotate(90deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(4) {
  transform: rotate(135deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(5) {
  transform: rotate(180deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(6) {
  transform: rotate(225deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(7) {
  transform: rotate(270deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(8) {
  transform: rotate(315deg) translateY(0.8em);
}

.theme__toggle:checked ~ .theme__icon .theme__icon-part:nth-child(9) {
  transform: rotate(360deg) translateY(0.8em);
}

.theme__toggle-wrap {
  margin: 0;
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ==========================================================================
   LIGHT MODE OVERRIDES ([data-theme="light"])
   ========================================================================== */
[data-theme="light"],
body.theme-light {
  --ground: #fbf8f2;
  --ground-deep: #f5efe4;
  --panel: rgba(255, 252, 246, 0.94);
  --panel-2: rgba(248, 242, 232, 0.96);
  --hairline: rgba(43, 36, 26, 0.14);
  --hairline-2: rgba(43, 36, 26, 0.28);
  
  --ink: #1c1712;
  --ink-soft: #4a3e31;
  --ink-dim: #7a6b58;

  /* Surfaces that permanently stay dark / cinema / photo overlays MUST preserve light text */
  --night: #0b0d11;
  --night-2: #14171f;
  --night-ink: #f2edde;
  --night-soft: #cfc9b8;
  --night-dim: #a49e8d;
  --night-hairline: rgba(242, 237, 222, 0.14);
  --night-gold: #cfa14e;
  --night-gold-bright: #ffd77e;

  background: transparent !important;
  background-color: transparent !important;
  color: #1c1712;
}

[data-theme="light"] .section .wrap,
[data-theme="light"] .showroom .wrap,
[data-theme="light"] .faq .wrap,
[data-theme="light"] .collection-main .wrap,
[data-theme="light"] .filter-bar .wrap,
[data-theme="light"] .finale .wrap {
  background: linear-gradient(145deg, rgba(246, 237, 222, 0.88) 0%, rgba(238, 225, 203, 0.82) 55%, rgba(231, 215, 188, 0.86) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  border: 1px solid rgba(212, 167, 83, 0.42);
  box-shadow: 0 16px 45px rgba(90, 68, 32, 0.12), 0 2px 8px rgba(90, 68, 32, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .volume {
  background: linear-gradient(145deg, rgba(246, 237, 222, 0.88) 0%, rgba(238, 225, 203, 0.82) 55%, rgba(231, 215, 188, 0.86) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 167, 83, 0.42);
  box-shadow: 0 12px 36px rgba(90, 68, 32, 0.10), inset 0 1px 2px rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .header {
  background: linear-gradient(180deg, rgba(246, 237, 222, 0.94) 0%, rgba(239, 227, 206, 0.90) 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 167, 83, 0.32);
}

[data-theme="light"] .header .wordmark img,
[data-theme="light"] .drawer__head .wordmark img {
  content: url("../img/brand/logo-light.png");
}

[data-theme="light"] .header .nav a {
  background: transparent;
  color: #2b2318 !important;
  border: 1px solid transparent;
  box-shadow: none;
}

[data-theme="light"] .header .nav a:hover {
  color: #946016 !important;
  background: rgba(207, 161, 78, 0.12);
  border-color: rgba(207, 161, 78, 0.3);
  box-shadow: none;
}

[data-theme="light"] .header .nav a[aria-current="page"] {
  color: #946016 !important;
  font-weight: 600;
  background: rgba(207, 161, 78, 0.18);
  border-color: #946016;
  box-shadow: none;
}

[data-theme="light"] .coverflow-pill {
  background: linear-gradient(135deg, rgba(212, 167, 83, 0.22) 0%, rgba(184, 134, 40, 0.15) 100%);
  border: 1px solid rgba(212, 167, 83, 0.5);
  color: #946016;
}

/* Tile overlay text & Feature plate text must ALWAYS be crisp white over dark photos */
.tile__name,
.feature .d2,
.feature .feature__in .d2 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95);
}
.feature .lead,
.feature .feature__in .lead {
  color: rgba(242, 237, 222, 0.95) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.feature .cap {
  color: #ffd77e !important;
}
.feature .textlink {
  color: #e6c47f !important;
}

[data-theme="light"] .d1,
[data-theme="light"] .d2:not(.feature .d2),
[data-theme="light"] .d3,
[data-theme="light"] .volume__name,
[data-theme="light"] .headgroup h2,
[data-theme="light"] .case-name,
[data-theme="light"] .fan-title,
[data-theme="light"] .plate__name,
[data-theme="light"] .map-card__name,
[data-theme="light"] .steps5 h3,
[data-theme="light"] .legacy-title,
[data-theme="light"] .pillar-card h3,
[data-theme="light"] .pillar-title,
[data-theme="light"] .card-name,
[data-theme="light"] .faq-q,
[data-theme="light"] .docket__head h2,
[data-theme="light"] .docket__iname {
  color: #1a1510 !important;
}

[data-theme="light"] .lead:not(.feature .lead),
[data-theme="light"] .volume__blurb,
[data-theme="light"] .case-desc,
[data-theme="light"] .fan-desc,
[data-theme="light"] .plate__blurb,
[data-theme="light"] .about-paras p,
[data-theme="light"] .steps5 p,
[data-theme="light"] .legacy-desc,
[data-theme="light"] .pillar-card p,
[data-theme="light"] .pillar-desc,
[data-theme="light"] .card-blurb,
[data-theme="light"] .map-card p,
[data-theme="light"] .faq-a,
[data-theme="light"] .docket__head .small,
[data-theme="light"] .dfield label,
[data-theme="light"] .docket__empty {
  color: #4a3e31 !important;
}

[data-theme="light"] .steps5__n,
[data-theme="light"] .plate__vol,
[data-theme="light"] .coll-count,
[data-theme="light"] .card-badge,
[data-theme="light"] .card-view,
[data-theme="light"] .volume__tag,
[data-theme="light"] .textlink,
[data-theme="light"] .volume__acts .textlink {
  color: #946016 !important;
  font-weight: 700;
}

[data-theme="light"] .textlink:hover,
[data-theme="light"] .volume__acts .textlink:hover {
  color: #c4821a !important;
}

[data-theme="light"] .card-vol {
  color: #c44005 !important;
  font-weight: 700;
}

[data-theme="light"] .card-row {
  border-top-color: rgba(212, 167, 83, 0.25) !important;
}

[data-theme="light"] .pillar-tag {
  background: linear-gradient(135deg, #d4a753 0%, #b88628 100%) !important;
  color: #120e08 !important;
  border-color: #b88628 !important;
  font-weight: 700;
}
[data-theme="light"] .pillar-divider {
  background: #b88628 !important;
}

[data-theme="light"] .coverflow-card,
[data-theme="light"] .coverflow-card--case,
[data-theme="light"] .fan-card,
[data-theme="light"] .map-card,
[data-theme="light"] .about-lead-card,
[data-theme="light"] .legacy-card,
[data-theme="light"] .pillar-card,
[data-theme="light"] .plate,
[data-theme="light"] .soon,
[data-theme="light"] .cfg {
  background: linear-gradient(145deg, rgba(251, 244, 232, 0.94) 0%, rgba(243, 232, 214, 0.90) 100%) !important;
  border: 1px solid rgba(212, 167, 83, 0.35) !important;
  box-shadow: 0 8px 24px rgba(90, 68, 32, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.65) !important;
}

/* Light Mode Collection Filter Bar & Chips */
[data-theme="light"] .coll-filters {
  background: linear-gradient(180deg, rgba(246, 237, 222, 0.94) 0%, rgba(239, 227, 206, 0.90) 100%);
  border-block-color: rgba(212, 167, 83, 0.32);
}
[data-theme="light"] .fchip {
  color: #5c4728;
  border-color: rgba(212, 167, 83, 0.4);
  background: rgba(251, 244, 232, 0.85);
}
[data-theme="light"] .fchip:hover {
  color: #120e08;
  border-color: #b88628;
  background: rgba(212, 167, 83, 0.25);
}
[data-theme="light"] .fchip[aria-pressed="true"] {
  color: #120e08;
  background: linear-gradient(135deg, #d4a753 0%, #b88628 100%);
  border-color: #b88628;
  font-weight: 700;
}

[data-theme="light"] .coll-grid .plate {
  background: linear-gradient(145deg, rgba(251, 244, 232, 0.95) 0%, rgba(243, 232, 214, 0.92) 100%);
  border: 1px solid rgba(212, 167, 83, 0.35);
  box-shadow: 0 4px 14px rgba(90, 68, 32, 0.08);
}
[data-theme="light"] .plate__swatch {
  border-color: rgba(212, 167, 83, 0.35);
}

/* Light Mode Drawer & Docket */
[data-theme="light"] .drawer {
  background: rgba(246, 237, 222, 0.98);
}
[data-theme="light"] .drawer__nav a {
  color: #1a1510;
  border-bottom-color: rgba(212, 167, 83, 0.3);
}
[data-theme="light"] .docket {
  background: rgba(248, 240, 226, 0.98);
  border-left: 1px solid rgba(212, 167, 83, 0.35);
}
[data-theme="light"] .dfield input,
[data-theme="light"] .dfield textarea {
  color: #1a1510;
  border-bottom-color: rgba(212, 167, 83, 0.4);
}

/* Light Mode Showroom Card Buttons */
[data-theme="light"] .map-card__loc .map-addr {
  color: #1a1510 !important;
}
[data-theme="light"] .map-open-btn {
  background: linear-gradient(135deg, #d4a753 0%, #b88628 100%) !important;
  color: #120e08 !important;
  border: 1px solid #b88628 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(184, 134, 40, 0.25) !important;
}
[data-theme="light"] .map-card__sub {
  color: #5c4728 !important;
}
[data-theme="light"] .map-act {
  background: linear-gradient(135deg, #d4a753 0%, #b88628 100%) !important;
  color: #120e08 !important;
  border: 1px solid #b88628 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(184, 134, 40, 0.25) !important;
}
[data-theme="light"] .map-act:hover {
  background: linear-gradient(135deg, #e6be6a 0%, #c99632 100%) !important;
  color: #000000 !important;
  box-shadow: 0 4px 12px rgba(184, 134, 40, 0.4) !important;
}
[data-theme="light"] .map-act--wa {
  background: #25d366 !important;
  color: #ffffff !important;
  border: 1px solid #1ea952 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
}
[data-theme="light"] .map-act--wa:hover {
  background: #1eb857 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45) !important;
}

/* Wallpaper designs cursor indicator */
.feature, .tile, .plate, .coverflow-card, .fan-card, .volume__media, .soon {
  cursor: pointer;
}

/* Light Mode Journey Section Typography */
[data-theme="light"] .journey-box h3,
[data-theme="light"] .journey-box .d3 {
  color: #1a1510 !important;
}
[data-theme="light"] .journey-box .lead {
  color: #4a3e31 !important;
}
[data-theme="light"] .j2list b {
  color: #1a1510 !important;
}
[data-theme="light"] .j2list li div span {
  color: #4a3e31 !important;
}
[data-theme="light"] .j2list li.is-on b {
  color: #946016 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .j2dot {
  border-color: rgba(148, 96, 22, 0.45) !important;
}
[data-theme="light"] .j2list li.is-on .j2dot {
  background: #946016 !important;
  border-color: #946016 !important;
  box-shadow: 0 0 8px rgba(148, 96, 22, 0.5) !important;
}
[data-theme="light"] .j2list li:hover {
  background: rgba(212, 167, 83, 0.15) !important;
}

/* Light Mode About Us Section Typography */
[data-theme="light"] .about-founding {
  color: #1a1510 !important;
}
[data-theme="light"] .about-founding strong {
  color: #946016 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .about-paras p {
  color: #4a3e31 !important;
}
[data-theme="light"] .about-paras p strong {
  color: #1a1510 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .about-quote {
  background: linear-gradient(145deg, rgba(246, 237, 222, 0.95) 0%, rgba(239, 227, 206, 0.92) 100%) !important;
  border-left: 4px solid #b88628 !important;
  border-top-color: rgba(212, 167, 83, 0.3) !important;
  border-right-color: rgba(212, 167, 83, 0.3) !important;
  border-bottom-color: rgba(212, 167, 83, 0.3) !important;
  box-shadow: 0 4px 16px rgba(90, 68, 32, 0.08) !important;
}
[data-theme="light"] .about-quote__text {
  color: #1a1510 !important;
}
[data-theme="light"] .about-quote__author {
  color: #946016 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .legacy-card__head {
  border-bottom-color: rgba(212, 167, 83, 0.3) !important;
}
[data-theme="light"] .legacy-card__head h3 {
  color: #946016 !important;
}
[data-theme="light"] .legacy-badge {
  background: linear-gradient(135deg, #d4a753 0%, #b88628 100%) !important;
  color: #120e08 !important;
  border: 1px solid #b88628 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .legacy-list strong {
  color: #1a1510 !important;
}
[data-theme="light"] .legacy-list p {
  color: #4a3e31 !important;
}
[data-theme="light"] .legacy-list li {
  border-bottom-color: rgba(212, 167, 83, 0.2) !important;
}

/* Light Mode Live Visualiser / Configurator */
[data-theme="light"] .cfg__form h3 {
  color: #1a1510 !important;
}
[data-theme="light"] .cfg__upload {
  color: #4a3e31 !important;
  border-color: rgba(212, 167, 83, 0.45) !important;
}
[data-theme="light"] .cfg__upload:hover {
  border-color: #b88628 !important;
  color: #946016 !important;
}
[data-theme="light"] .cfg select {
  background-color: rgba(251, 244, 232, 0.95) !important;
  color: #1a1510 !important;
  border-bottom: 1px solid #b88628 !important;
}
[data-theme="light"] .cfg select option {
  background-color: #fbf4e8 !important;
  color: #1a1510 !important;
}
[data-theme="light"] .cfg__row {
  color: #4a3e31 !important;
}
[data-theme="light"] .cfg__row b {
  color: #1a1510 !important;
}
[data-theme="light"] .cfg__price {
  color: #946016 !important;
  font-weight: 700 !important;
}

/* Light Mode Finishes Section */
[data-theme="light"] .finish__name {
  color: #1a1510 !important;
}
[data-theme="light"] .finish__desc {
  color: #4a3e31 !important;
}
[data-theme="light"] .finish__rate {
  color: #946016 !important;
  font-weight: 700 !important;
}
[data-theme="light"] .finish:hover {
  background: rgba(212, 167, 83, 0.15) !important;
}

/* Footer: ALWAYS high contrast white & gold text across dark luxury background */
.footer {
  background: rgba(14, 11, 8, 0.98) !important;
}
.footer__brand p {
  color: #cfc9b8 !important;
}
.fcol .cap,
.footer__connect .cap {
  color: #e6c47f !important;
  font-weight: 700;
}
.fcol a {
  color: #e2dcce !important;
}
.fcol a:hover {
  color: #ffd77e !important;
}
.footer__bottom {
  color: #cfc9b8 !important;
}
.footer__bottom a {
  color: #e6c47f !important;
}

[data-theme="light"] .rep-strip {
  background: #f0e8dc;
  border-bottom-color: rgba(179, 131, 52, 0.25);
}

[data-theme="light"] .rep-strip__text {
  color: #382e24;
}
.tool:hover { color: var(--gold-bright); }
.tool svg { width: 21px; height: 21px; }
.tool__count {
  position: absolute; top: 4px; right: 2px;
  min-width: 15px; height: 15px; padding-inline: 3px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--kaavi); color: var(--ink);
  font-size: 9.5px; font-weight: 600; letter-spacing: 0;
}
.tool__count:empty { display: none; }

.burger { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .wordmark b { font-size: 18px; letter-spacing: .24em; }
}

@media (max-width: 600px) {
  .header__left { gap: 10px; }
  .theme { font-size: 6.5px; }
  .header__socials { gap: 5px; }
  .nav-social { width: 28px; height: 28px; }
  .nav-social svg { width: 13px; height: 13px; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ground-deep);
  display: flex; flex-direction: column;
  padding: 26px var(--gutter) 40px;
  transform: translateX(102%);
  transition: transform var(--beat-slow) var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.drawer__nav a {
  font-family: var(--f-display); font-size: clamp(1.7rem, 6vw, 2.4rem);
  padding: 10px 0; color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer__nav a .num { font-size: 13px; }
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }

/* ---------- 10. Hero ---------- */
.hero {
  position: relative;
  margin-inline: var(--frame);
  margin-top: 14px;
  min-height: calc(96svh - var(--bar-h) - var(--header-h));
  display: flex; align-items: flex-end;
  isolation: isolate;
  overflow: clip;
  border: 1px solid rgba(242, 237, 222, .12);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media .slide {
  position: absolute; inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 1.8s;
}
.hero__media .slide.is-on {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 0s;
}
/* cinema hero — full-bleed with a slow perpetual drift, like a looping film */
.hero__media { background: var(--night); }
.hero__media .slide video {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 42%;
  cursor: zoom-in;
}
.hero__media .slide img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 42%;
  cursor: zoom-in;
  animation: hero-drift 16s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__media .slide:nth-child(even) img {
  animation-name: hero-drift-b;
  animation-duration: 18s;
}
.hero__media .slide:not(.is-on) img { animation-play-state: paused; }
@keyframes hero-drift {
  from { transform: scale(1.02) translateX(-1%); }
  to   { transform: scale(1.09) translateX(1%); }
}
@keyframes hero-drift-b {
  from { transform: scale(1.09) translateX(1%); }
  to   { transform: scale(1.02) translateX(-1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media .slide img { animation: none; }
}
.hero__dots {
  position: absolute; right: clamp(16px, 2vw, 32px); top: clamp(16px, 2.5vh, 28px);
  z-index: 2;
  display: flex; gap: 8px; align-items: center;
  background: color-mix(in srgb, var(--ground-deep) 40%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 20px;
}
.hero__dots button {
  width: 22px; height: 22px;
  display: grid; place-items: center;
}
.hero__dots button::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(242, 237, 222, .45);
  transition: background-color var(--beat) var(--ease), transform var(--beat) var(--ease);
}
.hero__dots button[aria-current="true"]::after { background: var(--gold-bright); transform: scale(1.5); }
/* the caption bar: small, at the foot, never hiding the art */
.hero__bar {
  position: relative; z-index: 1;
  width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px 28px; flex-wrap: wrap;
  padding: 0 clamp(18px, 2.4vw, 40px) clamp(16px, 2.6vh, 26px);
}
.hero__dname {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  letter-spacing: .04em;
  line-height: 1.2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}
.hero__dmeta {
  margin-top: 3px;
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__act { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--sm { padding: 12px 20px; font-size: 11.5px; letter-spacing: .16em; }
@media (max-width: 720px) {
  .hero__bar { align-items: flex-start; flex-direction: column; }
  .hero__act { width: 100%; }
  .hero__act .btn { flex: 1; justify-content: center; }
}

/* ---------- 13b. Reputation Strip (Immediately below Hero) ---------- */
.rep-strip {
  position: relative;
  background: rgba(18, 14, 10, 0.95);
  border-bottom: 1px solid rgba(234, 88, 12, 0.25);
  padding-block: clamp(12px, 1.4vw, 16px);
  z-index: 20;
}
.rep-strip__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 36px);
}
.rep-strip__stat {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.rep-strip__num,
.rep-strip__time {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 600;
  color: #ea580c;
  letter-spacing: 0.02em;
}
.rep-strip__sep {
  color: rgba(242, 237, 222, 0.35);
  margin-inline: 2px;
}
.rep-strip__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd77e;
  font-weight: 600;
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.35);
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 4px;
}
.rep-strip__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}
.rep-strip__text {
  font-size: clamp(11.5px, 0.95vw, 12.5px);
  line-height: 1.45;
  color: rgba(242, 237, 222, 0.85);
  margin: 0;
  max-width: 68ch;
}
@media (max-width: 860px) {
  .rep-strip__in {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(11, 13, 17, .82) 0%, rgba(11, 13, 17, .30) 12%, transparent 24%);
}
.hero__kolam {
  position: absolute; top: clamp(20px, 6vh, 64px); left: var(--gutter);
  width: clamp(170px, 19vw, 280px); height: auto;
  z-index: 0; pointer-events: none;
  opacity: .75;
  mask-image: linear-gradient(145deg, #000 30%, transparent 85%);
  -webkit-mask-image: linear-gradient(145deg, #000 30%, transparent 85%);
}
.hero__kolam path { fill: none; stroke: rgba(242, 237, 222, .5); stroke-width: 1.6; stroke-linecap: round; }
.hero__kolam circle { fill: rgba(242, 237, 222, .45); }
@media (max-width: 900px) { .hero__kolam { display: none; } }

.hero__in {
  position: relative; z-index: 1;
  width: 100%; max-width: none; margin-inline: 0;
  padding: 0 clamp(26px, 3.5vw, 64px) clamp(56px, 9vh, 110px);
}
.hero__title {
  max-width: 13ch; margin-block: 0 22px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: clamp(2.4rem, 6vw, 4.9rem);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.hero__title.is-in .line > span { transform: none; }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; color: var(--gold-bright); }
@media (prefers-reduced-motion: reduce) { .hero__title .line > span { transform: none !important; transition: none; } }

.hero__deck { max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero__meta {
  margin-top: 44px;
  display: flex; align-items: center; gap: 14px;
  font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-dim);
}
.hero__meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.hero__scrollcue {
  position: absolute; right: clamp(18px, 2.5vw, 40px); bottom: 130px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--ink-dim); font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scrollcue .stem { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); }
@media (max-width: 720px) { .hero__scrollcue { display: none; } }

/* ---------- 11. Editorial tiles — Find your wall ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
}
.tile {
  position: relative;
  overflow: clip;
  isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: clamp(260px, 26vw, 360px);
  grid-column: span 3;
  background: var(--panel);
}
.tile:nth-child(1), .tile:nth-child(2) { grid-column: span 6; min-height: clamp(320px, 34vw, 470px); }
/* the merged doors grid: every door the same modest size */
.tiles--doors .tile { grid-column: span 3; min-height: clamp(230px, 22vw, 310px); }
.tiles--doors .tile:nth-last-child(1), .tiles--doors .tile:nth-last-child(2) { grid-column: span 6; }
@media (max-width: 900px) {
  .tiles--doors .tile, .tiles--doors .tile:nth-last-child(1), .tiles--doors .tile:nth-last-child(2) { grid-column: span 1; min-height: 210px; }
}
.tile__img { position: absolute; inset: 0; z-index: -1; }
.tile__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
  filter: saturate(.9) brightness(.82);
}
.tile::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(11, 13, 17, .88), rgba(11, 13, 17, .12) 55%);
}
.tile:hover .tile__img img { transform: scale(1.05); filter: saturate(1) brightness(.92); }
.tile__body { position: relative; z-index: 1; padding: clamp(20px, 2.6vw, 34px); width: 100%; }
.tile__name { display: block; font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: .04em; }
.tile__note {
  display: block;
  font-size: 14px; color: var(--ink-soft); margin-top: 6px; max-width: 34ch;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--beat) var(--ease), transform var(--beat) var(--ease);
}
.tile:hover .tile__note, .tile:focus-visible .tile__note { opacity: 1; transform: none; }
.tile__go {
  position: absolute; top: 18px; right: 18px; z-index: 1;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--hairline-2); border-radius: 50%;
  color: var(--ink);
  opacity: 0; transform: rotate(-45deg) scale(.85);
  transition: opacity var(--beat) var(--ease), transform var(--beat) var(--ease);
}
.tile:hover .tile__go { opacity: 1; transform: rotate(-45deg) scale(1); }

.tile--custom {
  grid-column: 1 / -1;
  min-height: clamp(260px, 26vw, 380px);
  border: 1px solid rgba(207, 161, 78, .5);
  background:
    radial-gradient(120% 160% at 88% 10%, rgba(165, 63, 43, .28), transparent 55%),
    radial-gradient(90% 140% at 8% 90%, rgba(207, 161, 78, .16), transparent 50%),
    var(--panel);
  align-items: center;
}
.tile--custom::after { content: none; }
.tile--custom .tile__body { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; justify-content: space-between; }
.tile--custom .tile__body > span:first-child { display: block; max-width: 52ch; }
.tile--custom .tile__name { font-size: clamp(1.7rem, 3.2vw, 2.6rem); max-width: 20ch; }
.tile--custom .tile__note { position: static; opacity: 1; transform: none; font-size: 16px; max-width: 48ch; margin-top: 12px; }

@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile, .tile:nth-child(1), .tile:nth-child(2) { grid-column: span 1; min-height: 240px; }
  .tile--custom { grid-column: 1 / -1; }
  .tile__note { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 220px; }
}

/* ---------- 12. The volumes (Sleek landscape ratio, matching cover sizes, single-line titles) ---------- */
.volumes {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 36px);
}
.volume {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  background: rgba(30, 24, 18, 0.88);
  border: 1px solid rgba(207, 161, 78, 0.22);
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 32px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.volume:nth-child(even) .volume__media {
  order: 2;
}
.volume:nth-child(even) .volume__body {
  order: 1;
}

.volume__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 290px;
  border-radius: 10px;
  background: rgba(18, 14, 10, 0.95);
  border: 1px solid rgba(244, 239, 228, 0.12);
  cursor: pointer;
  margin-top: 0;
}
.volume__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  display: block;
}
.volume:hover .volume__media img {
  transform: scale(1.035);
  filter: saturate(1.05) brightness(1.02);
}
.volume__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 7, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.volume:hover .volume__overlay {
  opacity: 1;
}
.vol-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(22, 17, 12, 0.88);
  border: 1px solid #cfa14e;
  border-radius: 30px;
  color: #e6c47f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transform: translateY(4px);
  transition: transform 0.3s ease;
}
.volume:hover .vol-badge {
  transform: translateY(0);
}

.volume__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
  padding-top: 0;
}
.volume__body .cap {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.14em;
}
.volume__name {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: var(--night-ink, #f2edde);
  line-height: 1.15;
  white-space: nowrap;
  margin: 0;
}
.volume__tag {
  font-style: italic;
  font-weight: 400;
  color: var(--night-gold-bright, #e6c47f);
  font-size: clamp(0.72rem, 0.95vw, 0.88rem);
  margin-top: 5px;
  line-height: 1.3;
}
.volume__blurb {
  margin-top: 10px;
  max-width: 48ch;
  color: var(--night-soft, #cfc9b8);
  font-size: 13.5px;
  line-height: 1.5;
}
.volume__acts {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.volume__acts .textlink {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 0;
}

/* ---------- From Uiverse.io by Ashon-G ---------- */
.uiverse {
  --duration: 7s;
  --easing: linear;
  --c-color-1: rgba(255, 163, 26, 0.7);
  --c-color-2: #1a23ff;
  --c-color-3: #e21bda;
  --c-color-4: rgba(255, 232, 26, 0.7);
  --c-shadow: rgba(255, 223, 87, 0.5);
  --c-shadow-inset-top: rgba(255, 223, 52, 0.9);
  --c-shadow-inset-bottom: rgba(255, 250, 215, 0.8);
  --c-radial-inner: #ffd215;
  --c-radial-outer: #fff172;
  --c-color: #120e0a;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  outline: none;
  position: relative;
  cursor: pointer;
  border: none;
  display: inline-block;
  border-radius: 24px;
  padding: 0;
  margin: 0;
  text-align: center;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--c-color);
  background: radial-gradient(
    circle,
    var(--c-radial-inner),
    var(--c-radial-outer) 80%
  );
  box-shadow: 0 0 16px var(--c-shadow), 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uiverse:before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  box-shadow:
    inset 0 3px 12px var(--c-shadow-inset-top),
    inset 0 -3px 4px var(--c-shadow-inset-bottom);
}

.uiverse .wrapper {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  overflow: hidden;
  border-radius: 24px;
  min-width: 140px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.uiverse .wrapper span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 1;
  color: #120e0a;
  font-weight: 700;
}

.uiverse:hover {
  --duration: 1400ms;
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 210, 21, 0.8), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.uiverse .wrapper .circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  filter: blur(var(--blur, 8px));
  background: var(--background, transparent);
  transform: translate(var(--x, 0), var(--y, 0)) translateZ(0);
  animation: var(--animation, none) var(--duration) var(--easing) infinite;
}

.uiverse .wrapper .circle.circle-1,
.uiverse .wrapper .circle.circle-9,
.uiverse .wrapper .circle.circle-10 {
  --background: var(--c-color-4);
}

.uiverse .wrapper .circle.circle-3,
.uiverse .wrapper .circle.circle-4 {
  --background: var(--c-color-2);
  --blur: 14px;
}

.uiverse .wrapper .circle.circle-5,
.uiverse .wrapper .circle.circle-6 {
  --background: var(--c-color-3);
  --blur: 16px;
}

.uiverse .wrapper .circle.circle-2,
.uiverse .wrapper .circle.circle-7,
.uiverse .wrapper .circle.circle-8,
.uiverse .wrapper .circle.circle-11,
.uiverse .wrapper .circle.circle-12 {
  --background: var(--c-color-1);
  --blur: 12px;
}

.uiverse .wrapper .circle.circle-1 {
  --x: 0;
  --y: -40px;
  --animation: circle-1;
}

.uiverse .wrapper .circle.circle-2 {
  --x: 92px;
  --y: 8px;
  --animation: circle-2;
}

.uiverse .wrapper .circle.circle-3 {
  --x: -12px;
  --y: -12px;
  --animation: circle-3;
}

.uiverse .wrapper .circle.circle-4 {
  --x: 80px;
  --y: -12px;
  --animation: circle-4;
}

.uiverse .wrapper .circle.circle-5 {
  --x: 12px;
  --y: -4px;
  --animation: circle-5;
}

.uiverse .wrapper .circle.circle-6 {
  --x: 56px;
  --y: 16px;
  --animation: circle-6;
}

.uiverse .wrapper .circle.circle-7 {
  --x: 8px;
  --y: 28px;
  --animation: circle-7;
}

.uiverse .wrapper .circle.circle-8 {
  --x: 28px;
  --y: -4px;
  --animation: circle-8;
}

.uiverse .wrapper .circle.circle-9 {
  --x: 20px;
  --y: -12px;
  --animation: circle-9;
}

.uiverse .wrapper .circle.circle-10 {
  --x: 64px;
  --y: 16px;
  --animation: circle-10;
}

.uiverse .wrapper .circle.circle-11 {
  --x: 4px;
  --y: 4px;
  --animation: circle-11;
}

.uiverse .wrapper .circle.circle-12 {
  --blur: 14px;
  --x: 52px;
  --y: 4px;
  --animation: circle-12;
}

@keyframes circle-1 {
  33% {
    transform: translate(0px, 16px) translateZ(0);
  }

  66% {
    transform: translate(12px, 64px) translateZ(0);
  }
}

@keyframes circle-2 {
  33% {
    transform: translate(80px, -10px) translateZ(0);
  }

  66% {
    transform: translate(72px, -48px) translateZ(0);
  }
}

@keyframes circle-3 {
  33% {
    transform: translate(20px, 12px) translateZ(0);
  }

  66% {
    transform: translate(12px, 4px) translateZ(0);
  }
}

@keyframes circle-4 {
  33% {
    transform: translate(76px, -12px) translateZ(0);
  }

  66% {
    transform: translate(112px, -8px) translateZ(0);
  }
}

@keyframes circle-5 {
  33% {
    transform: translate(84px, 28px) translateZ(0);
  }

  66% {
    transform: translate(40px, -32px) translateZ(0);
  }
}

@keyframes circle-6 {
  33% {
    transform: translate(28px, -16px) translateZ(0);
  }

  66% {
    transform: translate(76px, -56px) translateZ(0);
  }
}

@keyframes circle-7 {
  33% {
    transform: translate(8px, 28px) translateZ(0);
  }

  66% {
    transform: translate(20px, -60px) translateZ(0);
  }
}

@keyframes circle-8 {
  33% {
    transform: translate(32px, -4px) translateZ(0);
  }

  66% {
    transform: translate(56px, -20px) translateZ(0);
  }
}

@keyframes circle-9 {
  33% {
    transform: translate(20px, -12px) translateZ(0);
  }

  66% {
    transform: translate(80px, -8px) translateZ(0);
  }
}

@keyframes circle-10 {
  33% {
    transform: translate(68px, 20px) translateZ(0);
  }

  66% {
    transform: translate(100px, 28px) translateZ(0);
  }
}

@keyframes circle-11 {
  33% {
    transform: translate(4px, 4px) translateZ(0);
  }

  66% {
    transform: translate(68px, 20px) translateZ(0);
  }
}

@keyframes circle-12 {
  33% {
    transform: translate(56px, 0px) translateZ(0);
  }

  66% {
    transform: translate(60px, -32px) translateZ(0);
  }
}

.volume--soon .volume__media { aspect-ratio: auto; min-height: 220px; border: 1px dashed var(--hairline-2); background: transparent; display: grid; place-items: center; }
.volumes-soon {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px);
  margin-top: clamp(32px, 5vw, 56px);
}
.soon {
  position: relative;
  border: 1px solid rgba(244, 239, 228, 0.12);
  padding: clamp(24px, 3vw, 36px);
  background: rgba(28, 22, 16, 0.75);
  border-radius: 12px;
  overflow: clip;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.soon__mark {
  position: static;
  display: inline-block;
  margin-bottom: 10px;
}
.soon .volume__name {
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  margin: 0;
}
.soon p {
  color: var(--ink-dim);
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 44ch;
}
@media (max-width: 900px) {
  .volume { grid-template-columns: 1fr; }
  .volume:nth-child(even) .volume__media { order: 0; }
  .volumes-soon { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- 13. Featured plate — full width ---------- */
.feature {
  position: relative;
  margin-inline: var(--frame);
  min-height: clamp(480px, 74vh, 740px);
  display: flex; align-items: flex-end;
  isolation: isolate;
  overflow: clip;
  border-radius: 18px;
  border: 1px solid rgba(242, 237, 222, .16);
  box-shadow: 0 24px 60px rgba(20, 17, 12, 0.45);
}
.feature__media img { cursor: zoom-in; }
.feature__media { position: absolute; inset: -14% 0; z-index: -2; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11, 13, 17, .95), rgba(11, 13, 17, .25) 46%, rgba(11, 13, 17, .35)),
    linear-gradient(100deg, rgba(11, 13, 17, .55), transparent 45%);
}
.feature__in { width: 100%; max-width: none; margin-inline: 0; padding: clamp(48px, 7vw, 96px) clamp(26px, 3.5vw, 64px); }
.feature__in .d2 { max-width: 17ch; }
.feature__in .lead { margin-top: 18px; }
.feature__in .textlink { margin-top: 30px; }

/* ---------- 14. Spaces ---------- */
.spaces {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
}
.space {
  position: relative; overflow: clip; isolation: isolate;
  min-height: clamp(300px, 30vw, 420px);
  display: flex; align-items: flex-end;
  background: var(--panel);
}
.space__img { position: absolute; inset: 0; z-index: -1; }
.space__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9) brightness(.8);
  transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
}
.space::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(11, 13, 17, .9), rgba(11, 13, 17, .08) 52%);
}
.space:hover .space__img img { transform: scale(1.06); filter: saturate(1) brightness(.9); }
.space__body { position: relative; z-index: 1; padding: 22px; }
.space__name { display: block; font-family: var(--f-display); font-size: 1.25rem; letter-spacing: .05em; }
.space__note { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.space:nth-child(1), .space:nth-child(6) { grid-column: span 2; }
@media (max-width: 900px) {
  .spaces { grid-template-columns: 1fr 1fr; }
  .space:nth-child(1), .space:nth-child(6) { grid-column: span 1; }
  .space { min-height: 230px; }
}

/* ---------- 15. Custom process — sticky stages ---------- */
.process { position: relative; }
.process__stage {
  position: sticky;
  top: calc(var(--header-h) + var(--bar-h) * 0);
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: clip;
}
.process__canvas {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.process__canvas svg { width: min(78vw, 900px); height: auto; overflow: visible; }

.psteps { position: relative; z-index: 1; width: 100%; }
.pstep {
  min-height: 86svh;
  display: flex; align-items: center;
}
.pstep__card {
  max-width: 400px;
  background: color-mix(in srgb, var(--ground-deep) 84%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  padding: clamp(26px, 3vw, 40px);
}
.pstep__num { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pstep__num .n { font-family: var(--f-display); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.pstep__num .rule { flex: 1; height: 1px; background: var(--hairline-2); }
.pstep__card h3 { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 10px; }
.pstep__card p { color: var(--ink-soft); font-size: 15.5px; }

.process__close { text-align: center; padding-block: clamp(40px, 5.5vw, 76px); }
.process__close .d3 { color: var(--gold-bright); }
.process__close .btn { margin-top: 30px; }

@media (max-width: 720px) {
  .process__canvas svg { width: 92vw; opacity: .5; }
}

/* ---------- 15b. Five steps — compact band (25% reduced) ---------- */
.steps5 {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.steps5 li {
  position: relative;
  padding: clamp(13px, 1.6vw, 22px) clamp(10px, 1.2vw, 18px) clamp(12px, 1.4vw, 19px) 0;
}
.steps5 li + li { border-left: 1px solid var(--hairline); padding-left: clamp(10px, 1.2vw, 18px); }
.steps5 li::before {
  content: ''; position: absolute; top: -3px; left: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
}
.steps5__n { font-family: var(--f-display); color: var(--gold-bright, #e6c47f); font-size: 0.95rem; letter-spacing: .1em; font-weight: 600; }
.steps5 h3 { font-family: var(--f-display); font-size: clamp(0.88rem, 1.1vw, 1.05rem); margin-top: 5px; color: var(--night-ink, #f2edde); }
.steps5 p { font-size: 11.5px; color: var(--night-soft, #cfc9b8); margin-top: 4px; line-height: 1.45; }
@media (max-width: 1020px) {
  .steps5 { grid-template-columns: 1fr 1fr; }
  .steps5 li + li { border-left: 0; }
  .steps5 li { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 560px) { .steps5 { grid-template-columns: 1fr; } }

/* ---------- 21b. Journey — compact stepper with high-visibility gold indicators ---------- */
.journey2 {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(16px, 2.2vw, 36px);
  align-items: center;
}
.j2stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: clip;
  border: 1px solid var(--hairline-2);
  background: var(--panel);
}
.j2stage img {
  width: 100%; height: 100%; object-fit: cover;
  transition: filter .6s var(--ease), transform .6s var(--ease);
  cursor: zoom-in;
}
.j2stage__panels { position: absolute; inset: 0; display: flex; pointer-events: none; }
.j2stage__panels span { flex: 1; border-right: 1px dashed rgba(207, 161, 78, 0); transition: border-color .45s var(--ease); }
.j2stage__panels span:last-child { border-right: 0; }
.j2stage__dim {
  position: absolute; inset: 10px;
  border: 2px solid rgba(207, 161, 78, 0);
  transition: border-color .45s var(--ease);
  pointer-events: none;
}
.j2stage__dim .dimlabel {
  opacity: 0; transition: opacity .45s var(--ease);
  background: linear-gradient(135deg, #e6c47f, #cfa14e); color: #120e0a;
  border: 1px solid #f2edde;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(207, 161, 78, 0.45);
}
.j2stage[data-k="1"] .j2stage__dim { border-color: #cfa14e; }
.j2stage[data-k="1"] .j2stage__dim .dimlabel { opacity: 1; }
.j2stage[data-k="2"] img { filter: saturate(1.16) contrast(1.06); }
.j2stage[data-k="3"] .j2stage__panels span,
.j2stage[data-k="4"] .j2stage__panels span { border-color: #cfa14e; border-right-width: 1.5px; }
.j2stage[data-k="4"] img { transform: scale(.94); }
.j2stage[data-k="5"] img { filter: saturate(1.05); }

.j2list { list-style: none; display: flex; flex-direction: column; }
.j2list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: clamp(6px, 0.9vw, 9px) 4px;
  border-bottom: 1px solid rgba(242, 237, 222, .07);
  cursor: pointer;
  transition: background-color var(--beat) var(--ease);
}
.j2list li:hover { background: rgba(242, 237, 222, .05); }
.j2dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  border: 1.4px solid var(--night-dim, #a49e8d);
  transition: background-color var(--beat) var(--ease), border-color var(--beat) var(--ease);
  transform: translateY(-1px);
}
.j2list b { font-family: var(--f-display); font-weight: 500; font-size: clamp(0.85rem, 1.05vw, 0.98rem); color: var(--night-ink, #f2edde); transition: color var(--beat) var(--ease); }
.j2list li div span { display: block; font-size: 11px; color: var(--night-soft, #cfc9b8); margin-top: 1px; }
.j2list li.is-on .j2dot { background: var(--night-gold, #cfa14e); border-color: var(--night-gold-bright, #e6c47f); box-shadow: 0 0 8px rgba(207, 161, 78, 0.6); }
.j2list li.is-on b { color: var(--night-gold-bright, #e6c47f) !important; font-weight: 600; }
@media (max-width: 900px) { .journey2 { grid-template-columns: 1fr; } }

/* proof shots — filled frames */
.proof__shot {
  position: relative; margin: 0;
  border: 1px solid var(--hairline);
  overflow: clip;
}
.proof__shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: transform 1.4s var(--ease); }
.proof__shot:hover img { transform: scale(1.04); }
.proof__shot figcaption {
  padding: 8px 12px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dim);
  border-top: 1px solid var(--hairline);
}

/* ---------- 15c. Visualiser & price calculator (25% reduced) ---------- */
.cfg {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(16px, 2.2vw, 36px);
  align-items: start;
  border: 1px solid rgba(207, 161, 78, 0.25);
  border-radius: 14px;
  background: rgba(26, 20, 15, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(15px, 2vw, 28px);
}
.cfg__preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: clip;
  background: var(--ground-deep);
  border: 1px solid var(--hairline-2);
  transition: aspect-ratio .5s var(--ease);
}
.cfg__preview img { width: 100%; height: 100%; object-fit: cover; }
.cfg__dimframe {
  position: absolute; inset: 10px;
  border: 1px solid rgba(207, 161, 78, .75);
  pointer-events: none;
}
.cfg__dimframe .dimlabel { opacity: 1; }
.dimlabel {
  position: absolute; font-size: 9.5px; letter-spacing: .18em; color: var(--gold-bright);
  text-transform: uppercase;
  background: var(--ground-deep); padding: 2px 8px;
}
.dimlabel--w { top: -9px; left: 50%; transform: translateX(-50%); }
.dimlabel--h { right: -8px; top: 50%; transform: translate(50%, -50%) rotate(90deg); }
.cfg__form h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: .02em; color: var(--night-ink, #f2edde); }
.cfg__src { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.cfg__upload {
  position: relative; display: block; cursor: pointer;
  border: 1px dashed var(--hairline-2);
  padding: 10px 14px;
  text-align: center;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--night-soft, #cfc9b8);
  transition: border-color var(--beat) var(--ease), color var(--beat) var(--ease);
}
.cfg__upload:hover { border-color: var(--gold); color: var(--gold-bright); }
.cfg__upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cfg__grid { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cfg select {
  appearance: none; -webkit-appearance: none;
  background: rgba(18, 14, 10, 0.95);
  border: 0; border-bottom: 1px solid rgba(207, 161, 78, 0.4);
  color: var(--night-ink, #f2edde); font: inherit; font-size: 12.5px;
  padding: 6px 22px 6px 2px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23cfa14e' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.cfg select:focus-visible { outline: none; border-bottom-color: var(--gold); }
.cfg select option { background: #1c1711; color: #f2edde; }
.cfg__out { margin-top: 12px; border-top: 1px solid var(--hairline); padding-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.cfg__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12.5px; color: var(--night-soft, #cfc9b8); }
.cfg__row b { font-family: var(--f-display); font-weight: 400; font-size: 0.95rem; color: var(--night-ink, #f2edde); }
.cfg__price { color: var(--gold-bright) !important; font-size: 1.25rem !important; }
@media (max-width: 960px) { .cfg { grid-template-columns: 1fr; } }

.finish__rate { color: var(--gold-bright); font-weight: 500; white-space: nowrap; }

/* ---------- 16. About Us / The House narrative & legacy (25% reduced) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.about-lead-card {
  background: rgba(28, 22, 16, 0.92);
  border: 1px solid rgba(207, 161, 78, 0.25);
  border-radius: 12px;
  padding: clamp(16px, 2vw, 24px);
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.about-founding {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  color: var(--night-ink, #f2edde);
  margin: 0;
}
.about-founding strong {
  color: var(--gold-bright, #e6c47f);
  font-weight: 600;
}
.about-paras p {
  font-size: clamp(0.85rem, 1vw, 0.96rem);
  line-height: 1.65;
  color: var(--night-soft, #cfc9b8);
  margin-bottom: 14px;
}
.about-paras p strong {
  color: var(--night-ink, #f2edde);
  font-weight: 600;
}
.about-quote {
  position: relative;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(18, 14, 10, 0.95);
  border-left: 4px solid #cfa14e;
  border-radius: 0 10px 10px 0;
  border-top: 1px solid rgba(207, 161, 78, 0.22);
  border-right: 1px solid rgba(207, 161, 78, 0.22);
  border-bottom: 1px solid rgba(207, 161, 78, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.about-quote__text {
  font-family: var(--f-display);
  font-size: clamp(0.98rem, 1.25vw, 1.15rem);
  line-height: 1.5;
  color: #f2edde;
  font-style: italic;
  margin: 0;
}
.about-quote__author {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd77e;
  font-weight: 500;
}

/* Sidebar legacy card - High-contrast glass card */
.legacy-card {
  background: rgba(28, 22, 16, 0.92);
  border: 1px solid rgba(207, 161, 78, 0.25);
  border-radius: 12px;
  padding: clamp(18px, 2.2vw, 26px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.legacy-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(244, 239, 228, 0.12);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.legacy-badge {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright, #e6c47f);
  font-weight: 700;
  background: rgba(207, 161, 78, 0.14);
  border: 1px solid rgba(207, 161, 78, 0.35);
  padding: 3px 9px;
  border-radius: 999px;
}
.legacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 239, 228, 0.08);
}
.legacy-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.legacy-icon {
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}
.legacy-list strong {
  display: block;
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--night-ink, #f2edde) !important;
  letter-spacing: 0.02em;
}
.legacy-list p {
  font-size: 12px;
  line-height: 1.38;
  color: var(--night-soft, #cfc9b8) !important;
  margin: 2px 0 0;
}
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 16b. Moving Pillars Marquee (Dual Direction) ---------- */
.pillars-marquee {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 6px;
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.marquee-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  flex-shrink: 0;
  will-change: transform;
}
.marquee-row--left .marquee-track {
  animation: scrollLeft 28s linear infinite;
}
.marquee-row--right .marquee-track {
  animation: scrollRight 28s linear infinite;
}
.pillars-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Pillar Card styled in dark luxury glass */
.pillar-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(28, 22, 16, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(207, 161, 78, 0.25);
  border-radius: 12px;
  padding: 10px 16px;
  min-width: clamp(280px, 24vw, 340px);
  max-width: 380px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--beat) var(--ease), box-shadow var(--beat) var(--ease), border-color var(--beat) var(--ease);
}
.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(207, 161, 78, 0.2);
  border-color: rgba(207, 161, 78, 0.45);
}
.pillar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pillar-tag {
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-bright, #e6c47f);
  letter-spacing: 0.03em;
  background: rgba(207, 161, 78, 0.14);
  border: 1px solid rgba(207, 161, 78, 0.3);
  padding: 4px 8px;
  border-radius: 6px;
}
.pillar-divider {
  width: 2px;
  height: 24px;
  background: #cfa14e;
  border-radius: 2px;
}
.pillar-content {
  display: flex;
  flex-direction: column;
}
.pillar-title {
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #f2edde;
  margin: 0;
  letter-spacing: 0.01em;
}
.pillar-desc {
  font-size: 11px;
  line-height: 1.35;
  color: #cfc9b8;
  margin: 2px 0 0;
  white-space: normal;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .marquee-row { overflow-x: auto; scrollbar-width: none; }
}

/* ---------- 17. Finishes (compact integrated list) ---------- */
.finishes { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.finishes--compact { border-top: 1px solid rgba(242, 237, 222, 0.08); }
.finish {
  display: grid;
  grid-template-columns: 32px minmax(0, 1.8fr) minmax(0, 2.5fr) auto;
  gap: clamp(8px, 1.2vw, 14px);
  align-items: center;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(242, 237, 222, 0.07);
  transition: background-color var(--beat) var(--ease), border-color var(--beat) var(--ease);
}
.finish:hover {
  background: rgba(207, 161, 78, 0.1);
  border-radius: 6px;
}
.finish__chip { width: 30px; height: 30px; flex: none; }
.finish__chip svg { width: 100%; height: 100%; }
.finish__name { font-family: var(--f-display); font-size: 0.92rem; margin: 0; color: var(--night-ink, #f2edde); }
.finish__traits { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright, #e6c47f); margin-top: 2px; font-weight: 600; }
.finish__note { color: var(--night-soft, #cfc9b8); font-size: 11px; line-height: 1.35; }
.finish__best { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--night-dim, #a49e8d); text-align: right; }
.finish__rate { color: var(--gold-bright, #e6c47f); font-weight: 600; }
@media (max-width: 768px) {
  .finish { grid-template-columns: 30px 1fr; grid-template-rows: auto auto; gap: 4px 10px; }
  .finish__note { grid-column: 2; font-size: 10.5px; }
  .finish__best { grid-column: 2; text-align: left; }
}

/* ---------- 18. Most loved — 3D Cover Flow Carousel (30% reduced) ---------- */
.coverflow-section {
  position: relative;
  overflow: visible;
}
.coverflow-header {
  text-align: center !important;
  max-width: 660px !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}
.coverflow-header .d2,
.coverflow-header .coverflow-title {
  text-align: center !important;
  margin-inline: auto !important;
}
.coverflow-header .lead {
  text-align: center !important;
  margin-inline: auto !important;
  justify-self: center !important;
  align-self: center !important;
  max-width: 60ch !important;
  padding-bottom: 0 !important;
}
.coverflow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(234, 88, 12, 0.35);
  color: #ea580c;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.coverflow-title {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  letter-spacing: 0.02em;
}
.coverflow-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  overflow: visible;
}
.coverflow-stage {
  position: relative;
  width: 100%;
  height: 330px;
  perspective: 1000px;
  perspective-origin: 50% 48%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  touch-action: pan-y;
  user-select: none;
}
.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}
.coverflow-card {
  position: absolute;
  width: clamp(190px, 16vw, 230px);
  border-radius: 14px;
  background: rgba(22, 17, 12, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 237, 222, 0.15);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  transform-origin: center center;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.35, 1),
              opacity 0.65s cubic-bezier(0.25, 1, 0.35, 1),
              filter 0.65s cubic-bezier(0.25, 1, 0.35, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  cursor: pointer;
  z-index: 1;
}
.coverflow-card.is-active {
  border: 1.5px solid #ea580c;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7),
              0 0 24px rgba(234, 88, 12, 0.35),
              0 0 8px rgba(250, 204, 21, 0.2);
  cursor: default;
  z-index: 20;
}
.coverflow-card:not(.is-active):hover {
  border-color: rgba(234, 88, 12, 0.45);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd77e;
  margin-bottom: 6px;
  padding-left: 2px;
}
.card-badge__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}
.card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  overflow: hidden;
  background: #110e0a;
  position: relative;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.coverflow-card:hover .card-media img {
  transform: scale(1.04);
}
.card-body {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-vol {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ea580c;
  font-weight: 600;
}
.card-name {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: #f2edde;
  margin-top: 2px;
  line-height: 1.2;
}
.card-blurb {
  font-size: 10.5px;
  color: rgba(242, 237, 222, 0.65);
  margin-top: 3px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(242, 237, 222, 0.08);
}
.card-view {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd77e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.2s ease;
}
.card-view:hover {
  color: #ffffff;
}
.card-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Bottom controls bar (Prev / Counter / Pause-Play / Next) */
.coverflow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.cf-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(22, 17, 12, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(234, 88, 12, 0.35);
  color: #f2edde;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
}
.cf-btn svg {
  width: 14px;
  height: 14px;
}
.cf-btn:hover {
  background: #ea580c;
  border-color: #ea580c;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(234, 88, 12, 0.45);
}
.cf-counter {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #f2edde;
  padding: 4px 10px;
  border-radius: 16px;
  background: rgba(22, 17, 12, 0.7);
  border: 1px solid rgba(242, 237, 222, 0.12);
  min-width: 48px;
  text-align: center;
}
.cf-curr {
  color: #ea580c;
  font-weight: 600;
}
.cf-sep {
  opacity: 0.4;
  margin-inline: 2px;
}

/* ---------- Case Study Coverflow Card (Walls We've Transformed) ---------- */
.coverflow-card--case {
  background: rgba(26, 20, 15, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(207, 161, 78, 0.25);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.coverflow-card--case.is-active {
  border: 1.5px solid #cfa14e !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.7), 0 0 22px rgba(207, 161, 78, 0.3) !important;
}
.coverflow-card--case:not(.is-active):hover {
  border-color: rgba(207, 161, 78, 0.45);
}
.case-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #1a1612;
}
.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.coverflow-card--case:hover .case-media img {
  transform: scale(1.05);
}
.case-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #120e0a;
  background: linear-gradient(135deg, #e6c47f, #cfa14e);
  padding: 2.5px 7px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.case-num {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 8.5px;
  font-weight: 700;
  color: #f2edde;
  background: rgba(14, 11, 8, 0.85);
  border: 1px solid rgba(207, 161, 78, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}
.case-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  background: transparent;
  flex: 1;
}
.case-sector {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright, #e6c47f);
  font-weight: 700;
  margin: 0;
}
.case-name {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--night-ink, #f2edde);
  margin: 2px 0 3px;
  line-height: 1.25;
}
.case-desc {
  font-size: 10.5px;
  line-height: 1.36;
  color: var(--night-soft, #cfc9b8);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.case-link {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gold-bright, #e6c47f);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
  transition: color var(--beat) var(--ease);
}
.case-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* wishlist in coverflow */
.wish {
  position: relative;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
}
.wish svg { width: 15px; height: 15px; overflow: visible; }
.wish .ring { fill: none; stroke: currentColor; stroke-width: 1.4; }
.wish .core { fill: var(--gold); transform-origin: center; transform: scale(0); transition: transform var(--beat) var(--ease); }
.wish:hover { color: var(--gold-bright); }
.wish[aria-pressed="true"] .core { transform: scale(1); }
.wish[aria-pressed="true"] { color: var(--gold); }

@media (max-width: 768px) {
  .coverflow-stage { height: 300px; }
  .coverflow-card { width: clamp(180px, 64vw, 210px); }
}

/* ---------- 19. The Edit — Curved Fanned Cards Deck (as attached design) ---------- */
.fan-deck-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 24px 0 30px;
  overflow: visible;
}
.fan-deck {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 320px;
  padding-bottom: 15px;
  max-width: 960px;
  margin-inline: auto;
}
.fan-card {
  position: relative;
  width: clamp(130px, 10.5vw, 155px);
  background: rgba(28, 22, 16, 0.94);
  border: 1px solid rgba(207, 161, 78, 0.28);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  margin-left: clamp(-30px, -2.2vw, -18px);
  transform-origin: bottom center;
  transform: translateY(var(--ty, 0)) rotate(var(--rot, 0deg));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease,
              border-color 0.3s ease,
              z-index 0s 0.45s;
  z-index: calc(10 + var(--i, 0));
  cursor: pointer;
  flex-shrink: 0;
}
.fan-card:first-child {
  margin-left: 0;
}
.fan-card:hover,
.fan-card:focus-visible {
  transform: translateY(-28px) scale(1.08) rotate(0deg) !important;
  z-index: 60 !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65),
              0 0 18px rgba(207, 161, 78, 0.4);
  border-color: #cfa14e;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease,
              border-color 0.3s ease,
              z-index 0s;
}

.fan-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: #14110c;
  flex-shrink: 0;
}
.fan-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.fan-card:hover .fan-media img {
  transform: scale(1.08);
}
.fan-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
  background: rgba(179, 66, 43, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 2.5px 7px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.fan-body {
  padding: 8px 10px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.fan-title {
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--night-ink, #f2edde);
  margin: 0 0 2px;
  line-height: 1.2;
}
.fan-desc {
  font-size: 9.5px;
  line-height: 1.35;
  color: var(--night-soft, #cfc9b8);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fan-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfa14e;
  margin: 6px auto 10px;
  padding: 3.5px 12px;
  border-radius: 999px;
  background: rgba(207, 161, 78, 0.12);
  border: 1px solid rgba(207, 161, 78, 0.35);
  transition: all var(--beat) var(--ease);
}
.fan-card:hover .fan-link {
  color: #14110c;
  background: #cfa14e;
  border-color: #cfa14e;
  transform: translateY(-1.5px);
}

@media (max-width: 1024px) {
  .fan-deck {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 24px 16px 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .fan-deck::-webkit-scrollbar { display: none; }
  .fan-card {
    margin-left: -14px;
    transform: translateY(var(--ty, 0)) rotate(calc(var(--rot, 0deg) * 0.6));
  }
}
@media (max-width: 640px) {
  .fan-deck {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
  }
  .fan-card {
    width: 100%;
    margin-left: 0 !important;
    transform: none !important;
  }
  .fan-card:hover {
    transform: translateY(-3px) !important;
  }
}

/* ---------- 20. The record (clients - 25% reduced) ---------- */
.record { position: relative; }
.record__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(18px, 3vw, 52px);
  border-top: 1px solid var(--hairline);
}
.record__col { padding-top: 18px; }
.record__col .cap { display: block; margin-bottom: 12px; font-size: 10px; }
.record__col ul { list-style: none; }
.record__col li {
  font-family: var(--f-display);
  font-size: clamp(0.85rem, 1.05vw, 1.02rem);
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid rgba(242, 237, 222, .07);
  transition: color var(--beat) var(--ease), padding-left var(--beat) var(--ease);
}
.record__col li:hover { color: var(--ink); padding-left: 6px; }
.record__col li:first-of-type { color: var(--gold-bright); }
.record__fact {
  margin-top: clamp(28px, 4.5vw, 52px);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 34px;
}
.record__fact .big { font-family: var(--f-display); font-size: clamp(1.95rem, 4.5vw, 3.45rem); color: var(--ink); line-height: 1; }
.record__fact .big em { font-style: normal; color: var(--gold); }
.record__fact p { max-width: 40ch; color: var(--ink-soft); font-size: 12.5px; }
@media (max-width: 860px) { .record__grid { grid-template-columns: 1fr; } }

/* ---------- 21. Panels — artwork to wall ---------- */
.journey { position: relative; }
.journey__stage {
  position: sticky; top: 0;
  height: 100svh;
  display: grid; place-items: center;
  overflow: clip;
}
.journey__frame {
  position: relative;
  width: min(72vw, 980px);
  aspect-ratio: 16 / 9;
}
.journey__art {
  position: absolute; inset: 0;
  overflow: clip;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8);
}
.journey__art img { width: 100%; height: 100%; object-fit: cover; }
.journey__panels { position: absolute; inset: 0; display: flex; pointer-events: none; }
.journey__panels span { flex: 1; border-right: 1px dashed rgba(242, 237, 222, 0); transition: border-color .4s var(--ease); }
.journey__panels span:last-child { border-right: 0; }
.journey.s-panelled .journey__panels span { border-color: rgba(242, 237, 222, .75); }
.journey__dim {
  position: absolute; inset: 0; border: 1px solid rgba(207, 161, 78, 0);
  transition: border-color .4s var(--ease);
  pointer-events: none;
}
.journey__dim .dimlabel {
  position: absolute; font-size: 10px; letter-spacing: .2em; color: var(--gold-bright);
  text-transform: uppercase; opacity: 0; transition: opacity .4s var(--ease);
  background: var(--ground-deep); padding: 3px 8px;
}
.journey__dim .dimlabel--w { top: -11px; left: 50%; transform: translateX(-50%); }
.journey__dim .dimlabel--h { right: -10px; top: 50%; transform: translate(50%, -50%) rotate(90deg); transform-origin: center; }
.journey.s-measured .journey__dim { border-color: rgba(207, 161, 78, .8); }
.journey.s-measured .journey__dim .dimlabel { opacity: 1; }
.journey__caption {
  position: absolute; left: 50%; bottom: clamp(20px, 4vh, 48px); transform: translateX(-50%);
  text-align: center; width: min(92vw, 560px);
}
.journey__caption .cap { display: block; margin-bottom: 4px; font-size: 10px; }
.journey__caption h3 { font-family: var(--f-display); font-size: clamp(1.15rem, 2vw, 1.6rem); }
.journey__spacer { height: 300svh; }
@media (max-width: 720px) { .journey__frame { width: 92vw; } }

/* ---------- 22. Experience litany (25% reduced) ---------- */
.litany { text-align: center; max-width: 580px; margin-inline: auto; }
.litany .d2 { margin-bottom: clamp(22px, 3.8vw, 40px); }
.litany__lines { display: flex; flex-direction: column; gap: 0; }
.litany__lines p {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  color: var(--ink-dim);
  padding: clamp(7px, 1.2vw, 13px) 0;
  border-bottom: 1px solid rgba(242, 237, 222, .07);
  transition: color var(--beat) var(--ease);
}
.litany__lines p.is-in { color: var(--ink); }
.litany__lines p em { font-style: normal; color: var(--gold-bright); }
.litany__close { margin-top: clamp(22px, 3.8vw, 38px); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

/* ---------- 22b. As seen on your walls — reserved frames ---------- */
.proof { position: relative; }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 22px); }
.proof__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--hairline-2);
  display: grid; place-items: center;
  padding: 16px;
  text-align: center;
}
.proof__frame::before, .proof__frame::after,
.proof__frame .dot-b::before, .proof__frame .dot-b::after {
  content: ''; position: absolute;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: .8;
}
.proof__frame::before { top: -2.5px; left: -2.5px; }
.proof__frame::after { top: -2.5px; right: -2.5px; }
.proof__frame .dot-b { position: absolute; inset: 0; pointer-events: none; }
.proof__frame .dot-b::before { bottom: -2.5px; left: -2.5px; }
.proof__frame .dot-b::after { bottom: -2.5px; right: -2.5px; }
.proof__frame p { color: var(--ink-dim); font-size: 12px; max-width: 22ch; }
.proof__frame .num { display: block; margin-bottom: 8px; font-size: 12px; }
@media (max-width: 720px) {
  .proof__grid { grid-template-columns: 1fr; }
  .proof__frame { aspect-ratio: 5 / 3; }
}

/* ---------- 23. Showrooms Map Cards (strictly constrained to container width) ---------- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.map-card {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  background: rgba(30, 24, 18, 0.9);
  border: 1px solid rgba(207, 161, 78, 0.22);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  transition: transform var(--beat) var(--ease), box-shadow var(--beat) var(--ease), border-color var(--beat) var(--ease);
}
.map-card:hover {
  transform: translateY(-3px);
  border-color: rgba(207, 161, 78, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}
.map-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}
.map-card__loc {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.map-pin {
  font-size: 13px;
  flex-shrink: 0;
}
.map-addr {
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--night-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  display: block;
}
.map-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e6c47f;
  background: rgba(207, 161, 78, 0.15);
  border: 1px solid rgba(207, 161, 78, 0.35);
  padding: 2.5px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all var(--beat) var(--ease);
}
.map-open-btn:hover {
  color: #14110c;
  background: #cfa14e;
  border-color: #cfa14e;
}
.map-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 228, 0.1);
  background: #1c1811;
}
.map-card__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-card__footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
  min-width: 0;
}
.map-card__name {
  font-family: var(--f-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--night-ink);
  margin: 0;
  line-height: 1.2;
}
.map-card__sub {
  font-size: 9px;
  line-height: 1.3;
  color: var(--night-dim);
  margin: 1px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-card__acts {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}
.map-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(244, 239, 228, 0.14);
  color: var(--night-ink);
  background: rgba(38, 30, 22, 0.9);
  text-decoration: none;
  transition: all var(--beat) var(--ease);
  flex: 1;
}
.map-act:hover {
  background: var(--night-gold);
  color: #14110c;
  border-color: var(--night-gold);
}
.map-act--wa {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.3);
  color: #128c7e;
}
.map-act--wa:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}
@media (max-width: 1040px) {
  .rooms-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
}
@media (max-width: 600px) {
  .rooms-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* ---------- 24. Journal (25% reduced) ---------- */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 22px); }
.entry {
  border: 1px solid var(--hairline);
  background: var(--panel);
  display: flex; flex-direction: column;
  transition: border-color var(--beat) var(--ease), transform var(--beat) var(--ease);
}
.entry:hover { border-color: var(--hairline-2); transform: translateY(-3px); }
.entry__head { padding: clamp(16px, 2vw, 24px); border-bottom: 1px solid var(--hairline); }
.entry__ed { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.entry__title { font-family: var(--f-display); font-size: clamp(1.05rem, 1.4vw, 1.3rem); margin-top: 6px; line-height: 1.25; }
.entry__body { padding: clamp(16px, 2vw, 24px); color: var(--ink-soft); font-size: 12.5px; line-height: 1.45; flex: 1; }
.entry__body p + p { margin-top: 10px; }
.entry__more {
  padding: 0 clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px);
}
.entry details summary {
  cursor: pointer; list-style: none;
  font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-bright);
}
.entry details summary::-webkit-details-marker { display: none; }
.entry details summary::after { content: ' +'; }
.entry details[open] summary::after { content: ' −'; }
.entry details p { margin-top: 10px; font-size: 12px; color: var(--ink-soft); }
.journal-topics { margin-top: clamp(20px, 3vw, 32px); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.journal-topics .cap { margin-right: 6px; font-size: 10px; }
.journal-topics span {
  font-size: 11px; color: var(--ink-dim);
  border: 1px dashed var(--hairline-2);
  padding: 6px 12px;
}
@media (max-width: 900px) { .journal { grid-template-columns: 1fr; } }

/* ---------- 25. Final CTA (Ultra-compact) ---------- */
.finale {
  position: relative;
  text-align: center;
  padding-block: clamp(18px, 2.8vw, 32px);
  isolation: isolate;
  overflow: clip;
}
.finale .wrap {
  padding: clamp(16px, 2.5vw, 26px) clamp(16px, 3vw, 32px) !important;
}
.finale__kolam { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none; }
.finale__kolam svg { width: min(80vw, 520px); height: auto; opacity: .4; overflow: visible; }
.finale__kolam path { fill: none; stroke: rgba(43, 36, 26, .32); stroke-width: 1.1; }
.finale__kolam circle { fill: rgba(169, 123, 34, .5); }
.finale .d1, .finale .d2 {
  max-width: 26ch;
  margin-inline: auto;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  margin-bottom: 4px;
}
.finale__steps {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  font-size: 11px;
  color: var(--ink-soft);
}
.finale__steps .sep { color: var(--gold); }
.finale__cta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.finale__cta .btn--wa {
  padding: 8px 18px;
  font-size: 12px;
}

/* ---------- 26. Footer (Brand +20%, compact unified columns) ---------- */
.footer {
  position: relative;
  background: rgba(14, 11, 8, 0.98);
  border-top: 1px solid rgba(207, 161, 78, 0.22);
  padding-block: 0;
  margin-top: 16px;
  width: 100%;
}
.footer::before { content: none; }
.footer .wrap {
  position: relative;
  background: transparent;
  color: var(--night-ink, #f2edde);
  border: none;
  border-radius: 0;
  margin-inline: auto !important;
  max-width: 1360px !important;
  width: 100% !important;
  padding: 18px clamp(16px, 2.5vw, 32px) 10px !important;
  box-shadow: none;
}
.footer__main {
  display: grid;
  grid-template-columns: 2.4fr repeat(4, 1fr) 1.2fr;
  gap: clamp(14px, 2vw, 26px);
  padding-bottom: 12px;
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer__brand .wordmark {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
}
.footer__brand .wordmark img {
  height: 36px !important;
  width: auto;
  display: block;
  margin: 0;
}
.footer__brand p {
  margin: 0;
  color: var(--night-dim, #a49e8d);
  font-size: 12.5px;
  line-height: 1.45;
  max-width: 36ch;
}

/* Unroll links wrapper so the 4 fcol elements participate directly in the unified grid */
.footer__links {
  display: contents;
}

.fcol {
  display: flex;
  flex-direction: column;
}
.fcol .cap {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night-gold, #cfa14e);
  line-height: 1.2;
}
.fcol ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0;
  margin: 0;
}
.fcol a {
  color: var(--night-soft, #cfc9b8);
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.fcol a:hover {
  color: var(--night-gold-bright, #e6c47f);
}

/* Right-aligned Connect & Native Social Icons (2x2 grid, 100% larger 56px) */
.footer__connect {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
}
.footer__connect .cap {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night-gold, #cfa14e);
  line-height: 1.2;
}
.footer__social {
  display: grid;
  grid-template-columns: repeat(2, 56px);
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}
.social-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  color: #ffffff !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, filter 0.2s ease;
}
.social-icon:hover {
  transform: translateY(-3px) scale(1.06);
  filter: brightness(1.15);
}
.social-icon svg {
  width: 28px;
  height: 28px;
}

/* Native brand color gradients and solid fills */
.social-icon--ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 4px 16px rgba(214, 36, 159, 0.4);
}
.social-icon--fb {
  background: #1877f2;
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.4);
}
.social-icon--li {
  background: #0a66c2;
  box-shadow: 0 4px 16px rgba(10, 102, 194, 0.4);
}
.social-icon--wa {
  background: #25d366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

@media (max-width: 1050px) {
  .footer__main {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .footer__main {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
}

.footer__bottom {
  border-top: 1px solid rgba(244, 239, 228, 0.1);
  padding-top: 8px;
  padding-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--night-dim, #a49e8d);
}
.footer__bottom a { color: var(--night-gold, #cfa14e); }
.footer__bottom a:hover { color: var(--night-gold-bright, #e6c47f); }
.footer__bottom a { color: var(--night-gold, #cfa14e); }
.footer__bottom a:hover { color: var(--night-gold-bright, #e6c47f); }
@media (max-width: 1020px) { .footer__main { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__main { grid-template-columns: 1fr; } }

/* Global 25% section scale reduction from #custom onwards */
#custom, #finishes, #why, #loved, #edit, #record, #journey, #experience, #visit, #proof, #journal {
  padding-block: clamp(32px, 4vw, 56px);
}
#custom .d2, #finishes .d2, #why .d2, #loved .d2, #edit .d2, #record .d2, #journey .d2, #experience .d2, #visit .d2, #proof .d2, #journal .d2 {
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
}
#custom .lead, #finishes .lead, #why .lead, #loved .lead, #edit .lead, #record .lead, #journey .lead, #visit .lead, #proof .lead, #journal .lead {
  font-size: clamp(0.82rem, 1vw, 0.95rem);
}
#custom .threshold, #finishes .threshold, #why .threshold, #loved .threshold, #edit .threshold, #record .threshold, #journey .threshold, #visit .threshold, #proof .threshold, #journal .threshold {
  margin-bottom: clamp(14px, 1.8vw, 22px);
}

/* ---------- 27. Docket (enquiry basket) ---------- */
.docket-scrim {
  position: fixed; inset: 0; z-index: 240;
  background: rgba(8, 9, 12, .6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--beat) var(--ease), visibility 0s linear var(--beat);
}
.docket-scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.docket {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 250;
  width: min(480px, 100vw);
  background: var(--ground-deep);
  border-left: 1px solid var(--hairline-2);
  transform: translateX(102%);
  transition: transform var(--beat-slow) var(--ease);
  display: flex; flex-direction: column;
  visibility: hidden;
}
.docket.is-open { transform: none; visibility: visible; }
.docket__head {
  padding: 26px 28px 20px;
  border-bottom: 1px solid var(--hairline);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.docket__head h2 { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .04em; }
.docket__head .small { margin-top: 6px; }
.docket__no { font-size: 11px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; font-weight: 500; }
.docket__list { flex: 1; overflow-y: auto; padding: 8px 28px; }
.docket__item {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 16px; align-items: center;
  padding: 16px 0;
  border-bottom: 1px dashed var(--hairline);
}
.docket__item img { width: 64px; height: 78px; object-fit: cover; border: 1px solid var(--hairline); }
.docket__item.is-void { opacity: .45; }
.docket__item.is-void .docket__iname { text-decoration: line-through; text-decoration-color: var(--kaavi-soft); text-decoration-thickness: 1.5px; }
.docket__iname { font-family: var(--f-display); font-size: 1.05rem; }
.docket__ivol { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.docket__void {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-dim); border: 1px solid var(--hairline-2); padding: 7px 10px;
  transition: color var(--beat) var(--ease), border-color var(--beat) var(--ease);
}
.docket__void:hover { color: var(--kaavi-soft); border-color: var(--kaavi-soft); }
.docket__empty { padding: 48px 0; text-align: center; color: var(--ink-dim); }
.docket__empty svg { margin: 0 auto 18px; opacity: .6; }
.docket__fields { padding: 20px 28px; border-top: 1px solid var(--hairline); display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.dfield { display: flex; flex-direction: column; gap: 7px; }
.dfield--full { grid-column: 1 / -1; }
.dfield label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); font-weight: 500; }
.dfield input, .dfield textarea {
  background: transparent;
  border: 0; border-bottom: 1px solid var(--hairline-2);
  color: var(--ink); font: inherit; font-size: 15px;
  padding: 8px 2px;
  transition: border-color var(--beat) var(--ease);
}
.dfield input:focus-visible, .dfield textarea:focus-visible { outline: none; border-bottom-color: var(--gold); }
.dfield textarea { resize: vertical; min-height: 42px; }
.docket__send { padding: 20px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.docket__send .small { text-align: center; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 300;
  transform: translate(-50%, 140%);
  background: var(--ground-deep);
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 14px 26px;
  font-size: 14px; letter-spacing: .04em;
  transition: transform var(--beat) var(--ease);
  display: flex; align-items: center; gap: 12px;
  max-width: min(92vw, 480px);
}
.toast.is-on { transform: translate(-50%, 0); }
.toast .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- 28. Search overlay ---------- */
.search-veil {
  position: fixed; inset: 0; z-index: 260;
  background: rgba(8, 9, 12, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: grid; place-items: start center;
  padding-top: 16vh;
  opacity: 0; visibility: hidden;
  transition: opacity var(--beat) var(--ease), visibility 0s linear var(--beat);
}
.search-veil.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.search-box { width: min(680px, 90vw); }
.search-box input {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--hairline-2);
  font-family: var(--f-display); font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--ink);
  padding: 12px 4px;
}
.search-box input:focus-visible { outline: none; border-bottom-color: var(--gold); }
.search-box .small { margin-top: 14px; }
.search-results { margin-top: 30px; display: flex; flex-direction: column; gap: 4px; max-height: 46vh; overflow-y: auto; }
.search-results a {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(242, 237, 222, .06);
  color: var(--ink-soft);
  transition: color var(--beat) var(--ease), background-color var(--beat) var(--ease);
}
.search-results a:hover { color: var(--ink); background: rgba(242, 237, 222, .03); }
.search-results img { width: 46px; height: 56px; object-fit: cover; }
.search-results .sr-name { font-family: var(--f-display); font-size: 1.1rem; }
.search-results .sr-meta { font-size: 12px; color: var(--ink-dim); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 29. Collection page (Ultra-compact & proportionate, -25%) ---------- */
.coll-hero { padding-block: clamp(24px, 3.5vw, 42px) clamp(14px, 2vw, 24px); }
.coll-hero .d2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.coll-hero .lead { font-size: 13px; line-height: 1.45; max-width: 54ch; margin-top: 10px; }
.coll-hero .headgroup { max-width: 58ch; }
.hero__meta { flex-wrap: wrap; row-gap: 8px; }

.coll-filters {
  position: sticky; top: var(--header-h); z-index: 80;
  background: rgba(20, 16, 12, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid rgba(207, 161, 78, 0.22);
  padding-block: 5px;
}
.coll-filters__in {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
}
.fchip {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--night-soft, #cfc9b8);
  border: 1px solid rgba(207, 161, 78, 0.28);
  background: rgba(32, 25, 18, 0.7);
  border-radius: 20px;
  padding: 3px 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all var(--beat) var(--ease);
}
.fchip:hover {
  color: #f2edde;
  border-color: #cfa14e;
  background: rgba(207, 161, 78, 0.14);
}
.fchip[aria-pressed="true"] {
  color: #120e0a;
  background: #cfa14e;
  border-color: #cfa14e;
  font-weight: 700;
}
.fchip[aria-pressed="true"] .mark { display: none; }

.fgroup {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.fgroup + .fgroup {
  margin-left: 6px;
  padding-left: 6px;
  border-left: 1px solid rgba(207, 161, 78, 0.2);
}
.coll-count {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-bright, #e6c47f);
}

.coll-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 12px);
  padding-block: clamp(14px, 2vw, 24px);
}
.coll-grid .plate {
  flex: none;
  scroll-margin-top: calc(var(--header-h) + 90px);
  display: flex;
  flex-direction: column;
  background: rgba(28, 22, 16, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(207, 161, 78, 0.22);
  border-radius: 8px;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform var(--beat) var(--ease), border-color var(--beat) var(--ease), box-shadow var(--beat) var(--ease);
}
.coll-grid .plate:hover {
  transform: translateY(-2px);
  border-color: rgba(207, 161, 78, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.coll-grid .plate__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  overflow: hidden;
  background: #110e0a;
}
.coll-grid .plate__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.plate__tag {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #120e0a;
  background: linear-gradient(135deg, #e6c47f, #cfa14e);
  padding: 1.5px 5px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.plate__body {
  padding: 6px 2px 1px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.plate__vol {
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright, #e6c47f);
  font-weight: 600;
  margin: 0;
}
.plate__name {
  font-family: var(--f-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--night-ink, #f2edde);
  margin: 1px 0 2px;
  line-height: 1.15;
}
.plate__blurb {
  font-size: 8.5px;
  line-height: 1.3;
  color: var(--night-soft, #cfc9b8);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.plate__row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
  border-top: 1px solid rgba(244, 239, 228, 0.08);
}
.plate__view {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright, #e6c47f);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(207, 161, 78, 0.12);
  border: 1px solid rgba(207, 161, 78, 0.35);
  transition: all var(--beat) var(--ease);
}
.plate__view:hover {
  color: #120e0a;
  background: #cfa14e;
  border-color: #cfa14e;
}
.wish {
  width: 22px;
  height: 22px;
}
.wish svg {
  width: 13px;
  height: 13px;
}
.coll-empty { text-align: center; padding-block: 40px; color: var(--ink-dim); }
@media (max-width: 720px) {
  .fgroup + .fgroup { margin-left: 0; padding-left: 0; border-left: 0; }
  .coll-count { margin-left: 0; width: 100%; }
}

/* ---------- 30. No-JS ---------- */
.no-js .rv, .no-js .rv--wipe { opacity: 1; transform: none; clip-path: none; }
.no-js .hero__title .line > span { transform: none; }
.no-js .tile__note { opacity: 1; transform: none; }
.no-js .journey__spacer { display: none; }
.no-js .journey__stage { position: static; height: auto; padding-block: 60px; }
.no-js .process__stage { position: static; min-height: 0; padding-block: 40px; }
.no-js .pstep { min-height: 0; padding-block: 30px; }
.no-js .litany__lines p { color: var(--ink); }

/* ---------- 31. Lightbox — side-by-side dialog with prominent WhatsApp & Visualiser actions ---------- */
.plate__media img, .tile__img img, .space__img img, .volume__media img,
.journey__art img, .j2art img, .feature__media img, .coverflow-card img,
.fan-card img, .pillar-card img, .proof__frame img, .hero__media video, .soon img {
  cursor: zoom-in;
}
.lightbox {
  position: fixed; inset: 0; z-index: 320;
  background: rgba(6, 7, 10, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid; place-items: center;
  padding: clamp(12px, 3vw, 36px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--beat) var(--ease), visibility 0s linear var(--beat);
  overflow-y: auto;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }

.lightbox__dialog {
  position: relative;
  width: 100%;
  max-width: min(94vw, 1060px);
  max-height: min(90vh, 680px);
  background: #15120e;
  border: 1.5px solid rgba(207, 161, 78, 0.38);
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.9), 0 0 30px rgba(207, 161, 78, 0.15);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 400px);
  gap: clamp(16px, 2.5vw, 32px);
  padding: clamp(16px, 2.2vw, 28px);
  align-items: center;
  transform: scale(0.96);
  transition: transform var(--beat-slow) var(--ease);
}
.lightbox.is-open .lightbox__dialog { transform: none; }

.lightbox__media {
  width: 100%;
  height: 100%;
  max-height: min(78vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090806;
  border-radius: 8px;
  border: 1px solid rgba(207, 161, 78, 0.2);
  overflow: hidden;
}
.lightbox__media img {
  max-width: 100%;
  max-height: min(78vh, 600px);
  object-fit: contain;
  display: block;
}

.lightbox__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #f2edde;
  text-align: left;
}
.lightbox__tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright, #e6c47f);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lightbox__title {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}
.lightbox__desc {
  font-size: 12.5px;
  line-height: 1.48;
  color: var(--night-soft, #cfc9b8);
  margin: 0;
}
.lightbox__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block: 4px;
}
.lightbox__badge {
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(36, 28, 20, 0.85);
  border: 1px solid rgba(207, 161, 78, 0.28);
  border-radius: 4px;
  padding: 4px 8px;
  color: #f2edde;
}
.lightbox__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.lightbox__calc-btn {
  width: 100%;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.lightbox__wa-link {
  width: 100%;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.lightbox__note {
  font-size: 10.5px;
  color: var(--gold, #cfa14e);
  letter-spacing: 0.02em;
}

.lightbox__header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.lightbox__indicators {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lightbox__code {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold-bright, #e6c47f);
  background: rgba(207, 161, 78, 0.12);
  border: 1px solid rgba(207, 161, 78, 0.32);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.06em;
}
.lightbox__counter {
  font-size: 11px;
  font-weight: 600;
  color: var(--night-soft, #cfc9b8);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.04em;
}

.lightbox__subline {
  font-family: var(--font-sans, "Jost", sans-serif);
  font-size: 0.88rem;
  color: var(--gold-bright, #e6c47f);
  letter-spacing: 0.03em;
  margin-top: -0.25rem;
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.lightbox__desc {
  font-family: var(--font-sans, "Jost", sans-serif);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(242, 237, 222, 0.85);
  margin-bottom: 0.75rem;
  max-height: none;
  overflow-y: visible;
  padding-right: 0;
}

.lightbox__close {
  position: absolute;
  top: clamp(12px, 2vh, 24px);
  right: clamp(12px, 2vw, 24px);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(244, 239, 228, 0.3);
  background: rgba(20, 16, 12, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: #f2edde;
  cursor: pointer;
  z-index: 330;
  transition: all var(--beat) var(--ease);
}
.lightbox__close:hover {
  background: rgba(207, 161, 78, 0.25);
  border-color: var(--gold-bright, #e6c47f);
  color: #ffffff;
  transform: scale(1.08);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(207, 161, 78, 0.45);
  background: rgba(20, 16, 12, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  color: #f2edde;
  cursor: pointer;
  z-index: 330;
  transition: all var(--beat) var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(207, 161, 78, 0.2);
}
.lightbox__nav:hover {
  background: rgba(207, 161, 78, 0.3);
  border-color: var(--gold-bright, #e6c47f);
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85), 0 0 24px rgba(207, 161, 78, 0.45);
}
.lightbox__nav:active {
  transform: translateY(-50%) scale(0.96);
}
.lightbox__nav--prev {
  left: clamp(10px, 2.5vw, 36px);
}
.lightbox__nav--next {
  right: clamp(10px, 2.5vw, 36px);
}

@media (max-width: 900px) {
  .lightbox__dialog {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }
  .lightbox__media {
    max-height: 48vh;
  }
  .lightbox__nav {
    width: 42px;
    height: 42px;
  }
  .lightbox__nav--prev {
    left: 8px;
  }
  .lightbox__nav--next {
    right: 8px;
}

@media (max-width: 820px) {
  .lightbox__dialog {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
    gap: 14px;
    padding: 14px;
  }
  .lightbox__media {
    max-height: 38vh;
  }
  .lightbox__media img {
    max-height: 38vh;
  }
}

/* Flash highlight when design is loaded into visualiser */
.cfg.is-highlighted {
  animation: pulseGold 1.8s ease;
}
@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(207, 161, 78, 0.8); }
  50% { box-shadow: 0 0 35px 8px rgba(207, 161, 78, 0.6); }
  100% { box-shadow: 0 0 0 0 rgba(207, 161, 78, 0); }
}

/* ---------- 32. Catalogue viewer — flip through the volumes ---------- */
.catview {
  position: fixed; inset: 0; z-index: 310;
  background: rgba(8, 9, 12, .97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity var(--beat) var(--ease), visibility 0s linear var(--beat);
}
.catview.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.catview__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px clamp(18px, 3vw, 40px);
  border-bottom: 1px solid var(--hairline);
}
.catview__title { font-family: var(--f-display); font-size: clamp(1.05rem, 1.8vw, 1.4rem); letter-spacing: .05em; }
.catview__count { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.catview__strip {
  flex: 1; min-height: 0;
  display: flex; align-items: center;
  gap: clamp(18px, 3vw, 48px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-inline: max(6vw, calc((100vw - min(88vw, 152vh * .56)) / 2));
  scrollbar-width: thin;
}
.catview__page {
  flex: 0 0 auto;
  height: min(76vh, 50vw);
  aspect-ratio: 1280 / 717;
  max-width: 88vw;
  scroll-snap-align: center;
  background: var(--panel);
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  position: relative;
}
.catview__page img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.catview__page .pgnum {
  position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .2em; color: var(--ink-dim);
}
.catview__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--hairline-2); border-radius: 50%;
  color: var(--ink); z-index: 2;
  background: color-mix(in srgb, var(--ground-deep) 72%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: color var(--beat) var(--ease), background-color var(--beat) var(--ease), border-color var(--beat) var(--ease);
}
.catview__nav:hover { color: var(--ground-deep); background: var(--gold); border-color: var(--gold); }
.catview__nav--prev { left: clamp(10px, 2vw, 28px); }
.catview__nav--next { right: clamp(10px, 2vw, 28px); }
.catview__hint { text-align: center; padding: 10px 16px 16px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim); }
@media (max-width: 720px) {
  .catview__page { height: auto; width: 92vw; aspect-ratio: 1280 / 717; }
  .catview__nav { display: none; }
}

/* volume card actions */
.volume__acts { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 26px; }
.volume__media { cursor: zoom-in; }

/* ---------- 33. Night islands on the paper theme ---------- */
/* The page is warm paper; the bars, footer, drawer and every cinema surface
   stay night so the artwork and chrome keep their jewel-box depth. */

.annbar { background: rgba(14, 11, 8, 0.98); border-bottom-color: rgba(255, 56, 35, 0.25); }
.annbar__track { color: #ff3823; }
.annbar__track strong { color: #ff3823; }
.annbar__track .sep { color: var(--night-gold); }

.header { background: color-mix(in srgb, var(--ground) 86%, transparent); }

.hero { background: #0b0d11 !important; border-color: rgba(244, 239, 228, .16); }
.hero__dname {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.95) !important;
}
.hero__dmeta {
  color: #e2dcce !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85) !important;
}
.hero__dots {
  background: rgba(10, 9, 6, .6) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(242, 237, 222, .15) !important;
}
.hero__dots button::after { background: rgba(242, 237, 222, .6) !important; }
.hero__dots button[aria-current="true"]::after {
  background: #ffd77e !important;
  box-shadow: 0 0 8px #ffd77e !important;
}
.hero .btn--gold {
  --line: var(--night-gold-bright);
  color: #ffd77e !important;
  border: 1px solid #cfa14e !important;
  background: rgba(14, 11, 8, 0.5) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero .btn--gold:hover {
  background: #cfa14e !important;
  color: #120e08 !important;
}
.hero .btn--fill {
  background: linear-gradient(135deg, #d4a753 0%, #b88628 100%) !important;
  color: #120e08 !important;
  border-color: #e6c47f !important;
  font-weight: 700 !important;
}
.hero .btn--fill:hover {
  background: linear-gradient(135deg, #e6be6a 0%, #c99632 100%) !important;
  border-color: #f7dda4 !important;
}

.btn--fill { --line: #241d12; }

.drawer { background: var(--night); color: var(--night-ink); }
.drawer__nav a { color: var(--night-ink); border-bottom-color: var(--night-hairline); }
.drawer__nav a .num { color: var(--night-gold); }
.drawer__foot .small, .drawer__foot a { color: var(--night-dim); }
.drawer .tool { color: var(--night-soft); }
.drawer .btn--wa { --line: var(--night-gold-bright); }

.footer { background: var(--night); color: var(--night-ink); }
.footer__brand p { color: var(--night-dim); }
.footer .fcol a { color: var(--night-soft); }
.footer .fcol a:hover { color: var(--night-gold-bright); }
.footer .cap { color: var(--night-dim); }
.footer__social a { color: var(--night-soft); border-color: rgba(244, 239, 228, .3); }
.footer__social a:hover { color: var(--night); background: var(--night-gold); border-color: var(--night-gold); }
.footer__bottom { color: var(--night-dim); border-top-color: var(--night-hairline); }

.search-veil { color: var(--night-ink); }
.search-box input { color: var(--night-ink); border-bottom-color: rgba(244, 239, 228, .3); }
.search-box .small { color: var(--night-dim); }
.search-results a { color: var(--night-soft); border-bottom-color: rgba(242, 237, 222, .08); }
.search-results a:hover { color: var(--night-ink); background: rgba(242, 237, 222, .04); }
.search-results .sr-meta { color: var(--night-dim); }

.catview { color: var(--night-ink); }
.catview__bar { border-bottom-color: var(--night-hairline); }
.catview__count { color: var(--night-gold); }
.catview__page { background: var(--night-2); border-color: var(--night-hairline); }
.catview__page .pgnum { color: var(--night-dim); }
.catview__nav { color: var(--night-ink); border-color: rgba(244, 239, 228, .3); }
.catview__nav:hover { color: var(--night); background: var(--night-gold); border-color: var(--night-gold); }
.catview__hint { color: var(--night-dim); }
.catview .tool { color: var(--night-soft); }

.lightbox figcaption { color: var(--night-soft); }
.lightbox__close { color: var(--night-ink); border-color: rgba(244, 239, 228, .3); }

.pulli-field { background-image: radial-gradient(rgba(43, 36, 26, .16) 1px, transparent 1.5px); }

.tile::after { background: linear-gradient(to top, rgba(10, 9, 6, .88), rgba(10, 9, 6, .12) 55%); }
.tile__body, .tile__name { color: #f2edde; }
.tile__note { color: #cfc9b8; }
.tile__go { color: #f2edde; border-color: rgba(244, 239, 228, .4); }
.space::after { background: linear-gradient(to top, rgba(10, 9, 6, .9), rgba(10, 9, 6, .08) 52%); }
.space__body, .space__name { color: #f2edde; }
.space__note { color: #cfc9b8; }
.feature { color: var(--night-ink); }
.feature::before {
  background:
    linear-gradient(to top, rgba(10, 9, 6, .95), rgba(10, 9, 6, .25) 46%, rgba(10, 9, 6, .35)),
    linear-gradient(100deg, rgba(10, 9, 6, .55), transparent 45%);
}
.feature .cap--gold { color: var(--night-gold); }
.feature .lead { color: var(--night-soft); }
.feature .textlink { color: var(--night-gold-bright); }

.tile--custom {
  border-color: rgba(169, 123, 34, .55);
  background:
    radial-gradient(120% 160% at 88% 10%, rgba(156, 58, 38, .3), transparent 55%),
    radial-gradient(90% 140% at 8% 90%, rgba(207, 161, 78, .2), transparent 50%),
    var(--night-2);
}
.tile--custom .tile__name, .tile--custom .tile__note { color: var(--night-ink); }


/* print: the docket prints like paper */
@media print {
  body { background: #fff; color: #111; }
  .annbar, .header, .thread-layer, .hero__scrollcue, .footer__social { display: none !important; }
}


/* ---------- 33. The Collection Page Layout & Filter Bar ---------- */
.coll-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(52px, 7vw, 92px);
  padding-bottom: clamp(32px, 4vw, 52px);
  background: #05060a;
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}

.coll-hero .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.coll-hero .headgroup {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.coll-filters {
  position: sticky;
  top: calc(var(--header-h) + var(--bar-h));
  z-index: 90;
  background: rgba(16, 12, 9, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
  padding-block: 14px;
}
.coll-filters__in {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}
.fgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.fgroup + .fgroup {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--hairline);
}
.fchip {
  font-family: var(--f-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft, #cfc9b8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hairline-2);
  border-radius: 4px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--beat) var(--ease);
}
.fchip .mark {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform var(--beat) var(--ease);
}
.fchip:hover {
  color: #ffffff;
  border-color: var(--gold-bright);
  background: rgba(207, 161, 78, 0.12);
}
.fchip.is-active,
.fchip[aria-pressed="true"] {
  color: #ffffff;
  border-color: var(--gold);
  background: rgba(207, 161, 78, 0.22);
  box-shadow: 0 0 12px rgba(207, 161, 78, 0.2);
}
.fchip.is-active .mark,
.fchip[aria-pressed="true"] .mark {
  transform: scale(1);
}
.coll-count {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-bright, #e6c47f);
  font-weight: 600;
}

.coll-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(8px, 0.9vw, 14px);
  padding-block: clamp(24px, 3vw, 42px);
}


/* Full Available Width for Collection Page ONLY */
.coll-filters .wrap,
section[aria-label="All designs"] .wrap {
  max-width: 100% !important;
  width: 100% !important;
  padding-inline: clamp(16px, 2.2vw, 40px) !important;
  margin-inline: 0 !important;
}

.coll-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: clamp(8px, 1vw, 16px) !important;
  width: 100% !important;
  padding-block: clamp(18px, 2.5vw, 36px) !important;
}

@media (max-width: 1080px) {
  .coll-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .coll-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .coll-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
}

.coll-grid .plate {
  position: relative;
  background: rgba(22, 17, 12, 0.92);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--beat) var(--ease), border-color var(--beat) var(--ease), box-shadow var(--beat) var(--ease);
}
.coll-grid .plate:hover {
  transform: translateY(-3px);
  border-color: rgba(207, 161, 78, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85), 0 0 16px rgba(207, 161, 78, 0.2);
}
.coll-grid .plate__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #090806;
  overflow: hidden;
}
.coll-grid .plate__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--beat-slow) var(--ease);
  cursor: zoom-in;
}
.coll-grid .plate:hover .plate__media img {
  transform: scale(1.05);
}
.plate__tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(14, 11, 8, 0.92);
  border: 1px solid rgba(207, 161, 78, 0.45);
  color: var(--gold-bright, #e6c47f);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.plate__body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.plate__vol {
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold, #cfa14e);
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plate__name {
  font-family: var(--f-display);
  font-size: 0.96rem;
  color: #ffffff;
  margin-bottom: 2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plate__sub {
  font-size: 0.76rem;
  color: var(--gold-bright, #e6c47f);
  margin-bottom: 6px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plate__blurb {
  display: none;
}
.plate__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hairline);
  padding-top: 8px;
  margin-top: auto;
}
.plate__view {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-bright, #e6c47f);
  text-decoration: none;
  transition: color var(--beat) var(--ease);
}
.plate__view:hover {
  color: #ffffff;
}
.plate__row .wish {
  width: 26px;
  height: 26px;
}
.plate__row .wish svg {
  width: 16px;
  height: 16px;
}
.coll-empty {
  text-align: center;
  padding-block: 80px;
  color: var(--ink-dim);
  font-size: 1.1rem;
}

/* iOS Safari specific optimizations */
@supports (-webkit-touch-callout: none) {
  .lightbox__dialog {
    max-height: min(88dvh, 88vh);
    -webkit-overflow-scrolling: touch;
  }
  .lightbox__content {
    -webkit-overflow-scrolling: touch;
  }
}

/* ==========================================================================
   COLLECTION PAGE ONLY (Minimal Left/Right Padding, Strict 7-Columns)
   ========================================================================== */

body.page-collection {
  --frame: 0px !important;
}

body.page-collection #main {
  width: 100% !important;
  max-width: 100% !important;
  padding-inline: clamp(24px, 4vw, 60px) !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
}

body.page-collection .coll-hero {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(22, 17, 12, 0.92) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(207, 161, 78, 0.28) !important;
  border-radius: 14px !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  padding: clamp(36px, 4.5vw, 64px) clamp(20px, 3vw, 48px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
  text-align: center !important;
}

body.page-collection .coll-hero__content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

body.page-collection .coll-hero .d2 {
  font-family: var(--f-display) !important;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem) !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  margin: 0 0 12px !important;
}

body.page-collection .coll-hero .lead {
  font-size: clamp(13.5px, 1.1vw, 15.5px) !important;
  line-height: 1.55 !important;
  color: var(--night-soft, #cfc9b8) !important;
  max-width: 62ch !important;
  margin: 0 auto !important;
}

body.page-collection .coll-filters {
  position: sticky !important;
  top: var(--header-h) !important;
  z-index: 80 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 14px 0 !important;
  background: rgba(20, 16, 12, 0.96) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(207, 161, 78, 0.25) !important;
  border-radius: 10px !important;
  padding: 10px clamp(10px, 1.2vw, 18px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

body.page-collection .coll-filters__in {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
}

body.page-collection .coll-main-section {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 0 60px 0 !important;
  margin: 0 !important;
}

body.page-collection .coll-grid {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: clamp(6px, 0.75vw, 12px) !important;
  width: 100% !important;
  padding-block: 6px 32px !important;
  margin: 0 !important;
}

@media (max-width: 1100px) {
  body.page-collection .coll-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 780px) {
  body.page-collection .coll-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  body.page-collection .coll-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
}

