/* RichLife Style Promotions */

:root {
  --bg: #090806;
  --surface: #15120C;
  --ink: #FFFAEB;
  --muted: #A39A85;
  --gold: #DCA51F;
  --gold-2: #FFF2AD;
  --gold-deep: #724700;
  --line: rgba(220, 165, 31, 0.16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

::selection { background: var(--gold); color: #090806; }

img, svg { display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2A2317; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

.container { width: min(1180px, 92vw); margin-inline: auto; }

.section { padding: clamp(96px, 12vw, 160px) 0; }

section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: #090806;
  padding: 10px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: var(--scroll-p, 0%);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 60%, var(--gold-2));
  z-index: 55;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Type */

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 380;
  line-height: 1.02;
  letter-spacing: 0;
  margin-top: 18px;
  text-wrap: balance;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.gold-italic {
  font-style: italic;
  font-weight: 420;
  background: linear-gradient(100deg, var(--gold-2) 10%, var(--gold) 40%, var(--gold-deep) 70%, var(--gold-2) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

@media (prefers-reduced-motion: no-preference) {
  .gold-italic { animation: goldShift 8s ease-in-out infinite; }
  @keyframes goldShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg { transform: translate(2px, -2px); }

.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #B07F12);
  color: #090806;
  box-shadow: 0 0 0 rgba(220, 165, 31, 0);
}
.btn-gold:hover { box-shadow: 0 12px 40px rgba(220, 165, 31, 0.25); }

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.34) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.btn-gold:hover::after { transform: translateX(130%); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }

.btn-lg { padding: 19px 34px; font-size: 15px; }

/* Nav */

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

.nav.scrolled,
body.menu-open .nav {
  background: rgba(9, 8, 6, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; }

.brand-logo { height: 40px; width: auto; }

.footer-logo { height: 44px; width: auto; }

.nav-links { display: flex; gap: 32px; }

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 56;
}

.nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 23px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(9, 8, 6, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  padding: 100px 8vw 60px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu nav { display: flex; flex-direction: column; gap: 18px; }

.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1.1;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.3s var(--ease);
}

.mobile-menu.open nav a { transform: translateY(0); opacity: 1; }
.mobile-menu.open nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu nav a:hover { color: var(--gold); }

.mobile-menu-mail { color: var(--muted); font-size: 14px; }

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(220, 165, 31, 0.14), transparent 60%),
    radial-gradient(700px 520px at 90% 105%, rgba(220, 165, 31, 0.07), transparent 60%);
}

.hero-spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 35%), rgba(255, 242, 173, 0.07), transparent 62%);
}

.hero-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-word {
  position: absolute;
  bottom: -0.16em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(110px, 23vw, 360px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(220, 165, 31, 0.13);
  user-select: none;
  white-space: nowrap;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  align-items: center;
  gap: 72px;
}

.hero-copy { min-width: 0; }

.hero-crest {
  display: block;
  height: 56px;
  width: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 6px 24px rgba(220, 165, 31, 0.25));
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease) 0.05s, transform 0.7s var(--ease) 0.05s;
}

body.loaded .hero-crest { opacity: 1; transform: translateY(0); }

.hero-eyebrow {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease) 0.15s, transform 0.7s var(--ease) 0.15s;
}

body.loaded .hero-eyebrow { opacity: 1; transform: translateY(0); }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.8vw, 6.8rem);
  font-weight: 370;
  line-height: 0.99;
  letter-spacing: 0;
  margin-top: 26px;
  max-width: 13ch;
}

.hero-title .line { display: block; padding-bottom: 0.02em; }

.hero-title .word {
  display: inline-block;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  max-width: 58ch;
  margin-top: 30px;
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease) 0.65s, transform 0.8s var(--ease) 0.65s;
}

body.loaded .hero-sub { opacity: 1; transform: translateY(0); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease) 0.8s, transform 0.8s var(--ease) 0.8s;
}

