/* ==========================================================================
   Zala IP Law LLC — site system
   Dark-to-light gradient architecture, isometric line art, mono eyebrows.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* dark stack */
  --void: #0B0718;
  --navy-deep: #170F31;
  --navy: #241748;
  --navy-lift: #3A2A66;

  /* brand gold */
  --gold: #F0A80E;
  --gold-hot: #FFBE3F;
  --gold-soft: #F6CE83;
  --gold-mist: #FFF1D6;
  --bronze: #8C5F04;

  /* light stack */
  --paper: #F7F5F1;
  --paper-2: #EFEAE1;
  --white: #ffffff;
  --ink: #170F31;
  --slate: #55506B;
  --slate-soft: #6E687F;

  /* lines */
  --line-dark: rgba(255, 255, 255, 0.11);
  --line-dark-2: rgba(255, 255, 255, 0.06);
  --line-light: rgba(23, 15, 49, 0.14);
  --line-light-2: rgba(23, 15, 49, 0.08);

  /* type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* metrics */
  --gutter: 24px;
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.038em; line-height: 0.98; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--white); color: var(--ink);
  padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--dark { background: var(--void); color: var(--white); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }

/* ---------- type scale ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--slate-soft);
}
.section--dark .eyebrow { color: var(--gold-soft); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-hot);
  box-shadow: 0 0 0 3px rgba(240, 168, 14, 0.26);
}

.h1 { font-size: clamp(42px, 7.4vw, 82px); }
.h2 { font-size: clamp(32px, 5.1vw, 56px); }
.h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.03em; }
.h4 { font-size: 17px; letter-spacing: -0.02em; font-weight: 600; font-family: var(--body); line-height: 1.35; }

/* the template's signature: second headline line in the accent */
.accent { color: var(--bronze); display: block; }
.section--dark .accent, .cta-band .accent { color: var(--gold); }
/* In the hero and page headers the gold is reserved for small marks, so the
   second line steps down in white rather than changing hue. */
.hero .accent, .page-head .accent { color: rgba(255, 255, 255, 0.72); }

.lede { font-size: clamp(16px, 1.6vw, 18px); color: var(--slate); max-width: 56ch; line-height: 1.62; }
.section--dark .lede { color: rgba(255, 255, 255, 0.62); }
.body-sm { font-size: 14.5px; color: var(--slate); line-height: 1.62; }
.section--dark .body-sm { color: rgba(255, 255, 255, 0.55); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--primary {
  background: var(--gold); color: var(--navy-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24) inset, 0 8px 26px -10px rgba(240, 168, 14, 0.55);
}
.btn--primary:hover { background: var(--gold-hot); transform: translateY(-2px); }

.btn--ghost { border: 1px solid var(--line-dark); color: var(--white); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); }

.btn--outline { border: 1px solid var(--line-light); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: rgba(23, 15, 49, 0.32); transform: translateY(-2px); }

