:root {
  --ink: #09110f;
  --ink-soft: #17221f;
  --paper: #f3f1e9;
  --paper-2: #e8e5da;
  --line: rgba(9, 17, 15, .16);
  --muted: #66706c;
  --risk-accent: #FF0000;
  --risk-accent: color(display-p3 1 0 0);
  --risk-bg-dark: #000;
  --risk-bg-light: #fff;
  --safe-accent: #A0522D;
  --safe-bg: #E8D5C4;
  --accent: var(--risk-accent);
  --accent-soft: #FF3333;
  --accent-soft: color(display-p3 1 .12 .08);
  --white: #fffef8;
  --radius: 2px;
  --container: 1180px;
  --footer-height: 300px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; 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: 100; background: var(--accent); padding: 12px 18px; text-decoration: none; font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .053333em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--risk-accent); text-shadow: -1px -1px 0 #000, 1px 1px 0 #000; font-size: 13px; letter-spacing: -.03em; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.site-nav a { text-decoration: none; opacity: .75; transition: opacity .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }
.site-nav .nav-cta { opacity: 1; padding: 12px 18px; border: 1px solid rgba(255,255,255,.35); }
.menu-button { display: none; color: inherit; background: none; border: 0; padding: 10px; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 6px 0; background: currentColor; }

