/* ==========================================================================
   ORDO — Aether & Ash
   Chapter I · The Foundation
   ========================================================================== */

:root {
  --ink: #0a0a0a;
  --coal: #0e0e0e;
  --char: #141414;
  --panel: #1a1a1a;

  --bone: #ece7dd;
  --bone-2: #d8d1c4;
  --ash: #a39c8f;
  --smoke: #6f6a62;

  --line: rgba(236, 231, 221, 0.12);
  --line-2: rgba(236, 231, 221, 0.24);
  --line-3: rgba(236, 231, 221, 0.6);

  --gold: #b8956a;
  --gold-2: #d4b68c;
  --gold-dim: rgba(184, 149, 106, 0.35);

  --sans: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Cormorant Garamond", "Cormorant", "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 88px;
  --section-y: clamp(96px, 11vw, 168px);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html.js:not(.is-loaded) body,
body.menu-open,
body.drawer-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
input { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
main:focus, [tabindex="-1"]:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 12px 18px;
  background: var(--bone); color: var(--ink);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Film grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 150;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.4s steps(6) infinite;
  will-change: transform;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Type & primitives ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ash);
}
.eyebrow .num { color: var(--gold); letter-spacing: 0.2em; }
.eyebrow--rule::before {
  content: "";
  width: 36px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.display {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.1;
}

.serif-i,
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
}

.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--bone-2); }
.muted { color: var(--ash); }

.motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ash);
}

/* Long hairline arrow */
.arrow {
  position: relative;
  display: inline-block;
  width: 30px; height: 1px;
  background: currentColor;
  transition: width 0.6s var(--ease-out);
  flex: none;
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* Outlined button with rising fill */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid var(--line-3);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bone);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.7s var(--ease-out);
}
.btn:hover,
.btn:focus-visible { color: var(--ink); border-color: var(--bone); }
.btn:hover::before,
.btn:focus-visible::before { transform: scaleY(1); }
.btn:hover .arrow { width: 44px; }

.btn--solid { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--solid::before { background: var(--gold); }
.btn--block { width: 100%; justify-content: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.text-link:hover .arrow { width: 52px; }

/* The mark (logo symbol) */
.mark {
  width: auto;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--mark-stroke, 6);
  stroke-linecap: butt;
  overflow: visible;
}
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html:not(.js) .draw path { stroke-dashoffset: 0; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Scroll reveal */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.2s var(--ease-out) var(--d, 0s),
    transform 1.2s var(--ease-out) var(--d, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="fade"] { transform: none; }

/* ==========================================================================
   Gate — the countdown to Chapter I
   Shown on every visit until "Begin the journey". Without JS it never shows.
   ========================================================================== */
.gate {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(184, 149, 106, 0.07), transparent 70%),
    var(--ink);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.25s var(--ease-io), visibility 0s linear 1.25s;
}
html.js .gate { display: flex; flex-direction: column; }
html.is-loaded .gate { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }
.gate .smoke span { left: -30vmax; }
.gate .ash-canvas { position: fixed; }

.gate-inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 7vh, 80px) var(--gutter) 24px;
  text-align: center;
}
.gate-mark { height: clamp(84px, 12vh, 124px); --mark-stroke: 3.6; color: var(--bone); }
.gate-mark path { animation: draw 1.6s var(--ease-io) forwards; }
.gate-mark path:nth-child(1) { animation-delay: 0.25s; }
.gate-mark path:nth-child(2) { animation-delay: 0.55s; }
.gate-mark path:nth-child(3) { animation-duration: 1.2s; }

.gate-word {
  display: flex;
  margin: clamp(20px, 3.4vh, 32px) -0.62em 0 0;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: 0.62em;
  line-height: 1.2;
}
.gate-word span {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 1s var(--ease-out) forwards;
  animation-delay: calc(1.05s + var(--i) * 0.09s);
}
.gate-sub {
  margin: 12px -0.5em 0 0;
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ash);
  opacity: 0;
  animation: fade-in 1s ease forwards 1.55s;
}
.gate-tag {
  margin-top: clamp(18px, 3vh, 28px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: 0.04em;
  color: var(--bone-2);
  opacity: 0;
  animation: fade-in 1.2s ease forwards 1.8s;
}

.gate-count {
  margin-top: clamp(28px, 5vh, 52px);
  padding-top: clamp(24px, 4vh, 40px);
  border-top: 1px solid var(--line);
  min-width: min(560px, 100%);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1.2s var(--ease-out) forwards 2.05s;
}
.gate-eyebrow { justify-content: center; font-size: 10px; letter-spacing: 0.38em; }
.gate-date {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.gate-arrived { display: none; }
.gate-arrived-title {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
}
html.is-arrived .gate-waiting { display: none; }
html.is-arrived .gate-arrived { display: block; }

.gate-enter {
  margin-top: clamp(28px, 5vh, 48px);
  opacity: 0;
  transform: translateY(12px);
  animation: rise 1s var(--ease-out) forwards 2.45s;
}
.gate-foot {
  position: relative;
  z-index: 3;
  padding: 0 var(--gutter) 28px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--smoke);
  opacity: 0;
  animation: fade-in 1.2s ease forwards 2.6s;
}
.gate.is-quick * { animation-duration: 0.5s !important; animation-delay: 0s !important; }

/* Countdown (gate + "first order" section) */
.countdown {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(8px, 1.6vw, 22px);
  margin-top: 20px;
}
.cd-unit { display: grid; justify-items: center; min-width: 2.1em; font-size: clamp(40px, 6.4vw, 84px); }
.cd-num {
  font-size: 1em;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--bone);
}
.cd-label {
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  text-transform: uppercase;
  color: var(--ash);
}
.cd-sep {
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--gold);
  opacity: 0.6;
}
.countdown--inline { justify-content: flex-start; margin: 40px 0 0; }
.countdown--inline .cd-unit { font-size: clamp(34px, 4vw, 58px); justify-items: start; min-width: 1.6em; }
.countdown--inline .cd-sep { font-size: clamp(22px, 2.6vw, 38px); }
html.is-arrived .countdown--inline,
html.is-arrived .hc-waiting { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.6s var(--ease),
    border-color 0.6s var(--ease),
    transform 0.7s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-101%); }
