/* =========================================================
   VISWANATH REDDY LLC — site styles
   Editorial / systems aesthetic. No framework.
   ========================================================= */

:root {
  --ink: #0b0d10;
  --ink-2: #12161b;
  --paper: #f2efe7;
  --paper-2: #faf8f2;
  --white: #ffffff;
  --muted: #626871;
  --muted-dark: #a3aab4;
  --line: rgba(11, 13, 16, 0.15);
  --line-strong: rgba(11, 13, 16, 0.55);
  --line-dark: rgba(255, 255, 255, 0.14);
  --cobalt: #2e4bff;
  --acid: #d8ff5f;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

::selection {
  background: var(--cobalt);
  color: var(--white);
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--acid);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 14px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.mono {
  font-family: var(--mono);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(216, 255, 95, 0.14);
}

.eyebrow--dark {
  color: #8e959f;
}

.eyebrow--cobalt .dot {
  background: var(--cobalt);
  box-shadow: 0 0 0 4px rgba(46, 75, 255, 0.12);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn .arrow {
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

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

.btn--acid {
  background: var(--acid);
  color: var(--ink);
}

.btn--acid:hover {
  background: #e6ff9b;
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: #20252c;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
}

.btn--outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

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

.btn--sm {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 12.5px;
}

.btn--block {
  width: 100%;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 13, 16, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--max);
  height: 78px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--paper);
}

.brand img {
  flex: none;
  width: 34px;
  height: 34px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
}

.brand-sub {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #7f8791;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-desktop a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  color: #c9cdd3;
  transition: color 0.2s var(--ease);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--paper);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 16px;
  height: 1px;
  background: var(--paper);
  transition: background 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--paper);
  transition: top 0.25s var(--ease), transform 0.25s var(--ease);
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 112px var(--pad) 32px;
  background: var(--ink);
  color: var(--paper);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  border-top: 1px solid var(--line-dark);
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: clamp(36px, 10vw, 52px);
  line-height: 1.2;
}

.mobile-menu nav a span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--acid);
}

.mobile-meta {
  margin-top: auto;
  padding-top: 36px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 2;
  text-transform: uppercase;
  color: #7f8791;
}

.mobile-meta a {
  color: var(--paper);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(138px, 16vw, 196px) 0 clamp(76px, 9vw, 118px);
  background: var(--ink);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse at 62% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 62% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 75, 255, 0.18) 0%, transparent 66%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(52px, 6.5vw, 90px);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 0.98;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--acid);
}

.lede {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: #b9bec6;
}

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

.hero-meta {
  margin: 30px 0 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7c838d;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 570px;
  margin: 0 auto;
}

.system-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.system-svg .node-box {
  fill: #12161b;
  stroke: rgba(255, 255, 255, 0.16);
}

.system-svg .node-label {
  fill: #e8e4da;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.system-svg .node-dot {
  fill: var(--acid);
}

.system-svg .link {
  fill: none;
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1;
  stroke-dasharray: 3 7;
  animation: dash 22s linear infinite;
}

.system-svg .link--cobalt {
  stroke: rgba(46, 75, 255, 0.75);
}

.system-svg .orbit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
}

.system-svg .orbit--dash {
  stroke-dasharray: 2 8;
}

.system-svg .core {
  fill: #171c23;
  stroke: rgba(216, 255, 95, 0.5);
  stroke-width: 1.2;
}

.system-svg .core-label {
  fill: #8e959f;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
}

@keyframes dash {
  to {
    stroke-dashoffset: -300;
  }
}

.map-caption {
  display: none;
}

.run-card {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  margin: -30px 0 0 auto;
  padding: 17px 19px 15px;
  background: #11161c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.run-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: #8e959f;
}

.run-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(216, 255, 95, 0.6);
}

.run-id {
  margin-left: auto;
  color: #5f6670;
}

.run-card pre {
  margin: 13px 0 12px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.85;
  color: #d6dae0;
}

.run-card .k {
  color: #8e959f;
}

.run-card .a {
  color: var(--acid);
}

.run-card .b {
  color: #7d9bff;
}

.run-foot {
  display: flex;
  gap: 14px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c838d;
}

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 44s linear infinite;
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 26px;
  padding: 13px 13px 13px 26px;
}

.ticker-group span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-group .star {
  font-family: var(--mono);
  font-size: 11px;
}

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

/* ---------- sections ---------- */

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

