/* ==========================================================================
   Villar Enterprises — styles
   Palette: midnight ink + champagne gold + warm ivory
   Type: Instrument Serif (display) + Manrope (UI / body)
   ========================================================================== */

:root {
  --ink-950: #060e1a;
  --ink-900: #0a1628;
  --ink-850: #0e1d33;
  --ink-800: #13253f;
  --ink-700: #1c3355;
  --ink-600: #2b4670;

  --text: #0a1628;
  --slate: #56637a;
  --slate-2: #7a8699;

  --ivory: #f6f3ec;
  --ivory-2: #efeae0;
  --paper: #ffffff;
  --line: #e6e0d4;
  --line-2: #d6cebe;

  --gold-300: #ecd7a7;
  --gold-400: #dcbd7e;
  --gold-500: #c9a45c;
  --gold-600: #a88340;
  --gold-700: #876829;

  --on-dark: #eef2f8;
  --on-dark-2: #afbbcf;
  --on-dark-3: #7f8ca4;
  --line-dark: rgba(255, 255, 255, 0.09);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --radius-lg: 32px;
  --shadow-md: 0 14px 34px -14px rgba(10, 22, 40, 0.2), 0 4px 10px -4px rgba(10, 22, 40, 0.06);
  --shadow-lg: 0 34px 70px -28px rgba(10, 22, 40, 0.38);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 78px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main:focus { outline: none; }
::selection { background: var(--gold-400); color: var(--ink-950); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  background: var(--gold-500); color: var(--ink-950);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-size: clamp(48px, 6.6vw, 94px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.8vw, 80px);
  line-height: 1;
  letter-spacing: -0.012em;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.01em;
}
:is(.display, .h1, .h2) em { font-style: italic; color: var(--gold-600); }
.dark :is(.display, .h1, .h2) em {
  color: transparent;
  background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold-500) 55%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding-right: 0.08em;
}
.lead { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: var(--slate); }
.dark .lead { color: var(--on-dark-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.dark .eyebrow { color: var(--gold-400); }

.dark { background: var(--ink-950); color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.35s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { --pad-y: 11px; --pad-x: 18px; font-size: 14px; }
.btn-lg { --pad-y: 18px; --pad-x: 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  color: var(--ink-950);
  box-shadow: 0 10px 26px -12px rgba(201, 164, 92, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(201, 164, 92, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-ghost { border-color: rgba(255, 255, 255, 0.2); color: var(--on-dark); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); transform: translateY(-2px); }
.btn-outline { border-color: var(--line-2); color: var(--ink-900); }
.btn-outline:hover { border-color: var(--ink-900); background: var(--ink-900); color: #fff; }
.btn[disabled] { opacity: 0.75; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink-900); }
.link-arrow .icon { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.dark .link-arrow { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(6, 14, 26, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line-dark);
}
.site-header.menu-open { background: var(--ink-950); }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 27px; letter-spacing: 0.005em; }
.brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-400); margin-top: 4px; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 15px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s, background-color 0.2s;
}
.nav-link:hover, .has-mega.is-open > .nav-link { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-link[aria-current="page"], .nav-link.is-current { color: #fff; }
.nav-link[aria-current="page"]::after, .nav-link.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold-500); transform: translateX(-50%);
}
.nav-link .chev { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.has-mega.is-open .chev { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 12px; }

/* Mega menu */
.mega {
  position: absolute; top: 100%; left: 50%;
  width: min(860px, calc(100vw - 40px));
  padding-top: 10px;
  transform: translate(-50%, 10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-inner {
  display: grid; grid-template-columns: 1fr 250px; gap: 10px; padding: 10px;
  background: rgba(10, 22, 40, 0.98);
  border: 1px solid var(--line-dark); border-radius: 24px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.65);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 16px; transition: background-color 0.2s; }
.mega-item:hover { background: rgba(255, 255, 255, 0.05); }
.mega-item:hover .mega-icon { background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); color: var(--ink-950); border-color: transparent; }
.mega-icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(201, 164, 92, 0.12); color: var(--gold-400);
  border: 1px solid rgba(201, 164, 92, 0.2);
  transition: background-color 0.25s, color 0.25s;
}
.mega-icon .icon { width: 19px; height: 19px; }
.mega-title { display: block; font-weight: 700; font-size: 14.5px; color: #fff; line-height: 1.3; }
.mega-desc { display: block; font-size: 13px; color: var(--on-dark-3); margin-top: 3px; line-height: 1.45; }
.mega-aside {
  display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(201, 164, 92, 0.17), rgba(201, 164, 92, 0.03));
  border: 1px solid rgba(201, 164, 92, 0.18);
}
.mega-aside .eyebrow { font-size: 11px; }
.mega-aside .eyebrow::before { display: none; }
.mega-aside p { font-size: 14px; color: var(--on-dark-2); line-height: 1.55; }
.mega-aside .link-arrow { color: #fff; font-size: 14px; }
.mega-aside .link-arrow.muted { color: var(--on-dark-2); margin-top: auto; }

/* Burger + mobile menu */
.burger {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: #fff;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink-950); color: var(--on-dark);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 32px; min-height: 100%; padding-block: 16px 36px; }
.m-nav { display: flex; flex-direction: column; }
.m-link, .m-group > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif); font-size: 34px; line-height: 1.1; color: #fff;
  cursor: pointer; list-style: none;
}
.m-link[aria-current="page"] { color: var(--gold-400); }
.m-group > summary::-webkit-details-marker { display: none; }
.m-group > summary .icon { width: 22px; height: 22px; color: var(--gold-400); transition: transform 0.3s var(--ease); }
.m-group[open] > summary .icon { transform: rotate(45deg); }
.m-sub { display: grid; gap: 2px; padding: 10px 0 16px; border-bottom: 1px solid var(--line-dark); }
.m-sub a { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-weight: 600; font-size: 15.5px; color: var(--on-dark-2); }
.m-sub a:hover { color: #fff; }
.m-sub .mega-icon { width: 36px; height: 36px; border-radius: 11px; }
.m-foot { margin-top: auto; display: grid; gap: 16px; }
.m-email { text-align: center; font-weight: 600; color: var(--on-dark-2); }
body.menu-locked { overflow: hidden; }

/* ---------- Shared backgrounds ---------- */
.bg-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 55% 25%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 55% 25%, #000 15%, transparent 72%);
}
.glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.glow-gold { width: 760px; height: 760px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(201, 164, 92, 0.26), transparent 62%); }
.glow-blue { width: 860px; height: 860px; left: -320px; bottom: -420px; background: radial-gradient(circle, rgba(43, 84, 160, 0.42), transparent 62%); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(56px, 7vw, 96px)) 0 clamp(80px, 9vw, 120px);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; margin-bottom: 30px;
  border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04);
  font-size: 13px; font-weight: 600; color: var(--on-dark-2);
}
.hero-badge .dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(201, 164, 92, 0.16); }
.hero-badge .dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 189, 126, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(220, 189, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 189, 126, 0); }
}
.hero .lead { margin-top: 28px; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--on-dark-2); }
.hero-points .icon { width: 17px; height: 17px; color: var(--gold-400); }