body.menu-open .site-header { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

.header-inner {
  height: 100%;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "brand nav actions";
  align-items: center;
}

.brand {
  grid-area: brand;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.brand .mark { height: 46px; --mark-stroke: 7; transition: transform 1s var(--ease-out); }
.brand:hover .mark { transform: rotate(360deg); }
.brand-word {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 0.52em;
  margin-right: -0.52em;
}

.main-nav { grid-area: nav; }
.main-nav > ul { display: flex; gap: clamp(28px, 3.8vw, 68px); }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0.3em; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-out);
}
.nav-link:hover::after,
.nav-link:focus-visible::after,
.has-dropdown.is-open > .nav-link::after { transform: scaleX(1); transform-origin: left; }
.nav-link .chev { width: 9px; height: 9px; transition: transform 0.4s var(--ease); }
.has-dropdown.is-open .chev { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: -32px;
  width: 460px;
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 28px;
  padding: 30px 32px;
  background: rgba(12, 12, 12, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0s linear 0.4s;
}
.dropdown::before { /* hover bridge */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -20px; height: 20px;
}
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0s;
}
@media (hover: hover) {
  .has-dropdown:hover .dropdown {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0s;
  }
}
.dropdown .eyebrow { margin-bottom: 16px; font-size: 10px; }
.dropdown-links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-2);
  transition: color 0.3s, transform 0.5s var(--ease-out);
}
.dropdown-links a span { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--smoke); letter-spacing: 0; width: 18px; }
.dropdown-links a:hover { color: var(--bone); transform: translateX(6px); }
.dropdown-links a:hover span { color: var(--gold); }
.dropdown-feature { display: block; }
.dropdown-feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 22% 50%; filter: brightness(0.9); transition: filter 0.5s; }
.dropdown-feature:hover img { filter: brightness(1.05); }
.dropdown-feature span { display: block; margin-top: 10px; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ash); }

.header-actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 26px;
  height: 40px;
  transition: color 0.3s, opacity 0.3s;
}
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.icon-btn:hover { color: var(--gold-2); }
.header-cta {
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header-cta:hover,
.header-cta:focus-visible { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.menu-toggle {
  grid-area: toggle;
  display: none;
  position: relative;
  width: 30px; height: 40px;
}
.menu-toggle span {
  position: absolute;
  left: 0;
  width: 26px; height: 1px;
  background: currentColor;
  transition: transform 0.6s var(--ease-out), top 0.6s var(--ease-out), width 0.6s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 24px; width: 18px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 20px; width: 26px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 48px) var(--gutter) 40px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(184, 149, 106, 0.08), transparent 55%),
    var(--ink);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.9s var(--ease-io), visibility 0s linear 0.9s;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.9s var(--ease-io), visibility 0s; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 18px 0;
  font-size: clamp(28px, 8vw, 44px);
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.9s var(--ease-out);
}
.mobile-menu li a span { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold); letter-spacing: 0; min-width: 28px; }
.mobile-menu.is-open li a { transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: 0.25s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.32s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.39s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.46s; }
.mobile-menu-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  max-height: 1200px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b0b0b;
}
.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 70%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 16%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 16%, #000 38%);
  will-change: transform;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 22%;
  filter: brightness(0.92) contrast(1.04);
  transform: scale(1.14);
  transition: transform 3.4s var(--ease-out);
}
html.is-loaded .hero-media img,
html:not(.js) .hero-media img { transform: scale(1.02); }

.hero::after { /* floor vignette */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  z-index: 1;
  background: linear-gradient(to top, var(--ink) 0%, rgba(10, 10, 10, 0) 100%);
  pointer-events: none;
}
.hero::before { /* top vignette under header */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 180px;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.75), transparent);
  pointer-events: none;
}
.ash-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: calc(var(--header-h) + 24px) var(--gutter) 96px;
  will-change: transform, opacity;
}
.hero-title {
  margin: 30px 0 24px;
  font-size: clamp(34px, 3.7vw, 66px);
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 1.04;
  text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
}
.hero-sub {
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.hero-rule {
  width: 48px; height: 1px;
  margin: 34px 0 40px;
  background: var(--line-3);
}

.reveal-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.5s var(--ease-out) var(--d, 0s);
}
html.is-loaded .reveal-line > span,
html:not(.js) .reveal-line > span { transform: none; }

[data-hero-fade] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.4s var(--ease-out) var(--d, 0s), transform 1.4s var(--ease-out) var(--d, 0s);
}
html.is-loaded [data-hero-fade],
html:not(.js) [data-hero-fade] { opacity: 1; transform: none; }

