/* ============================================================
   COUVARO — design system
   Near-black, bone, brass. Bodoni Moda display, Geist text,
   Geist Mono labels. Square corners, hairlines, film grain.
   ============================================================ */

:root {
  --bg0: #0D0C0A;
  --bg1: #12100E;
  --bg2: #171410;
  --ink: #EFEAE0;
  --ink2: #B9B3A5;
  --mut: #9A9486;
  --faint: #6F6A5E;
  --brass: #C2A05E;
  --brass-hi: #DCC38B;
  --line: rgba(239, 234, 224, 0.12);
  --line-soft: rgba(239, 234, 224, 0.07);
  --brass-line: rgba(194, 160, 94, 0.38);
  --serif: 'Bodoni Moda', 'Didot', 'Playfair Display', serif;
  --sans: 'Geist', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', 'SFMono-Regular', Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(24px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg0);
}

body {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Film grain over everything. Fixed, faint, expensive. */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }

::selection { background: var(--brass); color: var(--bg0); }

a { color: inherit; }

:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 3000;
  background: var(--brass);
  color: var(--bg0);
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============================================================
   TYPE
   ============================================================ */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.eyebrow--dim { color: var(--faint); }

.display-xl {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 1.01;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

.display-l {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.008em;
  margin: 0;
  text-wrap: balance;
}

.display-m {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.006em;
  margin: 0;
  text-wrap: balance;
}

.it { font-style: italic; }
.gold { color: var(--brass); }
.it.gold, .gold.it { font-style: italic; color: var(--brass); }

.lede {
  font-size: clamp(16.5px, 1.35vw, 19.5px);
  line-height: 1.65;
  color: var(--ink2);
  margin: 0;
  max-width: 56ch;
}

.body-m { font-size: 15px; line-height: 1.65; color: var(--mut); margin: 0; }
.body-s { font-size: 14px; line-height: 1.6; color: var(--mut); margin: 0; }

.mono-s {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mut);
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
  background: transparent;
}

.nav.solid {
  background: rgba(13, 12, 10, 0.82);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; transition: opacity 0.3s ease; }
.nav-logo:hover img { opacity: 0.8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
}

.nav-link {
  position: relative;
  font-size: 13.5px;
  color: var(--ink2);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.on { color: var(--brass); }

/* Burger */
.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.nav-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s ease, top 0.35s var(--ease);
}
.nav-burger span:nth-child(1) { top: 17px; }
.nav-burger span:nth-child(2) { top: 22px; }
.nav-burger span:nth-child(3) { top: 27px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(13, 12, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 60px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.menu.open { opacity: 1; visibility: visible; }

.menu a.menu-link {
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1.25;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s ease;
}
.menu.open a.menu-link { opacity: 1; transform: none; }
.menu.open a.menu-link:nth-child(2) { transition-delay: 0.05s; }
.menu.open a.menu-link:nth-child(3) { transition-delay: 0.1s; }
.menu.open a.menu-link:nth-child(4) { transition-delay: 0.15s; }
.menu.open a.menu-link:nth-child(5) { transition-delay: 0.2s; }
.menu a.menu-link:hover, .menu a.menu-link.on { color: var(--brass); }
.menu a.menu-link .idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.menu-foot {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 17px 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn .arr { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(5px); }

.btn--brass { background: var(--brass); color: var(--bg0); border-color: var(--brass); }
.btn--brass:hover { background: var(--brass-hi); border-color: var(--brass-hi); }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(239, 234, 224, 0.28); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass); }

.textlink {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.textlink .arr { transition: transform 0.3s var(--ease); }
.textlink:hover .arr { transform: translateX(5px); }

/* ============================================================
   SECTION FURNITURE
   ============================================================ */

.sec { padding-top: clamp(76px, 9.5vw, 136px); }
.sec--tight { padding-top: clamp(56px, 7vw, 96px); }

.sec-index {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(34px, 4.5vw, 56px);
}
.sec-index .no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.sec-index .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: right;
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4.5vw, 72px);
  align-items: flex-end;
  margin-bottom: clamp(36px, 4.5vw, 58px);
}
.sec-head > .lead { flex: 1 1 480px; }
.sec-head > .side {
  flex: 1 1 300px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mut);
  margin: 0;
  max-width: 44ch;
}