section[id] {
  scroll-margin-top: 96px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section--paper2 {
  background: var(--paper-2);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.section-head h2 em,
.statement em,
.approach-intro h2 em,
.company-copy h2 em,
.page-hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.section-head--dark .eyebrow {
  color: #8e959f;
}

/* ---------- position ---------- */

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.statement {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.statement em {
  color: var(--cobalt);
}

.statement-side p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.statement-side p + p {
  margin-top: 16px;
}

/* ---------- services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(26px, 3vw, 42px);
  background: var(--paper);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transition: background 0.3s var(--ease);
}

.service-card:hover {
  background: var(--paper-2);
}

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

.service-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.service-icon {
  width: 34px;
  height: 34px;
  color: var(--ink);
}

.service-card h3 {
  margin: 40px 0 12px;
  font-size: clamp(23px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.service-card > p {
  max-width: 44ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: #3f444b;
}

.service-list li::before {
  content: "+";
  font-family: var(--mono);
  color: var(--cobalt);
}

.service-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-link .arrow {
  transition: transform 0.25s var(--ease);
}

.service-card:hover .service-link .arrow {
  transform: translate(2px, -2px);
}

/* ---------- patterns ---------- */

.pattern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}

.pattern-card {
  padding: 32px 32px 36px 0;
  border-right: 1px solid var(--line-dark);
}

.pattern-card + .pattern-card {
  padding-left: 32px;
}

.pattern-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.pattern-index {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--acid);
}

.pattern-card h3 {
  margin: 26px 0 14px;
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.pattern-card p {
  margin: 0 0 24px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted-dark);
}

.pattern-note {
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
  color: #6f7782;
}

.pattern-note strong {
  font-weight: 500;
  color: #d6dae0;
}

/* ---------- approach ---------- */

.approach-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

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

.approach-intro h2 {
  margin: 18px 0 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.approach-intro p {
  max-width: 40ch;
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  padding-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--cobalt);
}

.step h3 {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step p {
  max-width: 60ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a4f56;
}

/* ---------- company ---------- */

.company-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.utah-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: var(--ink);
  border-radius: 18px;
}

.utah-card svg {
  width: 100%;
  height: auto;
}

.utah-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7f8791;
}

.company-copy h2 {
  margin: 16px 0 0;
  font-size: clamp(32px, 4.1vw, 54px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.company-copy > p {
  max-width: 54ch;
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.facts {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact dd {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--cobalt);
  border-color: var(--cobalt);
}

.text-link--light {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.4);
}

.text-link--light:hover {
  color: var(--acid);
  border-color: var(--acid);
}

.dark-heading {
  margin: 16px 0 0;
  font-size: clamp(32px, 4.1vw, 54px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--paper);
}

.dark-heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--acid);
}

.dark-copy {
  max-width: 44ch;
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted-dark);
}

.about-aside {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--muted);
}

.statement--sm {
  font-size: clamp(26px, 3.2vw, 42px);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 122px) 0;
  background: var(--acid);
  color: var(--ink);
  border-top: 1px solid var(--ink);
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta h2 {
  max-width: 1000px;
  margin: 18px 0 36px;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 0.98;
}

.cta h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.cta-email {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
}

.cta-star {
  position: absolute;
  top: -90px;
  right: -50px;
  width: 500px;
  height: 500px;
  color: rgba(11, 13, 16, 0.07);
  pointer-events: none;
}

/* ---------- footer ---------- */

.site-footer {
  padding: clamp(56px, 7vw, 84px) 0 26px;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 34ch;
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #9aa1aa;
}

.footer-col h4 {
  margin: 6px 0 16px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #717985;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: #c9cdd3;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 24px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #707884;
}

.footer-bottom a:hover {
  color: var(--paper);
}

/* ---------- inner page hero ---------- */

.page-hero {
  padding: clamp(138px, 15vw, 188px) 0 clamp(60px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 1000px;
  margin: 20px 0 0;
  font-size: clamp(46px, 6.6vw, 92px);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 0.94;
}

.page-hero h1 em {
  color: var(--cobalt);
}

.page-hero .lede {
  max-width: 640px;
  margin-top: 26px;
  color: var(--muted);
}

.page-hero--dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 0;
}

.page-hero--dark .eyebrow {
  color: #8e959f;
}

.page-hero--dark .lede {
  color: #b9bec6;
}

.page-hero--dark h1 em {
  color: var(--acid);
}

/* ---------- service detail ---------- */

.detail-section {
  padding: clamp(62px, 7vw, 96px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.detail-section--first {
  border-top: 0;
}

.detail-section--alt {
  background: var(--paper-2);
}

.detail-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 5vw, 60px);
}

.detail-side {
  position: sticky;
  top: 120px;
  align-self: start;
}

.detail-side .mono {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--cobalt);
}

.detail-main h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.detail-lede {
  max-width: 760px;
  margin: 18px 0 40px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: #343941;
}

.detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.detail-cols h3 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-cols ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-cols li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5058;
}

.detail-cols li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--cobalt);
}

.detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-cta:hover {
  color: var(--cobalt);
  border-color: var(--cobalt);
}