.hero-meta {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 34px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ash);
}
.hero-meta i { font-style: normal; color: var(--gold); margin: 0 12px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 36px; }
.hero-actions .text-link { color: var(--bone-2); }
.hc-time b { font-weight: 400; color: var(--bone); font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.hc-time { margin-left: 4px; }
.hc-arrived { display: none; }
html.is-arrived .hc-arrived { display: inline; }
.scroll-cue { display: inline-flex; align-items: center; gap: 16px; }
.scroll-cue .track {
  position: relative;
  width: 64px; height: 1px;
  overflow: hidden;
  background: var(--line-2);
}
.scroll-cue .track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bone);
  transform: translateX(-100%);
  animation: cue 2.6s var(--ease-io) infinite;
}
@keyframes cue {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.hero-side {
  position: absolute;
  right: calc(var(--gutter) - 6px);
  top: 0;
  bottom: 0;
  height: fit-content;
  margin: auto 0;
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(236, 231, 221, 0.5);
}

/* ==========================================================================
   Category tiles
   ========================================================================== */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.cat {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111;
}
.cat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.9);
  transform: scale(1.01);
  transition: transform 1.6s var(--ease-out), filter 0.9s var(--ease);
}
.cat:hover img,
.cat:focus-visible img { transform: scale(1.07); filter: brightness(0.98) saturate(1); }
.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.35) 42%, rgba(8, 8, 8, 0) 70%),
    linear-gradient(to right, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0) 55%);
}
.cat-frame {
  position: absolute;
  inset: 22px;
  z-index: 2;
  border: 1px solid rgba(236, 231, 221, 0);
  transition: inset 0.8s var(--ease-out), border-color 0.8s var(--ease);
  pointer-events: none;
}
.cat:hover .cat-frame,
.cat:focus-visible .cat-frame { inset: 14px; border-color: rgba(236, 231, 221, 0.2); }
.cat-num {
  position: absolute;
  top: clamp(22px, 2.6vw, 38px);
  left: clamp(24px, 3vw, 44px);
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
}
.cat-body {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  left: clamp(24px, 3vw, 44px);
  bottom: clamp(24px, 2.8vw, 40px);
  z-index: 2;
}
.cat-title {
  font-size: clamp(20px, 1.75vw, 28px);
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 1.2;
}
.cat-tag {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.cat .arrow { margin-top: 26px; width: 34px; }
.cat:hover .arrow,
.cat:focus-visible .arrow { width: 70px; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-right: 52px;
  white-space: nowrap;
}
.mq-sans { font-size: clamp(13px, 1.1vw, 16px); letter-spacing: 0.44em; text-transform: uppercase; color: var(--bone-2); }
.mq-serif { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 28px); color: var(--ash); letter-spacing: 0.04em; }
.mq-star { width: 12px; height: 12px; fill: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Manifesto band
   ========================================================================== */
.band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1px 1.5fr;
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  min-height: clamp(380px, 31vw, 480px);
  padding: 72px var(--gutter);
  overflow: hidden;
  background: #0b0b0b;
}
.band-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 58%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 25%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 25%, #000 55%);
}
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; filter: brightness(0.85); }
.smoke { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.smoke span {
  position: absolute;
  width: 60vmax; height: 40vmax;
  left: -24vmax; top: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(210, 204, 194, 0.11), rgba(210, 204, 194, 0));
  filter: blur(12px);
  animation: smoke 26s ease-in-out infinite alternate;
}
.smoke span:nth-child(2) { top: 40%; left: -30vmax; animation-duration: 34s; animation-delay: -8s; opacity: 0.8; }
.smoke span:nth-child(3) { top: -20%; left: -10vmax; width: 40vmax; height: 30vmax; animation-duration: 30s; animation-delay: -16s; opacity: 0.6; }
@keyframes smoke {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(8vmax, -4vmax, 0) scale(1.15); }
  100% { transform: translate3d(14vmax, 2vmax, 0) scale(0.95); }
}

.band-lockup { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.band-lockup .mark { height: clamp(120px, 11vw, 168px); --mark-stroke: 4; color: var(--bone-2); }
.band-lockup .is-in .draw path,
.band-lockup.is-in .draw path { animation: draw 1.8s var(--ease-io) forwards; }
.band-lockup.is-in .draw path:nth-child(2) { animation-delay: 0.3s; }
.lockup-word { margin: 26px -0.5em 0 0; font-size: clamp(28px, 2.6vw, 38px); font-weight: 300; letter-spacing: 0.5em; line-height: 1; }
.lockup-sub { margin: 14px -0.5em 0 0; font-size: 12px; letter-spacing: 0.5em; color: var(--ash); }
.band-divider { position: relative; z-index: 1; width: 1px; height: 160px; background: var(--line-2); }
.band-text { position: relative; z-index: 1; }
.band-text p {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.26em;
  line-height: 2.1;
  text-transform: uppercase;
  color: var(--bone-2);
}
.band-text .btn { margin-top: 34px; height: 46px; padding: 0 22px; }

/* ==========================================================================
   Lore — The Mark
   ========================================================================== */
.lore {
  position: relative;
  padding: var(--section-y) var(--gutter);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.lore-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 128px);
  align-items: center;
}
.lore-figure { position: relative; }
.lore-figure svg { width: 100%; max-width: 600px; height: auto; margin: 0 auto; overflow: visible; }
.lore-figure::before { /* aether glow */
  content: "";
  position: absolute;
  inset: 10% 15%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184, 149, 106, 0.1), transparent);
  filter: blur(20px);
  pointer-events: none;
}

.lf-arc, .lf-axis { fill: none; stroke: var(--bone); stroke-width: 2.2; }
.lf-orbit { fill: none; stroke: var(--bone); stroke-width: 0.5; opacity: 0.22; transform-box: fill-box; transform-origin: center; }
.lf-orbit--a { stroke-dasharray: 1 5; animation: spin 140s linear infinite; }
.lf-orbit--b { stroke-dasharray: 18 6 2 6; animation: spin 220s linear infinite reverse; opacity: 0.12; }
.lf-tick { stroke: var(--bone); stroke-width: 0.6; opacity: 0.3; }
.lf-gap { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-dasharray: 2 3; opacity: 0; transition: opacity 1.2s var(--ease) 2s; }
.lf-node { fill: var(--gold); opacity: 0; transition: opacity 1.2s var(--ease) 2.2s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* The mark draws itself when the figure comes into view */
.lore-figure.is-in .draw path { animation: draw 2s var(--ease-io) forwards; }
.lore-figure.is-in .draw path:nth-child(2) { animation-delay: 0.35s; }
.lore-figure.is-in .draw path:nth-child(3) { animation-delay: 0.6s; }
.lore-figure.is-in .lf-gap { opacity: 0.75; }
.lore-figure.is-in .lf-node { opacity: 1; animation: node-glow 3.6s ease-in-out infinite 3s; }
@keyframes node-glow { 50% { opacity: 0.35; } }

.lore-title {
  margin: 26px 0 28px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.lore-title em { display: block; margin-top: 8px; font-size: 1.12em; color: var(--bone-2); }
.lore-intro { max-width: 52ch; color: var(--ash); }

.meaning-words { margin-top: 36px; border-top: 1px solid var(--line); }
.meaning-words li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color 0.5s, padding-left 0.7s var(--ease-out);
}
.meaning-words li span { width: 34px; font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--gold); }
.meaning-words li:hover { padding-left: 10px; color: var(--gold-2); }
.meaning-text { margin-top: 32px; max-width: 54ch; color: var(--ash); }
.meaning-text p + p { margin-top: 14px; }
.lore-motto { margin-top: 36px; display: flex; align-items: center; gap: 16px; }
.lore-motto::before { content: ""; width: 36px; height: 1px; background: var(--gold); opacity: 0.6; flex: none; }