[data-anim] { animation: fadeUp 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Orbit visual */
.hero-visual { position: relative; }
.orbit { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-inline: auto; }
.orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-ring.r-outer { width: 100%; height: 100%; border: 1px solid rgba(255, 255, 255, 0.05); }
.orbit-ring.r-main { width: 76%; height: 76%; border: 1px dashed rgba(220, 189, 126, 0.38); animation: spin 90s linear infinite; }
.orbit-ring.r-inner { width: 50%; height: 50%; border: 1px solid rgba(255, 255, 255, 0.08); background: radial-gradient(circle, rgba(255, 255, 255, 0.035), transparent 70%); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-lines line { stroke: rgba(220, 189, 126, 0.42); stroke-width: 0.25; stroke-dasharray: 0.8 1.6; animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.orbit-core {
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #1f3a62, #0a1628 70%);
  border: 1px solid rgba(220, 189, 126, 0.4);
  box-shadow:
    0 0 0 12px rgba(201, 164, 92, 0.05),
    0 0 0 26px rgba(201, 164, 92, 0.03),
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(201, 164, 92, 0.2);
}
.orbit-core svg { width: 46%; height: auto; }
.orbit-node {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(14, 29, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.11);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7);
  transition: border-color 0.3s, background-color 0.3s, transform 0.35s var(--ease);
}
.orbit-node:hover { border-color: rgba(220, 189, 126, 0.6); background: rgba(28, 51, 85, 0.96); transform: translate(-50%, -50%) scale(1.06); }
.orbit-node .ni { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); color: var(--ink-950); }
.orbit-node .ni .icon { width: 15px; height: 15px; }

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px;
  border-radius: 18px; background: rgba(14, 29, 51, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.75);
  animation: float 7s ease-in-out infinite;
}
.float-card.fc-1 { left: -9%; bottom: 1%; }
.float-card.fc-2 { right: -7%; top: 0; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fc-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(201, 164, 92, 0.15); color: var(--gold-400); flex: none; }
.fc-icon .icon { width: 18px; height: 18px; }
.fc-title { display: block; font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.25; }
.fc-sub { display: block; font-size: 12px; color: var(--on-dark-3); line-height: 1.35; }
.fc-steps { display: flex; gap: 4px; margin-top: 7px; }
.fc-steps span { width: 26px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.fc-steps span:nth-child(-n+3) { background: linear-gradient(90deg, var(--gold-300), var(--gold-500)); }

/* ---------- Marquee ---------- */
.marquee {
  display: flex; overflow: hidden; padding: 26px 0;
  background: var(--ink-900);
  border-block: 1px solid var(--line-dark);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; flex: none; align-items: center; gap: 44px; min-width: 100%; padding-right: 44px; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.2; color: rgba(238, 242, 248, 0.58); white-space: nowrap; }
.marquee-sep { width: 7px; height: 7px; flex: none; transform: rotate(45deg); background: var(--gold-500); opacity: 0.75; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 136px) 0; }
.section.white { background: var(--paper); }
.section.ivory { background: var(--ivory); }
.section.dark { overflow: hidden; isolation: isolate; }
.section-head {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px 64px; align-items: end;
  margin-bottom: clamp(44px, 5.5vw, 70px);
}
.section-head .h2 { margin-top: 18px; }
.section-head-side { display: grid; gap: 20px; justify-items: start; }
.section-head-side p { font-size: 17px; color: var(--slate); max-width: 480px; }
.dark .section-head-side p { color: var(--on-dark-2); }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .section-head-side { justify-items: center; }
.section-head.center .section-head-side p { max-width: 640px; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; min-height: 420px; padding: 32px;
  border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 164, 92, 0.14), transparent 45%);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201, 164, 92, 0.5); }