.btn--sm { padding: 9px 16px; font-size: 13.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow .arw { transition: transform 0.35s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover .arw { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--gold-soft); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(11, 7, 24, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-dark-2);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 92px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
/* the supplied lockup, at 57px: 50% up from the 38px mark it replaced */
.brand__logo { height: 57px; width: auto; flex: none; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: 999px;
  font-size: 14px; color: rgba(255, 255, 255, 0.66);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__trigger[data-current] { color: var(--white); background: rgba(255, 255, 255, 0.07); }

/* ---- dropdowns ---- */
.nav__item { position: relative; }
.nav__trigger { cursor: pointer; }
.nav__trigger .caret { transition: transform 0.3s var(--ease); opacity: 0.7; }
.nav__item:hover .nav__trigger .caret,
.nav__trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 10;
  min-width: 244px; padding: 8px;
  background: rgba(13, 8, 30, 0.96);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu,
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }

/* keeps the pointer from crossing a dead gap between trigger and menu */
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

.nav__menu--wide { min-width: 292px; }
.nav__menu a {
  display: block; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__menu a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.nav__menu a[aria-current="page"] { color: var(--gold); background: rgba(240, 168, 14, 0.1); }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__actions .btn { white-space: nowrap; }
.nav__call { display: none; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 13px; letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.78); padding: 8px 12px; border-radius: 999px;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__phone svg { flex: none; color: var(--gold); }
.nav__phone:hover { color: var(--white); background: rgba(255, 255, 255, 0.07); }

.nav__toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line-dark); }
.nav__toggle span { display: block; width: 16px; height: 1.5px; background: var(--white); position: relative; transition: transform 0.3s var(--ease), background 0.2s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--white);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after { top: 5px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 92px 0 0 0; z-index: 99;
  background: rgba(11, 7, 24, 0.97);
  backdrop-filter: blur(18px);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  display: block; color: rgba(255, 255, 255, 0.8);
  font-family: var(--display); font-size: 24px; letter-spacing: -0.035em;
  padding: 13px 0; border-bottom: 1px solid var(--line-dark-2);
}
.drawer a:hover { color: var(--white); }
.drawer .drawer__sub { font-family: var(--body); font-size: 15px; padding-left: 16px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0; }
.drawer .btn { margin-top: 22px; width: 100%; justify-content: center; }

/* ==========================================================================
   HERO — dark void bleeding through navy and electric blue into paper
   ========================================================================== */
.hero {
  position: relative;
  padding: 176px 0 148px;
  color: var(--white);
  background:
    radial-gradient(135% 85% at 68% 8%, rgba(240, 168, 14, 0.17) 0%, rgba(240, 168, 14, 0) 62%),
    /* Many stops, deliberately. A four-stop ramp from deep indigo to warm paper
       collapses through a dead grey around 85%; these hold chroma on the way up
       and only converge on the paper in the last few percent. */
    /* Structured like the reference: near-black only at the top, then a large
       clean saturated field in the brand hue, then a fast smooth flip to paper.
       Every stop stays on #170F31's hue (~262deg) and keeps its chroma, because
       muting the midtones is what turns this kind of ramp to mud. */
    linear-gradient(180deg,
      #08041A 0%,
      #0C0724 12%,
      #120B37 22%,
      #1A1052 32%,
      #241773 42%,
      #2F1D96 50%,
      #3A25B0 57%,
      #4930C6 63%,
      #5C40D6 68%,
      #7657E2 73%,
      #9375EC 79%,
      #B199F3 84%,
      #CDBCF8 89%,
      #E8E3FB 94%,
      var(--paper) 99%,
      var(--paper) 100%);
  isolation: isolate;
  overflow: hidden;
}
/* Film grain. Large flat gradients band badly on 8-bit displays; a few percent
   of noise dithers the steps away and gives the dark field some texture. */
.hero::before, .page-head::before, .cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::before { z-index: -1; }

/* The drawing surface the rights-stack sits on. The mask lives on the wrapper
   so it stays put while the grid itself drifts underneath it. */
.grid-fx {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  mask-image: radial-gradient(100% 60% at 50% 22%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(100% 60% at 50% 22%, #000 0%, transparent 72%);
}
.grid-fx::before {
  content: "";
  position: absolute; inset: -140px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 68px 68px;
  /* travels 2 cells right and 1 cell up: the isometric axis the stack rises on,
     and an exact multiple of the tile, so the loop has no seam */
  animation: gridDrift 8s linear infinite;
  will-change: transform;
}
@keyframes gridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(136px, -68px, 0); }
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 40px; align-items: center;
  min-height: 480px;
}
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .reg { font-size: 0.34em; vertical-align: super; letter-spacing: 0; margin-left: 2px; color: var(--gold); }
.hero__lede { color: rgba(255, 255, 255, 0.74); max-width: 44ch; font-size: 17px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }


/* ==========================================================================
   ISOMETRIC ART
   ========================================================================== */
.iso { width: 100%; height: auto; overflow: visible; }
.iso .plate { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.58); stroke-width: 1.15; }
.iso .plate-hot { fill: rgba(240, 168, 14, 0.24); stroke: rgba(255, 209, 118, 1); }
.iso .edge { stroke: rgba(255, 255, 255, 0.42); stroke-width: 1.15; fill: none; }
.iso .hair { stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; fill: none; stroke-dasharray: 3 4; }
.iso .glyph { fill: rgba(255, 255, 255, 0.75); }
.iso .label { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; fill: rgba(255, 255, 255, 0.74); text-transform: uppercase; }