/* ==========================================================================
   Manifesto — Aether & Ash
   ========================================================================== */
.manifesto {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.manifesto-title {
  margin-top: 26px;
  max-width: 16ch;
  font-size: clamp(36px, 5vw, 84px);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.04;
  text-transform: uppercase;
}
.manifesto-title em { display: block; margin-top: 10px; font-size: 1.05em; color: var(--bone-2); }

.manifesto-open {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  margin-top: clamp(48px, 6vw, 88px);
  align-items: start;
}
.manifesto-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.25;
  color: var(--bone);
}
.manifesto-text { max-width: 52ch; color: var(--ash); font-size: clamp(15px, 1.15vw, 17px); }
.manifesto-text p + p { margin-top: 16px; }

.duality {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin-top: clamp(64px, 8vw, 120px);
  border-block: 1px solid var(--line);
}
.pole {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 80px) clamp(24px, 4vw, 64px);
  isolation: isolate;
}
.pole::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.7;
  transition: opacity 1s var(--ease);
}
.pole--aether::before { background: radial-gradient(ellipse 90% 70% at 30% 0%, rgba(212, 182, 140, 0.1), transparent 70%); }
.pole--ash::before {
  background:
    radial-gradient(ellipse 90% 70% at 70% 100%, rgba(236, 231, 221, 0.05), transparent 70%),
    radial-gradient(circle at 20% 30%, rgba(236, 231, 221, 0.05) 0 1px, transparent 1.5px) 0 0 / 23px 23px,
    radial-gradient(circle at 60% 70%, rgba(236, 231, 221, 0.04) 0 1px, transparent 1.5px) 0 0 / 31px 31px;
}
.pole--ash { text-align: right; }
.pole:hover::before { opacity: 1; }
.pole-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.pole-name {
  margin-top: 18px;
  font-size: clamp(40px, 5.2vw, 88px);
  font-weight: 300;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
}
.pole--aether .pole-name { color: var(--bone); }
.pole--ash .pole-name { color: transparent; -webkit-text-stroke: 1px rgba(236, 231, 221, 0.55); margin-right: -0.24em; }
.pole-kicker { margin-top: 18px; font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-2); }
.pole-text { margin-top: 22px; max-width: 36ch; color: var(--bone-2); font-family: var(--serif); font-size: clamp(19px, 1.5vw, 23px); line-height: 1.45; }
.pole--ash .pole-text { margin-left: auto; }

.duality-axis {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 40px clamp(20px, 3vw, 48px);
  text-align: center;
}
.duality-axis::before,
.duality-axis::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  background: linear-gradient(var(--line-2), transparent);
}
.duality-axis::before { top: 0; height: 22%; background: linear-gradient(transparent, var(--line-2)); }
.duality-axis::after { bottom: 0; height: 22%; }
.duality-axis .mark { height: clamp(90px, 8vw, 130px); --mark-stroke: 4; color: var(--bone-2); }
.duality-axis.is-in .draw path { animation: draw 1.8s var(--ease-io) forwards; }
.duality-axis.is-in .draw path:nth-child(2) { animation-delay: 0.3s; }
.duality-axis.is-in .draw path:nth-child(3) { animation-delay: 0.5s; }
.duality-axis p { font-size: 10px; letter-spacing: 0.38em; line-height: 2; text-transform: uppercase; color: var(--ash); }
.duality-axis p em { font-size: 19px; letter-spacing: 0.04em; color: var(--bone); }

.manifesto-close {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(56px, 7vw, 104px);
}
.manifesto-strong {
  font-size: clamp(16px, 1.4vw, 21px);
  font-weight: 400;
  letter-spacing: 0.36em;
  line-height: 2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.manifesto-close .manifesto-text:last-child { justify-self: end; text-align: right; }
.manifesto-sign {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: clamp(56px, 7vw, 104px);
  padding-top: clamp(40px, 4vw, 56px);
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 36px);
  text-align: center;
  color: var(--bone);
}
.manifesto-sign span { font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: 0.5em; margin-right: -0.5em; text-transform: uppercase; color: var(--gold-2); }

/* ==========================================================================
   Chapter I feature
   ========================================================================== */
.chapter {
  position: relative;
  padding: var(--section-y) 0 clamp(80px, 8vw, 120px);
  background: var(--coal);
  border-top: 1px solid var(--line);
}
.chapter-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(48px, 5vw, 72px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.chapter-title {
  margin-top: 22px;
  font-size: clamp(48px, 7.4vw, 124px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 0.95;
  text-transform: uppercase;
}
.chapter-title span {
  display: block;
  margin-top: 18px;
  font-size: 0.32em;
  letter-spacing: 0.32em;
  color: var(--ash);
}
.chapter-copy .lead { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 30px); color: var(--bone); line-height: 1.3; }
.chapter-copy p + p { margin-top: 18px; color: var(--ash); max-width: 52ch; }

.chapter-figure {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  margin-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  aspect-ratio: 1980 / 1068;
  overflow: hidden;
  background: #222;
}
.chapter-media { position: absolute; inset: 0; transform: scale(1.1); will-change: transform; }
.chapter-media img { width: 100%; height: 100%; object-fit: cover; }
.chapter-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.45), transparent 30%),
    radial-gradient(ellipse at 30% 50%, transparent 40%, rgba(10, 10, 10, 0.35) 100%);
}
.chapter-stamp {
  position: absolute;
  right: clamp(20px, 3vw, 44px);
  top: clamp(20px, 3vw, 44px);
  z-index: 2;
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.75);
  mix-blend-mode: multiply;
}

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink);
}
.hotspot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(236, 231, 221, 0.7);
  animation: pulse 2.8s var(--ease-out) infinite;
}
.hotspot span {
  position: relative;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bone);
  transition: background 0.4s, transform 0.5s var(--ease-out);
}
.hotspot.is-active span,
.hotspot:hover span { background: var(--gold-2); transform: scale(1.2); }
@keyframes pulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}

