:root {
  color-scheme: dark;
  --bg: #030405;
  --surface: #0f1218;
  --surface-2: #131821;
  --surface-3: #080b10;
  --ink: #edf3ff;
  --ink-strong: #f0f4fb;
  --muted: #9ca8b9;
  --quiet: #657185;
  --blue: #2f7dff;
  --blue-light: #80b8ff;
  --line: rgba(137, 157, 194, .2);
  --line-bright: rgba(102, 157, 255, .42);
  --grid: rgba(81, 126, 209, .035);
  --ring-fill: radial-gradient(circle at 50% 48%, rgba(30, 108, 255, .78) 0 8%, rgba(17, 71, 174, .58) 24%, rgba(6, 20, 50, .76) 54%, rgba(2, 6, 13, .96) 76%), #071024;
  --ring-border: #80b8ff;
  --ring-text: #eff5ff;
  --ring-subtitle: #87a5d4;
  --band-bg: linear-gradient(112deg, rgba(20, 23, 29, .95), rgba(13, 16, 22, .98));
  --content: min(82vw, 1080px);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #f7f7f5;
  --surface-2: #e9e9e7;
  --surface-3: #ededeb;
  --ink: #242622;
  --ink-strong: #191a18;
  --muted: #60625d;
  --quiet: #63655f;
  --blue: #2469dc;
  --blue-light: #2469dc;
  --line: rgba(23, 23, 21, .18);
  --line-bright: rgba(36, 105, 220, .35);
  --grid: rgba(23, 23, 21, .035);
  --ring-fill: radial-gradient(circle at 50% 48%, rgba(30, 108, 255, .78) 0 8%, rgba(17, 71, 174, .58) 24%, rgba(6, 20, 50, .76) 54%, rgba(2, 6, 13, .96) 76%), #071024;
  --ring-border: #80b8ff;
  --ring-text: #eff5ff;
  --ring-subtitle: #87a5d4;
  --band-bg: linear-gradient(112deg, rgba(231, 231, 229, .98), rgba(241, 241, 239, .98));
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}

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

/* The original BlueDot entrance: ring forms, core wakes, then hands off to the page. */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  animation: intro-clear 1.2s cubic-bezier(.22, 1, .36, 1) 2.65s forwards;
}

.intro-seed {
  position: relative;
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  transform-origin: center;
  animation: seed-handoff 1.55s cubic-bezier(.22, 1, .36, 1) 2.35s forwards;
}

.intro-seed::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0 27%, var(--blue) 47%, #9bc5ff 61%, var(--blue) 82%, transparent 100%);
  content: '';
  filter: drop-shadow(0 0 .7rem rgba(43, 118, 255, .78));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: ring-spin .55s cubic-bezier(.16, .72, .3, 1) forwards, ring-solid .18s linear .46s forwards, ring-away 1.2s ease 2.65s forwards;
}

