@font-face {
  font-family: "Oswald Local";
  src: url("../fonts/oswald-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --gold: #f4af00;
  --gold-deep: #d79700;
  --ink: #131315;
  --muted: #66666b;
  --paper: #f8f7f3;
  --white: #ffffff;
  --soft: #efeee9;
  --line: rgba(19, 19, 21, 0.13);
  --dark-line: rgba(255, 255, 255, 0.13);
  --dark: #0b0b0c;
  --dark-soft: #141416;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(19, 19, 21, 0.08);
  --container: min(1180px, calc(100% - 48px));
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Oswald Local", "Arial Narrow", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
ul,
ol {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.2vw, 4.15rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

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

.surface-soft {
  background: var(--soft);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 78px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 243, 0.91);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  text-decoration: none;
}

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

.brand span {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.brand b {
  color: var(--gold-deep);
  font-weight: 500;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 7px;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 9px 11px;
  color: #3f3f43;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
  background: rgba(244, 175, 0, 0.15);
}

.nav-mobile-contact,
.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #16120a;
  background: var(--gold);
  border-color: var(--gold);
}

.button-primary:hover {
  background: #ffbd18;
  border-color: #ffbd18;
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--white);
  border-color: rgba(19, 19, 21, 0.28);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  background: #29292c;
}

.button-dark-outline {
  color: var(--white);
  background: transparent;
  border-color: var(--dark-line);
}

.button-dark-outline:hover {
  border-color: var(--gold);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 12px;
}

.eyebrow,
.os-kicker {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 9px;
  color: #735300;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before,
.os-kicker::before {
  width: 22px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.eyebrow-dark,
.os-kicker {
  color: var(--gold);
}

.lede {
  max-width: 760px;
  color: #4d4d51;
  font-size: clamp(1.05rem, 1.7vw, 1.27rem);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
}

.text-link::after {
  position: absolute;
}

.text-link:hover {
  color: #8a6100;
}

.breadcrumbs {
  margin-bottom: 36px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 7px;
  color: #a4a4a6;
  content: "/";
}

.breadcrumbs a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 16%, rgba(244, 175, 0, 0.19), transparent 28%),
    linear-gradient(90deg, rgba(19, 19, 21, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(19, 19, 21, 0.045) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.hero::after {
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(244, 175, 0, 0.3);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 78px - clamp(160px, 20vw, 264px));
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: clamp(54px, 8vw, 110px);
}

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

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 22px;
  gap: 9px 20px;
  border-top: 1px solid var(--line);
  color: #4d4d51;
  font-size: 0.83rem;
}

.hero-contact span {
  color: var(--muted);
  font-weight: 800;
}

.hero-contact a {
  font-weight: 750;
  text-decoration: none;
}

.system-visual {
  position: relative;
  min-height: 500px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(19, 19, 21, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.67);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.system-visual::before,
.system-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.system-visual::before {
  z-index: -1;
  right: -40px;
  bottom: -30px;
  width: 240px;
  height: 240px;
  background: var(--gold);
  filter: blur(2px);
}

.system-visual::after {
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(19, 19, 21, 0.13);
  transform: translate(-50%, -50%);
}

.visual-top {
  display: flex;
  justify-content: space-between;
  color: #646469;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-dot::before {
  width: 7px;
  height: 7px;
  background: #4ba659;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(75, 166, 89, 0.12);
  content: "";
}

.system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 220px;
  min-height: 180px;
  padding: 24px;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: var(--ink);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(19, 19, 21, 0.24);
  transform: translate(-50%, -50%) rotate(-4deg);
  animation: float-core 6s ease-in-out infinite;
}

.system-core strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
}

.system-core span {
  margin-top: 14px;
  color: #b8b8bc;
  font-size: 0.68rem;
}

.system-nodes span {
  position: absolute;
  padding: 8px 13px;
  border: 1px solid rgba(19, 19, 21, 0.12);
  border-radius: 999px;
  background: rgba(248, 247, 243, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(19, 19, 21, 0.07);
}

.system-nodes span:nth-child(1) { top: 19%; left: 9%; }
.system-nodes span:nth-child(2) { top: 24%; right: 8%; }
.system-nodes span:nth-child(3) { bottom: 22%; left: 8%; }
.system-nodes span:nth-child(4) { right: 9%; bottom: 16%; }

@keyframes float-core {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(-2deg) translateY(-10px); }
}

.trust-strip {
  color: #bbbcc0;
  background: var(--ink);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}

.trust-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.trust-inner span + span::before {
  margin-right: clamp(18px, 3vw, 42px);
  color: var(--gold);
  content: "•";
}

.section-intro {
  display: grid;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
  gap: clamp(36px, 7vw, 100px);
}

.section-intro h2,
.sticky-copy h2 {
  max-width: 720px;
}

.section-intro > p,
.sticky-copy > p:not(.eyebrow),
.capabilities-grid .sticky-copy > p,
.faq-layout .sticky-copy > p {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.03rem;
}

.section-intro.compact {
  align-items: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 300px;
  padding: 26px;
  flex-direction: column;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  border-color: rgba(244, 175, 0, 0.75);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card:nth-child(1),
.service-card:nth-child(5) {
  background: var(--gold);
  border-color: var(--gold);
}

.service-card h3 {
  max-width: 300px;
  margin-top: 32px;
  font-size: 1.37rem;
}

.service-card p {
  color: #55555a;
  font-size: 0.91rem;
}

.service-card:nth-child(1) p,
.service-card:nth-child(5) p {
  color: #41371f;
}

.card-index {
  color: #77777b;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.split-feature,
.capabilities-grid,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(56px, 9vw, 130px);
}

.sticky-copy {
  align-self: start;
  top: 120px;
}

@media (min-width: 901px) {
  .sticky-copy { position: sticky; }
}

.principle-list {
  border-top: 1px solid var(--line);
}

.line-item {
  display: grid;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 48px 1fr;
  gap: 18px;
}

.line-item > span {
  color: #8c8c91;
  font-family: var(--font-display);
  font-size: 0.77rem;
}

.line-item p {
  max-width: 600px;
  color: var(--muted);
}

.os-feature {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 35%, rgba(244, 175, 0, 0.18), transparent 25%),
    var(--dark);
}

.os-feature-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(60px, 10vw, 150px);
}