/* dark-on-light variant used in feature cards */
.iso--ink .plate { fill: rgba(23, 15, 49, 0.05); stroke: rgba(23, 15, 49, 0.42); }
.iso--ink .plate-hot { fill: rgba(240, 168, 14, 0.30); stroke: #b8790a; }
.iso--ink .edge { stroke: rgba(23, 15, 49, 0.30); }
.iso--ink .hair { stroke: rgba(23, 15, 49, 0.22); }
.iso--ink .glyph { fill: rgba(23, 15, 49, 0.6); }
.iso--ink .label { fill: rgba(23, 15, 49, 0.44); }

/* hero art frame with beam */
.hero__art { position: relative; }
.hero__art .beam {
  position: absolute; left: 50%; top: 50%;
  width: 128%; aspect-ratio: 1; transform: translate(-50%, -46%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.20) 0%, rgba(240, 168, 14, 0.12) 40%, transparent 68%);
  filter: blur(18px);
  z-index: 0; pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}
.hero__art .iso { position: relative; z-index: 1; transform: scale(1.07); transform-origin: 50% 52%; }
@keyframes breathe {
  0%, 100% { opacity: 0.72; transform: translate(-50%, -46%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -46%) scale(1.06); }
}

/* ==========================================================================
   FEATURE GRID (4-up, isometric)
   ========================================================================== */
.head-block { max-width: 640px; margin-bottom: 56px; }
.head-block .eyebrow { display: block; margin-bottom: 18px; }
.head-block .lede { margin-top: 20px; }
.head-block--center { margin-left: auto; margin-right: auto; text-align: center; }
.head-block--center .lede { margin-left: auto; margin-right: auto; }

/* two balanced columns: a premise and what follows from it */
.pair {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px; align-items: start; margin-bottom: 56px;
}
.pair .lede { max-width: none; }
.pair--after { margin: 52px 0 0; }

.feat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line-light-2);
  border-top: 1px solid var(--line-light-2);
  border-bottom: 1px solid var(--line-light-2);
}
.feat-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feat {
  background: var(--paper); padding: 32px 26px 30px;
  transition: background 0.4s var(--ease);
}
.feat:hover { background: var(--white); }
.feat__art { height: 132px; margin-bottom: 26px; display: flex; align-items: center; }
/* keep the art inside its box: scale by height, never by column width */
.feat__art .iso { height: 100%; width: auto; max-width: 100%; }
.feat h4 { margin-bottom: 9px; }
.section--white .feat { background: var(--white); }
.section--white .feat:hover { background: var(--paper); }

/* ==========================================================================
   PANEL MOCKUPS (the "your team already knows" band)
   ========================================================================== */
.panels { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.panel {
  background: var(--white);
  border: 1px solid var(--line-light-2);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 22px 50px -34px rgba(23, 15, 49, 0.30);
}
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel__title { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }
.panel__meta { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-soft); }
.panel__figs { display: flex; gap: 22px; margin-bottom: 14px; }
.panel__fig .n { font-family: var(--display); font-size: 26px; letter-spacing: -0.04em; }
.panel__fig .n.is-accent { color: var(--bronze); }
.panel__fig .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-soft); }