.intro-seed span {
  position: absolute;
  inset: 19%;
  border-radius: inherit;
  background: radial-gradient(circle at 35% 30%, #b2d2ff 0 4%, #4b91ff 17%, var(--blue) 52%, #104bb9 100%);
  box-shadow: 0 0 1.2rem rgba(43, 118, 255, .88), 0 0 4rem rgba(24, 92, 255, .56);
  opacity: 0;
  filter: blur(2px);
  animation: core-wake 1.85s cubic-bezier(.22, 1, .36, 1) .42s forwards, core-thrum .42s ease-in-out .6s 4 alternate, core-away 1.2s ease 2.65s forwards;
}

.skip-intro {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(139, 178, 255, .35);
  background: transparent;
  color: #b4caff;
  cursor: pointer;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.intro.is-skipped { animation: skip-clear .45s ease forwards; }

.site {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 52% 8%, color-mix(in srgb, var(--blue) 13%, transparent), transparent 26rem),
    var(--bg);
  opacity: 0;
  animation: site-in 1.1s ease 2.75s forwards;
  transition: background-color .25s ease;
}

.site.is-ready { opacity: 1; animation: none; }

.site.is-ready .hero-ring,
.site.is-ready .hero h1,
.site.is-ready .discipline-list {
  opacity: 1;
  transform: none;
  animation: none;
}

.site::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 3.4rem 3.4rem;
  content: '';
  mask-image: linear-gradient(to bottom, #000 0 38%, transparent 72%);
  pointer-events: none;
}

.site-header,
.hero,
.band-inner,
.section-inner,
.site-footer {
  width: var(--content);
  margin-inline: auto;
}

/* Header selection from the light concept. */
.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  min-height: 5.5rem;
  padding-top: 1.55rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .36rem;
  justify-self: center;
  color: var(--ink-strong);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-name { white-space: nowrap; }
.wordmark-rule { width: 1.15rem; height: 1px; background: var(--ink); transform: rotate(-10deg); }

.edge-link,
.footer-caption,
.footer-nav a,
.section-kicker,
.section-link,
.work-type,
.work-number,
.process-number,
.theme-toggle {
  color: var(--quiet);
  font-family: var(--mono);
  font-size: .59rem;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.edge-link { padding-top: .23rem; transition: color .18s ease; }
.edge-link:hover, .footer-nav a:hover, .section-link:hover { color: var(--blue-light); }

.header-tools {
  display: flex;
  align-items: flex-start;
  justify-self: end;
  gap: 1.1rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  width: 2rem;
  height: 2rem;
  margin-top: -.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--quiet);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.theme-toggle:hover, .theme-toggle:focus-visible {
  border-color: var(--line-bright);
  color: var(--ink-strong);
  background: color-mix(in srgb, var(--blue) 8%, transparent);
  outline: none;
}

.theme-icon { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.theme-icon-sun { display: block; }
.theme-icon-moon { display: none; }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }
.theme-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

main { position: relative; z-index: 1; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 43rem;
  padding: 4.2rem 1rem 5.9rem;
  text-align: center;
}

/* Ring copy and headline selection from the dark concept. */
.hero-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(12.5rem, 20vw, 17.5rem);
  aspect-ratio: 1;
  border: 2px solid var(--ring-border);
  border-radius: 50%;
  background: var(--ring-fill);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--blue-light) 22%, transparent),
    0 0 1.5rem color-mix(in srgb, var(--blue) 75%, transparent),
    0 0 4.5rem color-mix(in srgb, var(--blue) 38%, transparent),
    inset 0 0 2rem color-mix(in srgb, var(--blue-light) 36%, transparent);
  opacity: 0;
  transform: scale(.72);
  animation: hero-ring-in 1.25s cubic-bezier(.22, 1, .36, 1) 3.22s forwards;
}

.hero-ring::before,
.hero-ring::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--blue-light) 20%, transparent);
  border-radius: inherit;
  content: '';
  pointer-events: none;
}

.hero-ring::before { inset: -1.6rem; }
.hero-ring::after { inset: -4rem; opacity: .45; }

.ring-copy { position: relative; z-index: 1; text-align: center; }
.ring-name { margin: 0; color: var(--ring-text); font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 650; letter-spacing: .4em; line-height: 1; text-indent: .4em; text-transform: uppercase; }
.ring-subtitle { margin: .75rem 0 0; color: var(--ring-subtitle); font-family: var(--mono); font-size: .48rem; letter-spacing: .24em; text-indent: .24em; text-transform: uppercase; }

.hero h1 {
  max-width: 48rem;
  margin: 2.3rem 0 0;
  color: var(--ink-strong);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 350;
  letter-spacing: -.045em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(.75rem);
  animation: content-in .7s cubic-bezier(.22, 1, .36, 1) 3.95s forwards;
}

.hero-rule,
.section-rule {
  width: 2rem;
  height: 1px;
  margin: 1rem auto 0;
  background: var(--blue);
  box-shadow: 0 0 .65rem color-mix(in srgb, var(--blue) 75%, transparent);
}

.hero-lede { max-width: 44rem; margin: 1.1rem 0 0; color: var(--muted); font-size: .96rem; line-height: 1.65; }

.hero-actions { display: flex; gap: .75rem; margin-top: 1.5rem; }