.chapter-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--maxw);
  margin: 1px max(var(--gutter), calc((100% - var(--maxw)) / 2)) 0;
  background: var(--line);
}
.note {
  padding: clamp(26px, 2.6vw, 40px);
  background: var(--coal);
  transition: background 0.5s;
}
.note-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--smoke); transition: color 0.5s; }
.note h3 { margin: 10px 0 10px; font-size: 12px; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; }
.note p { font-size: 15px; color: var(--ash); }
.note.is-active { background: var(--char); }
.note.is-active .note-num { color: var(--gold); }

.chapter-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--maxw);
  margin: clamp(48px, 5vw, 72px) auto 0;
  padding: 0 var(--gutter);
}
.chapter-meta div { padding: 20px 0; border-top: 1px solid var(--line); }
.chapter-meta dt { font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--smoke); }
.chapter-meta dd { margin-top: 8px; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; }

/* ==========================================================================
   Shop — The Uniform
   ========================================================================== */
.shop {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-title {
  margin-top: 20px;
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 300;
  letter-spacing: 0.16em;
  line-height: 1.05;
  text-transform: uppercase;
}
.filters { display: flex; gap: clamp(18px, 2.4vw, 34px); flex-wrap: wrap; }
.filter {
  position: relative;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color 0.4s;
}
.filter::after {
  content: "";
  position: absolute;
  left: 0; right: 0.3em; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.filter:hover { color: var(--bone-2); }
.filter.is-active { color: var(--bone); }
.filter.is-active::after { transform: scaleX(1); }

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 28px);
}
.product { position: relative; }
.product.is-filtered-in { animation: product-in 0.8s var(--ease-out); }
@keyframes product-in { from { opacity: 0; transform: translateY(14px); } }
.product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #121212;
  cursor: pointer;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  filter: brightness(0.88);
  transform: scale(var(--zoom, 1));
  transition: transform 1.6s var(--ease-out), filter 0.8s;
}
.product:hover .product-media img { transform: scale(calc(var(--zoom, 1) * 1.06)); filter: brightness(1); }
.product-badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.product-badge--gold { left: auto; right: 16px; color: var(--gold-2); }

.product-hover {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  padding: 0 18px;
  background: rgba(10, 10, 10, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transform: translateY(calc(100% + 16px));
  transition: transform 0.7s var(--ease-out);
}
.product:hover .product-hover { transform: none; }
.product-hover .arrow { width: 22px; }
.product:hover .product-hover .arrow { width: 36px; }

.product-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 18px; }
.product-name { font-size: 12px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.5; }
.product-sub { margin-top: 4px; font-size: 13px; color: var(--ash); letter-spacing: 0.04em; }
.product-interest {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-2);
  transition: color 0.3s;
}
.product-interest .arrow { width: 18px; }
.product-interest:hover { color: var(--bone); }
.product-interest:hover .arrow { width: 30px; }
.product.is-flash .product-media { outline: 1px solid var(--gold); outline-offset: 6px; transition: outline-offset 0.6s var(--ease-out); }
.products-empty { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ash); }

.shop-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--smoke);
}
.shop-foot .text-link { color: var(--bone-2); }
.shop-foot .text-link:hover { color: var(--gold-2); }

/* ==========================================================================
   Philosophy — Beyond the visible
   ========================================================================== */
.philosophy {
  position: relative;
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(236, 231, 221, 0.035), transparent 70%),
    var(--coal);
  overflow: hidden;
}
.philo-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 110px);
  max-width: var(--maxw);
  margin: 0 auto;
  align-items: end;
}
.philo-body .lead { font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.35; color: var(--bone); }
.philo-details { margin-top: 32px; border-top: 1px solid var(--line); }
.philo-details li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--ash);
  letter-spacing: 0.02em;
}
.philo-details li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 1px;
  background: var(--gold);
}

.contrasts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--maxw);
  margin: clamp(64px, 7vw, 104px) auto 0;
  border-block: 1px solid var(--line);
}
.contrast {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: clamp(32px, 3.4vw, 52px) 16px;
  text-align: center;
}
.contrast + .contrast { border-left: 1px solid var(--line); }
.contrast strong { font-size: clamp(20px, 2vw, 30px); font-weight: 300; letter-spacing: 0.3em; margin-right: -0.3em; text-transform: uppercase; }
.contrast span { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.4vw, 21px); color: var(--ash); }

.philo-quote {
  max-width: 980px;
  margin: clamp(72px, 8vw, 128px) auto 0;
  text-align: center;
}
.philo-quote .eyebrow { justify-content: center; }
.philo-big {
  margin-top: 26px;
  font-size: clamp(40px, 6.2vw, 104px);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.05;
  text-transform: uppercase;
}
.philo-big em { display: block; margin-top: 6px; color: var(--gold-2); }
.philo-coda { max-width: 48ch; margin: 40px auto 0; color: var(--bone-2); font-size: clamp(15px, 1.2vw, 18px); }
.philo-quote .motto { margin-top: 22px; font-size: 19px; }

/* ==========================================================================
   Codex (The Aesthetic)
   ========================================================================== */
.codex {
  position: relative;
  padding: var(--section-y) var(--gutter);
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(184, 149, 106, 0.07), transparent 70%),
    var(--ink);
}
.codex .section-title { margin-inline: auto; max-width: 18ch; }
.codex-intro { max-width: 46ch; margin: 24px auto 0; color: var(--ash); font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.6vw, 24px); }
.codex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1280px;
  margin: clamp(56px, 6vw, 88px) auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.law {
  position: relative;
  padding: clamp(40px, 4vw, 64px) clamp(24px, 3vw, 48px);
  border-right: 1px solid var(--line);
  transition: background 0.8s var(--ease);
}
.law:last-child { border-right: 0; }
.law:hover { background: rgba(236, 231, 221, 0.02); }
.law-num {
  font-family: var(--serif);
  font-size: clamp(72px, 7.4vw, 118px);
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 149, 106, 0.6);
  transition: color 0.8s var(--ease);
}
.law:hover .law-num { color: rgba(184, 149, 106, 0.22); }
.law-latin { margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 300; letter-spacing: 0.42em; margin-right: -0.42em; text-transform: uppercase; }
.law-text { margin: 22px auto 0; max-width: 30ch; color: var(--ash); font-size: 15px; }