.service-card:hover::before { opacity: 1; }
.sc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 46px; }
.sc-icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px;
  background: var(--ivory); border: 1px solid var(--line); color: var(--gold-600);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.sc-icon .icon { width: 25px; height: 25px; }
.service-card:hover .sc-icon { background: var(--ink-900); border-color: var(--ink-900); color: var(--gold-400); }
.sc-num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--slate-2); }
.service-card h3 { font-family: var(--serif); font-size: 32px; line-height: 1.06; margin-bottom: 14px; }
.service-card p { font-size: 15.5px; color: var(--slate); }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tag { padding: 6px 11px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-700); }
.sc-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 30px; font-weight: 700; font-size: 14.5px; }
.sc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.sc-arrow {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2); transition: all 0.45s var(--ease);
}
.sc-arrow .icon { width: 18px; height: 18px; }
.service-card:hover .sc-arrow { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink-950); transform: rotate(45deg); }

/* ---------- Lifecycle ---------- */
.lifecycle { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.lifecycle::before {
  content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 1px;
  background: linear-gradient(90deg, rgba(220, 189, 126, 0.65), rgba(220, 189, 126, 0.12));
}
.stage { position: relative; }
.stage-marker {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink-900); border: 1px solid rgba(220, 189, 126, 0.5);
  font-family: var(--serif); font-size: 22px; color: var(--gold-400);
  box-shadow: 0 0 0 8px var(--ink-950);
}
.stage h3 { font-family: var(--serif); font-size: 40px; line-height: 1.05; color: #fff; margin: 30px 0 12px; }
.stage p { font-size: 15.5px; color: var(--on-dark-2); margin-bottom: 22px; max-width: 290px; }
.stage-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chip-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px; font-weight: 600; color: var(--on-dark);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.chip-link .icon { width: 15px; height: 15px; color: var(--gold-400); }
.chip-link:hover { border-color: rgba(220, 189, 126, 0.55); background: rgba(201, 164, 92, 0.1); color: var(--gold-300); }

/* ---------- Split / features ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.split-copy .h2 { margin: 18px 0 22px; }
.split-copy p { color: var(--slate); font-size: 17px; }
.split-copy .btn { margin-top: 34px; }
.feature { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature-icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px;
  background: var(--ivory); border: 1px solid var(--line); color: var(--gold-600);
}
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.feature p { font-size: 15.5px; color: var(--slate); }

.quote-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg);
  background: var(--ink-900); color: var(--on-dark);
}
.quote-card .glow-gold { width: 500px; height: 500px; right: -220px; top: -240px; }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; }
.quote-card blockquote em { color: var(--gold-400); }
.quote-mark { font-family: var(--serif); font-size: 90px; line-height: 0.5; color: var(--gold-500); display: block; height: 40px; }
.quote-card .quote-by { margin-top: 26px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative; padding: 36px 30px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: rgba(201, 164, 92, 0.5); box-shadow: var(--shadow-md); }
.step-num {
  display: block; margin-bottom: 30px;
  font-family: var(--serif); font-size: 68px; line-height: 0.9;
  color: transparent; -webkit-text-stroke: 1px var(--gold-500);
}
.step h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--slate); }
.dark .step { background: rgba(255, 255, 255, 0.03); border-color: var(--line-dark); }
.dark .step:hover { border-color: rgba(220, 189, 126, 0.45); box-shadow: none; background: rgba(255, 255, 255, 0.05); }
.dark .step h3 { color: #fff; }
.dark .step p { color: var(--on-dark-2); }

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.model { display: flex; flex-direction: column; padding: 40px 34px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.model.featured { position: relative; overflow: hidden; isolation: isolate; background: var(--ink-900); border-color: var(--ink-900); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.model.featured .glow-gold { width: 460px; height: 460px; right: -200px; top: -220px; }
.model-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); }
.model.featured .model-kicker { color: var(--gold-400); }
.model h3 { font-family: var(--serif); font-size: 40px; line-height: 1.05; margin: 14px 0 12px; }
.model p { color: var(--slate); }
.model.featured p { color: var(--on-dark-2); }
.model .btn { margin-top: auto; }

.check-list { display: grid; gap: 13px; margin: 26px 0 34px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 600; line-height: 1.45; }
.ck { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: -1px; border-radius: 50%; background: rgba(201, 164, 92, 0.16); color: var(--gold-600); }
.ck .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.dark .ck, .model.featured .ck { background: rgba(201, 164, 92, 0.18); color: var(--gold-400); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq-layout .split-copy p a { color: var(--ink-900); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-500); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-700); }
.faq-plus {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--ink-900);
  transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.faq-plus .icon { width: 17px; height: 17px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--ink-900); border-color: var(--ink-900); color: var(--gold-400); }
.faq-answer { padding: 0 64px 28px 0; font-size: 16px; color: var(--slate); }
.faq-item[open] .faq-answer { animation: fadeUp 0.5s var(--ease); }

/* ---------- CTA band ---------- */
.cta-section { padding: 0 0 clamp(84px, 10vw, 130px); }
.cta-section.white { background: var(--paper); }
.cta-section.ivory { background: var(--ivory); }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: end;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 84px);
  border-radius: var(--radius-lg);
}
.cta-band .bg-grid { -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, #000 10%, transparent 70%); }
.cta-band .glow-gold { right: -240px; top: -340px; }
.cta-band .h2 { margin-top: 18px; }
.cta-band .lead { margin-top: 20px; max-width: 560px; }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-mail { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--on-dark-2); transition: color 0.2s; }
.cta-mail:hover { color: #fff; }
.cta-mail .icon { width: 18px; height: 18px; color: var(--gold-400); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(56px, 7vw, 100px)) 0 clamp(70px, 8vw, 110px);
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; font-size: 13.5px; font-weight: 600; color: var(--on-dark-3); }
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.breadcrumb [aria-current] { color: var(--gold-400); }
.page-hero .h1 { margin-top: 20px; max-width: 920px; }
.page-hero .lead { margin-top: 26px; max-width: 640px; }
.page-hero .hero-actions { margin-top: 38px; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(40px, 6vw, 80px); align-items: end; }