.panel--float {
  position: absolute; right: -8px; bottom: -34px; width: min(320px, 78%);
  z-index: 3;
  box-shadow: 0 34px 70px -30px rgba(23, 15, 49, 0.38);
}
.docket { display: grid; gap: 8px; }
.docket__row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px; border: 1px solid var(--line-light-2); border-radius: 9px;
  background: var(--paper);
}
.docket__row .t { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; }
.docket__row .d { font-family: var(--mono); font-size: 9px; color: var(--slate-soft); letter-spacing: 0.08em; }
.pill {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.pill--live { background: rgba(23, 15, 49, 0.09); color: #37265f; }
.pill--warn { background: rgba(163, 46, 30, 0.10); color: #A32E1E; }
.pill--ok { background: rgba(20, 122, 78, 0.1); color: #147a4e; }

/* bar sparkline */
.spark { display: flex; align-items: flex-end; gap: 3px; height: 54px; }
.spark i {
  flex: 1; background: linear-gradient(180deg, var(--gold-soft), rgba(240, 168, 14, 0.22));
  border-radius: 2px 2px 0 0; display: block;
  transform-origin: bottom; transform: scaleY(0.05);
  transition: transform 0.9s var(--ease);
}
.spark i.is-hot { background: linear-gradient(180deg, var(--gold), rgba(240, 168, 14, 0.42)); }

/* A panel with one figure sits next to panels with four rows, so let its chart
   take up the slack instead of leaving a void under it. */
.panel--fill { display: flex; flex-direction: column; }
.panel--fill .spark { flex: 1 1 auto; min-height: 54px; align-items: flex-end; }
.in .spark i { transform: scaleY(1); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc {
  position: relative;
  display: block;
  padding: 26px 24px 24px;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.svc::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(240, 168, 14, 0.26), transparent 62%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.svc:hover { border-color: rgba(240, 168, 14, 0.42); transform: translateY(-3px); }
.svc:hover::before { opacity: 1; }
.svc__no { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; color: var(--gold-soft); }
.svc h4 { margin: 14px 0 8px; color: var(--white); font-size: 18px; }
.svc p { font-size: 14px; color: rgba(255, 255, 255, 0.56); line-height: 1.58; }
.svc__go {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft);
}
.svc__go .arw { transition: transform 0.35s var(--ease); }
.svc:hover .svc__go .arw { transform: translateX(4px); }

/* light-surface service list */
.svc--light { background: var(--white); border-color: var(--line-light-2); }
.svc--light h4 { color: var(--ink); }
.svc--light p { color: var(--slate); }
.svc--light .svc__no, .svc--light .svc__go { color: var(--bronze); }
.svc--light:hover { border-color: rgba(140, 95, 4, 0.40); }

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.founder__photo { position: relative; }
.founder__photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); object-fit: cover; object-position: 50% 14%;
  border: 1px solid var(--line-light-2);
}
.founder__photo .tag {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(11, 7, 24, 0.82); backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px 14px; color: var(--white);
}
.founder__photo .tag .n { font-family: var(--display); font-size: 16px; letter-spacing: -0.03em; font-weight: 600; }
.founder__photo .tag .r { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-soft); margin-top: 3px; }
.founder__body > * + * { margin-top: 18px; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-light-2); border: 1px solid var(--line-light-2); border-radius: var(--radius); overflow: hidden; margin-top: 26px; }
.facts--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; }
.fact { background: var(--white); padding: 16px 18px; }
.fact .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--slate-soft); }
.fact .v { font-family: var(--display); font-size: 17px; letter-spacing: -0.03em; margin-top: 5px; font-weight: 500; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }

/* ==========================================================================
   REVIEW MARQUEE — two rows travelling in opposite directions
   ========================================================================== */
.marquee { position: relative; overflow: hidden; }
.marquee + .marquee { margin-top: 16px; }