.balance { max-width: 1280px; margin: clamp(56px, 6vw, 88px) auto 0; }
.balance .eyebrow { justify-content: center; }
.balance ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.balance li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.balance li span:first-child { text-align: right; }
.balance li span:last-child { text-align: left; font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0.02em; text-transform: none; color: var(--ash); }
.balance li i {
  position: relative;
  width: 44px; height: 1px;
  background: var(--line-3);
}
.balance li i::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--gold);
}
.codex-foot { margin: 56px auto 0; max-width: 60ch; }

/* ==========================================================================
   The Invisible Circle
   ========================================================================== */
.circle {
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
  border-top: 1px solid var(--line);
}
.circle-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 22%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 22%, #000 55%);
}
.circle-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: brightness(0.62) contrast(1.05); }
.circle-content {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.circle-content > * { max-width: 640px; }
.circle-title {
  margin: 24px 0 26px;
  font-size: clamp(34px, 4.2vw, 68px);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.08;
  text-transform: uppercase;
}
.circle-content p.lead { color: var(--bone-2); max-width: 50ch; }

.chronicle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0 52px;
}
.chronicle::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 5px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dim) 30%, var(--line-2) 34%, var(--line) 100%);
}
.chronicle li { position: relative; padding-top: 30px; }
.chronicle .node {
  position: absolute;
  top: 0; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  background: #0b0b0b;
}
.chronicle .is-revealed .node { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px rgba(184, 149, 106, 0.12), 0 0 22px rgba(184, 149, 106, 0.55); }
.ch-num { display: block; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ash); }
.ch-title { display: block; margin-top: 8px; font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; min-height: 1.6em; }
.ch-state { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--smoke); }
.is-revealed .ch-state { color: var(--gold-2); }
.redacted {
  display: inline-block;
  width: 9em;
  height: 0.9em;
  vertical-align: middle;
  background: repeating-linear-gradient(90deg, rgba(236, 231, 221, 0.2) 0 10px, rgba(236, 231, 221, 0.08) 10px 12px);
}

/* ==========================================================================
   Journal
   ========================================================================== */
.journal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 2.6vw, 40px); }
.entry { position: relative; display: flex; flex-direction: column; padding-top: 34px; border-top: 1px solid var(--line); }
.entry::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
}
.entry:hover::before, .entry:focus-within::before { transform: scaleX(1); }
.entry-top { display: flex; justify-content: space-between; align-items: baseline; }
.entry-num { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--smoke); transition: color 0.6s; }
.entry:hover .entry-num { color: var(--gold-2); }
.entry-meta { font-size: 10px; letter-spacing: 0.38em; text-transform: uppercase; color: var(--ash); }
.entry h3 { margin: 30px 0 14px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 400; letter-spacing: 0.16em; line-height: 1.5; text-transform: uppercase; }
.entry p { color: var(--ash); font-size: 15px; flex: 1; }
.entry .text-link { margin-top: 28px; color: var(--bone-2); }
.entry .text-link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.entry:hover .arrow { width: 52px; }

/* ==========================================================================
   Values strip
   ========================================================================== */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: #0c0c0c;
}
.value {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: clamp(36px, 3.4vw, 52px) 20px;
  text-align: center;
}
.value:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 1px; height: 52px;
  transform: translateY(-50%);
  background: var(--line-2);
}
.value svg { width: 34px; height: 34px; fill: none; stroke: var(--bone-2); stroke-width: 1.05; transition: stroke 0.6s, transform 1s var(--ease-out); }
.value:hover svg { stroke: var(--gold-2); transform: translateY(-4px); }
.value span { font-size: 11px; font-weight: 400; letter-spacing: 0.34em; text-transform: uppercase; color: var(--bone-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 80px) var(--gutter) 0;
  background: #080808;
}
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
}
.footer-lockup { display: inline-flex; align-items: center; gap: 26px; }
.footer-lockup .mark { height: 62px; --mark-stroke: 5.5; color: var(--bone-2); }
.footer-lockup strong { display: block; font-size: 22px; font-weight: 300; letter-spacing: 0.5em; line-height: 1; }
.footer-lockup small { display: block; margin-top: 10px; font-size: 10px; letter-spacing: 0.5em; color: var(--ash); }
.footer-nav ul { display: flex; justify-content: center; gap: clamp(24px, 3vw, 52px); flex-wrap: wrap; }
.footer-nav a { font-size: 11px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone-2); transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold-2); }

.join label { display: block; margin-bottom: 12px; font-size: 11px; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; }
.join-form { display: flex; width: min(340px, 100%); border: 1px solid var(--line-2); transition: border-color 0.4s; }
.join-form:focus-within { border-color: var(--bone-2); }
.join-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  outline: none;
}
.join-form input::placeholder { color: var(--smoke); }
.join-form button { width: 52px; display: grid; place-items: center; border-left: 1px solid var(--line-2); transition: background 0.3s, color 0.3s; }
.join-form button:hover { background: var(--bone); color: var(--ink); }
.join-form .arrow { width: 18px; }
.join-msg { min-height: 1.6em; margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold-2); }

.socials { display: flex; gap: 22px; align-items: center; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; color: var(--bone-2); transition: color 0.3s, transform 0.5s var(--ease-out); }
.socials a:hover { color: var(--gold-2); transform: translateY(-3px); }
.socials svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.socials .fill { fill: currentColor; stroke: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(48px, 5vw, 64px);
  padding: 26px 0;
  border-top: 1px solid var(--line-2);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ash);
}
.footer-bottom .motto { font-size: 15px; letter-spacing: 0.06em; text-transform: none; }
.footer-word {
  margin: 0 -0.3em -0.16em 0;
  font-size: clamp(90px, 25vw, 420px);
  font-weight: 300;
  letter-spacing: 0.3em;
  line-height: 0.82;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 231, 221, 0.07);
  user-select: none;
  pointer-events: none;
}