.glance {
  padding: 30px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.glance-head { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.glance-icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); color: var(--ink-950); }
.glance-icon .icon { width: 24px; height: 24px; }
.glance-kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-3); }
.glance-title { display: block; font-weight: 700; font-size: 17px; color: #fff; line-height: 1.3; }
.glance .check-list { margin: 0 0 26px; }
.glance .check-list li { color: var(--on-dark); font-weight: 600; }

.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 90px); border-top: 1px solid var(--line-dark); }
.pillar { padding: 30px 30px 0 0; }
.pillar + .pillar { padding-left: 30px; border-left: 1px solid var(--line-dark); }
.pillar-num { display: block; font-family: var(--serif); font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--gold-400); }
.pillar-label { display: block; margin-top: 10px; font-weight: 600; color: var(--on-dark-2); }

/* ---------- Service detail ---------- */
.overview { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.overview .h2 { margin: 18px 0 8px; }
.prose-lg p { margin-top: 20px; font-size: 17.5px; color: var(--slate); }
.ideal { padding: 36px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); }
.ideal h3 { margin-bottom: 4px; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); }
.ideal .check-list { margin: 20px 0 0; }
.note { margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: var(--paper); border: 1px dashed var(--line-2); font-size: 14px; color: var(--slate); }

.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.cap { padding: 38px 34px; background: var(--paper); transition: background-color 0.3s; }
.cap:hover { background: #fffdf7; }
.cap-num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold-600); }
.cap h3 { margin: 18px 0 10px; font-family: var(--serif); font-size: 29px; line-height: 1.08; }
.cap p { font-size: 15.5px; color: var(--slate); }

