/* ==========================================================================
   EliteArk Digitals — site styles
   ========================================================================== */

:root {
  --ink: #0a1411;
  --pine: #0f241d;
  --pine-2: #143027;
  --moss: #1c4033;
  --cream: #f5efe3;
  --paper: #fbf8f1;
  --sand: #efe6d4;
  --gold: #d8b45f;
  --gold-2: #e9cd8a;
  --gold-ink: #8a6a1f;
  --mint: #8fd3a7;
  --coral: #d96f54;
  --text: #16211d;
  --muted: #5d6b64;
  --line: rgba(22, 33, 29, 0.12);
  --line-dark: rgba(245, 239, 227, 0.14);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1200px;
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 24px 70px rgba(8, 20, 16, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
blockquote,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  padding: 14px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(8, 18, 15, 0.88);
  border-bottom-color: rgba(245, 239, 227, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.brand-sub {
  color: var(--gold);
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.35em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > a:not(.btn) {
  position: relative;
  color: rgba(245, 239, 227, 0.72);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  transition: color 0.2s ease;
}

.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}

.main-nav > a:not(.btn):hover {
  color: var(--cream);
}

.main-nav > a:not(.btn):hover::after,
.main-nav > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav > a.is-active {
  color: var(--cream);
}

.nav-cta {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(245, 239, 227, 0.22);
  border-radius: 50%;
  background: transparent;
  position: relative;
  flex: 0 0 auto;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span:first-child {
  top: 18px;
}

.nav-toggle span:last-child {
  top: 24px;
}

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

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

.mobile-menu {
  position: fixed;
  top: 84px;
  right: 16px;
  left: 16px;
  z-index: 45;
  padding: 24px;
  border: 1px solid rgba(245, 239, 227, 0.12);
  border-radius: 20px;
  background: var(--pine);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
}

.mobile-menu nav > a:not(.btn) {
  padding: 12px 4px;
  border-bottom: 1px solid rgba(245, 239, 227, 0.09);
  color: rgba(245, 239, 227, 0.8);
  font-size: 1rem;
}

.mobile-menu nav .btn {
  margin-top: 18px;
  justify-content: center;
}

.mobile-menu-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 239, 227, 0.09);
  color: rgba(245, 239, 227, 0.45);
  font-size: 0.72rem;
}

.mobile-menu-foot a {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Buttons, links, type helpers
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #13201b;
  box-shadow: 0 12px 30px rgba(216, 180, 95, 0.16);
}

.btn-gold:hover {
  background: var(--gold-2);
  box-shadow: 0 16px 38px rgba(216, 180, 95, 0.24);
}

.btn-ghost {
  border-color: rgba(245, 239, 227, 0.26);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: rgba(245, 239, 227, 0.55);
  background: rgba(245, 239, 227, 0.06);
}

.btn-outline {
  border-color: rgba(22, 33, 29, 0.22);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.78rem;
}

.icon-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link-dark {
  color: var(--gold-ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.eyebrow-dark {
  color: var(--gold);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(143, 211, 167, 0.5);
  animation: pulse 2.2s infinite;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2.45rem, 4.4vw, 4.15rem);
  line-height: 1.02;
}

h2 em {
  color: var(--gold-ink);
  font-style: italic;
  font-weight: 400;
}

.section-dark h2 em {
  color: var(--gold);
}

.section-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.section-dark .section-lede {
  color: rgba(245, 239, 227, 0.66);
}

.section {
  position: relative;
  padding: clamp(80px, 10vw, 132px) 0;
}

.section-light {
  background: var(--cream);
  color: var(--text);
}

.section-paper {
  background: var(--paper);
  color: var(--text);
}

.section-sand {
  background: var(--sand);
  color: var(--text);
}

.section-dark {
  background: var(--pine);
  color: var(--cream);
}

.section-head {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: end;
  gap: clamp(32px, 6vw, 80px);
}

.split-head .section-lede {
  padding-bottom: 6px;
}

.section-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.section-foot a {
  color: var(--gold-ink);
  font-weight: 700;
  white-space: nowrap;
}

.section-foot a span {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.section-foot a:hover span {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(148px, 17vh, 190px) 0 44px;
  background:
    radial-gradient(900px 620px at 78% 18%, rgba(28, 64, 51, 0.85), transparent 65%),
    radial-gradient(700px 500px at 10% 80%, rgba(216, 180, 95, 0.08), transparent 70%),
    var(--ink);
  color: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 239, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 227, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 10%, transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 180, 95, 0.16), transparent 66%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(40px, 6vw, 78px);
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.15rem, 6.5vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.048em;
}

.hero-copy h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.hero-lede {
  max-width: 590px;
  margin-top: 28px;
  color: rgba(245, 239, 227, 0.7);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  list-style: none;
  color: rgba(245, 239, 227, 0.5);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 570px;
  justify-self: end;
}

.dashboard {
  position: relative;
  z-index: 1;
  padding: 26px;
  border: 1px solid rgba(245, 239, 227, 0.13);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(28, 64, 51, 0.96), rgba(10, 24, 19, 0.98));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(245, 239, 227, 0.06);
  animation: dashIn 0.9s 0.15s var(--ease) both;
}

.dashboard::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 22%;
  left: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 95, 0.7), transparent);
}

.dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dash-head > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dash-kicker {
  color: rgba(245, 239, 227, 0.4);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dash-head strong {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(143, 211, 167, 0.24);
  border-radius: 999px;
  background: rgba(143, 211, 167, 0.08);
  color: var(--mint);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.live-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

.dash-revenue {
  margin-top: 24px;
}

.dash-label {
  display: block;
  color: rgba(245, 239, 227, 0.42);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.dash-revenue > strong {
  display: block;
  margin-top: 2px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.delta {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 700;
}

.delta small {
  color: rgba(245, 239, 227, 0.4);
  font-size: 0.66rem;
  font-weight: 500;
}

.chart-wrap {
  margin-top: 20px;
}

.chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 1.8s 0.55s var(--ease) forwards;
}

.chart-area {
  opacity: 0;
  animation: fadeIn 1s 1.3s ease forwards;
}

.chart-dot {
  opacity: 0;
  animation: fadeIn 0.4s 2.1s ease forwards;
}

.chart-tags {
  display: flex;
  justify-content: space-between;
  padding: 2px 8px 0;
  color: rgba(245, 239, 227, 0.3);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(245, 239, 227, 0.09);
  border-bottom: 1px solid rgba(245, 239, 227, 0.09);
}

.dash-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dash-metrics span {
  color: rgba(245, 239, 227, 0.42);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.dash-metrics strong {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.dash-metrics small {
  color: rgba(245, 239, 227, 0.34);
  font-size: 0.58rem;
}

.dash-bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bar-row > span {
  width: 132px;
  flex: 0 0 auto;
  color: rgba(245, 239, 227, 0.55);
  font-size: 0.66rem;
}

.bar-row .bar {
  flex: 1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 239, 227, 0.08);
}

.bar-row .bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(216, 180, 95, 0.55), var(--gold));
  transform-origin: left;
  animation: growBar 1.1s 1.1s var(--ease) both;
}

.bar-row b {
  width: 34px;
  color: rgba(245, 239, 227, 0.5);
  font-size: 0.62rem;
  font-weight: 600;
  text-align: right;
}

.float-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(245, 239, 227, 0.16);
  border-radius: 16px;
  background: rgba(16, 38, 30, 0.92);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.action-card {
  bottom: 86px;
  left: -42px;
  display: flex;
  gap: 12px;
  width: 302px;
  padding: 15px;
  animation: floatIn 0.9s 0.9s var(--ease) both;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(216, 180, 95, 0.14);
  color: var(--gold);
  font-size: 0.9rem;
}

.action-card > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.action-card span:not(.float-icon) {
  color: rgba(245, 239, 227, 0.4);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.action-card strong {
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
}

.action-card small {
  color: var(--mint);
  font-size: 0.63rem;
}

.buybox-card {
  top: 128px;
  right: -30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  animation: floatIn 0.9s 1.1s var(--ease) both;
}

.buybox-ring {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0 98.4%, rgba(245, 239, 227, 0.1) 98.4% 100%);
  position: relative;
}

.buybox-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #10261e;
}

.buybox-ring > span {
  position: relative;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.buybox-ring small {
  font-size: 0.5rem;
}

.buybox-card > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.buybox-card span:not(.buybox-ring) {
  color: rgba(245, 239, 227, 0.4);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.buybox-card strong {
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 600;
}

.sample-note {
  margin-top: 14px;
  color: rgba(245, 239, 227, 0.3);
  font-size: 0.62rem;
  text-align: right;
}

.cap-rail {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: clamp(46px, 6vw, 68px);
  padding-top: 22px;
  border-top: 1px solid rgba(245, 239, 227, 0.11);
}

.rail-label {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.marquee {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  color: rgba(245, 239, 227, 0.55);
  font-size: 0.76rem;
  white-space: nowrap;
}

.marquee-track i {
  width: 3px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Problem
   -------------------------------------------------------------------------- */

.leak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 46px);
}

.leak-card {
  display: flex;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s ease;
}

.leak-card:hover {
  border-top-color: var(--gold-ink);
}

.leak-index {
  flex: 0 0 auto;
  color: #bda97f;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1;
  transition: color 0.3s ease;
}

.leak-card:hover .leak-index {
  color: var(--gold-ink);
}

.leak-body h3 {
  font-size: 1.32rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.leak-body p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.chip {
  display: inline-flex;
  margin-top: 18px;
  padding: 6px 11px;
  border: 1px solid rgba(138, 106, 31, 0.24);
  border-radius: 999px;
  color: var(--gold-ink);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

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

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(22, 33, 29, 0.1);
  border-radius: 20px;
  background: #fffdf8;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 106, 31, 0.4);
  box-shadow: 0 22px 50px rgba(22, 33, 29, 0.08);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid rgba(28, 64, 51, 0.14);
  border-radius: 14px;
  background: #edf2ec;
  color: var(--moss);
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service-card h3 {
  font-size: 1.34rem;
  line-height: 1.2;
}

.service-card > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  color: #526059;
  font-size: 0.79rem;
  line-height: 1.45;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-ink);
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Approach
   -------------------------------------------------------------------------- */

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(44px, 7vw, 94px);
}

.approach-intro {
  position: sticky;
  top: 118px;
}

.approach-intro h2 {
  max-width: 430px;
}

.approach-intro .section-lede {
  margin-top: 24px;
}

.approach-aside {
  margin-top: 38px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background: rgba(245, 239, 227, 0.035);
}

.aside-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.check-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  color: rgba(245, 239, 227, 0.7);
  font-size: 0.86rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.22em;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(216, 180, 95, 0.45);
  border-radius: 50%;
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 0.44em;
  left: 4.5px;
  width: 4.5px;
  height: 7.5px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

.approach-aside .text-link {
  margin-top: 22px;
}

.step-list {
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.step {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
}

.step-num {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.4;
}

.step h3 {
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.step p {
  max-width: 570px;
  margin-top: 10px;
  color: rgba(245, 239, 227, 0.62);
  font-size: 0.91rem;
  line-height: 1.7;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.step-tags span {
  padding: 5px 10px;
  border: 1px solid rgba(245, 239, 227, 0.13);
  border-radius: 999px;
  color: rgba(245, 239, 227, 0.5);
  font-size: 0.63rem;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Results
   -------------------------------------------------------------------------- */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.metric-card {
  min-height: 190px;
  padding: 28px 24px;
  background: var(--cream);
  transition: background 0.3s ease;
}

.metric-card:hover {
  background: #faf5ea;
}

.metric-label {
  display: block;
  color: var(--gold-ink);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4.8vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.metric-card strong span {
  margin-left: 1px;
  color: var(--gold-ink);
  font-size: 0.48em;
}

.metric-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.metric-note {
  margin-top: 14px;
  color: #7c877f;
  font-size: 0.7rem;
}

.scenario-wrap {
  margin-top: clamp(64px, 8vw, 96px);
}

.scenario-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.scenario-head .eyebrow {
  margin-bottom: 12px;
}

.scenario-head h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

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

.scenario-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.55);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.scenario-card:hover {
  border-color: rgba(138, 106, 31, 0.4);
  background: #fffdf8;
}

.scenario-tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(138, 106, 31, 0.08);
  color: var(--gold-ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scenario-card h4 {
  margin-top: 22px;
  color: #8d7a55;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scenario-card h4:not(:first-of-type) {
  margin-top: 16px;
}

.scenario-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
}

.about-copy > p {
  max-width: 570px;
  margin-top: 22px;
  color: #4b574f;
  font-size: 0.97rem;
  line-height: 1.8;
}

.about-copy > p + p {
  margin-top: 14px;
}

.value-list {
  margin-top: 34px;
  list-style: none;
}

.value-list li {
  display: flex;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid rgba(22, 33, 29, 0.14);
}

.value-list li:last-child {
  border-bottom: 1px solid rgba(22, 33, 29, 0.14);
}

.value-num {
  flex: 0 0 auto;
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.6;
}

.value-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.value-list p {
  margin-top: 2px;
  color: #68746d;
  font-size: 0.82rem;
  line-height: 1.5;
}

.about-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(245, 239, 227, 0.1);
  border-radius: 28px;
  background: var(--pine);
  color: var(--cream);
  box-shadow: 0 30px 80px rgba(8, 20, 16, 0.18);
}

.about-panel::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 180, 95, 0.16), transparent 68%);
}

.ark-art {
  width: 200px;
  margin: -8px auto 8px;
  opacity: 0.9;
}

.ark-art svg {
  width: 100%;
  height: auto;
}

.about-panel blockquote {
  position: relative;
  padding: 12px 4px 0;
}

.quote-mark {
  position: absolute;
  top: -34px;
  left: -8px;
  color: rgba(216, 180, 95, 0.22);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
}

.about-panel blockquote p {
  position: relative;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.about-panel blockquote footer {
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.about-facts div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about-facts span {
  color: rgba(245, 239, 227, 0.38);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-facts strong {
  color: rgba(245, 239, 227, 0.82);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Engagements
   -------------------------------------------------------------------------- */

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 16px;
}

.engagement-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(22, 33, 29, 0.11);
  border-radius: 22px;
  background: #fffdf8;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.engagement-card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 106, 31, 0.35);
  box-shadow: 0 24px 60px rgba(22, 33, 29, 0.08);
}

.engagement-card.is-featured {
  border-color: rgba(216, 180, 95, 0.5);
  background: var(--pine);
  color: var(--cream);
  box-shadow: 0 30px 70px rgba(8, 20, 16, 0.22);
}

.engagement-card.is-featured:hover {
  transform: translateY(-6px);
}

.engagement-type {
  color: var(--gold-ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.is-featured .engagement-type {
  color: var(--gold);
}

.engagement-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.engagement-card h3 {
  margin-top: 12px;
  font-size: 1.8rem;
  line-height: 1.1;
}

.engagement-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.is-featured .engagement-desc {
  color: rgba(245, 239, 227, 0.64);
}

.engagement-card .check-list {
  margin: 22px 0 26px;
}

.check-list-dark li {
  color: var(--muted);
}

.check-list-dark li::before {
  border-color: rgba(138, 106, 31, 0.4);
}

.check-list-dark li::after {
  border-color: var(--gold-ink);
}

.is-featured .check-list li {
  color: rgba(245, 239, 227, 0.7);
}

.is-featured .check-list li::before {
  border-color: rgba(216, 180, 95, 0.45);
}

.is-featured .check-list li::after {
  border-color: var(--gold);
}

.engagement-card .btn {
  width: 100%;
  margin-top: auto;
}

.engagement-note {
  max-width: 800px;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(44px, 7vw, 90px);
}

.faq-intro {
  position: sticky;
  top: 118px;
}

.faq-intro .section-lede {
  margin-top: 22px;
}

.faq-intro .text-link {
  margin-top: 26px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--gold-ink);
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--gold-ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.35s var(--ease), visibility 0.35s;
}

.faq-panel > div {
  overflow: hidden;
}

.faq-panel p {
  max-width: 660px;
  padding: 0 34px 24px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-section {
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: -25%;
  left: -10%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 180, 95, 0.12), transparent 66%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(44px, 6vw, 76px);
}

.contact-copy {
  position: sticky;
  top: 118px;
}

.contact-copy h2 {
  max-width: 520px;
}

.contact-copy .section-lede {
  margin-top: 24px;
}

.contact-list {
  margin-top: 30px;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.contact-direct span {
  color: rgba(245, 239, 227, 0.4);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-direct a {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.form-wrap {
  padding: 34px;
  border-radius: 26px;
  background: var(--cream);
  color: var(--text);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.form-head {
  margin-bottom: 24px;
}

.form-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-head h3 {
  font-size: 1.85rem;
  line-height: 1.1;
}

.form-head p {
  margin-top: 6px;
  color: #7b867f;
  font-size: 0.72rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #4f5b54;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field label span {
  color: #939c96;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d9cfbb;
  border-radius: 10px;
  background-color: #fffdf8;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235d6b64' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8b0aa;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 180, 95, 0.2);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #b65b46;
}

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

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: #5e6a63;
  font-size: 0.73rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--gold-ink);
}

.consent a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-submit {
  width: 100%;
  margin-top: 16px;
}

.btn-submit[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-status {
  min-height: 18px;
  margin-top: 10px;
  color: #a33b2b;
  font-size: 0.78rem;
  line-height: 1.4;
}

.form-status.is-success {
  color: #2c6b4a;
}

.form-privacy {
  margin-top: 8px;
  color: #8b958e;
  font-size: 0.68rem;
  text-align: center;
}

.form-success {
  padding: 44px 24px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--gold);
}

.success-icon svg {
  width: 28px;
  height: 28px;
}

.form-success h3 {
  font-size: 2rem;
}

.form-success p {
  max-width: 380px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.form-success a {
  color: var(--gold-ink);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 70px 0 28px;
  background: #08120f;
  color: rgba(245, 239, 227, 0.58);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr;
  gap: 44px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand > p {
  max-width: 300px;
  color: rgba(245, 239, 227, 0.5);
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-email {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
}

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

.footer-title {
  display: block;
  margin-bottom: 16px;
  color: var(--cream);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 9px;
  color: rgba(245, 239, 227, 0.5);
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 239, 227, 0.08);
  color: rgba(245, 239, 227, 0.34);
  font-size: 0.68rem;
}

.footer-disclaimer {
  max-width: 580px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Legal and utility pages
   -------------------------------------------------------------------------- */

.legal-page {
  min-height: 100vh;
  background: var(--cream);
}

.legal-nav {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.legal-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-nav .brand-name {
  color: var(--ink);
}

.legal-nav .brand-sub {
  color: var(--gold-ink);
}

.legal-back {
  color: var(--gold-ink);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.legal-back:hover {
  color: var(--ink);
}

.legal-main {
  padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 9vw, 104px);
}

.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.legal-kicker {
  color: var(--gold-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-wrap h1 {
  margin-top: 14px;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.02;
}

.legal-updated {
  margin-top: 14px;
  color: #7c877f;
  font-size: 0.78rem;
}

.legal-body {
  margin-top: 38px;
}

.legal-body h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: #4f5b54;
  font-size: 0.91rem;
  line-height: 1.78;
}

.legal-body p + p {
  margin-top: 12px;
}

.legal-body ul {
  margin: 10px 0 0 20px;
}

.legal-body li {
  margin-bottom: 7px;
}

.legal-body a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-note {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.legal-note p {
  font-size: 0.84rem;
}

.status-main {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 120px 0 70px;
  background:
    radial-gradient(700px 500px at 75% 20%, rgba(28, 64, 51, 0.85), transparent 65%),
    radial-gradient(500px 400px at 15% 80%, rgba(216, 180, 95, 0.1), transparent 70%),
    var(--ink);
  color: var(--cream);
  text-align: center;
}

.status-card {
  width: min(640px, calc(100% - 40px));
  margin: 0 auto;
}

.status-code {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.status-card h1 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
}

.status-card p {
  margin: 16px auto 0;
  max-width: 480px;
  color: rgba(245, 239, 227, 0.64);
  font-size: 0.98rem;
  line-height: 1.7;
}

.status-card .btn {
  margin-top: 28px;
}

.status-card .status-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.status-card .status-brand img {
  width: 36px;
  height: 36px;
}

.status-card .status-brand span {
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(143, 211, 167, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(143, 211, 167, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(143, 211, 167, 0);
  }
}

@keyframes dashIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes growBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .float-card {
    display: none;
  }

  .hero-visual {
    max-width: 540px;
  }
}

@media (max-width: 1060px) {
  .main-nav {
    gap: 20px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 6vw, 4.9rem);
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy h1 {
    max-width: 720px;
    font-size: clamp(3.1rem, 8vw, 5.2rem);
  }

  .hero-visual {
    max-width: 640px;
    justify-self: start;
  }

  .split-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .split-head .section-lede {
    max-width: 680px;
    padding-bottom: 0;
  }

  .approach-grid,
  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .approach-intro,
  .faq-intro,
  .contact-copy {
    position: static;
  }

  .approach-intro h2 {
    max-width: 620px;
  }

  .approach-aside {
    max-width: 520px;
  }

  .about-panel {
    max-width: 620px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .engagement-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .engagement-card.is-featured {
    order: -1;
  }

  .engagement-card {
    max-width: 620px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
  }

  .footer-col:last-child {
    grid-column: 2 / 3;
  }

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

  .footer-disclaimer {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }

  .site-header {
    padding: 10px 0;
  }

  .header-inner {
    min-height: 52px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .brand-sub {
    font-size: 0.48rem;
  }

  .mobile-menu {
    top: 74px;
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 11vw, 4.1rem);
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
    margin-top: 26px;
  }

  .dashboard {
    padding: 18px;
    border-radius: 22px;
  }

  .dash-revenue > strong {
    font-size: 2.5rem;
  }

  .dash-metrics {
    gap: 8px;
  }

  .dash-metrics strong {
    font-size: 1.2rem;
  }

  .bar-row > span {
    width: 116px;
    font-size: 0.6rem;
  }

  .sample-note {
    text-align: left;
  }

  .cap-rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .marquee {
    width: 100%;
  }

  .leak-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 26px 0;
  }

  .step h3 {
    font-size: 1.6rem;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-card {
    min-height: 168px;
    padding: 22px 18px;
  }

  .metric-card strong {
    font-size: 2.65rem;
  }

  .scenario-card {
    display: block;
  }

  .scenario-card h4:nth-of-type(2) {
    margin-top: 16px;
  }

  .about-panel {
    padding: 24px;
  }

  .ark-art {
    width: 170px;
  }

  .about-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-facts div {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(245, 239, 227, 0.08);
  }

  .form-wrap {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .form-head h3 {
    font-size: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .section-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: 2.62rem;
  }

  .hero-meta {
    font-size: 0.7rem;
  }

  .dash-metrics strong {
    font-size: 1.05rem;
  }

  .dash-metrics small {
    font-size: 0.52rem;
  }

  .bar-row > span {
    width: 104px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .form-wrap {
    padding: 18px;
  }

  .contact-copy h2 {
    font-size: 2.5rem;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .chart-line {
    stroke-dashoffset: 0;
  }

  .chart-area,
  .chart-dot {
    opacity: 1;
  }
}