/* soft edges so cards enter and leave instead of being sliced off */
.marquee {
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

/* Until the script clones the set, the row is a plain scroller. That way a
   script failure leaves something usable rather than a broken loop. */
.marquee:not(.is-live) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.marquee__track { display: flex; width: max-content; }

.marquee.is-live .marquee__track { animation: marqueeLeft 76s linear infinite; }
.marquee.is-live.marquee--rev .marquee__track { animation-name: marqueeRight; animation-duration: 88s; }
.marquee.is-live:hover .marquee__track,
.marquee.is-live:focus-within .marquee__track { animation-play-state: paused; }

/* margin-right rather than gap, so -50% is exactly one copy and the loop
   has no jump at the seam */
.mq-card { flex: 0 0 352px; width: 352px; margin-right: 16px; display: flex; flex-direction: column; }
.mq-card p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9;
  overflow: hidden;
}
/* cards in a row stretch to the tallest, so anchor the name to the bottom
   instead of leaving a void under the short reviews */
.mq-card .quote__by { margin-top: auto; padding-top: 16px; }

@keyframes marqueeLeft {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes marqueeRight {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

/* Review wall: reviews are wildly different lengths, so let them pack
   instead of forcing a grid row to the tallest card. */
.quotes--wall { display: block; columns: 3; column-gap: 16px; }
.quotes--wall .quote { break-inside: avoid; width: 100%; margin: 0 0 16px; display: inline-block; }
.quote {
  border: 1px solid var(--line-dark-2); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 24px 22px;
}
.quote__stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold-hot); }
.quote__stars svg { width: 13px; height: 13px; }
.quote p { font-size: 14.5px; line-height: 1.62; color: rgba(255, 255, 255, 0.76); }
.quote__by { margin-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.stars5 { width: 74px; height: 14px; color: var(--bronze); margin-bottom: 14px; }
.section--dark .stars5 { color: var(--gold); }
.quote--light { background: var(--white); border-color: var(--line-light-2); }
.quote--light p { color: var(--slate); }
.quote--light .quote__by { color: var(--bronze); }
.quote--light .quote__stars { color: var(--bronze); }

/* ==========================================================================
   PROCESS / STEPS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-light-2); border: 1px solid var(--line-light-2); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--white); padding: 28px 24px 26px; position: relative; }
.step__n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--bronze); }
.step h4 { margin: 12px 0 8px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line-light-2); max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line-light-2); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 22px 0; text-align: left;
  font-family: var(--display); font-size: clamp(17px, 2vw, 20px); letter-spacing: -0.03em; font-weight: 500;
}
.faq__q .ind {
  position: relative;
  flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-light);
  display: grid; place-items: center; margin-top: 2px;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.faq__q .ind::before, .faq__q .ind::after {
  content: ""; position: absolute; background: var(--ink); transition: opacity 0.3s var(--ease);
}
.faq__q .ind::before { width: 9px; height: 1.4px; }
.faq__q .ind::after { width: 1.4px; height: 9px; }
.faq__item.is-open .faq__q .ind { transform: rotate(90deg); background: var(--gold); border-color: var(--gold); }
.faq__item.is-open .faq__q .ind::before, .faq__item.is-open .faq__q .ind::after { background: var(--navy-deep); }
.faq__item.is-open .faq__q .ind::after { opacity: 0; }
.faq__a { overflow: hidden; height: 0; transition: height 0.42s var(--ease); }
.faq__a-inner { padding: 0 44px 24px 0; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 130% at 50% 122%, rgba(240, 168, 14, 0.40) 0%, rgba(240, 168, 14, 0) 62%),
    var(--void);
  color: var(--white);
  padding: 96px 0 104px;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  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: 62px 62px;
  mask-image: radial-gradient(70% 80% at 50% 100%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 100%, #000, transparent 78%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .h2 { margin-bottom: 18px; }
.cta-band .lede { margin: 0 auto; color: rgba(255, 255, 255, 0.66); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }

/* ==========================================================================
   FORM
   ========================================================================== */
.form-card {
  background: var(--white); border: 1px solid var(--line-light-2); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: 0 30px 70px -46px rgba(23, 15, 49, 0.38);
}
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate-soft); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-light); border-radius: 10px;
  background: var(--paper); font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(240, 168, 14, 0.28);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-note { font-size: 12px; color: var(--slate-soft); line-height: 1.55; margin-top: 14px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ==========================================================================
   PAGE HEADER (inner pages)
   ========================================================================== */
.page-head {
  position: relative; color: var(--white); padding: 174px 0 132px;
  background:
    radial-gradient(110% 80% at 78% 0%, rgba(240, 168, 14, 0.13) 0%, rgba(240, 168, 14, 0) 58%),
    linear-gradient(180deg,
      #08041A 0%, #0C0724 14%, #130C3D 28%, #1D1260 42%, #281983 54%,
      #3421A4 63%, #4530C0 71%, #5C42D4 78%, #7A5DE3 84%, #9E86EE 89%,
      #C2B2F6 93%, #E6E1FB 96.5%, var(--paper) 99%, var(--paper) 100%);
  overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  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: 62px 62px;
  mask-image: radial-gradient(90% 70% at 50% 10%, #000, transparent 74%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 10%, #000, transparent 74%);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head .h1 { font-size: clamp(38px, 5.6vw, 62px); margin: 20px 0 20px; }
.page-head .lede { color: rgba(255, 255, 255, 0.72); }
.crumbs { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.crumbs a:hover { color: var(--white); }

/* ==========================================================================
   BLOG — post header, post body, index grid
   ========================================================================== */
/* article titles run long, so they get their own smaller scale */
.page-head--post .h1 { font-size: clamp(27px, 3.3vw, 44px); }
.post-meta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-soft); margin-top: 20px;
}
/* several source images are portrait; cap them so the article starts on screen */
.post-hero {
  width: 100%; height: auto; max-height: 420px; object-fit: cover; object-position: 50% 35%;
  border-radius: var(--radius); border: 1px solid var(--line-light-2); margin-bottom: 10px;
}
.prose img { border-radius: var(--radius); height: auto; }
.prose h3 + ul, .prose h3 + ol { margin-top: 14px; }
.prose a { color: var(--bronze); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--ink); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-light-2);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post-card:hover {
  transform: translateY(-3px); border-color: rgba(140, 95, 4, 0.34);
  box-shadow: 0 22px 46px -30px rgba(23, 15, 49, 0.38);
}
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.post-card__meta {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--bronze);
}
.post-card__title {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.03em; line-height: 1.22;
  color: var(--ink); margin-top: 12px;
}
.post-card__excerpt {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
  font-size: 14px; line-height: 1.6; color: var(--slate); margin-top: 10px;
}
.post-card .svc__go { margin-top: auto; padding-top: 18px; color: var(--bronze); }
/* a card with no cover still needs to fill its row */
.post-card:not(:has(.post-card__img)) .post-card__body { justify-content: center; }

/* prose */
.prose > * + * { margin-top: 18px; }
/* anchored headings must clear the fixed nav */
.prose h3[id] { scroll-margin-top: 116px; }
.prose h3 { margin-top: 34px; }
.prose p { color: var(--slate); font-size: 16px; line-height: 1.68; }
.prose li { color: var(--slate); font-size: 16px; line-height: 1.6; padding-left: 26px; position: relative; }
.prose li + li { margin-top: 10px; }
.prose li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border: 1px solid var(--bronze); transform: rotate(45deg);
}

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 56px; align-items: start; }
.aside-card {
  background: var(--white); border: 1px solid var(--line-light-2); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 88px;
}
.aside-card h4 { margin-bottom: 10px; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--void); color: rgba(255, 255, 255, 0.6); padding: 72px 0 34px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer h5 { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 16px; font-weight: 500; }
.footer a { color: rgba(255, 255, 255, 0.6); font-size: 14px; transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--white); }
.footer li + li { margin-top: 9px; }
.footer__logo { display: block; }
.footer__logo img { width: 100%; max-width: 250px; height: auto; }
.footer__addr { font-size: 13.5px; line-height: 1.62; }
.footer__addr strong { color: rgba(255, 255, 255, 0.85); font-weight: 600; display: block; margin-bottom: 3px; }
.footer__bottom {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line-dark-2);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.42);
}
.footer__disc { margin-top: 20px; font-size: 11.5px; line-height: 1.62; color: rgba(255, 255, 255, 0.35); max-width: 84ch; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
/* Hidden only when JS is confirmed running, so a script failure never blanks the page. */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.07s; }
.rv-d2 { transition-delay: 0.14s; }
.rv-d3 { transition-delay: 0.21s; }
.rv-d4 { transition-delay: 0.28s; }