/* ==========================================================================
   Interest drawer
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.62); opacity: 0; transition: opacity 0.6s var(--ease); }
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(580px, 100%);
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.8s var(--ease-out);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 12px; font-weight: 400; letter-spacing: 0.36em; text-transform: uppercase; }
.drawer-head h2 span { color: var(--ash); margin-left: 6px; }
.close-btn { width: 40px; height: 40px; display: grid; place-items: center; margin-right: -10px; }
.close-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.2; transition: transform 0.5s var(--ease-out); }
.close-btn:hover svg { transform: rotate(90deg); }

.drawer-body { flex: 1; overflow-y: auto; padding: 8px 28px 32px; overscroll-behavior: contain; }

/* Form */
.if-intro { padding: 22px 0 6px; }
.if-kicker { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--bone); }
.if-intro p + p { margin-top: 8px; font-size: 14px; color: var(--ash); }

.if-group { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.if-group legend {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  margin-bottom: 14px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.if-group legend small,
.field label small { font-size: 10px; letter-spacing: 0.2em; color: var(--smoke); text-transform: uppercase; }

.if-pieces { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.piece {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  padding: 8px 36px 8px 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.piece:hover { border-color: var(--line-2); }
.piece input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.piece-img { width: 52px; height: 64px; overflow: hidden; background: #151515; }
.piece-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: brightness(0.85); }
.piece-text { display: grid; gap: 4px; min-width: 0; }
.piece-name { font-size: 10px; font-weight: 400; letter-spacing: 0.2em; line-height: 1.5; text-transform: uppercase; }
.piece-num { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--smoke); }
.piece-check {
  position: absolute;
  right: 12px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  border: 1px solid var(--line-3);
  transition: background 0.3s, border-color 0.3s;
}
.piece-check::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid var(--ink);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s var(--ease-out);
}
.piece:has(input:checked) { border-color: var(--gold); background: rgba(184, 149, 106, 0.06); }
.piece input:checked ~ .piece-check { background: var(--gold); border-color: var(--gold); }
.piece input:checked ~ .piece-check::after { transform: rotate(45deg) scale(1); }
.piece input:checked ~ .piece-img img { filter: brightness(1); }
.piece:has(input:focus-visible) { outline: 1px solid var(--gold); outline-offset: 3px; }

.if-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover span { border-color: var(--bone-2); }
.chip input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chip input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }

.if-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { display: flex; align-items: baseline; gap: 10px; font-size: 10px; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bone-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  background: rgba(236, 231, 221, 0.02);
  border: 1px solid var(--line-2);
  border-radius: 0;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--bone);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; font: inherit; font-size: 15px; line-height: 1.6; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); background: rgba(236, 231, 221, 0.04); }
.field.has-error input,
.field.has-error textarea { border-color: #b4675a; }
.field-prefix { position: relative; }
.field-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--smoke); pointer-events: none; }
.field-prefix input { padding-left: 32px; }
.field-select { position: relative; }
.field-select::after {
  content: "";
  position: absolute;
  right: 16px; top: 50%;
  width: 7px; height: 7px;
  margin-top: -5px;
  border-right: 1px solid var(--ash);
  border-bottom: 1px solid var(--ash);
  transform: rotate(45deg);
  pointer-events: none;
}
.field select { padding-right: 40px; cursor: pointer; }
.field select option { background: #111; color: var(--bone); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.if-checks { display: grid; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.check { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: start; font-size: 14px; color: var(--bone-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.check-box { position: relative; width: 18px; height: 18px; margin-top: 3px; border: 1px solid var(--line-3); transition: background 0.3s, border-color 0.3s; }
.check-box::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--ink);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s var(--ease-out);
}
.check input:checked + .check-box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .check-box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check-box { outline: 1px solid var(--gold); outline-offset: 3px; }
.check.has-error .check-box { border-color: #b4675a; }

.if-error { min-height: 0; font-size: 12px; letter-spacing: 0.02em; color: #d98f80; }
.if-error:empty { display: none; }
.if-error--form { margin-top: 18px; font-size: 13px; }
.interest-form [data-submit] { margin-top: 24px; height: 56px; }
.interest-form [data-submit][disabled] { opacity: 0.6; pointer-events: none; }
.if-note { margin-top: 14px; font-size: 12px; color: var(--smoke); text-align: center; }

/* Success */
.if-success {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 32px 64px;
  text-align: center;
  outline: none;
}
.if-success[hidden] { display: none; }
.if-success .mark { height: 96px; --mark-stroke: 3.6; color: var(--gold-2); margin-bottom: 10px; }
.if-success .draw path { animation: draw 1.6s var(--ease-io) forwards; }
.if-success .draw path:nth-child(2) { animation-delay: 0.25s; }
.if-success .draw path:nth-child(3) { animation-delay: 0.5s; }
.if-success h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(36px, 4vw, 48px); line-height: 1.1; }
.if-success p { max-width: 36ch; color: var(--bone-2); }
.if-success .if-success-note { color: var(--ash); font-size: 14px; }
.if-success .btn { margin-top: 18px; }

/* ==========================================================================
   Search overlay
   ========================================================================== */
.search {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18vh var(--gutter) 40px;
  background: rgba(8, 8, 8, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.search.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease), visibility 0s; }
.search .close-btn { position: absolute; top: 24px; right: var(--gutter); }
.search-field { width: min(900px, 100%); }
.search-field input {
  width: 100%;
  padding: 0 0 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.4s;
}
.search-field input:focus { border-color: var(--gold); }
.search-field input::placeholder { color: var(--smoke); }
.search-hint { margin-top: 16px; text-align: center; }
.search-results { width: min(900px, 100%); margin-top: 36px; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 18px 4px;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: color 0.3s, padding 0.5s var(--ease-out);
}
.search-results button:hover, .search-results button:focus-visible { color: var(--gold-2); padding-left: 14px; }
.search-results small { font-size: 12px; letter-spacing: 0.1em; color: var(--ash); }
.search-empty { padding: 18px 4px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ash); text-align: center; }