.os-feature h2 {
  max-width: 770px;
}

.os-feature .lede {
  color: #bdbdc3;
}

.os-orbit {
  position: relative;
  min-height: 440px;
}

.os-monolith {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  width: 190px;
  height: 270px;
  padding: 27px;
  flex-direction: column;
  color: var(--white);
  border: 1px solid rgba(244, 175, 0, 0.4);
  background: linear-gradient(145deg, #2b2412, #0c0c0e 52%);
  box-shadow: 0 0 70px rgba(244, 175, 0, 0.16), 25px 30px 0 rgba(244, 175, 0, 0.09);
  transform: translate(-50%, -50%) rotate(5deg);
}

.os-monolith span,
.os-monolith small {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.os-monolith strong {
  margin: auto 0;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(244, 175, 0, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-a { width: 360px; height: 360px; animation: orbit-spin 18s linear infinite; }
.orbit-b { width: 250px; height: 250px; border-style: dashed; animation: orbit-spin 12s linear infinite reverse; }

.orbit::after {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--gold);
  content: "";
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-card {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-card > span,
.outcome-card > span,
.principle-card > span,
.foundation-card > span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #77777b;
  font-family: var(--font-display);
  font-size: 0.72rem;
}

.process-card p,
.outcome-card p,
.principle-card p,
.foundation-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.us-section {
  background:
    radial-gradient(circle at 15% 50%, rgba(244, 175, 0, 0.24), transparent 30%),
    var(--white);
}

.us-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(60px, 10vw, 150px);
}

.us-badge {
  display: flex;
  aspect-ratio: 1;
  width: min(100%, 360px);
  padding: 34px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(19, 19, 21, 0.15);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 28px 28px 0 var(--soft);
}

.us-badge span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.us-badge strong {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  font-weight: 500;
  line-height: 1;
}

.closing {
  background: var(--gold);
}

.closing-inner {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: space-between;
  padding-block: 60px;
  gap: 50px;
}

.closing h2 {
  max-width: 790px;
  margin: 0;
}

.closing .eyebrow {
  color: #493700;
}

.closing .eyebrow::before {
  background: var(--ink);
}

.page-hero,
.service-hero {
  background:
    radial-gradient(circle at 89% 14%, rgba(244, 175, 0, 0.2), transparent 24%),
    linear-gradient(90deg, rgba(19, 19, 21, 0.035) 1px, transparent 1px);
  background-size: auto, 64px 64px;
}

.page-hero {
  min-height: 600px;
}

.page-hero-grid {
  display: grid;
  align-items: end;
  padding-top: clamp(40px, 7vw, 90px);
  grid-template-columns: 1.1fr 0.72fr;
  gap: clamp(48px, 9vw, 140px);
}

.page-hero h1,
.service-hero h1 {
  max-width: 880px;
  font-size: clamp(2.45rem, 5.1vw, 3.85rem);
}

.hero-aside {
  padding: 26px 0 10px 30px;
  border-left: 2px solid var(--gold);
  color: #4f4f54;
  font-size: 1.06rem;
}

.hero-aside .text-link {
  margin-top: 18px;
}

.service-grid-wide .service-card {
  background: rgba(255, 255, 255, 0.7);
}

.service-grid-wide .service-card:nth-child(1),
.service-grid-wide .service-card:nth-child(5) {
  background: var(--gold);
}

.service-hero-grid {
  display: grid;
  align-items: end;
  padding-top: clamp(40px, 6vw, 75px);
  grid-template-columns: 1.18fr 0.62fr;
  gap: clamp(50px, 8vw, 120px);
}

.service-hero .lede {
  max-width: 780px;
}

.fit-card {
  padding: 28px;
  border: 1px solid rgba(19, 19, 21, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.fit-card > span {
  display: block;
  margin-bottom: 18px;
  color: #785700;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fit-card p {
  color: #505055;
}

.outcome-grid,
.related-grid,
.principle-grid,
.foundation-grid,
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.outcome-card,
.principle-card,
.foundation-card,
.role-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
}

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

.capability-list li {
  display: grid;
  padding: 21px 4px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 52px 1fr;
  font-size: 1.03rem;
  font-weight: 730;
}

.capability-list span {
  color: #8b8b90;
  font-family: var(--font-display);
  font-size: 0.74rem;
}

.dark-panel {
  color: var(--white);
  background: var(--dark);
}

.dark-panel .section-intro > p,
.dark-panel .process-card p {
  color: #b6b6bb;
}

.dark-panel .process-grid,
.dark-panel .process-card,
.dark-panel .process-card > span {
  border-color: var(--dark-line);
}

.dark-panel .process-card > span {
  color: var(--gold);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  padding: 25px 0;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 800;
  list-style: none;
}

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

.faq-item summary span {
  color: var(--gold-deep);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 160ms ease;
}

.faq-item[open] summary span {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 680px;
  padding: 0 46px 25px 0;
  color: var(--muted);
}

.related-card {
  display: flex;
  min-height: 170px;
  padding: 26px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.related-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.related-card span {
  color: #745400;
  font-size: 0.8rem;
  font-weight: 900;
}

.theme-dark {
  color: var(--white);
  background: var(--dark);
}

.theme-dark .site-header {
  border-bottom-color: var(--dark-line);
  background: rgba(11, 11, 12, 0.9);
}

.theme-dark .nav-link {
  color: #c2c2c7;
}

.theme-dark .nav-link:hover,
.theme-dark .nav-link[aria-current="page"] {
  color: var(--white);
  background: rgba(244, 175, 0, 0.16);
}

.theme-dark .breadcrumbs,
.theme-dark .breadcrumbs a {
  color: #a7a7ac;
}

.os-hero {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 48%, rgba(244, 175, 0, 0.16), transparent 25%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--dark);
  background-size: auto, 64px 64px, auto;
}

.os-hero-grid {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 78px - clamp(160px, 20vw, 264px));
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(60px, 10vw, 150px);
}

.os-hero h1 {
  max-width: 720px;
  font-size: clamp(2.8rem, 6vw, 4.9rem);
  font-weight: 400;
  text-transform: uppercase;
}

.os-hero h1 span {
  color: var(--gold);
}

.os-hero .lede {
  color: #b7b7bd;
}

.cinematic-core {
  position: relative;
  min-height: 540px;
  perspective: 1000px;
}

.core-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(244, 175, 0, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(244, 175, 0, 0.05), 0 0 80px rgba(244, 175, 0, 0.06);
  transform: translate(-50%, -50%) rotateX(62deg);
  animation: halo-pulse 5s ease-in-out infinite;
}

@keyframes halo-pulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) rotateX(62deg) scale(0.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) rotateX(62deg) scale(1.04); }
}