.hero-cta .btn { flex-shrink: 0; }

body.loaded .hero-cta { opacity: 1; transform: translateY(0); }

.hero-system {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 242, 173, 0.06), transparent 42%),
    rgba(21, 18, 12, 0.76);
  padding: 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 242, 173, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-system::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(220, 165, 31, 0.08);
  border-radius: 6px;
  pointer-events: none;
}

.system-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-system h2 {
  font-size: 2rem;
  line-height: 1.08;
  margin-top: 14px;
  max-width: 9ch;
}

.system-list {
  margin-top: 26px;
  display: grid;
  gap: 0;
}

.system-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.system-list span {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.system-list strong {
  display: block;
  grid-column: 2;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.system-list em {
  display: block;
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.55;
  margin-top: 5px;
}

.hero-foot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 26px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 1;
  transition: opacity 1s var(--ease) 1.1s;
}

body.loaded .hero-foot { opacity: 1; }

.hero-scroll { display: inline-flex; align-items: center; gap: 12px; }

.hero-scroll i {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  display: inline-block;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-scroll i { animation: scrollPulse 2.4s var(--ease) infinite; transform-origin: left; }
  @keyframes scrollPulse {
    0%, 100% { transform: scaleX(0.4); opacity: 0.5; }
    50% { transform: scaleX(1); opacity: 1; }
  }
}

/* Proof */

.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
  padding: clamp(44px, 6vw, 72px) 0;
}

.proof-idx {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.proof-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 420;
  margin-top: 14px;
  transition: color 0.3s var(--ease);
}

.proof-card p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
  max-width: 30ch;
}

.proof-card:hover h3 { color: var(--gold-2); }

/* Section head */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* Services */

.svc { border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }

.svc-head {
  width: 100%;
  display: grid;
  grid-template-columns: 84px 1fr 44px;
  align-items: center;
  gap: 16px;
  padding: 30px 0;
  text-align: left;
}

.svc-idx {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  transition: color 0.3s var(--ease);
}

.svc-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 380;
  line-height: 1.1;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}

.svc-head:hover .svc-title { transform: translateX(10px); color: var(--gold-2); }
.svc-head:hover .svc-idx { color: var(--gold); }

.svc-plus {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  justify-self: end;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.svc-plus::before,
.svc-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}
.svc-plus::before { width: 14px; height: 1.5px; }
.svc-plus::after { width: 1.5px; height: 14px; }

.svc-head[aria-expanded="true"] .svc-plus { transform: rotate(45deg); border-color: var(--gold-deep); }

.svc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}

.svc-head[aria-expanded="true"] + .svc-panel { grid-template-rows: 1fr; }

.svc-panel-inner { overflow: hidden; min-height: 0; }

.svc-panel p {
  color: var(--muted);
  max-width: 62ch;
  margin-left: 100px;
  padding-bottom: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 34px 100px;
}

.chips li {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 14px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.chips li:hover { color: var(--gold-2); border-color: var(--gold-deep); }

/* Work */

.examples-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(560px 260px at 100% 0%, rgba(220, 165, 31, 0.1), transparent 68%),
    var(--surface);
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
  gap: 36px;
  align-items: end;
}

.examples-mark {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.examples-panel h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 390;
  line-height: 1.04;
  margin-top: 18px;
  text-wrap: balance;
}

.examples-panel p {
  color: var(--muted);
  max-width: 56ch;
  margin-top: 18px;
}

.examples-list {
  display: grid;
  gap: 10px;
}

.examples-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 36px;
}

.step { border-top: 1px solid var(--line); padding-top: 26px; }

.step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 420;
  margin-top: 16px;
}