/* ==========================================================================
   Notice (after a form sent without JavaScript) & cursor
   ========================================================================== */
.notice {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  background: rgba(16, 16, 16, 0.94);
  border: 1px solid var(--gold-dim);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.notice--error { border-color: #b4675a; }
.notice .mark { height: 20px; --mark-stroke: 9; color: var(--gold); flex: none; }

.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 160;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(236, 231, 221, 0.45);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, width 0.5s var(--ease-out), height 0.5s var(--ease-out), margin 0.5s var(--ease-out), border-color 0.5s, background-color 0.5s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover {
  width: 62px; height: 62px;
  margin: -31px 0 0 -31px;
  border-color: rgba(184, 149, 106, 0.7);
  background: rgba(184, 149, 106, 0.06);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .entries { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-nav ul { justify-content: flex-end; }
  .manifesto-close { grid-template-columns: 1fr; justify-items: start; }
  .manifesto-strong { text-align: left; }
  .manifesto-close .manifesto-text:last-child { justify-self: start; text-align: left; }
  .balance ul { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .header-inner { grid-template-columns: 1fr auto 1fr; grid-template-areas: "toggle brand actions"; }
  .menu-toggle { display: block; justify-self: start; }
  .main-nav { display: none; }
  .brand { justify-self: center; gap: 14px; }
  .brand .mark { height: 38px; }
  .brand-word { font-size: 17px; }
  .header-actions { gap: 16px; }
  .header-cta { display: none; }
  .hide-md { display: none !important; }

  .hero-media { width: 100%; }
  .hero-media {
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, #000 60%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, #000 60%);
  }
  .hero-side { display: none; }

  .band { grid-template-columns: 1fr; justify-items: start; gap: 40px; }
  .band-divider { width: 64px; height: 1px; }
  .band-lockup { justify-self: start; justify-items: start; text-align: left; }
  .band-media { width: 100%; opacity: 0.55; }

  .lore-inner { grid-template-columns: 1fr; }
  .lore-figure svg { max-width: 460px; }

  .manifesto-open { grid-template-columns: 1fr; }
  .duality { grid-template-columns: 1fr; }
  .duality-axis { flex-direction: row; justify-content: flex-start; padding: 28px clamp(24px, 4vw, 64px); border-block: 1px solid var(--line); text-align: left; }
  .duality-axis::before, .duality-axis::after { display: none; }
  .duality-axis .mark { height: 72px; }
  .pole--ash { text-align: left; }
  .pole--ash .pole-name { margin-right: 0; }
  .pole--ash .pole-text { margin-left: 0; }

  .philo-grid { grid-template-columns: 1fr; align-items: start; }

  .chapter-head { grid-template-columns: 1fr; }
  .chapter-notes { grid-template-columns: 1fr; }
  .chapter-meta { grid-template-columns: repeat(2, 1fr); column-gap: 24px; }

  .codex-grid { grid-template-columns: 1fr; }
  .law { border-right: 0; border-bottom: 1px solid var(--line); }
  .law:last-child { border-bottom: 0; }

  .circle-media { width: 100%; opacity: 0.6; }

  .values { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(2)::after { display: none; }
  .value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .hero { min-height: 620px; align-items: flex-end; }
  .hero-media {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.5) 30%, #000 62%);
    mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.5) 30%, #000 62%);
  }
  .hero-media img { object-position: 22% 20%; }
  .hero-content { padding-bottom: 104px; }
  .hero-title { letter-spacing: 0.14em; }
  .hero-meta { bottom: 26px; }
  .hero-meta .scroll-cue { display: none; }
  .hero-meta { letter-spacing: 0.3em; }
  .hero-actions { gap: 18px 28px; }

  .cd-sep { display: none; }
  .countdown { gap: 6px; }
  .cd-unit { min-width: 0; flex: 1; font-size: clamp(36px, 11vw, 52px); }
  .cd-label { letter-spacing: 0.3em; margin-right: -0.3em; }
  .countdown--inline { gap: 18px; }
  .countdown--inline .cd-unit { flex: none; font-size: 34px; }
  .gate-count { min-width: 100%; }

  .categories { grid-template-columns: 1fr; }
  .cat { aspect-ratio: 16 / 10; }

  .products { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .product-info { gap: 10px; padding-top: 14px; }
  .product-name { font-size: 11px; letter-spacing: 0.18em; }
  .product-hover { display: none; }

  .entries { grid-template-columns: 1fr; }
  .contrasts { grid-template-columns: 1fr; }
  .contrast + .contrast { border-left: 0; border-top: 1px solid var(--line); }
  .manifesto-strong { white-space: normal; }

  .drawer-body { padding: 4px 20px 28px; }
  .drawer-head { padding: 0 20px; }
  .if-pieces { grid-template-columns: 1fr; }
  .if-grid { grid-template-columns: 1fr; }

  .chronicle { grid-template-columns: 1fr; gap: 28px; padding-left: 28px; }
  .chronicle::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), var(--line) 40%); }
  .chronicle li { padding-top: 0; }
  .chronicle .node { left: -28px; top: 4px; }

  .footer-top { grid-template-columns: 1fr; justify-items: start; }
  .footer-nav ul { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .chapter-meta { grid-template-columns: 1fr 1fr; }
  .hotspot { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .hotspot span { width: 20px; height: 20px; font-size: 11px; }
}

@media (max-width: 420px) {
  .products { grid-template-columns: 1fr; }
  .header-actions { gap: 10px; }
}

@media (hover: none) {
  .product-hover { display: none; }
}

@media (max-height: 700px) and (min-width: 761px) {
  .gate-mark { height: 72px; }
  .gate-tag { margin-top: 12px; }
  .gate-count { margin-top: 20px; padding-top: 18px; }
  .gate-enter { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .grain { animation: none; }
  .draw path { stroke-dashoffset: 0; }
}