/* ============================================================
   HERO (home)
   ============================================================ */

.hero {
  position: relative;
  z-index: 0; /* own stacking context so the negative-z media layer stays inside */
  min-height: max(92svh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 40%;
  filter: grayscale(0.45) brightness(0.62) contrast(1.12) sepia(0.18) saturate(0.7);
  transform: scale(1.02);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 10, 0.94) 0%, rgba(13, 12, 10, 0.72) 42%, rgba(13, 12, 10, 0.38) 100%),
    linear-gradient(180deg, rgba(13, 12, 10, 0.55) 0%, rgba(13, 12, 10, 0.18) 34%, rgba(13, 12, 10, 0.92) 88%, var(--bg0) 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(52% 44% at 24% 68%, rgba(194, 160, 94, 0.13), transparent 70%);
  pointer-events: none;
}

.hero-body { padding-top: clamp(140px, 18vh, 200px); padding-bottom: clamp(36px, 5vh, 60px); }

.hero-kicker {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}

.hero h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(26px);
  animation: heroRise 1s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) { animation-delay: 0.1s; }
.hero h1 .line:nth-child(3) { animation-delay: 0.2s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

.hero-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 72px);
  align-items: flex-end;
  justify-content: space-between;
  margin-top: clamp(30px, 4vw, 46px);
  opacity: 0;
  animation: heroFade 1.2s ease 0.55s forwards;
}
@keyframes heroFade { to { opacity: 1; } }

.hero-ctas { display: flex; flex-direction: column; gap: 12px; min-width: 250px; }

.hero-rule {
  border-top: 1px solid var(--line);
  margin-top: clamp(38px, 5vw, 58px);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFade 1.2s ease 0.75s forwards;
}

/* Rotating moment word */
.moment-rotor {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink2);
  display: inline-block;
  min-width: 13ch;
}
.moment-rotor .w {
  display: inline-block;
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s var(--ease);
}
.moment-rotor .w.out { opacity: 0; transform: translateY(-8px); }
.moment-rotor .w.in { opacity: 0; transform: translateY(8px); transition: none; }

/* ============================================================
   SUB-PAGE HERO (split)
   ============================================================ */

.sub-hero { padding-top: clamp(130px, 16vh, 180px); }

.sub-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(36px, 5.5vw, 76px);
  align-items: center;
}

.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.45) brightness(0.72) contrast(1.1) sepia(0.18) saturate(0.7);
  transition: transform 1.2s var(--ease);
}
.frame:hover img { transform: scale(1.035); }
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 12, 10, 0.08), rgba(13, 12, 10, 0.5));
  pointer-events: none;
}
.frame .frame-cap {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Meta strip: three quiet claims on hairlines */
.meta-strip {
  margin-top: clamp(48px, 6vw, 76px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px 24px;
}
.meta-strip span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut);
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.meta-strip span i {
  font-style: normal;
  color: var(--brass);
}

/* ============================================================
   GRIDS, ROWS, CARDS
   ============================================================ */

/* Hairline card grid: explicit columns so no empty "ghost cell" ever shows */
.grid-cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 940px) {
  .grid-cells { grid-template-columns: 1fr; }
  .grid-cells.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-cells.cols-6 { grid-template-columns: 1fr; }
}
.cell {
  background: var(--bg0);
  padding: clamp(28px, 3vw, 38px) clamp(24px, 2.6vw, 32px) clamp(34px, 3.4vw, 44px);
  transition: background 0.4s ease;
}
.cell:hover { background: var(--bg1); }
.cell .cell-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.cell h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.16;
  margin: 18px 0 12px;
}
.cell .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(34px, 3.4vw, 44px);
  color: var(--brass);
  line-height: 1;
}

/* Ledger rows: number / claim / detail */
.ledger { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 62px) minmax(0, 1.05fr) minmax(0, 1.45fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(26px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
  transition: padding-left 0.35s var(--ease), background 0.35s ease;
}
.ledger-row:hover { padding-left: 12px; background: rgba(194, 160, 94, 0.035); }
.ledger-row .no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--brass);
  line-height: 1;
}
.ledger-row h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.18;
  margin: 0;
}
.ledger-row .dt { font-size: 15px; line-height: 1.65; color: var(--mut); }
@media (max-width: 720px) {
  .ledger-row { grid-template-columns: 44px 1fr; }
  .ledger-row .dt { grid-column: 2; }
}