.button {
  display: inline-grid;
  place-items: center;
  min-height: 2.6rem;
  padding: 0 1.1rem;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover { border-color: var(--blue-light); color: var(--ink-strong); }
.button.primary { border-color: color-mix(in srgb, var(--blue-light) 70%, transparent); background: var(--blue); color: #fff; }

/* Capability row selection from the light concept. */
.discipline-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(4.5rem, 1fr));
  gap: clamp(.8rem, 2vw, 2rem);
  width: min(100%, 35rem);
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  transform: translateY(.75rem);
  animation: content-in .7s cubic-bezier(.22, 1, .36, 1) 4.22s forwards;
}

.discipline-list li {
  display: grid;
  justify-items: center;
  gap: .58rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .49rem;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.discipline-list svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }

/* Homepage lower sections follow the editorial reading rhythm while keeping dark surfaces, type, and links. */
.intro-section,
.work-section,
.method-section {
  width: var(--content);
  margin-inline: auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  min-height: 27rem;
  padding: 3.6rem 0 5.5rem;
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--blue-light);
  font-family: var(--mono);
  font-size: .57rem;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.intro-lead h2,
.section-heading h2,
.method-section h2 {
  max-width: 27rem;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 350;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.intro-copy,
.method-section > p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.7;
}

.intro-copy p:first-child { margin-top: 0; }
.intro-copy p { max-width: 32rem; margin: 0 0 1.25rem; }

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.6rem;
  margin-top: 1.8rem;
}