/* hero load sequence */
.hero .ld { opacity: 0; transform: translateY(20px); animation: rise 0.95s var(--ease) forwards; }
.hero .ld-1 { animation-delay: 0.05s; }
.hero .ld-2 { animation-delay: 0.16s; }
.hero .ld-3 { animation-delay: 0.27s; }
.hero .ld-4 { animation-delay: 0.38s; }
.hero .ld-5 { animation-delay: 0.5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* isometric draw-on */
.iso .draw { stroke-dasharray: var(--len, 900); stroke-dashoffset: var(--len, 900); animation: draw 1.5s var(--ease) forwards; }
.iso .draw-2 { animation-delay: 0.18s; }
.iso .draw-3 { animation-delay: 0.34s; }
.iso .draw-4 { animation-delay: 0.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.iso .fade { opacity: 0; animation: fadein 0.9s var(--ease) 0.7s forwards; }
@keyframes fadein { to { opacity: 1; } }
.iso .drift { animation: drift 6s ease-in-out infinite; }
.iso .drift-2 { animation: drift 6s ease-in-out 0.9s infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .feat-grid, .feat-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pair { grid-template-columns: 1fr; gap: 22px; margin-bottom: 44px; }
  .svc-grid, .quotes, .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes--wall { columns: 2; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mq-card { flex-basis: 320px; width: 320px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .facts--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding-top: 138px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .hero__art { max-width: 460px; margin: 0 auto; }
  .founder, .split { grid-template-columns: 1fr; gap: 34px; }
  .aside-card { position: static; }
  .panel--float { position: static; width: 100%; margin-top: 4px; }
  .section { padding: 78px 0; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .feat-grid, .feat-grid--3, .svc-grid, .quotes, .panels, .steps, .facts, .field-row { grid-template-columns: 1fr; }
  .quotes--wall { columns: 1; }
  .post-grid { grid-template-columns: 1fr; }
  .mq-card { flex-basis: 286px; width: 286px; }
  .footer__top { grid-template-columns: 1fr; }
  /* the full lockup plus a long CTA does not fit a phone bar, so the CTA
     becomes a call pill and the drawer carries the booking link */
  .brand__logo { height: 40px; }
  .nav__inner { height: 72px; }
  .drawer { inset: 72px 0 0 0; }
  .hero { padding-top: 116px; }
  .page-head { padding-top: 132px; }
  .nav__cta { display: none; }
  .nav__call { display: inline-flex; }
  .hero .btn, .cta-band .btn { flex: 1 1 auto; justify-content: center; }
  .form-card { padding: 22px; }
  .founder__photo img { aspect-ratio: 1 / 1; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .rv { opacity: 1; transform: none; }
  .hero .ld { opacity: 1; transform: none; }
  .iso .draw { stroke-dashoffset: 0; }
  .iso .fade { opacity: 1; }
  .spark i { transform: scaleY(1); }
}