/* Index list rows (verticals) */
.v-list { border-top: 1px solid var(--line); }
.v-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.35s var(--ease), background 0.35s ease;
}
.v-row:hover { padding-left: 12px; background: rgba(194, 160, 94, 0.035); }
.v-row .nm { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 22px); }
.v-row .whn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: right;
}
.v-row:hover .whn { color: var(--brass); }

/* ============================================================
   ENGINE (home pipeline)
   ============================================================ */

.engine {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  position: relative;
}
@media (max-width: 1020px) { .engine { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .engine { grid-template-columns: 1fr; } }
.engine .stage {
  background: var(--bg0);
  padding: clamp(28px, 3vw, 38px) clamp(24px, 2.6vw, 32px) clamp(36px, 3.6vw, 46px);
  position: relative;
  transition: background 0.4s ease;
}
.engine .stage:hover { background: var(--bg1); }
.engine .stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--brass);
  transition: width 1.1s var(--ease);
}
.engine .stage.on::before { width: 100%; }
.engine .stage:nth-child(2).on::before { transition-delay: 0.25s; }
.engine .stage:nth-child(3).on::before { transition-delay: 0.5s; }
.engine .stage:nth-child(4).on::before { transition-delay: 0.75s; }

.stage .stage-tag {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.stage .stage-tag .k { color: var(--faint); }
.stage h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(23px, 2.2vw, 28px);
  margin: 22px 0 12px;
}

/* ============================================================
   MOMENTS photo strip
   ============================================================ */

.moments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
@media (max-width: 940px) { .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.moment { text-decoration: none; color: inherit; }
.moment .ph {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.moment .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.72) contrast(1.08) sepia(0.2) saturate(0.7);
  transition: transform 1.1s var(--ease), filter 0.7s ease;
}
.moment:hover .ph img { transform: scale(1.045); filter: grayscale(0.2) brightness(0.8) contrast(1.08) sepia(0.12) saturate(0.85); }
.moment .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 12, 10, 0.12), rgba(13, 12, 10, 0.42));
}
.moment .cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-top: 14px;
}
.moment .cap .t { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); }
.moment .cap .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.3s ease;
}
.moment:hover .cap .k { color: var(--brass); }

/* ============================================================
   DOORS (ways in)
   ============================================================ */

.doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 940px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; }
}
.door {
  background: var(--bg0);
  padding: clamp(30px, 3.2vw, 42px) clamp(26px, 2.8vw, 36px) clamp(30px, 3vw, 38px);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  position: relative;
  transition: background 0.45s ease;
}
.door:hover { background: #15120D; }
.door::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--brass);
  transition: width 0.6s var(--ease);
}
.door:hover::after { width: 100%; }
.door .door-tag {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.door h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.15;
  margin: 6px 0 0;
}
.door p { margin: 0; }
.door .go {
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 10px;
}
.door .go .arr { transition: transform 0.3s var(--ease); }
.door:hover .go .arr { transform: translateX(6px); }

/* ============================================================
   STANDARD (consent / compliance panel)
   ============================================================ */

.standard {
  border: 1px solid var(--brass-line);
  background: linear-gradient(180deg, rgba(194, 160, 94, 0.055), rgba(194, 160, 94, 0.008));
  padding: clamp(36px, 5vw, 64px) clamp(26px, 4.5vw, 60px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}
.spec { border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.spec-row .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.spec-row .v { font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
@media (max-width: 480px) { .spec-row { grid-template-columns: 1fr; gap: 6px; } }

/* ============================================================
   RECORD panel (carriers)
   ============================================================ */

.record {
  border: 1px solid var(--brass-line);
  background: linear-gradient(180deg, rgba(194, 160, 94, 0.05), rgba(13, 12, 10, 0));
  overflow: hidden;
}
.record-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mut);
}
.record-head .live { color: var(--brass); display: inline-flex; align-items: center; gap: 8px; }
.record-head .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brass);
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.record-body { padding: 6px 22px 16px; }
.record-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.record-row:last-child { border-bottom: none; }
.record-row .k { color: var(--faint); text-transform: uppercase; }
.record-row .v { color: var(--ink); text-align: right; }
.record-row .v.gold { color: var(--brass); }