.core-block {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  width: 210px;
  height: 330px;
  padding: 30px;
  flex-direction: column;
  border: 1px solid rgba(244, 175, 0, 0.5);
  background: linear-gradient(145deg, #2d2511 0%, #0d0d0f 54%, #171719 100%);
  box-shadow: 0 0 100px rgba(244, 175, 0, 0.18), 30px 30px 0 rgba(244, 175, 0, 0.07);
  transform: translate(-50%, -50%) rotateY(-10deg) rotateX(3deg);
}

.core-block span,
.core-block small {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.core-block strong {
  margin: auto 0;
  font-family: var(--font-display);
  font-size: 6.7rem;
  font-weight: 200;
  line-height: 1;
}

.core-label {
  position: absolute;
  z-index: 3;
  padding: 8px 13px;
  color: #d3d3d8;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.75);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label-a { top: 20%; left: 1%; }
.label-b { top: 28%; right: 0; }
.label-c { bottom: 24%; left: 0; }
.label-d { right: 0; bottom: 17%; }

.os-dark {
  color: var(--white);
  background: #101012;
  border-top: 1px solid var(--dark-line);
}

.os-dark .section-intro > p,
.os-dark .role-card p,
.os-dark .foundation-card p {
  color: #aaaab0;
}

.role-card,
.foundation-card {
  border-color: var(--dark-line);
  background: rgba(255, 255, 255, 0.025);
}

.role-card > span {
  display: block;
  margin-bottom: 55px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.os-modules {
  color: var(--white);
  background: var(--dark);
}

.os-modules .section-intro > p {
  color: #aaaab0;
}

.module-layout {
  display: grid;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 22px;
  background: var(--dark-soft);
  grid-template-columns: 0.36fr 0.64fr;
}

.module-tabs {
  display: flex;
  padding: 12px;
  flex-direction: column;
  border-right: 1px solid var(--dark-line);
}

.module-tabs button {
  padding: 17px 18px;
  color: #a9a9ae;
  border: 0;
  border-bottom: 1px solid var(--dark-line);
  background: transparent;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: left;
}

.module-tabs button:hover,
.module-tabs button[aria-selected="true"] {
  color: var(--white);
  background: rgba(244, 175, 0, 0.1);
}

.module-panels {
  min-width: 0;
}

.module-panel {
  min-height: 100%;
  padding: clamp(36px, 6vw, 78px);
  background:
    radial-gradient(circle at 85% 20%, rgba(244, 175, 0, 0.13), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
}

.module-panel[hidden] {
  display: none;
}

.module-panel > span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
}

.module-panel h3 {
  max-width: 590px;
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 400;
}

.module-panel p {
  max-width: 620px;
  color: #b5b5bb;
}

.module-panel ul {
  display: flex;
  flex-wrap: wrap;
  margin: 35px 0 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.module-panel li {
  padding: 8px 12px;
  color: #d0d0d4;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.foundation-card > span {
  color: var(--gold);
  border-color: var(--dark-line);
}

.theme-dark .closing,
.theme-dark + .closing {
  color: var(--ink);
}

.statement {
  max-width: 1000px;
}

.statement p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.statement em {
  color: #8b6400;
  font-style: normal;
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(60px, 10vw, 150px);
}

.about-visual {
  position: relative;
  min-height: 480px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 70% 20%, rgba(244, 175, 0, 0.7), transparent 32%),
    var(--ink);
  box-shadow: var(--shadow);
}

.about-mark {
  position: absolute;
  inset: 22px;
  display: flex;
  padding: 28px;
  flex-direction: column;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
}

.about-mark img {
  width: 58px;
  height: 58px;
}

.about-mark span,
.about-mark small {
  margin-top: auto;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.about-mark strong {
  margin: 18px 0;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
  gap: 12px 30px;
}

.contact-inline a {
  font-weight: 850;
}

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(60px, 9vw, 130px);
}

.contact-cards {
  display: grid;
  margin-top: 34px;
  gap: 10px;
}

.contact-card {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 22px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

a.contact-card:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.contact-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  margin-top: 4px;
  font-size: 1rem;
}

.contact-card b {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--gold-deep);
}

.privacy-copy {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.83rem;
}

.brief-card {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.78rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(19, 19, 21, 0.2);
  border-radius: 10px;
  background: var(--white);
}

.field input,
.field select {
  min-height: 49px;
  padding: 0 14px;
}

.field textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-deep);
  outline: 3px solid rgba(244, 175, 0, 0.2);
}

.consent {
  display: flex;
  margin: 20px 0;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.consent input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--gold-deep);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(58, 133, 70, 0.3);
  border-radius: 10px;
  color: #285d31;
  background: rgba(58, 133, 70, 0.08);
  font-size: 0.82rem;
}

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

