:root {
  --background: #0a0a0a;
  --card: #101010;
  --line: #1d1d1d;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: #7c7c7c;
  --dim: #343434;
  --green: #58d979;
  --green-strong: #38d36a;
  --lime: #b8dc45;
  --font-display: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;
}
:root[data-theme="light"] {
  --background: #efefea;
  --card: #e2e2dc;
  --line: #c9c9c2;
  --line-soft: rgba(0, 0, 0, 0.1);
  --text: #0b0b0b;
  --muted: #666660;
  --dim: #b8b8b0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { width: 100%; max-width: 100vw; margin: 0; background: var(--background); color: var(--text); font-family: var(--font-body); overflow-x: hidden; }
main { width: 100%; max-width: 100vw; overflow: hidden; }
main:focus { outline: 0; }
body.is-loading { height: 100svh; overflow: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 110; border: 1px solid var(--green); background: #0a0a0a; color: #f5f5f5; padding: 0.75rem 1rem; font-size: 0.75rem; font-weight: 700; transform: translateY(-180%); transition: transform 180ms ease; }
.skip-link:focus-visible { transform: translateY(0); }
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #000; transition: opacity 700ms ease, visibility 700ms ease; animation: loader-failsafe 0s linear 7s forwards; }
.loader strong { font-family: var(--font-display); font-size: clamp(4.5rem, 9vw, 8rem); font-weight: 900; }
.loader span { position: absolute; bottom: 5.5rem; left: 3vw; width: 94vw; height: 2px; background: #fff; transform-origin: left; animation: load-line 1400ms ease forwards; }
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; animation: none; }
@keyframes load-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.header { position: fixed; inset: 0 0 auto 0; z-index: 90; background: rgba(10, 10, 10, 0.8); border-bottom: 1px solid var(--line-soft); backdrop-filter: blur(24px); }
.header-inner { display: flex; width: min(100vw, 1400px); min-height: 61px; align-items: center; justify-content: space-between; margin: 0 auto; padding: 0 1.5rem; }
.logo { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; }
.logo span { color: var(--green); }
.desktop-nav { position: absolute; left: 50%; display: flex; align-items: center; transform: translateX(-50%); }
.desktop-nav a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.75rem 1rem; color: #8c8c8c; font-size: 0.875rem; transition: color 180ms ease; }
.desktop-nav i { width: 0.35rem; height: 0.35rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); }
.desktop-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 0.45rem; }
.motion-button, .theme-button, .menu-button { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 0; background: transparent; color: #797979; padding: 0; cursor: pointer; }
.motion-button { border: 1px solid transparent; border-radius: 50%; font: 600 0.72rem/1 var(--font-display); transition: border-color 180ms ease, color 180ms ease; }
.motion-button:hover, .motion-button[aria-pressed="true"] { border-color: var(--line); color: var(--green); }
.theme-button span { position: relative; width: 0.72rem; height: 0.72rem; border: 1px solid currentColor; border-radius: 50%; }
.theme-button span::before { position: absolute; inset: -0.34rem; border: 1px dashed currentColor; border-radius: 50%; content: ""; }
.menu-button { display: none; width: auto; min-width: 4rem; border: 1px solid var(--line); border-radius: 0.25rem; color: var(--text); padding: 0 0.9rem; font: 500 0.875rem var(--font-body); }
.mobile-nav { position: fixed; top: 4.6rem; right: 1rem; z-index: 89; display: none; min-width: 230px; border: 1px solid var(--line); background: rgba(12, 12, 12, 0.96); color: #f5f5f5; padding: 1rem; }
.mobile-nav[hidden] { display: none; }
.mobile-nav.open { display: grid; gap: 1rem; }
.mobile-nav a { display: flex; min-height: 44px; align-items: center; }
.mobile-nav a:hover { color: var(--green); }
.hero { position: relative; display: flex; width: 100%; min-height: 100svh; height: 100vh; max-height: 900px; align-items: center; padding-top: 5rem; overflow: hidden; }
.hero-inner { position: relative; z-index: 3; width: min(100vw, 1400px); margin: 0 auto; padding: 0 1.5rem; }
.hero-copy { width: 75%; }
.wormhole-type {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-rays { position: absolute; z-index: 2; left: var(--ray-x, 38%); top: var(--ray-y, 78%); width: min(42rem, 50vw); height: min(28rem, 48vh); pointer-events: none; opacity: 0.52; filter: blur(26px); transform: translate(-16%, -17%); transform-origin: 0 0; background: radial-gradient(ellipse at 16% 12%, rgba(61, 255, 47, 0.38), rgba(61, 255, 47, 0.12) 32%, rgba(33, 148, 38, 0.06) 48%, transparent 72%); mix-blend-mode: screen; }
.hero-rays::after { position: absolute; inset: 0; background: radial-gradient(ellipse at 18% 10%, rgba(153, 255, 75, 0.18), transparent 60%); content: ""; }
.eyebrow { margin: 0 0 2rem; color: var(--green); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; }
.hero .eyebrow { width: auto; margin-bottom: 3.375rem; color: var(--green); font-size: 0.875rem; line-height: 1.25; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0; }
.hero h1 { margin: 0 0 2.5rem; font-size: 11rem; font-weight: 900; line-height: 1.05; }
.hero h1 span { display: block; opacity: 0; transform: translateY(42px); animation: hero-up 900ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
.hero h1 span:first-child {
  color: #f5f5f5;
  font-size: 6rem;
  font-weight: 400;
  line-height: 1.1;
}
.hero h1 span:nth-child(2),
.hero h1 span:nth-child(3) {
  width: max-content;
  color: var(--green);
  background: linear-gradient(135deg, var(--green-strong), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.05em;
}
.hero h1 span:nth-child(3) { margin-top: -1rem; }
.hero h1 span:nth-child(1) { animation-delay: 980ms; }
.hero h1 span:nth-child(2) { animation-delay: 1110ms; }
.hero h1 span:nth-child(3) { animation-delay: 1240ms; }
.hero-actions { display: flex; align-items: flex-start; gap: 2rem; }
.hero-actions p { width: min(100%, 28rem); margin: 0; color: #8c8c8c; font-size: 1.125rem; line-height: 1.625; }
.text-link, .view-all, .all-posts, .book-call { display: inline-flex; margin-top: 2rem; color: var(--text); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; }
.hero .text-link {
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 228px;
  min-height: 54px;
  margin-top: 0;
  border: 1px solid #43ff62;
  color: #43ff62;
  background: rgba(88, 217, 121, 0.025);
  box-shadow: 0 0 5px rgba(67, 255, 98, 0.75), 0 0 22px rgba(67, 255, 98, 0.44), 0 0 64px rgba(67, 255, 98, 0.18);
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: color 300ms ease, background 300ms ease, box-shadow 300ms ease;
}
.hero .text-link-icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin-left: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.text-link:hover, .view-all:hover, .all-posts:hover, .book-call:hover { color: var(--green); }
.hero .text-link:hover { color: #071108; background: var(--green); box-shadow: 0 0 32px rgba(88, 217, 121, 0.46); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 850ms ease, transform 850ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.hero .reveal { transition-delay: 1350ms; }
@keyframes hero-up { to { opacity: 1; transform: translateY(0); } }
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); background: var(--card); }
.trust-strip p { display: flex; min-height: 82px; align-items: center; justify-content: center; gap: 0.75rem; margin: 0; border-right: 1px solid var(--line); color: var(--muted); padding: 1rem; font-size: 0.7rem; font-weight: 600; line-height: 1.5; text-align: center; opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.trust-strip p:last-child { border-right: 0; }
.trust-strip p.in-view { opacity: 1; transform: translateY(0); }
.trust-strip span { color: var(--green); font: 800 0.6rem var(--font-display); }
.work { position: relative; margin-top: 4rem; padding: 0 max(1.25rem, calc((100vw - 1400px) / 2)); }
.view-all { position: absolute; top: -3rem; right: max(1.25rem, calc((100vw - 1400px) / 2)); }
.work-word { position: absolute; top: -5.5rem; left: -2rem; z-index: -1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1); font: 900 12rem / 1 var(--font-display); text-transform: uppercase; animation: float-word 8s ease-in-out infinite alternate; }
.work-stage { position: relative; min-height: 740px; overflow: hidden; border-block: 1px solid var(--line); background: #080808; }
.work-stage::after { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.08) 45%, rgba(0,0,0,0.84)); pointer-events: none; content: ""; }
.work-stage img { --work-shift: 0px; width: 100%; height: 740px; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.035) translateY(var(--work-shift)); transition: opacity 500ms ease, transform 900ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 900ms ease; }
.work-stage:hover img, .work-stage:focus-within img { filter: grayscale(0.2) contrast(1.05); transform: scale(1.065); }
.work-stage.is-switching img { opacity: 0; transform: scale(1.1); }
.work-caption { position: absolute; left: 1.5rem; bottom: 2rem; z-index: 2; color: #fff; }
.work-caption h2 { margin: 0 0 0.4rem; font-size: 1.45rem; font-weight: 900; }
.work-caption p { margin: 0; color: #b7b7b7; font-size: 0.58rem; letter-spacing: 0.18em; }
.work-count { position: absolute; top: 2rem; right: 2rem; z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 800; }
.work-controls { position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 3; display: flex; gap: 0.5rem; }
.work-controls button { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid rgba(255,255,255,0.42); border-radius: 50%; background: rgba(0,0,0,0.35); color: #fff; cursor: pointer; transition: border-color 180ms ease, background 180ms ease; }
.work-controls button:hover { border-color: var(--green); background: rgba(88,217,121,0.16); }
.work-caption h2, .work-caption p, .work-count { transition: opacity 350ms ease, transform 350ms ease; }
.work-stage.is-switching .work-caption h2, .work-stage.is-switching .work-caption p, .work-stage.is-switching .work-count { opacity: 0; transform: translateY(10px); }

.section-heading { max-width: 980px; margin-bottom: 3rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.services { padding: 9rem max(1.25rem, calc((100vw - 1400px) / 2)); }
.service-row { border-top: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1), border-color 250ms ease; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row.in-view { opacity: 1; transform: translateY(0); }
.service-row:hover, .service-row.is-open { border-color: rgba(88, 217, 121, 0.45); }
.service-trigger { display: grid; grid-template-columns: 4rem 1fr 3rem; width: 100%; min-height: 128px; align-items: center; border: 0; background: transparent; color: var(--text); padding: 0; text-align: left; cursor: pointer; }
.service-trigger span { color: var(--muted); font-size: 0.7rem; font-weight: 700; }
.service-trigger strong { color: var(--dim); font: 900 3.65rem/1 var(--font-display); transition: color 250ms ease, transform 250ms ease; }
.service-trigger i { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-style: normal; transition: color 250ms ease, border-color 250ms ease, transform 350ms ease; }
.service-row:hover .service-trigger strong, .service-row.is-open .service-trigger strong { color: var(--text); transform: translateX(0.45rem); }
.service-row.is-open .service-trigger i { border-color: var(--green); color: var(--green); transform: rotate(90deg); }
.service-panel { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr); gap: 3rem; align-items: end; padding: 0 3rem 2.75rem 4rem; animation: panel-in 500ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.service-panel[hidden] { display: none; }
.service-panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(0.8) contrast(1.08); }
.service-panel.text-only { grid-template-columns: 1fr; padding-right: max(3rem, 14%); }
.service-panel.text-only > div { display: grid; grid-template-columns: minmax(240px, 0.75fr) minmax(320px, 1fr); gap: 3rem; max-width: 980px; align-items: start; }
.service-panel.text-only p, .service-panel.text-only ul { margin-top: 0; }
.service-panel p { max-width: 580px; color: var(--muted); font-size: 0.92rem; line-height: 1.8; }
.service-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.service-panel li { color: var(--muted); font-size: 0.78rem; }
.service-panel li::before { color: var(--green); content: "→ "; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

.compatibility { padding: 8rem max(1.25rem, calc((100vw - 1400px) / 2)); background: var(--card); }
.compatibility-head { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr); gap: 6rem; align-items: end; margin-bottom: 4rem; }
.compatibility-head .letter-title { max-width: 760px; margin-bottom: 0; }
.compatibility-head > p { max-width: 610px; margin: 0 0 0.45rem; color: var(--muted); font-size: 0.88rem; line-height: 1.85; }
.compatibility-table { border-top: 1px solid var(--line); }
.compatibility-row { display: grid; grid-template-columns: 3.25rem minmax(190px, 0.6fr) minmax(280px, 1.4fr); gap: 1.5rem; align-items: center; min-height: 118px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: opacity 750ms ease, transform 750ms cubic-bezier(0.22, 0.61, 0.36, 1), border-color 180ms ease; }
.compatibility-row.in-view { opacity: 1; transform: translateY(0); }
.compatibility-row:hover { border-color: rgba(88, 217, 121, 0.48); }
.compatibility-row > span { color: var(--green); font: 800 0.65rem var(--font-display); }
.compatibility-row h3 { margin: 0; font-size: 1.25rem; }
.compatibility-row p { max-width: 720px; margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.75; }
.compatibility-note { max-width: 820px; margin: 1.5rem 0 0 auto; color: var(--muted); font-size: 0.66rem; line-height: 1.7; text-align: right; }

.engagement { display: grid; justify-items: center; padding: 7rem 1.25rem 9rem; background: var(--card); text-align: center; }
.vertical-title, .letter-title { font-family: var(--font-display); font-size: 5rem; font-weight: 900; line-height: 0.98; }
.vertical-title { max-width: 1100px; margin: 0 0 2.5rem; color: var(--text); text-align: center; white-space: normal; }
.letter-title { margin: 0 0 3rem; color: var(--text); }
.letter-title.left { color: var(--text); text-align: left; }
.engagement-copy { max-width: 600px; color: var(--muted); font-size: 0.88rem; line-height: 1.8; }
.engagement-grid { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); width: min(1180px, 100%); margin-top: 2rem; text-align: left; }
.engagement-grid article { min-height: 390px; border: 1px solid var(--line); padding: 2rem; background: var(--background); }
.engagement-grid article + article { border-left: 0; }
.engagement-grid .featured { background: var(--green); color: #071108; }
.engagement-grid small { display: block; margin-bottom: 3rem; color: var(--green); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; }
.engagement-grid .featured small { color: #17351f; }
.engagement-grid h3 { margin-bottom: 1rem; font-size: 2rem; font-weight: 900; }
.engagement-grid p { min-height: 78px; color: var(--muted); font-size: 0.8rem; line-height: 1.7; }
.engagement-grid .featured p { color: #20432a; }
.engagement-grid ul { display: grid; gap: 0.65rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.72rem; }
.engagement-grid .featured ul { color: #16351f; }
.engagement-grid li::before { content: "• "; }
.book-call { align-items: center; justify-content: center; min-height: 52px; margin-top: 2rem; border: 1px solid var(--line); border-radius: 4px; padding: 0.75rem 1.25rem; transition: color 180ms ease, border-color 180ms ease; }

.layers, .system, .proof { padding: 8rem max(1.25rem, calc((100vw - 1400px) / 2)); text-align: center; }
.layers-marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.layers-marquee div { display: flex; width: max-content; animation: marquee 28s linear infinite; will-change: transform; }
.layers-marquee span { color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.letter-title .word, .vertical-title .word { display: inline-block; white-space: nowrap; }
.letter-title .char, .vertical-title .char { display: inline-block; opacity: 0; transform: translateY(0.65em) rotateX(70deg); transform-origin: 50% 100%; transition: opacity 700ms ease, transform 850ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.letter-title.in-view .char, .vertical-title.in-view .char { opacity: 1; transform: translateY(0) rotateX(0deg); }
.letter-title .space, .vertical-title .space { width: 0.32em; }
@keyframes float-word { from { transform: translate3d(-2%, 0, 0); } to { transform: translate3d(2%, 1.2rem, 0); } }

.system { background: var(--card); }
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); border-left: 1px solid var(--line); text-align: left; }
.system-grid article { min-height: 240px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.5rem; }
.system-grid span { color: var(--green); font-size: 0.65rem; font-weight: 800; }
.system-grid h3 { margin: 4rem 0 0.6rem; font-size: 1.25rem; }
.system-grid p { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.7; }

.case-study { padding: 8rem max(1.25rem, calc((100vw - 1400px) / 2)); }
.case-layout { display: grid; grid-template-columns: minmax(340px, 1.05fr) minmax(360px, 0.95fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; max-width: 1280px; margin: 0 auto; }
.case-visual { margin: 0; }
.case-visual img { width: 100%; height: auto; aspect-ratio: 16 / 10; border: 1px solid var(--line); object-fit: cover; filter: grayscale(0.72) contrast(1.08); }
.case-visual figcaption { border-bottom: 1px solid var(--line); color: var(--green); padding: 0.85rem 0; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.13em; }
.case-layout .letter-title { margin-bottom: 1.5rem; font-size: clamp(3.25rem, 5vw, 5rem); }
.case-intro { max-width: 620px; color: var(--muted); font-size: 0.85rem; line-height: 1.8; }
.case-flow { border-top: 1px solid var(--line); }
.case-flow article { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.case-flow article.in-view { opacity: 1; transform: translateY(0); }
.case-flow span { color: var(--green); font: 800 0.6rem var(--font-display); }
.case-flow h3 { margin: 0 0 0.25rem; font-size: 0.85rem; }
.case-flow p { margin: 0; color: var(--muted); font-size: 0.68rem; line-height: 1.65; }
.case-note { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.62rem; line-height: 1.7; }

.proof-marquee { display: flex; gap: 2rem; overflow: hidden; margin-bottom: 2rem; border-block: 1px solid rgba(86, 231, 130, 0.35); color: var(--green); font-size: 0.64rem; letter-spacing: 0.15em; padding: 0.75rem 0; white-space: nowrap; }
.proof-marquee span { animation: marquee 20s linear infinite; }
.proof-content { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; text-align: left; }
.proof-content > img { width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(86, 231, 130, 0.36); object-fit: cover; filter: saturate(0.75) contrast(1.06); }
.proof-content-text-only { grid-template-columns: 1fr; max-width: 920px; margin-inline: auto; }
.proof-list article { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.proof-list span { color: var(--muted); font-size: 0.65rem; font-weight: 800; }
.proof-list h3 { margin: 0 0 0.35rem; font-size: 0.92rem; }
.proof-list p { margin: 0; color: var(--muted); font-size: 0.7rem; line-height: 1.65; }

.safety { padding: 8rem max(1.25rem, calc((100vw - 1400px) / 2)); background: var(--card); }
.safety .section-heading { max-width: 1050px; }
.safety-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1200px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.safety-grid article { min-height: 250px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.5rem; opacity: 0; transform: translateY(20px); transition: opacity 750ms ease, transform 750ms cubic-bezier(0.22, 0.61, 0.36, 1), background 180ms ease; }
.safety-grid article.in-view { opacity: 1; transform: translateY(0); }
.safety-grid article:hover { background: var(--background); }
.safety-grid span { color: var(--green); font: 800 0.65rem var(--font-display); }
.safety-grid h3 { margin: 3.5rem 0 0.65rem; font-size: 1.1rem; }
.safety-grid p { margin: 0; color: var(--muted); font-size: 0.72rem; line-height: 1.7; }

.fit, .faq, .brief, .footer { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 6rem; padding: 8rem max(1.25rem, calc((100vw - 1400px) / 2)); }
.fit { background: var(--card); }
.fit-copy > p, .faq > div > p, .brief > div > p { color: var(--muted); font-size: 0.9rem; line-height: 1.9; }
.fit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.fit-columns h3 { margin-bottom: 1rem; font-size: 0.85rem; text-transform: uppercase; }
.fit-columns ul { display: grid; gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.fit-columns li { color: var(--muted); font-size: 0.76rem; line-height: 1.6; }
.fit-columns li::before { color: var(--green); content: "→ "; }
.faq h2, .brief h2 { margin: 0 0 1.2rem; font-size: 5rem; font-weight: 900; line-height: 0.95; }
.brief h2 span { color: var(--green); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
summary { cursor: pointer; font-size: 0.82rem; font-weight: 700; list-style: none; }
summary::after { content: "+"; float: right; color: var(--green); }
details[open] summary::after { content: "−"; }
details p { margin: 0.85rem 2rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.75; }

.brief { background: var(--card); }
.brief > div > .brief-warning { max-width: 560px; margin-top: 1.5rem; border-left: 2px solid var(--green); color: var(--text); padding-left: 1rem; font-size: 0.72rem; line-height: 1.7; }
.brief-warning strong { color: var(--green); }
.brief-steps { max-width: 560px; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.brief-steps > p { margin: 1rem 0 0.25rem; color: var(--green); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; }
.brief-steps ol { margin: 0; padding: 0; list-style: none; }
.brief-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.8rem; align-items: start; border-bottom: 1px solid var(--line); padding: 0.95rem 0; }
.brief-steps li > span { color: var(--muted); font: 800 0.6rem var(--font-display); }
.brief-steps strong, .brief-steps small { display: block; }
.brief-steps strong { margin-bottom: 0.25rem; color: var(--text); font: 700 0.76rem var(--font-display); }
.brief-steps small { color: var(--muted); font-size: 0.68rem; line-height: 1.6; }
form { display: grid; gap: 0.9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
label { display: grid; gap: 0.45rem; color: var(--muted); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 0; background: var(--background); color: var(--text); padding: 0.95rem; font-size: 0.82rem; outline: 1px solid transparent; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--green); outline-color: var(--green); }
.brief-ack { grid-template-columns: 1rem 1fr; gap: 0.75rem; align-items: start; margin: 0.35rem 0; color: var(--muted); font-size: 0.68rem; font-weight: 400; letter-spacing: 0; line-height: 1.65; }
.brief-ack input { width: 1rem; height: 1rem; margin: 0.15rem 0 0; padding: 0; accent-color: var(--green-strong); }
form > button { min-height: 52px; margin-top: 0.5rem; border: 0; background: var(--green-strong); color: #050505; padding: 1rem; font: 900 0.68rem var(--font-display); letter-spacing: 0.12em; cursor: pointer; transition: filter 180ms ease, transform 180ms ease; }
form > button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.brief-result { margin-top: 0.75rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.brief-result > p:first-child { margin-bottom: 0.75rem; color: var(--text); font-size: 0.78rem; font-weight: 700; }
.brief-result pre { max-height: 320px; margin: 0 0 1rem; overflow: auto; border-block: 1px solid var(--line); background: var(--background); color: var(--muted); padding: 1rem; font: 400 0.68rem/1.75 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.brief-result > div { display: flex; gap: 0.6rem; }
.brief-result button { min-height: 38px; border: 1px solid var(--line); background: transparent; color: var(--text); padding: 0.55rem 0.8rem; font-size: 0.62rem; font-weight: 800; cursor: pointer; }
.brief-result button:hover { border-color: var(--green); color: var(--green); }
[data-form-status] { min-height: 1rem; margin: 0.75rem 0 0; color: var(--green); font-size: 0.7rem; }

.resource-gateway { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 6rem; padding: 8rem max(1.25rem, calc((100vw - 1400px) / 2)); border-top: 1px solid var(--line); }
.resource-gateway > div:first-child > p:last-child { max-width: 590px; margin: 1.5rem 0 0; color: var(--muted); line-height: 1.85; }
.gateway-links { border-top: 1px solid var(--line); }
.gateway-links a { display: grid; grid-template-columns: 2.5rem 1fr 2rem; gap: 1rem; align-items: center; min-height: 82px; border-bottom: 1px solid var(--line); transition: color 180ms ease, padding 180ms ease; }
.gateway-links a:hover { color: var(--green); padding-left: 0.5rem; }
.gateway-links span { color: var(--muted); font-size: 0.68rem; }
.gateway-links strong { font-family: var(--font-display); font-size: 1.15rem; }
.gateway-links i { font-style: normal; text-align: right; }

.motion-paused .work-word,
.motion-paused .layers-marquee div,
.motion-paused .proof-marquee span { animation-play-state: paused !important; }

.footer { grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr; gap: 4rem; padding-bottom: 3rem; border-top: 1px solid var(--line); }
.footer h2 { margin: 0 0 1rem; font-size: 1rem; font-weight: 900; }
.footer h3 { margin: 0 0 1rem; color: var(--text); font-size: 0.64rem; }
.footer p, .footer a, .footer span { display: block; max-width: 330px; color: var(--muted); font-size: 0.7rem; line-height: 1.9; }
.footer a:hover { color: var(--green); }
.legal { margin: 0; padding: 1rem max(1.25rem, calc((100vw - 1400px) / 2)) 2rem; color: var(--muted); font-size: 0.62rem; line-height: 1.6; text-align: center; }

:root[data-theme="light"] .header { background: rgba(10, 10, 10, 0.9); color: #f5f5f5; }
:root[data-theme="light"] .menu-button { border-color: rgba(255, 255, 255, 0.2); color: #f5f5f5; }
:root[data-theme="light"] .hero { background: #0a0a0a; color: #f5f5f5; }
:root[data-theme="light"] .hero h1 span:first-child { color: #f5f5f5; }
:root[data-theme="light"] .work-word { -webkit-text-stroke-color: rgba(0,0,0,0.12); }

@media (max-width: 1100px) {
  .service-trigger strong { font-size: 3rem; }
  .proof-content { grid-template-columns: 1fr; }
  .proof-content > img { max-height: 620px; }
  .fit, .faq, .brief { gap: 3.5rem; }
  .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .work-stage, .work-stage img { height: 520px; min-height: 520px; }
  .vertical-title, .letter-title { font-size: 3.5rem; }
  .service-panel, .compatibility-head, .case-layout, .fit, .faq, .brief, .resource-gateway, .footer { grid-template-columns: 1fr; }
  .service-panel { padding-left: 4rem; }
  .service-panel.text-only > div { grid-template-columns: 1fr; gap: 0; }
  .service-panel.text-only ul { margin-top: 1.5rem; }
  .service-panel img { max-height: 430px; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .fit, .faq, .brief, .resource-gateway, .footer { gap: 2.5rem; }
  .faq h2, .brief h2 { font-size: 3.75rem; }
  .compatibility-head { gap: 2rem; }
  .compatibility-head > p { max-width: 760px; }
  .case-layout { gap: 3.5rem; }
}
@media (max-width: 767px) {
  .header { width: 100vw; }
  .header-inner { margin-inline: 0; }
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .hero { height: 100svh; max-height: none; align-items: center; padding-top: 5rem; padding-bottom: 0; }
  .hero-copy { width: 100%; }
  .hero .eyebrow { position: relative; top: -1rem; margin-bottom: 2rem; }
  .hero h1 { margin-bottom: 2rem; font-size: 5.7rem; }
  .hero h1 span:first-child { font-size: 3.75rem; }
  .hero h1 span:nth-child(3) { margin-top: -0.5rem; font-size: 0.7em; white-space: nowrap; }
  .hero-actions { position: relative; top: 1.5rem; flex-direction: column; gap: 1.5rem; }
  .hero-actions p { width: min(100%, 22rem); font-size: 1rem; }
  .hero .text-link { min-width: 0; padding-inline: 1rem; }
  .hero-rays { opacity: 0.22; }
  .work-word { top: -3.5rem; font-size: 7rem; }
  .service-trigger { grid-template-columns: 2.5rem 1fr 2.75rem; min-height: 98px; }
  .service-trigger strong { font-size: 2.2rem; }
  .service-panel { gap: 1.5rem; padding: 0 0 2rem 2.5rem; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip p:nth-child(2) { border-right: 0; }
  .trust-strip p:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .engagement-grid { grid-template-columns: 1fr; }
  .engagement-grid article + article { border-top: 0; border-left: 1px solid var(--line); }
  .system-grid { grid-template-columns: 1fr 1fr; }
  .system-grid article { min-height: 220px; }
  .proof { text-align: left; }
  .proof .letter-title { color: var(--text); }
}
@media (max-width: 560px) {
  .loader strong { font-size: 4.2rem; }
  .header-inner, .hero-inner { padding-inline: 1.25rem; }
  .eyebrow { margin-bottom: 1.5rem; font-size: 0.68rem; letter-spacing: 0.2em; }
  .hero h1 { font-size: 4.5rem; }
  .hero h1 span:first-child { font-size: 3rem; }
  .hero h1 span:nth-child(3) { font-size: 0.66em; }
  .hero .text-link { min-height: 50px; padding: 0.85rem 1.35rem; font-size: 0.75rem; }
  .work { margin-top: 3rem; }
  .view-all { top: -2.25rem; }
  .work-stage, .work-stage img { height: 430px; min-height: 430px; }
  .work-caption { right: 1rem; bottom: 1.25rem; left: 1rem; }
  .work-caption h2 { max-width: 72%; font-size: 1.05rem; }
  .work-count { top: 1rem; right: 1rem; font-size: 0.72rem; }
  .work-controls { right: 1rem; bottom: 1rem; }
  .work-controls button { width: 2.35rem; height: 2.35rem; }
  .services, .compatibility, .layers, .system, .case-study, .proof, .safety, .fit, .faq, .brief { padding-top: 6rem; padding-bottom: 6rem; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip p { min-height: 64px; justify-content: flex-start; border-right: 0; padding-inline: 1.25rem; text-align: left; }
  .trust-strip p:not(:last-child) { border-bottom: 1px solid var(--line); }
  .vertical-title, .letter-title { font-size: 2.45rem; line-height: 1.02; }
  .service-trigger { grid-template-columns: 2rem 1fr 2.25rem; min-height: 84px; }
  .service-trigger strong { font-size: 1.55rem; line-height: 1.05; }
  .service-trigger i { width: 2rem; height: 2rem; }
  .service-panel { padding-left: 2rem; }
  .service-panel ul, .fit-columns, .field-row { grid-template-columns: 1fr; }
  .compatibility-row { grid-template-columns: 2rem 1fr; gap: 0.6rem 0.8rem; align-items: start; padding: 1.25rem 0; }
  .compatibility-row p { grid-column: 2; }
  .compatibility-note { text-align: left; }
  .engagement { padding-block: 6rem; }
  .engagement-grid article { min-height: 350px; padding: 1.5rem; }
  .engagement-grid h3 { font-size: 1.55rem; }
  .system-grid { grid-template-columns: 1fr; }
  .system-grid article { min-height: 190px; }
  .system-grid h3 { margin-top: 3rem; }
  .proof-list article { grid-template-columns: 2rem 1fr; }
  .case-layout .letter-title { font-size: 2.45rem; }
  .safety-grid { grid-template-columns: 1fr; }
  .safety-grid article { min-height: 220px; }
  .faq h2, .brief h2 { font-size: 3rem; }
  .brief-result > div { align-items: stretch; flex-direction: column; }
  .resource-gateway { padding-block: 6rem; }
  .footer { padding-top: 5rem; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 3.75rem; }
  .hero h1 span:first-child { font-size: 2.6rem; }
  .hero h1 span:nth-child(3) { font-size: 2.42rem; }
  .hero-actions p { font-size: 0.88rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 6rem; }
  .hero h1 span:first-child { font-size: 3.75rem; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero h1 { font-size: 9rem; }
  .hero h1 span:first-child { font-size: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 1ms !important; }
  .letter-title .char, .vertical-title .char, .reveal, .trust-strip p, .service-row, .compatibility-row, .engagement-grid article, .case-flow article, .safety-grid article { opacity: 1; transform: none; }
  .work-stage img { transform: none !important; }
  .hero-rays { display: none; }
}