/* ============================================================
   DASHBOARD split
   ============================================================ */

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.dash-shot {
  border: 1px solid var(--line);
  background: #0A0908;
  overflow: hidden;
  box-shadow: 0 48px 110px -48px rgba(0, 0, 0, 0.9);
}
.dash-shot img { width: 100%; filter: brightness(0.96) contrast(1.02) saturate(0.92); }

.kv { border-top: 1px solid var(--line); }
.kv-row {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.kv-row .k { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.kv-row .v { font-size: 13.5px; line-height: 1.6; color: var(--mut); }

/* ============================================================
   QUOTE
   ============================================================ */

.quote-band {
  border-top: 1px solid var(--line);
  padding-top: clamp(38px, 4.5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  align-items: flex-start;
}
.quote-band .lbl {
  flex: 0 0 auto;
  width: 160px;
  padding-top: 14px;
}
.quote-band blockquote {
  flex: 1 1 520px;
  margin: 0;
}
.quote-band blockquote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.006em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.quote-band .attr {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut);
}
.quote-band .attr::before { content: ""; width: 38px; height: 1px; background: var(--brass); }

/* ============================================================
   FAQ
   ============================================================ */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  padding: 25px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
  flex: 0 0 auto;
}
.faq summary .q {
  flex: 1 1 auto;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.3;
}
.faq summary .pm {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(239, 234, 224, 0.25);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}
.faq summary .pm svg { display: block; }
.faq details[open] summary .pm { transform: rotate(45deg); border-color: var(--brass); }
.faq .a {
  margin: 0;
  padding: 0 clamp(40px, 6vw, 64px) 30px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--mut);
  max-width: 780px;
}

/* ============================================================
   CTA
   ============================================================ */

.cta-wrap { padding-bottom: clamp(76px, 9.5vw, 128px); }
.cta {
  border: 1px solid var(--brass-line);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: end;
  background:
    radial-gradient(60% 90% at 8% 0%, rgba(194, 160, 94, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(194, 160, 94, 0.04), rgba(194, 160, 94, 0));
}
.cta .right {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 40px);
}
@media (max-width: 720px) {
  .cta .right { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
}
.cta .mail {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 29px);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--brass-line);
  padding-bottom: 6px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.cta .mail:hover { color: var(--brass); border-color: var(--brass); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(46px, 6vw, 68px) 0 48px;
}
.footer-brand { min-width: 240px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin: 16px 0 0; max-width: 320px; font-size: 14px; line-height: 1.65; color: var(--mut); }
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer-col a {
  position: relative;
  color: var(--ink2);
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--brass); }
.footer .mail-lg {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(239, 234, 224, 0.25);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.footer .mail-lg:hover { color: var(--brass); border-color: var(--brass); }

.footer-legal {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-legal a { color: var(--faint); text-decoration: none; transition: color 0.3s ease; }
.footer-legal a:hover { color: var(--brass); }
.footer-legal .set { display: flex; gap: 22px; flex-wrap: wrap; }

.footer-ghost { display: none; }

/* ============================================================
   FORMS (contact)
   ============================================================ */

.form-panel {
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 40px);
  background: rgba(239, 234, 224, 0.015);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 18px; }
.f-field { display: flex; flex-direction: column; gap: 8px; }
.f-field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mut);
}
.fld {
  width: 100%;
  background: rgba(239, 234, 224, 0.04);
  border: 1px solid rgba(239, 234, 224, 0.18);
  color: var(--ink);
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  border-radius: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.fld::placeholder { color: var(--faint); }
.fld:focus { border-color: var(--brass); background: rgba(194, 160, 94, 0.05); }
select.fld {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%23C2A05E' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
select.fld option { background: #1A1815; color: var(--ink); }
textarea.fld { resize: vertical; min-height: 132px; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */

.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.rv.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero h1 .line, .hero-bottom, .hero-rule { opacity: 1; transform: none; animation: none; }
  .moment-rotor .w { transition: none; }
  * { animation-duration: 0.001s !important; }
}