.not-found {
  display: flex;
  min-height: 70svh;
  align-items: center;
  background: radial-gradient(circle at 80% 40%, rgba(244, 175, 0, 0.24), transparent 26%);
}

.not-found h1 {
  max-width: 800px;
}

.site-footer {
  color: #c4c4c8;
  background: var(--dark);
}

.footer-grid {
  display: grid;
  padding: 80px 0 65px;
  grid-template-columns: 1.6fr 0.7fr 1fr 1fr;
  gap: 50px;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 22px;
  color: #8f8f94;
  font-size: 0.87rem;
}

.footer-grid h2 {
  margin: 8px 0 20px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a,
.footer-links span {
  color: #a7a7ac;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.contact-links a {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--dark-line);
  color: #78787d;
  font-size: 0.74rem;
}

.footer-bottom a {
  text-decoration: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .header-inner { gap: 18px; }
  .brand span { font-size: 0.98rem; }
  .nav-link { padding-inline: 8px; font-size: 0.82rem; }
  .header-cta { padding-inline: 15px; }
  .hero-grid { grid-template-columns: 1fr 0.85fr; gap: 50px; }
  .system-visual { min-height: 450px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 0.75fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 860px) {
  :root { --container: min(100% - 36px, 760px); }
  .site-header { height: 70px; }
  .header-inner { justify-content: space-between; }
  .brand { position: relative; z-index: 102; }
  .brand img { width: 34px; height: 34px; }
  .header-cta { display: none; }
  .menu-toggle {
    position: relative;
    z-index: 102;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
  }
  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }
  .menu-toggle span::before { transform: translateY(-6px); }
  .menu-toggle span::after { transform: translateY(4px); }
  .menu-open .menu-toggle span { background: transparent; }
  .menu-open .menu-toggle span::before { background: currentColor; transform: translateY(2px) rotate(45deg); }
  .menu-open .menu-toggle span::after { background: currentColor; transform: translateY(0) rotate(-45deg); }
  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    padding: 110px max(28px, calc((100vw - 760px) / 2)) 36px;
    flex-direction: column;
    justify-content: space-between;
    color: var(--ink);
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .menu-open .site-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-list { align-items: stretch; flex-direction: column; }
  .nav-link { padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
  .nav-link:hover,
  .nav-link[aria-current="page"] { background: transparent; }
  .nav-mobile-contact { display: flex; flex-direction: column; gap: 7px; font-size: 0.9rem; font-weight: 750; }
  .theme-dark .site-nav { color: var(--white); background: var(--dark); }
  .theme-dark .menu-toggle { border-color: var(--dark-line); }
  html { scroll-padding-top: 90px; }
  .hero { min-height: auto; }
  .hero-grid,
  .os-hero-grid,
  .page-hero-grid,
  .service-hero-grid,
  .os-feature-grid,
  .us-grid,
  .about-grid,
  .contact-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .hero-grid,
  .os-hero-grid { gap: 65px; }
  .system-visual { min-height: 430px; }
  .section-intro { grid-template-columns: 1fr; gap: 16px; }
  .split-feature,
  .capabilities-grid,
  .faq-layout { grid-template-columns: 1fr; gap: 52px; }
  .os-orbit,
  .cinematic-core { min-height: 470px; }
  .page-hero { min-height: auto; }
  .page-hero-grid,
  .service-hero-grid { padding-top: 26px; }
  .hero-aside { max-width: 680px; }
  .us-badge { width: min(75vw, 330px); }
  .about-visual { min-height: 420px; }
  .outcome-grid,
  .related-grid,
  .principle-grid,
  .foundation-grid,
  .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-layout { grid-template-columns: 1fr; }
  .module-tabs { overflow-x: auto; flex-direction: row; border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .module-tabs button { flex: 0 0 auto; border-right: 1px solid var(--dark-line); border-bottom: 0; }
  .footer-grid { grid-template-columns: 1.35fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 28px); --radius: 15px; }
  body { font-size: 15px; }
  .section-pad { padding: 74px 0; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.4rem); }
  h2 { font-size: clamp(1.9rem, 10vw, 2.65rem); }
  .brand span { max-width: 170px; font-size: 0.83rem; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .hero-grid { gap: 52px; }
  .hero-contact { flex-direction: column; gap: 6px; }
  .system-visual { min-height: 370px; padding: 18px; }
  .system-core { width: 175px; min-height: 150px; padding: 20px; }
  .system-core strong { font-size: 1.35rem; }
  .system-visual::after { width: 260px; height: 260px; }
  .system-nodes span { padding: 7px 10px; font-size: 0.65rem; }
  .trust-inner { min-height: auto; padding-block: 20px; flex-wrap: wrap; justify-content: flex-start; gap: 10px 18px; }
  .trust-inner span + span::before { margin-right: 18px; }
  .service-grid,
  .outcome-grid,
  .related-grid,
  .principle-grid,
  .foundation-grid,
  .role-grid,
  .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .os-orbit { min-height: 400px; }
  .orbit-a { width: 310px; height: 310px; }
  .orbit-b { width: 210px; height: 210px; }
  .os-monolith { width: 165px; height: 240px; }
  .os-monolith strong { font-size: 4.7rem; }
  .closing-inner { min-height: 0; align-items: stretch; flex-direction: column; justify-content: center; }
  .closing .button { width: 100%; }
  .page-hero h1,
  .service-hero h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .hero-aside { padding: 22px 0 0; border-top: 2px solid var(--gold); border-left: 0; }
  .fit-card { padding: 22px; }
  .capability-list li { grid-template-columns: 42px 1fr; font-size: 0.97rem; }
  .cinematic-core { min-height: 420px; }
  .core-block { width: 170px; height: 270px; padding: 24px; }
  .core-block strong { font-size: 5.2rem; }
  .core-halo { width: 300px; height: 300px; }
  .core-label { font-size: 0.6rem; }
  .module-panel { padding: 30px 22px; }
  .module-panel h3 { margin-top: 30px; }
  .statement p { font-size: clamp(2rem, 10vw, 3rem); }
  .about-visual { min-height: 380px; }
  .about-mark { inset: 14px; padding: 22px; }
  .about-mark strong { font-size: 2.6rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .brief-card { padding: 24px 18px; border-radius: 17px; }
  .footer-grid { padding: 64px 0 50px; grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { padding: 22px 0; align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}

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

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .closing { display: none !important; }
  body { color: #000; background: #fff; }
  .section-pad { padding: 32px 0; }
  .reveal { opacity: 1; transform: none; }
}