.hero { position: relative; min-height: 760px; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -150px; top: 50px; border-radius: 50%; background: rgba(255,0,0,.12); filter: blur(80px); }
.hero-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.hero-layout { min-height: 760px; padding-top: 170px; padding-bottom: 76px; position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 2; width: min(100%, 1080px); container-type: inline-size; }
.eyebrow { margin: 0 0 24px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 11px; }
.hero .eyebrow { color: rgba(255,255,255,.64); }
.hero .eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 10px; background: var(--accent); }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: "Manrope", "Segoe UI", Arial, sans-serif; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 1080px; }
.hero-title-line { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.hero-title-main { font-size: min(80px, 7.5cqi); }
.hero-title-accent { font-size: min(76px, 7.1cqi); }
h1 em, h2 em, h3 em, .accent {
  color: #FF0000;
  color: color(display-p3 1 0 0);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}
.hero-lead { max-width: 650px; margin: 32px 0 0; color: rgba(255,255,255,.68); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 22px; border: 0; border-radius: var(--radius); text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: var(--ink);
  background: var(--white);
  box-shadow: 2px 2px 0 var(--safe-accent);
}
.button-primary:hover {
  background: var(--paper-2);
  box-shadow: 2px 4px 0 var(--safe-accent);
}
.button-primary:focus-visible { outline: 2px solid var(--safe-accent); outline-offset: 4px; }
.button-primary > span { color: var(--safe-accent); }
.text-link { color: rgba(255,255,255,.72); text-decoration: none; font-weight: 700; }
.text-link span { color: var(--accent); margin-left: 8px; }

.signal-card { position: absolute; z-index: 0; top: 222px; right: 0; width: 66.667%; min-height: 570px; padding: 28px; border: 0; background: transparent; opacity: .26; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.35) 22%, #000 52%); mask-image: linear-gradient(to right, transparent, rgba(0,0,0,.35) 22%, #000 52%); }
.signal-head { display: flex; justify-content: space-between; color: rgba(255,255,255,.42); letter-spacing: .14em; font-size: 9px; font-weight: 800; }
.live-dot { color: var(--accent); }
.live-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.signal-orbit { position: relative; height: 390px; display: grid; place-items: center; }
.orbit-ring { position: absolute; border: 1px solid rgba(255,0,0,.3); border-radius: 50%; }
.orbit-ring-one { width: 330px; height: 330px; animation: breathe 5s ease-in-out infinite; }
.orbit-ring-two { width: 220px; height: 220px; border-style: dashed; animation: spin 18s linear infinite; }
.signal-core { width: 122px; height: 122px; display: grid; place-content: center; text-align: center; border-radius: 50%; color: var(--ink); background: var(--accent); box-shadow: 0 0 70px rgba(255,0,0,.24); }
.signal-core span { font-size: 36px; font-weight: 950; line-height: 1; }
.signal-core small { margin-top: 3px; font-size: 8px; letter-spacing: .14em; font-weight: 900; }
.orbit-node { position: absolute; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; background: var(--ink-soft); color: rgba(255,255,255,.55); font-size: 9px; }
.node-one { left: 14%; top: 72px; }.node-two { right: 12%; top: 174px; }.node-three { left: 29%; bottom: 18px; }
.signal-stats { border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-stats div { padding: 18px 12px 0; border-right: 1px solid rgba(255,255,255,.1); }
.signal-stats div:last-child { border: 0; }
.signal-stats span { color: var(--accent); font: 800 10px/1 monospace; }
.signal-stats p { margin: 8px 0 0; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.4; }

.section { padding: 120px 0; }
.section-heading { margin-bottom: 58px; }
.section-heading .eyebrow, .process .eyebrow, .contact .eyebrow { color: var(--muted); }
h2 { font-size: clamp(42px, 5vw, 68px); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.approach-card { min-height: 520px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); }
.expert-card { color: var(--white); background: var(--ink-soft); border-color: var(--ink-soft); }
.card-index { color: var(--muted); font: 800 10px/1 monospace; letter-spacing: .12em; }
.expert-card .card-index { color: rgba(255,255,255,.38); }
.card-icon { height: 130px; margin: 40px 0 36px; display: grid; place-items: center; }
.agent-icon span { position: relative; width: 110px; height: 110px; border: 1px solid var(--ink); border-radius: 50%; }
.agent-icon span::before, .agent-icon span::after { content: ""; position: absolute; inset: 20px; border: 1px dashed var(--accent); border-radius: 50%; }
.agent-icon span::after { inset: 45px; border: 0; background: var(--accent); }
.expert-icon { position: relative; }
.expert-icon::before { content: ""; width: 120px; height: 120px; position: absolute; border: 1px solid rgba(255,0,0,.75); transform: rotate(45deg); }
.expert-icon span { width: 72px; height: 1px; position: absolute; background: var(--accent); transform-origin: center; }
.expert-icon span:nth-child(2) { transform: rotate(60deg); }.expert-icon span:nth-child(3) { transform: rotate(-60deg); }
.approach-card h3 { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.approach-card > p { max-width: 520px; margin: 15px 0 22px; color: var(--muted); }
.expert-card > p { color: rgba(255,255,255,.58); }
.approach-card ul { margin: auto 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); }
.expert-card ul { border-color: rgba(255,255,255,.12); }
.approach-card li { padding: 7px 0; font-size: 13px; font-weight: 700; }
.approach-card li::before { content: "+"; margin-right: 12px; color: var(--accent); }

.services { background: var(--paper-2); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading-row > p { max-width: 350px; margin: 0 0 6px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 360px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s ease, color .25s ease; }
.service-number { color: var(--muted); font: 800 11px/1 monospace; }
.service-card h3 { margin: 150px 0 13px; font-size: 25px; letter-spacing: -.035em; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-arrow { position: absolute; top: 28px; right: 28px; color: var(--accent); font-size: 22px; }
.service-card:hover { color: var(--white); background: var(--ink-soft); }
.service-card:hover p, .service-card:hover .service-number { color: rgba(255,255,255,.56); }

.process { color: var(--white); background: var(--ink); }
.process-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.process-intro { position: sticky; top: 40px; align-self: start; }
.process-intro p:last-child { max-width: 420px; margin-top: 30px; color: rgba(255,255,255,.54); }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: item; }
.process-list li { min-height: 165px; display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.15); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.process-list > li > span { color: var(--accent); font: 800 11px/1 monospace; }
.process-list h3 { margin: -5px 0 10px; font-size: 26px; letter-spacing: -.035em; }
.process-list p { max-width: 520px; margin: 0; color: rgba(255,255,255,.55); }

.control-section { padding: 0 0 120px; color: var(--white); background: var(--ink); }
.control-box { padding: 50px; display: grid; grid-template-columns: 100px 1fr .8fr; align-items: center; gap: 40px; color: var(--ink); background: var(--safe-bg); }
.control-box .eyebrow { margin-bottom: 15px; }
.control-box h2 { font-size: clamp(32px, 3.5vw, 50px); }
.control-box > p { margin: 0; font-size: 14px; }
.control-symbol { width: 84px; height: 84px; display: grid; place-items: center; border: 1px solid rgba(9,17,15,.35); border-radius: 50%; }
.control-symbol span { font-size: 35px; }

.contact { color: var(--white); background: var(--ink); text-align: center; }
.contact-box { max-width: 900px; }
.contact .eyebrow { color: rgba(255,255,255,.48); }
.contact-box > p:not(.eyebrow) { max-width: 640px; margin: 28px auto 34px; color: rgba(255,255,255,.58); font-size: 18px; }
.lead-form { max-width: 720px; margin: 42px auto 0; text-align: left; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lead-form label { display: grid; gap: 8px; color: rgba(255,255,255,.74); font-size: 13px; font-weight: 700; }
.form-field-wide { grid-column: 1 / -1; }
.lead-form input, .lead-form textarea { width: 100%; padding: 14px 16px; color: var(--white); background: var(--ink-soft); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); font: inherit; font-size: 16px; outline: none; transition: border-color .2s ease; }
.lead-form textarea { resize: vertical; min-height: 120px; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--safe-accent); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,.32); }
.form-hint { margin: 12px 0 22px; color: rgba(255,255,255,.48); font-size: 13px; }
.cf-turnstile { min-height: 65px; margin-bottom: 24px; }
.lead-form .button { width: 100%; }
.lead-form .button:disabled { cursor: wait; opacity: .6; transform: none; }
.form-status { min-height: 24px; margin: 14px 0 0; color: rgba(255,255,255,.62); font-size: 13px; text-align: center; }
.form-status.is-error { color: #ff8d8d; }
.form-status.is-success { color: #d8b8a2; }
.site-footer { position: relative; width: 100%; min-width: 0; height: var(--footer-height); padding: 0; overflow: hidden; isolation: isolate; color: var(--white); background: linear-gradient(to bottom, var(--ink) 0%, var(--ink) 38%, #000 100%); border-top: 1px solid rgba(255,255,255,.12); }
.footer-inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; }
.footer-inner p { margin: 0; color: rgba(255,255,255,.86); font-size: 12px; }
.footer-inner p a { text-underline-offset: 3px; transition: color .2s ease; }
.footer-inner p a:hover, .footer-inner p a:focus-visible { color: var(--white); }
.footer-wordmark { position: absolute; z-index: 1; left: 50%; bottom: -.14em; width: max-content; transform: translateX(-50%); color: #000; font-family: "Manrope", "Segoe UI", Arial, sans-serif; font-size: calc(var(--footer-height) * 1.25); font-weight: 700; line-height: .78; letter-spacing: -.065em; white-space: nowrap; pointer-events: none; user-select: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.05); opacity: .65; } }

@media (max-width: 900px) {
  .site-header { position: absolute; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 24px 20px 30px; flex-direction: column; align-items: stretch; color: var(--white); background: var(--ink); border-top: 1px solid rgba(255,255,255,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-cta { text-align: center; }
  .hero-layout { padding-top: 150px; }
  .signal-card { top: 150px; right: -33.333%; width: 100%; opacity: .17; }
  .approach-grid, .process-layout { grid-template-columns: 1fr; }
  .process-layout { gap: 60px; }
  .process-intro { position: static; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .service-card h3 { margin-top: 80px; }
  .control-box { grid-template-columns: 80px 1fr; }
  .control-box > p { grid-column: 2; }
  .footer-inner { grid-template-columns: 1fr; align-content: center; gap: 6px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { height: 72px; }
  .site-nav { top: 72px; }
  .hero { min-height: auto; }
  .hero-layout { min-height: auto; padding-top: 128px; padding-bottom: 58px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .button { width: 100%; }
  .signal-card { top: 205px; right: -83.333%; width: 150%; min-height: 520px; padding: 17px; opacity: .14; }
  .signal-orbit { height: 350px; }
  .signal-stats div { padding-inline: 7px; }
  .section { padding: 82px 0; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 24px; }
  .approach-card { min-height: 490px; padding: 24px; }
  .process-list li { grid-template-columns: 46px 1fr; }
  .control-section { padding-bottom: 82px; }
  .control-box { padding: 30px 24px; grid-template-columns: 1fr; }
  .control-box > p { grid-column: 1; }
  .control-symbol { width: 64px; height: 64px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