.step p { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* Fit */

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 26px 26px 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.fit-card:hover { transform: translateY(-4px); border-color: var(--gold-deep); }

.fit-idx {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.fit-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 420;
  margin-top: 14px;
}

.fit-card p { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Filter */

.filter { padding-top: 0; }

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.filter-card {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: baseline;
}

.filter-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.filter-card p {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.2;
}

/* Deck */

.deck { padding-top: 0; }

.deck-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(640px 320px at 50% -10%, rgba(220, 165, 31, 0.1), transparent 65%),
    var(--surface);
  overflow: hidden;
}

.deck-panel::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -56px;
  width: 300px;
  height: 272px;
  background: url("assets/richlife-crown-lg.png") no-repeat center / contain;
  opacity: 0.06;
  transform: rotate(8deg);
  pointer-events: none;
}

.deck-panel h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}

.deck-sub {
  color: var(--muted);
  max-width: 52ch;
  margin: 20px auto 36px;
  font-size: 1.05rem;
}

.deck-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* CTA */

.cta {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(800px 480px at 50% 120%, rgba(220, 165, 31, 0.12), transparent 65%);
}

.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

.cta-mark { height: 64px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 6px 24px rgba(220, 165, 31, 0.2)); }

.cta-title {
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  margin-top: 22px;
  line-height: 1;
}

.cta-sub {
  color: var(--muted);
  max-width: 46ch;
  margin: 26px auto 40px;
  font-size: 1.08rem;
}

.cta-mail { margin-top: 30px; font-size: 14px; color: var(--muted); }

.cta-mail a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cta-mail a:hover { color: var(--gold-2); border-color: var(--gold); }

/* Footer */

.footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 80px) 0 36px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p { color: var(--muted); font-size: 14px; max-width: 34ch; margin-top: 20px; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  width: fit-content;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover { color: var(--gold-2); }

.footer-legal {
  margin-top: clamp(48px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 12.5px;
  color: rgba(163, 154, 133, 0.78);
}

.footer-legal a { transition: color 0.3s var(--ease); }
.footer-legal a:hover { color: var(--gold-2); }

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease) var(--d, 0s), transform 0.85s var(--ease) var(--d, 0s);
}

.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-crest,
  .hero-eyebrow,
  .hero-sub,
  .hero-cta,
  .hero-foot { opacity: 1; transform: none; transition: none; }
  .hero-title .word { transform: none; transition: none; }
  .btn-gold::after { display: none; }
  .hero-dust { display: none; }
  * { animation-duration: 0.001s !important; }
}

/* 404 */

.error-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.error-page .hero-glow { z-index: -1; }

.error-crest { height: 56px; width: auto; margin-bottom: 30px; }

.error-code {
  font-family: var(--serif);
  font-size: clamp(6rem, 22vw, 14rem);
  line-height: 1;
  font-weight: 380;
  background: linear-gradient(100deg, var(--gold-2) 10%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page p { color: var(--muted); margin: 18px 0 36px; font-size: 1.05rem; }

/* Responsive */

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-system { display: none; }
}

@media (max-width: 960px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-grid { grid-template-columns: repeat(2, 1fr); }
  .examples-panel { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .svc-head { grid-template-columns: 48px 1fr 40px; }
  .svc-panel p, .chips { margin-left: 64px; }
  .hero-foot span:first-child { display: none; }
  .hero-foot { justify-content: flex-end; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 40px); }
  .hero-crest { height: 48px; margin-bottom: 20px; }
  .hero-title { font-size: 2.58rem; max-width: 12ch; margin-top: 18px; line-height: 1.02; }
  .hero-sub { max-width: 30ch; font-size: 1rem; line-height: 1.5; margin-top: 24px; }
  .hero-cta { flex-direction: column; align-items: flex-start; margin-top: 28px; }
  .brand-logo { height: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-legal { flex-direction: column; }
  .svc-panel p, .chips { margin-left: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; gap: 28px; }
  .fit-grid { grid-template-columns: 1fr; }
  .filter-grid { grid-template-columns: 1fr; }
  .proof-card p { max-width: none; }
  .btn { padding: 14px 22px; }
}