/* ---------- engagement models ---------- */

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.engagement-card {
  padding: clamp(24px, 3vw, 38px);
  background: var(--ink);
}

.engagement-card .mono {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--acid);
}

.engagement-card h3 {
  margin: 28px 0 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.engagement-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted-dark);
}

.engagement-card ul {
  display: grid;
  gap: 7px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.engagement-card li {
  font-size: 12.5px;
  color: #c9cdd3;
}

.engagement-card li::before {
  content: "→ ";
  font-family: var(--mono);
  color: #6f7782;
}

/* ---------- about ---------- */

.about-story {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 5vw, 70px);
}

.about-story .body {
  max-width: 760px;
}

.about-story p {
  margin: 0 0 20px;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
  color: #33383f;
}

.about-story p.lead::first-letter {
  float: left;
  margin: 8px 10px 0 0;
  font-family: var(--serif);
  font-size: 74px;
  line-height: 0.72;
  color: var(--cobalt);
}

.about-story .note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.principle {
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.principle .mono {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--cobalt);
}

.principle h3 {
  margin: 28px 0 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.principle p {
  max-width: 44ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.facts-dark {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.facts-dark .fact {
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line-dark);
}

.facts-dark .fact dt {
  color: #9aa1aa;
}

.facts-dark .fact dd {
  color: var(--paper);
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.contact-info h2 {
  margin: 16px 0 0;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.contact-info h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cobalt);
}

.contact-info > p {
  max-width: 42ch;
  margin: 20px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-list {
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.contact-list .label {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a {
  border-bottom: 1px solid var(--line);
}

.contact-list a:hover {
  color: var(--cobalt);
  border-color: var(--cobalt);
}

.form-card {
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.form-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.form-card > p {
  margin: 0 0 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(46, 75, 255, 0.12);
}

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

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.form-consent input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--cobalt);
}

.form-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.form-status {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(46, 75, 255, 0.35);
  border-radius: 8px;
  background: rgba(46, 75, 255, 0.06);
  font-size: 12.5px;
  line-height: 1.55;
  color: #22339e;
}

.form-status.is-visible {
  display: block;
}

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

.faq {
  max-width: 840px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--cobalt);
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  max-width: 70ch;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- legal prose ---------- */

.prose {
  max-width: 780px;
}

.prose .meta {
  margin: 0 0 34px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose h2 {
  margin: 42px 0 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.prose h3 {
  margin: 28px 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.prose p,
.prose li {
  font-size: 14.5px;
  line-height: 1.75;
  color: #40454d;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  border-bottom: 1px solid var(--line);
}

.prose a:hover {
  color: var(--cobalt);
  border-color: var(--cobalt);
}

.prose strong {
  color: var(--ink);
}

/* ---------- 404 ---------- */

.notfound {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78vh;
  padding: 150px 0 90px;
}

.notfound .code {
  font-family: var(--serif);
  font-size: clamp(120px, 24vw, 280px);
  line-height: 0.8;
  color: var(--cobalt);
}

.notfound h1 {
  margin: 24px 0 0;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.notfound p {
  max-width: 46ch;
  margin: 14px 0 30px;
  color: var(--muted);
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

  .footer-col:last-child {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid var(--line-dark);
  }
}

@media (max-width: 900px) {
  .nav-desktop,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

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

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

  .pattern-card,
  .pattern-card + .pattern-card {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .pattern-card:last-child {
    border-bottom: 0;
  }

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

  .approach-intro {
    position: static;
    max-width: 680px;
  }

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

  .utah-card {
    max-width: 540px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-side {
    position: static;
  }

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

  .about-story {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

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

@media (max-width: 640px) {
  :root {
    --pad: 20px;
  }

  .header-inner {
    height: 68px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 10px;
  }

  .brand-sub {
    font-size: 7.5px;
  }

  .hero {
    padding-top: 126px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 64px);
  }

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

  .system-svg .node-label,
  .system-svg .core-label {
    display: none;
  }

  .map-caption {
    display: block;
    margin: 16px 0 0;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    line-height: 1.7;
    text-align: center;
    text-transform: uppercase;
    color: #7c838d;
  }

  .run-card {
    width: 100%;
    margin-top: 18px;
    padding: 15px;
  }

  .run-card pre {
    font-size: 9.5px;
  }

  .statement {
    font-size: clamp(32px, 9.5vw, 44px);
  }

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

  .step {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .fact,
  .facts-dark .fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

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

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

  .contact-list li {
    grid-template-columns: 84px 1fr;
  }

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

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

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

  .cta-star {
    top: -70px;
    right: -90px;
    width: 320px;
    height: 320px;
  }

  .cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .mobile-menu,
  .ticker,
  .skip-link,
  .cta-star {
    display: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
  }

  .system-svg .flow {
    display: none;
  }
}