.text-links a,
.section-link {
  color: var(--blue-light);
  font-family: var(--mono);
  font-size: .61rem;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-links a:hover,
.section-link:hover { color: var(--ink-strong); }

.work-section {
  padding: 5.1rem 0 6rem;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.section-heading h2 { text-align: right; }
.work-list { border-top: 1px solid var(--line); }

.work-row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.work-row:hover,
.work-row:focus-visible { color: var(--blue-light); }
.work-name { color: var(--ink-strong); font-size: 1.06rem; }
.work-row:hover .work-name,
.work-row:focus-visible .work-name { color: var(--blue-light); }
.work-detail { color: var(--muted); font-family: var(--mono); font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.work-arrow { color: var(--blue-light); font-size: 1rem; }
.work-section > .section-link { display: inline-block; margin-top: 1.8rem; }
.work-row:focus-visible { outline: 1px solid var(--blue-light); outline-offset: .45rem; }

.method-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  padding: 4.5rem 0 7rem;
  border-top: 1px solid var(--line);
}

.method-section > p { max-width: 31rem; margin: 0; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-height: 6rem; border-top: 1px solid var(--line); }
.footer-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-decoration: none; text-transform: uppercase; }
.footer-dot { width: .62rem; height: .62rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 .75rem color-mix(in srgb, var(--blue) 86%, transparent); }
.footer-nav { display: flex; gap: 1.25rem; }
.footer-nav a, .footer-caption { color: var(--quiet); font-size: .53rem; }
.footer-caption { justify-self: end; letter-spacing: .09em; }

@keyframes ring-spin { from { transform: rotate(0deg); } to { transform: rotate(810deg); } }
@keyframes ring-solid { to { background: var(--blue); } }
@keyframes core-wake { 0% { opacity: 0; transform: scale(.1); } 62% { opacity: .96; transform: scale(1.03); } 100% { opacity: .9; transform: scale(1); } }
@keyframes core-thrum { from { scale: .86; filter: blur(3px) brightness(.8); } to { scale: 1.12; filter: blur(2px) brightness(1.2); } }
@keyframes seed-handoff { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(4.8); opacity: .08; } }
@keyframes ring-away { to { opacity: 0; } }
@keyframes core-away { to { opacity: .18; filter: blur(8px); } }
@keyframes intro-clear { 0%, 64% { background: #000; } 100% { background: transparent; visibility: hidden; } }
@keyframes skip-clear { to { opacity: 0; visibility: hidden; } }
@keyframes site-in { to { opacity: 1; } }
@keyframes hero-ring-in { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: scale(1); } }
@keyframes content-in { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  :root { --content: min(calc(100% - 2.5rem), 720px); }
  .header-tools { gap: .7rem; }
}

@media (max-width: 760px) {
  .intro-section,
  .method-section { grid-template-columns: 1fr; gap: 2rem; padding-top: 3.5rem; padding-bottom: 4.5rem; }
  .intro-lead h2,
  .section-heading h2,
  .method-section h2 { max-width: 30rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: .6rem; text-align: left; }
  .work-section { padding-top: 3.7rem; padding-bottom: 4.5rem; }
  .work-row { grid-template-columns: 1fr auto; gap: .4rem .8rem; }
  .work-detail { grid-column: 1; grid-row: 2; }
  .work-arrow { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 680px) {
  :root { --content: calc(100% - 2rem); }
  .site-header { grid-template-columns: auto 1fr auto; min-height: 4.8rem; padding-top: 1.25rem; }
  .wordmark { font-size: .58rem; letter-spacing: .18em; }
  .edge-link { max-width: 5.8rem; font-size: .5rem; line-height: 1.35; }
  .header-tools { gap: .45rem; }
  .header-tools > .edge-link { max-width: 5.2rem; text-align: right; }
  .theme-toggle { width: 1.8rem; height: 1.8rem; margin-top: -.12rem; }
  .hero { min-height: 35rem; padding: 2.8rem .25rem 4.5rem; }
  .hero-ring { width: min(60vw, 15rem); }
  .hero-ring::before { inset: -1rem; }
  .hero-ring::after { inset: -2.5rem; }
  .ring-name { font-size: 1.05rem; letter-spacing: .3em; text-indent: .3em; }
  .ring-subtitle { margin-top: .55rem; font-size: .42rem; letter-spacing: .14em; text-indent: .14em; }
  .hero h1 { max-width: 19rem; margin-top: 2rem; font-size: 1.75rem; }
  .hero-lede { max-width: 22rem; font-size: .88rem; }
  .hero-actions { flex-wrap: wrap; justify-content: center; }
  .discipline-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .15rem; width: 100%; margin-top: 2.5rem; }
  .discipline-list li { gap: .45rem; font-size: .4rem; letter-spacing: .03em; }
  .discipline-list svg { width: 1rem; height: 1rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; padding: 1.7rem 0; }
  .footer-nav { flex-wrap: wrap; gap: .7rem 1rem; }
  .footer-caption { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .intro { display: none; }
  .site, .hero-ring, .hero h1, .discipline-list { opacity: 1; transform: none; }
}

/* Shared document shell for the non-home routes. */
.inner-site {
  opacity: 1;
  animation: none;
}

.page-wrap {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin-inline: auto;
}

.page-hero {
  display: grid;
  justify-items: center;
  min-height: 28rem;
  padding: 4.8rem 1rem 5.2rem;
  text-align: center;
}

.mini-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 6rem;
  aspect-ratio: 1;
  margin-bottom: 2rem;
  border: 2px solid var(--ring-border);
  border-radius: 50%;
  background: var(--ring-fill);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--blue-light) 22%, transparent),
    0 0 1.4rem color-mix(in srgb, var(--blue) 70%, transparent),
    0 0 3.5rem color-mix(in srgb, var(--blue) 30%, transparent),
    inset 0 0 1.5rem color-mix(in srgb, var(--blue-light) 30%, transparent);
}

.mini-ring::before {
  position: absolute;
  inset: -.7rem;
  border: 1px solid color-mix(in srgb, var(--blue-light) 20%, transparent);
  border-radius: inherit;
  content: '';
}