.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deliverable {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px;
  border-radius: 18px; background: var(--ivory); border: 1px solid var(--line);
  font-weight: 700; font-size: 15.5px; line-height: 1.35;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.deliverable:hover { border-color: rgba(201, 164, 92, 0.55); transform: translateX(4px); }
.deliverable .ck { width: 30px; height: 30px; background: var(--ink-900); color: var(--gold-400); }
.deliverable .ck .icon { width: 15px; height: 15px; }

/* Services overview rows */
.svc-row {
  display: grid; grid-template-columns: 110px 1.05fr 1fr; gap: 24px 48px; align-items: start;
  padding: 52px 0; border-top: 1px solid var(--line);
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row-num { font-family: var(--serif); font-size: 60px; line-height: 0.9; color: var(--gold-500); }
.svc-row-title { display: flex; align-items: center; gap: 16px; }
.svc-row-title .sc-icon { width: 52px; height: 52px; border-radius: 15px; }
.svc-row h3 { font-family: var(--serif); font-size: clamp(32px, 3vw, 42px); line-height: 1.05; }
.svc-row h3 a { transition: color 0.2s; }
.svc-row h3 a:hover { color: var(--gold-700); }
.svc-row-body p { margin: 16px 0 26px; color: var(--slate); font-size: 16.5px; }
.svc-row .check-list { grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 4px 0 0; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 34px 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.value .feature-icon { margin-bottom: 28px; }
.value h3 { font-family: var(--serif); font-size: 32px; line-height: 1.05; margin-bottom: 10px; }
.value p { font-size: 15.5px; color: var(--slate); }

.story-copy p { font-size: 17.5px; color: var(--slate); }
.story-copy p + p { margin-top: 20px; }
.story-copy .quote-card { margin-top: 40px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 28px; align-items: start; }
.form-card {
  position: relative; padding: clamp(28px, 4.5vw, 52px);
  border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.form-card-head { margin-bottom: 32px; }
.form-card-head h2 { font-family: var(--serif); font-size: clamp(32px, 3vw, 42px); line-height: 1.05; }
.form-card-head p { margin-top: 10px; color: var(--slate); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label { font-size: 13.5px; font-weight: 700; color: var(--ink-800); }
.field .opt { font-weight: 500; color: var(--slate-2); }
.input {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 15.5px; color: var(--text);
  background: var(--ivory); border: 1px solid var(--line); border-radius: 14px;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.input::placeholder { color: #9aa3b2; }
.input:hover { border-color: var(--line-2); }
.input:focus { background: #fff; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.16); }
textarea.input { min-height: 156px; resize: vertical; line-height: 1.55; }
select.input {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1628' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.field.invalid .input { border-color: #c2410c; box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.1); }
.field-error { display: none; font-size: 13px; font-weight: 600; color: #c2410c; }
.field.invalid .field-error { display: block; }

.checkbox, .field > .checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; font-weight: 500; color: var(--slate); cursor: pointer; line-height: 1.5; }
.checkbox input {
  -webkit-appearance: none; appearance: none; flex: none;
  display: grid; place-items: center; width: 21px; height: 21px; margin: 0; margin-top: 1px;
  border-radius: 6px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.checkbox input:checked { background: var(--ink-900); border-color: var(--ink-900); }
.checkbox input:checked::after {
  content: ""; width: 10px; height: 5px; margin-top: -2px;
  border-left: 2px solid var(--gold-400); border-bottom: 2px solid var(--gold-400); transform: rotate(-45deg);
}
.field.invalid .checkbox input { border-color: #c2410c; }
.checkbox a { color: var(--ink-900); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; margin-top: 4px; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate-2); }
.form-note .icon { width: 16px; height: 16px; color: var(--gold-600); }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(6, 14, 26, 0.25); border-top-color: var(--ink-950); animation: spinner 0.8s linear infinite; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .icon { display: none; }
@keyframes spinner { to { transform: rotate(360deg); } }
.form-alert { display: none; padding: 14px 16px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 14px; font-weight: 600; }
.form-alert.show { display: block; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-card.is-sent form, .form-card.is-sent .form-card-head { display: none; }
.form-card.is-sent .form-success { display: block; animation: fadeUp 0.6s var(--ease); }
.success-icon {
  display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600)); color: var(--ink-950);
  box-shadow: 0 0 0 12px rgba(201, 164, 92, 0.12);
}
.success-icon .icon { width: 34px; height: 34px; stroke-width: 2.2; }
.form-success h3 { font-family: var(--serif); font-size: 42px; line-height: 1.05; outline: none; }
.form-success p { max-width: 440px; margin: 14px auto 28px; color: var(--slate); }
.demo-note { display: none; max-width: 460px; margin: -8px auto 24px !important; padding: 12px 14px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e !important; font-size: 13.5px; font-weight: 600; }
.form-card.is-demo .demo-note { display: block; }

.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.info-card { position: relative; overflow: hidden; isolation: isolate; padding: 36px 32px; border-radius: var(--radius-lg); }
.info-card .glow-gold { width: 420px; height: 420px; right: -200px; top: -220px; }
.info-card h3 { font-family: var(--serif); font-size: 34px; line-height: 1.05; }
.next-steps { display: grid; gap: 22px; margin-top: 26px; }
.next-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; }
.ns-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(220, 189, 126, 0.45); color: var(--gold-400); font-family: var(--serif); font-size: 19px; }
.next-steps h4 { font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.3; padding-top: 2px; }
.next-steps p { margin-top: 4px; font-size: 14px; color: var(--on-dark-2); line-height: 1.55; }
.contact-line {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  border-radius: 22px; background: var(--paper); border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
a.contact-line:hover { border-color: rgba(201, 164, 92, 0.55); transform: translateY(-2px); }
.contact-line .feature-icon { width: 48px; height: 48px; border-radius: 14px; }
.contact-line .feature-icon .icon { width: 21px; height: 21px; }
.cl-label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); }
.cl-value { display: block; font-weight: 700; color: var(--ink-900); word-break: break-word; }

/* ---------- Legal prose ---------- */
.prose { max-width: 780px; }
.prose .updated { font-size: 14px; font-weight: 600; color: var(--slate-2); }
.prose h2 { margin: 48px 0 14px; font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.prose p, .prose li { font-size: 16.5px; color: var(--slate); }
.prose p + p { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; margin: 14px 0; padding-left: 22px; list-style: disc; }
.prose li::marker { color: var(--gold-500); }
.prose a { color: var(--ink-900); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-500); }

/* ---------- 404 ---------- */
.nf { position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.nf-code {
  display: block; font-family: var(--serif); font-size: clamp(130px, 22vw, 270px); line-height: 0.85;
  background: linear-gradient(180deg, var(--gold-300), rgba(201, 164, 92, 0.08));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nf .h1 { margin: 18px auto 0; }
.nf .lead { margin: 22px auto 0; max-width: 520px; }
.nf .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 9vw, 110px) 0 32px; color: var(--on-dark-2); }
.footer-top { display: grid; grid-template-columns: 1.7fr 1.1fr 0.8fr 0.8fr; gap: 40px; }
.footer-brand p { max-width: 340px; margin: 22px 0 26px; font-size: 15px; }
.footer-email { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid rgba(220, 189, 126, 0.4); font-weight: 600; color: #fff; transition: border-color 0.2s; }
.footer-email:hover { border-color: var(--gold-400); }
.footer-email .icon { width: 18px; height: 18px; color: var(--gold-400); }
.footer-col h2 { margin-bottom: 20px; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 15px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-300); }
.footer-mark {
  margin: clamp(56px, 7vw, 90px) 0 18px;
  font-family: var(--serif); font-size: clamp(64px, 13.2vw, 178px); line-height: 0.9; letter-spacing: -0.02em; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-user-select: none; user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .values { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .burger { display: inline-block; }
}

@media (max-width: 960px) {
  .hero-grid, .page-hero-grid, .split, .overview, .contact-grid, .cta-band, .section-head, .faq-layout { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
  .sticky, .contact-aside { position: static; }
  .orbit { max-width: 500px; }
  .lifecycle { grid-template-columns: 1fr; gap: 40px; }
  .lifecycle::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(220, 189, 126, 0.65), rgba(220, 189, 126, 0.12)); }
  .stage { padding-left: 88px; min-height: 56px; }
  .stage-marker { position: absolute; left: 0; top: 0; box-shadow: none; }
  .stage h3 { margin-top: 4px; }
  .stage p { max-width: 520px; }
  .models { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 18px; padding: 44px 0; }
  .svc-row-num { font-size: 48px; }
  .cta-band { align-items: start; }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 24px; }
  .header-cta .btn { display: none; }
  .service-grid, .steps, .values, .cap-grid, .deliverables, .form-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 28px; }
  .sc-top { margin-bottom: 34px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { display: none; }
  .orbit-node { gap: 7px; padding: 6px 12px 6px 6px; font-size: 12px; }
  .orbit-node .ni { width: 24px; height: 24px; }
  .orbit-node .ni .icon { width: 13px; height: 13px; }
  .marquee-item { font-size: 23px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .svc-row .check-list { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 17px; padding: 22px 0; }
  .faq-answer { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col:nth-child(2) { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-foot .btn { width: 100%; }
}

@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; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