.page-hero .section-kicker { margin: 0; }
.page-hero h1 {
  max-width: 40rem;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  font-weight: 350;
  letter-spacing: -.045em;
  line-height: 1.15;
}
.page-deck { max-width: 37rem; margin: 1.2rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

.document-section { padding: 5rem 0 6.5rem; border-top: 1px solid var(--line); }
.document-section.alt { background: color-mix(in srgb, var(--surface) 72%, transparent); }
.document-grid { display: grid; grid-template-columns: minmax(12rem, .75fr) minmax(0, 1.25fr); gap: clamp(3rem, 8vw, 8rem); }
.document-grid h2 { margin: 0; color: var(--ink-strong); font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 350; letter-spacing: -.03em; line-height: 1.2; }
.document-copy { max-width: 39rem; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.document-copy p:first-child { margin-top: 0; }
.document-copy p { margin: 0 0 1.2rem; }
.document-copy strong { color: var(--ink-strong); }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--mono); font-size: .56rem; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.detail-list li::before { display: inline-block; width: .3rem; height: .3rem; margin: 0 .6rem .08rem 0; border-radius: 50%; background: var(--blue); box-shadow: 0 0 .45rem color-mix(in srgb, var(--blue) 70%, transparent); content: ''; }

.process-section {
  position: relative;
  padding: 5.6rem 0 7.2rem;
  background:
    radial-gradient(ellipse at 50% 46%, color-mix(in srgb, var(--blue) 18%, transparent), transparent 45%),
    var(--surface-3);
}
.process-section::before,
.process-section::after {
  position: absolute;
  left: 50%;
  border: 1px solid color-mix(in srgb, var(--blue) 16%, transparent);
  border-radius: 50%;
  content: '';
  transform: translateX(-50%);
}
.process-section::before { top: 10rem; width: min(88vw, 1060px); height: 23rem; }
.process-section::after { top: 13rem; width: min(70vw, 840px); height: 17rem; }
.process-heading { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.process-heading h2 { margin: 0; color: var(--ink-strong); font-size: clamp(1.5rem, 2.5vw, 2.15rem); font-weight: 350; letter-spacing: -.035em; }
.process-track { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 4.8rem; }
.process-track::before { position: absolute; top: 2.45rem; right: 5%; left: 5%; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--blue-light) 82%, transparent) 10%, color-mix(in srgb, var(--blue-light) 82%, transparent) 90%, transparent); box-shadow: 0 0 .6rem color-mix(in srgb, var(--blue) 42%, transparent); content: ''; }
.process-step { display: grid; justify-items: center; text-align: center; }
.process-number { margin-bottom: .65rem; color: var(--blue-light); font-size: .52rem; }
.process-node { position: relative; display: grid; place-items: center; width: 5rem; aspect-ratio: 1; border: 1px solid var(--blue-light); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--blue) 30%, transparent), var(--surface-3) 65%); box-shadow: 0 0 1.2rem color-mix(in srgb, var(--blue) 58%, transparent), inset 0 0 1.3rem color-mix(in srgb, var(--blue-light) 18%, transparent); }
.process-node svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: var(--ink-strong); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; }
.process-step h3 { margin: 1.15rem 0 0; color: var(--ink-strong); font-family: var(--mono); font-size: .58rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.process-step p { max-width: 13rem; margin: .65rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.62; }

.contact-grid { align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-field { display: grid; gap: .45rem; }
.form-field.full { grid-column: 1 / -1; }
.form-label { color: var(--quiet); font-family: var(--mono); font-size: .54rem; letter-spacing: .05em; text-transform: uppercase; }
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; min-height: 2.6rem; border: 0; border-bottom: 1px solid var(--line); outline: 0; background: transparent; color: var(--ink); font-size: .86rem; }
.contact-form select option { background: var(--surface); color: var(--ink); }
.contact-form textarea { min-height: 6rem; resize: vertical; }
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible { border-color: var(--blue-light); box-shadow: 0 1px 0 var(--blue-light); outline: 2px solid color-mix(in srgb, var(--blue-light) 48%, transparent); outline-offset: 3px; }
.contact-form button { justify-self: start; margin-top: .5rem; padding: .85rem 1.15rem; border: 1px solid color-mix(in srgb, var(--blue-light) 70%, transparent); border-radius: 999px; background: var(--blue); color: #fff; cursor: pointer; font-family: var(--mono); font-size: .56rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-form button:hover { background: color-mix(in srgb, var(--blue) 86%, #fff); }
.contact-form button:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }
.form-status { grid-column: 1 / -1; margin: .5rem 0 0; color: var(--blue-light); font-size: .78rem; line-height: 1.6; }
.contact-note { color: var(--muted); font-size: .78rem; line-height: 1.65; }

/* Light mode keeps the editorial mark and reading rhythm, while retaining the shared structure. */
html[data-theme="light"] .home-page .site,
html[data-theme="light"] .inner-site { background: var(--bg); }
html[data-theme="light"] .home-page .site::before,
html[data-theme="light"] .inner-site::before { display: none; }
html[data-theme="light"] .home-page .site::after {
  position: absolute;
  top: 43rem;
  right: 0;
  left: 0;
  z-index: -1;
  height: 28rem;
  background: var(--surface-2);
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
  content: '';
  pointer-events: none;
}
html[data-theme="light"] .home-page .hero { min-height: 43rem; }
html[data-theme="light"] .home-page .hero-ring,
html[data-theme="light"] .inner-site .mini-ring {
  border: 2px solid var(--ring-border);
  background: var(--ring-fill);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--blue) 25%, transparent),
    0 1rem 2.5rem rgba(28, 72, 160, .22),
    0 0 4.5rem rgba(47, 125, 255, .32),
    inset 0 0 2.5rem color-mix(in srgb, var(--blue-light) 36%, transparent);
}
html[data-theme="light"] .home-page .hero h1 { margin-top: 2.3rem; color: var(--ink); font-size: clamp(1.85rem, 3vw, 2.65rem); font-weight: 350; letter-spacing: -.045em; line-height: 1.15; }
html[data-theme="light"] .home-page .hero-rule { margin-top: 1rem; background: var(--blue); box-shadow: 0 0 .65rem color-mix(in srgb, var(--blue) 75%, transparent); }
html[data-theme="light"] .home-page .discipline-list li { color: #363833; }
html[data-theme="light"] .home-page .intro-copy,
html[data-theme="light"] .home-page .method-section > p,
html[data-theme="light"] .inner-site .document-copy,
html[data-theme="light"] .inner-site .contact-note,
html[data-theme="light"] .inner-site .page-deck { color: #4d504a; font-family: var(--serif); }
html[data-theme="light"] .home-page .intro-lead h2,
html[data-theme="light"] .home-page .section-heading h2,
html[data-theme="light"] .home-page .method-section h2,
html[data-theme="light"] .inner-site .page-hero h1,
html[data-theme="light"] .inner-site .document-grid h2,
html[data-theme="light"] .inner-site .process-heading h2 { color: var(--ink); font-family: var(--serif); font-weight: 400; }
html[data-theme="light"] .home-page .work-name { color: var(--ink); font-family: var(--serif); font-weight: 400; }
html[data-theme="light"] .home-page .work-detail,
html[data-theme="light"] .inner-site .detail-list li { color: #676963; }
html[data-theme="light"] .inner-site .document-section.alt { background: rgba(231, 231, 229, .78); }
html[data-theme="light"] .inner-site .process-section { background: radial-gradient(ellipse at 50% 46%, rgba(47, 125, 255, .08), transparent 45%), var(--surface-2); }
html[data-theme="light"] .inner-site .process-step p { color: #5d605a; font-family: var(--serif); }
html[data-theme="light"] .inner-site .process-node { background: radial-gradient(circle, rgba(47, 125, 255, .16), var(--surface-2) 65%); box-shadow: 0 0 1rem rgba(47, 125, 255, .2); }

@media (max-width: 760px) {
  .ring-name { font-size: 1.2rem; letter-spacing: .3em; text-indent: .3em; }
  .page-hero { min-height: 25rem; padding: 4rem 1rem 4.5rem; }
  .document-section { padding: 3.8rem 0 4.5rem; }
  .document-grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .process-section { padding: 5rem 0; }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; margin-top: 3.4rem; }
  .process-track::before { top: 2.45rem; right: 12%; left: 12%; }
}

@media (max-width: 680px) {
  .page-hero { min-height: 24rem; padding: 3.7rem 1rem 4rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .document-section { padding: 4rem 0 5rem; }
  .detail-list { grid-template-columns: 1fr; }
  .process-section::before { top: 11rem; width: 22rem; height: 36rem; }
  .process-section::after { top: 13rem; width: 17rem; height: 32rem; }
  .process-track { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3.2rem; }
  .process-track::before { top: 2.5rem; right: auto; bottom: 2.5rem; left: 50%; width: 1px; height: auto; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--blue-light) 82%, transparent) 10%, color-mix(in srgb, var(--blue-light) 82%, transparent) 90%, transparent); }
  .process-step p { max-width: 14rem; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
}
