@font-face {
  font-family: "Syne";
  src: url("./assets/fonts/syne-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("./assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #07111f;
  --ink-soft: #0d1b2a;
  --paper: #f0f4f7;
  --cobalt: #536dff;
  --cobalt-deep: #3048bd;
  --seafoam: #92e6d5;
  --coral: #ff8a6b;
  --muted: #9eb0c7;
  --white: #ffffff;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(7, 17, 31, 0.17);
  --display: "Syne", "Arial Black", sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --page-gutter: clamp(1.25rem, 4vw, 4rem);
  --page-max: 90rem;
  --section-gap: clamp(4.5rem, 7vw, 7rem);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --z-rail: 80;
  --z-header: 100;
  --z-progress: 150;
  --z-dialog: 200;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--cobalt) var(--ink);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: var(--ink);
}

body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background: var(--cobalt);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: #6c82ff;
}

body::-webkit-scrollbar-thumb:active,
*::-webkit-scrollbar-thumb:active {
  background: var(--seafoam);
}

::selection {
  background: var(--seafoam);
  color: var(--ink);
}

a,
button {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

button:not(:disabled),
a {
  cursor: pointer;
}

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

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

p {
  text-wrap: pretty;
}

section[id] {
  scroll-margin-top: 5rem;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  transform: translateY(-150%);
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-progress);
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--cobalt), var(--seafoam));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto minmax(15rem, 1fr);
  align-items: center;
  min-height: 6rem;
  padding: 0.8rem var(--page-gutter);
  border-bottom: 1px solid transparent;
  transition: min-height 280ms var(--ease), background 280ms ease, border-color 280ms ease;
}

.site-header.is-scrolled {
  min-height: 4.7rem;
  background: rgba(7, 17, 31, 0.88);
  border-color: var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  justify-self: start;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--seafoam);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1rem;
}

.brand-copy small {
  margin-top: 0.3rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.5rem);
  justify-self: center;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.83rem;
  font-weight: 600;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.6rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--seafoam);
  content: "";
  transition: transform 220ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: end;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-action:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 230, 213, 0.55);
  background: rgba(146, 230, 213, 0.1);
}

.status-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--seafoam);
  box-shadow: 0 0 0 5px rgba(146, 230, 213, 0.1);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.3rem auto;
  background: var(--white);
  transition: transform 180ms ease;
}

.section-rail {
  position: fixed;
  top: 50%;
  right: 1.25rem;
  z-index: var(--z-rail);
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-50%);
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  background: rgba(7, 17, 31, 0.64);
  backdrop-filter: blur(16px);
}

.section-rail a {
  display: flex;
  min-height: 1.9rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.35rem 0 0.6rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.section-rail a span {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 240ms var(--ease), opacity 180ms ease;
}

.section-rail:hover a span,
.section-rail a:focus-visible span,
.section-rail a[aria-current="location"] span {
  max-width: 6rem;
  opacity: 1;
}

.section-rail a i {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease;
}

.section-rail a:hover,
.section-rail a[aria-current="location"] {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.section-rail a[aria-current="location"] i {
  transform: scale(1.35);
  border-color: var(--seafoam);
  background: var(--seafoam);
  box-shadow: 0 0 0 4px rgba(146, 230, 213, 0.12);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(28rem, 0.95fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  min-height: 100svh;
  padding: clamp(8rem, 12vw, 11rem) var(--page-gutter) clamp(5rem, 7vw, 7rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.86) 48%, rgba(7, 17, 31, 0.58) 100%),
    radial-gradient(circle at 84% 28%, rgba(83, 109, 255, 0.32), transparent 30%),
    var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 5rem 5rem;
  content: "";
  mask-image: linear-gradient(90deg, transparent, black 25%, black 76%, transparent);
}

.hero-ambient {
  position: absolute;
  top: var(--pointer-y, 32%);
  left: var(--pointer-x, 78%);
  width: 28rem;
  height: 28rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0.32;
  background: radial-gradient(circle, rgba(146, 230, 213, 0.24), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
  transition: top 260ms ease-out, left 260ms ease-out;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  max-width: 58rem;
}

.eyebrow,
.section-kicker,
.panel-code,
.article-meta,
.hero-facts dt {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.8rem;
  color: var(--seafoam);
  font-size: 0.7rem;
}

.eyebrow::before {
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero-title {
  max-width: 14ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.85rem, 5.2vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.93;
}

.hero-title--statement {
  max-width: 16ch;
  font-size: clamp(2.55rem, 4vw, 4.5rem);
  line-height: 0.96;
}

.title-line {
  display: block;
  overflow: hidden;
  padding: 0 0.08em 0.08em 0;
}

.title-line > span {
  display: block;
  transform: translateY(115%);
  opacity: 0;
  animation: title-rise 950ms var(--ease) forwards;
}

.title-line:nth-child(2) > span {
  animation-delay: 120ms;
}

.title-line:nth-child(3) > span {
  animation-delay: 240ms;
}

.hero-title em,
.profile-heading em,
.contact h2 em {
  color: var(--seafoam);
  font-style: normal;
}

.hero-description {
  max-width: 44rem;
  margin: 1.55rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.load-item {
  transform: translateY(1rem);
  opacity: 0;
  animation: load-rise 750ms var(--ease) forwards;
  animation-delay: 420ms;
}

.hero-actions.load-item {
  animation-delay: 520ms;
}

.hero-facts.load-item {
  animation-delay: 620ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  min-height: 3.55rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.button svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--cobalt);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(83, 109, 255, 0.25);
}

.button-primary:hover {
  background: #6c82ff;
  box-shadow: 0 18px 46px rgba(83, 109, 255, 0.38);
}

.button:active,
.header-action:active,
.orbit-node:active,
.practice-tabs button:active {
  filter: brightness(0.9);
}

.button-quiet {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
}

.button-quiet:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 43rem;
  margin: clamp(1.8rem, 3.5vw, 2.8rem) 0 0;
  border-top: 1px solid var(--line-dark);
}

.hero-facts div {
  padding: 1.1rem 0.8rem 0 0;
}

.hero-facts div + div {
  padding-left: 1rem;
  border-left: 1px solid var(--line-dark);
}

.hero-facts dt {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.56rem;
}

.hero-facts dd {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: min(65vh, 42rem);
  transform: translateY(1.2rem);
  opacity: 0;
  animation: visual-enter 1100ms var(--ease) 260ms forwards;
}

.orbit-stage {
  position: absolute;
  inset: 2rem 0 3rem;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform 500ms var(--ease);
}

.orbit-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  pointer-events: none;
}

.halo-one {
  width: 46%;
  aspect-ratio: 1;
  border-color: rgba(146, 230, 213, 0.5);
  animation: orbit-spin 30s linear infinite;
}

.halo-two {
  width: 72%;
  aspect-ratio: 1;
  border-style: dashed;
  animation: orbit-spin-reverse 48s linear infinite;
}

.halo-three {
  width: 96%;
  aspect-ratio: 1;
  border-color: rgba(83, 109, 255, 0.36);
}

.halo-one::after,
.halo-two::after {
  position: absolute;
  top: 50%;
  left: -0.32rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: var(--seafoam);
  box-shadow: 0 0 22px rgba(146, 230, 213, 0.8);
  content: "";
}

.halo-two::after {
  top: 8%;
  right: 14%;
  left: auto;
  background: var(--coral);
  box-shadow: 0 0 22px rgba(255, 138, 107, 0.7);
}

.portrait-shell {
  position: relative;
  z-index: 3;
  width: min(52%, 22rem);
  aspect-ratio: 0.78;
  overflow: hidden;
  border: 0;
  border-radius: 46% 46% 2rem 2rem;
  background: #101b29;
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.42);
  transition: transform 450ms var(--ease);
}

.portrait-shell::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgba(7, 17, 31, 0.9) 100%);
  content: "";
}

.portrait-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.76) contrast(1.04);
  transform: scale(1.02);
}

.portrait-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.portrait-caption span {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
}

.portrait-caption small {
  color: var(--seafoam);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-node {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.78);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--mono);
  font-size: clamp(0.54rem, 0.8vw, 0.68rem);
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.orbit-node::before {
  width: 0.36rem;
  height: 0.36rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--cobalt);
  content: "";
}

.orbit-node:hover,
.orbit-node:focus-visible,
.orbit-node.is-active {
  z-index: 8;
  transform: scale(1.08);
  border-color: var(--seafoam);
  background: var(--paper);
  color: var(--ink);
}

.orbit-node:nth-of-type(3n)::before {
  background: var(--seafoam);
}

.orbit-node:nth-of-type(4n)::before {
  background: var(--coral);
}

.node-labor { top: 8%; left: 8%; }
.node-contracts { top: 4%; right: 13%; }
.node-digital { top: 33%; right: -1%; }
.node-realestate { right: 8%; bottom: 18%; }
.node-family { right: 34%; bottom: 2%; }
.node-succession { bottom: 15%; left: 2%; }
.node-civil { top: 48%; left: -3%; }
.node-extra { top: 24%; left: 10%; }

.orbit-instruction {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.orbit-instruction span {
  margin-right: 0.4rem;
  color: var(--coral);
}

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: var(--page-gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 3rem;
  height: 1px;
  overflow: hidden;
  background: var(--line-dark);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: var(--seafoam);
  content: "";
  animation: line-run 2s var(--ease) infinite;
}

.manifesto-strip {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--cobalt);
}

.strip-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
  animation: marquee 28s linear infinite;
}

.strip-track span {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  font-weight: 700;
  white-space: nowrap;
}

.strip-track i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--seafoam);
}

.section-light,
.section-dark {
  position: relative;
  padding: var(--section-gap) var(--page-gutter);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

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

.section-kicker {
  display: flex;
  max-width: var(--page-max);
  align-items: center;
  justify-content: space-between;
  margin: 0 auto clamp(2.25rem, 4.5vw, 4rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 0.6rem;
  opacity: 0.62;
}

.profile-grid,
.practice-intro,
.practice-system,
.method-heading,
.method-steps,
.insights-heading,
.article-grid,
.contact-grid {
  width: 100%;
  max-width: var(--page-max);
  margin-right: auto;
  margin-left: auto;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(2.5rem, 5vw, 5.5rem);
  row-gap: 0;
}

.profile-heading h2,
.practice-intro h2,
.method-heading h2,
.insights-heading h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.4vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-wrap: balance;
}

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

.profile-heading h2 {
  font-size: clamp(2.25rem, 4.15vw, 4.5rem);
}

.profile-body {
  display: flex;
  align-self: start;
  max-width: 42rem;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-body p {
  max-width: 62ch;
  margin: 0;
  color: rgba(7, 17, 31, 0.7);
  line-height: 1.7;
  text-wrap: pretty;
}

.profile-body .lead {
  color: var(--ink);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.52;
}

.profile-body .text-link {
  margin-top: 0.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.83rem;
  font-weight: 800;
}

.text-link span {
  transition: transform 180ms var(--ease);
}

.text-link:hover span {
  transform: translate(0.2rem, 0.2rem);
}

.profile-credentials {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.profile-credentials > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.4rem clamp(1rem, 2vw, 2rem) 1.5rem 0;
}

.profile-credentials > div + div {
  padding-left: clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--line-light);
}

.profile-credentials span,
.profile-learning span {
  color: rgba(7, 17, 31, 0.55);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-credentials strong {
  font-family: var(--display);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  line-height: 1.2;
}

.profile-credentials small {
  color: rgba(7, 17, 31, 0.68);
  font-size: 0.72rem;
}

.profile-trajectory {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.trajectory-intro h3 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.trajectory-intro .service-label {
  color: var(--cobalt-deep);
}

.trajectory-summary {
  max-width: 38ch;
  margin: 1rem 0 0;
  color: rgba(7, 17, 31, 0.7);
  font-size: 0.84rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.profile-learning {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-light);
}

.profile-learning p {
  margin: 0.8rem 0 0;
  color: rgba(7, 17, 31, 0.72);
  font-size: 0.75rem;
  line-height: 1.5;
}

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

.trajectory-list li {
  display: grid;
  grid-template-columns: minmax(6.8rem, 0.32fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line-light);
}

.trajectory-list time {
  padding-top: 0.18rem;
  color: var(--cobalt-deep);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trajectory-list strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
}

.trajectory-list p {
  max-width: 62ch;
  margin: 0.65rem 0 0;
  color: rgba(7, 17, 31, 0.68);
  font-size: 0.78rem;
  line-height: 1.7;
}

.profile-trajectory-content {
  min-width: 0;
}

.practice {
  overflow: hidden;
}

.practice::before {
  position: absolute;
  top: 12%;
  right: -20rem;
  width: 52rem;
  height: 52rem;
  border: 1px solid rgba(83, 109, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.practice-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.practice-intro h2 {
  font-size: clamp(2.25rem, 4.4vw, 4.8rem);
}

.practice-intro p {
  max-width: 28rem;
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.practice-system {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(25rem, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.practice-tabs {
  border-top: 1px solid var(--line-dark);
}

.practice-tabs button {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  width: 100%;
  min-height: 4.25rem;
  align-items: center;
  gap: 1rem;
  padding: 0 0.3rem;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  color: rgba(255, 255, 255, 0.54);
  text-align: left;
  transition: color 180ms ease, padding-left 220ms var(--ease), background 180ms ease;
}

.practice-tabs button:hover,
.practice-tabs button[aria-selected="true"] {
  padding-left: 0.8rem;
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
}

.practice-tabs button span {
  color: var(--seafoam);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.practice-tabs button strong {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
}

.practice-tabs button i {
  color: var(--coral);
  font-style: normal;
  opacity: 0;
  transform: translate(-0.5rem, 0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.practice-tabs button[aria-selected="true"] i {
  opacity: 1;
  transform: translate(0, 0);
}

.practice-panel {
  position: sticky;
  top: 7rem;
  min-height: 32rem;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(83, 109, 255, 0.25), transparent 35%),
    var(--ink-soft);
}

.practice-panel.is-updating > *:not(.panel-visual):not(.panel-toolbar) {
  animation: panel-refresh 420ms var(--ease);
}

.panel-visual {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 22rem;
  height: 22rem;
  opacity: 0.58;
}

.panel-visual span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(146, 230, 213, 0.4);
  border-radius: 50%;
}

.panel-visual span:nth-child(2) {
  inset: 14%;
  border-style: dashed;
}

.panel-visual span:nth-child(3) {
  inset: 38%;
  border-color: var(--coral);
  background: rgba(255, 138, 107, 0.08);
}

.panel-code {
  position: relative;
  margin: 1.5rem 0 clamp(3rem, 5vw, 5rem);
  color: var(--seafoam);
  font-size: 0.6rem;
}

.panel-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.panel-toolbar > span {
  color: rgba(255, 255, 255, 0.5);
}

.panel-toolbar > div {
  display: flex;
  gap: 0.45rem;
}

.panel-toolbar button {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease;
}

.panel-toolbar button:hover {
  transform: translateY(-2px);
  border-color: var(--seafoam);
  background: rgba(146, 230, 213, 0.1);
}

.practice-panel h3 {
  position: relative;
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.panel-description {
  position: relative;
  max-width: 38rem;
  margin: 1.6rem 0 2rem;
  color: var(--muted);
  line-height: 1.7;
}

.practice-panel ul {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.2rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.practice-panel li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
}

.practice-panel li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.method {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.method-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.method-heading h2 {
  font-size: clamp(2.25rem, 4.3vw, 4.6rem);
}

.method-heading p {
  max-width: 30rem;
  margin: 0;
  color: rgba(7, 17, 31, 0.66);
  line-height: 1.75;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.method-steps li {
  position: relative;
  min-height: 13rem;
  padding: 0 3rem 2rem 0;
}

.method-steps li + li {
  padding-left: 3rem;
  border-left: 1px solid var(--line-light);
}

.step-number {
  display: inline-flex;
  width: 3.2rem;
  height: 3.2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--cobalt);
  font-family: var(--mono);
  font-size: 0.67rem;
}

.method-steps h3 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.method-steps p {
  max-width: 28ch;
  margin: 0;
  color: rgba(7, 17, 31, 0.64);
  font-size: 0.86rem;
  line-height: 1.7;
}

.method-steps li > i {
  position: absolute;
  top: 1.6rem;
  right: 0;
  left: 3.2rem;
  height: 1px;
  background: var(--line-light);
}

.method-steps li > i::after {
  position: absolute;
  top: -0.23rem;
  right: 0;
  width: 0.45rem;
  height: 0.45rem;
  transform: rotate(45deg);
  border-top: 1px solid var(--cobalt);
  border-right: 1px solid var(--cobalt);
  content: "";
}

.insights {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.insights-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.insights-heading h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.6rem);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  perspective: 1200px;
}

.article-card {
  position: relative;
  display: flex;
  grid-column: span 3;
  min-width: 0;
  min-height: 20rem;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
  transform-style: preserve-3d;
  transition: transform 260ms var(--ease), border-color 260ms ease, background 260ms ease;
}

.article-card:hover {
  border-color: rgba(83, 109, 255, 0.5);
  background: rgba(255, 255, 255, 0.9);
}

.article-card--lead {
  grid-column: span 6;
}

.article-card--compact-wide,
.article-card--wide {
  grid-column: span 6;
  display: grid;
  min-height: 16.5rem;
  grid-template-columns: minmax(13rem, 0.9fr) minmax(0, 1.1fr);
}

.article-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--ink);
}

.article-card--lead .article-media {
  aspect-ratio: 16 / 4.8;
}

.article-card--compact-wide .article-media,
.article-card--wide .article-media {
  height: 100%;
  aspect-ratio: auto;
}

.article-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease), filter 320ms ease;
}

.article-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 17, 31, 0.28));
  content: "";
  pointer-events: none;
}

.article-card:hover .article-media img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.02);
}

.article-card-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 0 1rem 1rem;
}

.article-card--lead .article-card-copy,
.article-card--compact-wide .article-card-copy,
.article-card--wide .article-card-copy {
  padding-right: clamp(1rem, 2vw, 1.6rem);
  padding-left: clamp(1rem, 2vw, 1.6rem);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.1rem 0;
  color: rgba(7, 17, 31, 0.56);
  font-size: 0.5rem;
}

.article-card h3 {
  display: -webkit-box;
  margin: 0.85rem 0 0.5rem;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card--lead h3,
.article-card--compact-wide h3,
.article-card--wide h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
}

.article-card h3 a {
  transition: color 180ms ease;
}

.article-card h3 a:hover {
  color: var(--cobalt);
}

.article-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(7, 17, 31, 0.65);
  font-size: 0.72rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0.85rem 0.1rem 0.1rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.7rem;
  font-weight: 800;
}

.article-link:hover {
  color: var(--cobalt-deep);
}

.article-link i {
  color: var(--cobalt-deep);
  font-style: normal;
}

.contact {
  padding-top: clamp(5.5rem, 8vw, 8rem);
  padding-bottom: clamp(5.5rem, 8vw, 8rem);
  overflow: hidden;
}

.contact-grid {
  position: relative;
}

.contact .eyebrow {
  margin-bottom: 1.8rem;
}

.contact h2 {
  position: relative;
  z-index: 2;
  max-width: 12ch;
  font-size: clamp(2.8rem, 6.2vw, 6.6rem);
}

.contact h2 em {
  color: var(--coral);
}

.contact-copy {
  position: relative;
  z-index: 2;
  max-width: 37rem;
  margin: 2rem 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-link {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 58rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--display);
  font-size: clamp(1rem, 2.6vw, 2.2rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-link i {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  font-style: normal;
}

.contact-orbit {
  position: absolute;
  top: 50%;
  right: -12%;
  width: min(50vw, 44rem);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 1px solid rgba(83, 109, 255, 0.38);
  border-radius: 50%;
}

.contact-orbit span,
.contact-orbit i,
.contact-orbit b {
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.contact-orbit i {
  inset: 34%;
  border-style: solid;
  border-color: var(--seafoam);
}

.contact-orbit b {
  inset: 48%;
  border: 0;
  background: var(--coral);
  box-shadow: 0 0 80px rgba(255, 138, 107, 0.5);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 4rem var(--page-gutter) 2rem;
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 1.3rem;
}

.footer-brand span,
.site-footer p,
.site-footer small {
  color: var(--muted);
  font-size: 0.68rem;
}

.footer-brand span,
.site-footer small {
  font-family: var(--mono);
}

.site-footer p {
  margin: 0.4rem 0 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--seafoam);
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}

.assistant-dialog {
  width: min(48rem, calc(100% - 2rem));
  max-height: min(48rem, calc(100dvh - 2rem));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: var(--ink-soft);
  color: var(--white);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.assistant-dialog::backdrop {
  background: rgba(1, 6, 13, 0.78);
  backdrop-filter: blur(12px);
}

.assistant-dialog[open] {
  animation: dialog-in 320ms var(--ease);
}

.assistant-shell > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--line-dark);
}

.assistant-identity {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.assistant-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 50%;
  background: var(--cobalt);
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 800;
}

.assistant-identity > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.assistant-identity strong {
  font-family: var(--display);
  font-size: 0.95rem;
}

.assistant-identity small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.55rem;
  text-transform: uppercase;
}

.assistant-identity small i {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--seafoam);
}

.dialog-close {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
}

.dialog-close:hover {
  border-color: var(--coral);
  background: rgba(255, 138, 107, 0.1);
}

.assistant-content {
  display: flex;
  max-height: 24rem;
  min-height: 15rem;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  padding: 1.5rem;
}

.assistant-message,
.user-message {
  display: flex;
  max-width: 88%;
  align-items: flex-start;
  gap: 0.7rem;
}

.assistant-message > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(83, 109, 255, 0.24);
  color: var(--seafoam);
  font-family: var(--display);
  font-size: 0.55rem;
}

.assistant-message p,
.user-message p {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 0.4rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  line-height: 1.6;
}

.user-message {
  align-self: flex-end;
  justify-content: flex-end;
}

.user-message p {
  border-color: transparent;
  border-radius: 1rem 0.4rem 1rem 1rem;
  background: var(--cobalt);
  color: var(--white);
}

.assistant-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0 1.5rem 1rem;
}

.assistant-suggestions button {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.assistant-suggestions button:hover {
  border-color: var(--seafoam);
  background: rgba(146, 230, 213, 0.08);
  color: var(--white);
}

.assistant-suggestions button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.assistant-disclaimer {
  margin: 0;
  padding: 0.9rem 1.5rem 1.2rem;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.52rem;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.profile-principles {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-light);
}

.profile-principles h4 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 650;
}

.profile-principles-list {
  margin-top: 0.85rem;
}

.profile-principles-list > div {
  display: grid;
  grid-template-columns: minmax(9.5rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line-light);
}

.profile-principles-list strong {
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.3;
}

.profile-principles-list span {
  max-width: 52ch;
  color: rgba(7, 17, 31, 0.68);
  font-size: 0.78rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.section-cobalt {
  position: relative;
  overflow: hidden;
  padding: var(--section-gap) var(--page-gutter);
  background: var(--cobalt);
  color: var(--white);
}

.section-cobalt::before {
  position: absolute;
  top: -17rem;
  right: -9rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  content: "";
}

.digital-service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(28rem, 1.12fr);
  width: 100%;
  max-width: var(--page-max);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
  margin: 0 auto;
}

.service-label {
  margin: 0 0 1.35rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.digital-service-copy h2,
.blog-contact h2,
.related-reading h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.digital-service-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.4rem, 4.6vw, 4.9rem);
}

.digital-service-copy > p:not(.service-label) {
  max-width: 52ch;
  margin: 1.6rem 0 2rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

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

.button-light:hover {
  background: var(--seafoam);
}

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

.button-ink:hover {
  background: var(--ink-soft);
}

.digital-route {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.digital-route > div {
  display: grid;
  grid-template-columns: 3.5rem minmax(9rem, 0.55fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: baseline;
  padding: clamp(1.4rem, 2.8vw, 2.4rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: padding-left 220ms var(--ease), background 180ms ease;
}

.digital-route > div:hover {
  padding-left: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
}

.digital-route span {
  font-family: var(--mono);
  font-size: 0.6rem;
}

.digital-route strong {
  font-family: var(--display);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

.digital-route p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.65;
}

.archive-callout {
  display: flex;
  width: 100%;
  max-width: var(--page-max);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: clamp(2.5rem, 5vw, 4.5rem) auto 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.archive-callout p {
  max-width: 62ch;
  margin: 0;
  color: rgba(7, 17, 31, 0.68);
  line-height: 1.65;
}

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

.content-page {
  background: var(--paper);
  color: var(--ink);
}

.content-page .site-header:not(.is-scrolled) {
  background: rgba(7, 17, 31, 0.34);
}

.blog-hero {
  position: relative;
  display: grid;
  min-height: min(68svh, 44rem);
  align-items: end;
  padding: clamp(9rem, 14vw, 12rem) var(--page-gutter) clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  background: radial-gradient(circle at 82% 38%, rgba(83, 109, 255, 0.38), transparent 28%), var(--ink);
  color: var(--white);
}

.blog-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.2rem;
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 700;
  opacity: 0.74;
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.back-link:hover {
  transform: translateX(-0.2rem);
  opacity: 1;
}

.blog-hero .service-label {
  color: var(--seafoam);
}

.blog-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.blog-hero-copy > p:last-child {
  max-width: 55ch;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.blog-signal {
  position: absolute;
  top: 50%;
  right: clamp(-10rem, -7vw, -4rem);
  width: min(48vw, 40rem);
  aspect-ratio: 1;
  transform: translateY(-45%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.blog-signal span,
.blog-signal i,
.blog-signal b {
  position: absolute;
  border: 1px solid rgba(146, 230, 213, 0.42);
  border-radius: 50%;
}

.blog-signal span { inset: 17%; }
.blog-signal i { inset: 34%; border-color: var(--coral); }
.blog-signal b { inset: 47%; background: rgba(83, 109, 255, 0.42); }

.blog-library {
  padding: var(--section-gap) var(--page-gutter);
  background: var(--paper);
}

.library-toolbar,
.category-filters,
.article-archive,
.blog-empty {
  width: 100%;
  max-width: var(--page-max);
  margin-right: auto;
  margin-left: auto;
}

.library-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.7fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.library-toolbar h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.04em;
}

.library-toolbar > div:first-child p {
  margin: 0.65rem 0 0;
  color: rgba(7, 17, 31, 0.62);
  font-size: 0.78rem;
}

.blog-search label {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.search-control {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
}

.search-control input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 600 0.95rem var(--body);
}

.search-control input::placeholder {
  color: rgba(7, 17, 31, 0.62);
}

.search-control input::-webkit-search-cancel-button {
  display: none;
}

.search-control button {
  padding: 0.55rem 0;
  border: 0;
  background: transparent;
  color: var(--cobalt);
  font-size: 0.72rem;
  font-weight: 800;
}

.category-filters {
  position: sticky;
  top: 4.7rem;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 1rem 0;
  background: rgba(240, 244, 247, 0.94);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(12px);
}

.category-filters button {
  min-height: 2.55rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: transparent;
  color: rgba(7, 17, 31, 0.72);
  font-size: 0.7rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.category-filters button:hover,
.category-filters button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.article-archive {
  border-bottom: 1px solid var(--line-light);
}

.archive-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--line-light);
  animation: archive-in 480ms var(--ease) both;
}

.archive-number {
  color: var(--cobalt);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.archive-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.55fr);
  column-gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.archive-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1rem;
  color: rgba(7, 17, 31, 0.58);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.archive-content h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.archive-content h3 a {
  transition: color 180ms ease;
}

.archive-content h3 a:hover {
  color: var(--cobalt);
}

.archive-content > p {
  margin: 0;
  color: rgba(7, 17, 31, 0.68);
  font-size: 0.84rem;
  line-height: 1.7;
}

.archive-link {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.72rem;
  font-weight: 800;
}

.archive-link span {
  color: var(--cobalt);
  transition: transform 180ms var(--ease);
}

.archive-link:hover span {
  transform: translate(0.2rem, -0.2rem);
}

.blog-empty {
  padding: 4rem 0;
  text-align: center;
}

.blog-empty strong {
  font-family: var(--display);
  font-size: 1.6rem;
}

.blog-empty p {
  margin: 0.7rem 0 1.5rem;
  color: rgba(7, 17, 31, 0.64);
}

.blog-contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(4.5rem, 8vw, 8rem) var(--page-gutter);
  background: var(--ink);
  color: var(--white);
}

.blog-contact > div {
  max-width: 60rem;
}

.blog-contact .service-label {
  color: var(--seafoam);
}

.blog-contact h2 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 4.8vw, 5rem);
}

.reader {
  padding: clamp(7rem, 11vw, 9rem) var(--page-gutter) clamp(5rem, 9vw, 9rem);
  background: var(--paper);
}

.reader-header,
.reader-layout,
.reader-footer {
  width: 100%;
  max-width: 82rem;
  margin-right: auto;
  margin-left: auto;
}

.reader-header {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-light);
}

.reader-header .back-link {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.reader-category {
  margin: 0 0 1.2rem;
  color: var(--cobalt);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reader-header h1 {
  max-width: 24ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.reader-excerpt {
  max-width: 65ch;
  margin: 1.6rem 0 0;
  color: rgba(7, 17, 31, 0.7);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.reader-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.8rem;
  margin-top: 2rem;
  color: rgba(7, 17, 31, 0.58);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reader-layout {
  display: grid;
  grid-template-columns: 13rem minmax(0, 46rem);
  gap: clamp(3rem, 8vw, 8rem);
  justify-content: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.reader-aside {
  position: sticky;
  top: 7rem;
  align-self: start;
  border-top: 1px solid var(--ink);
}

.reader-aside > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-light);
}

.reader-aside span {
  color: rgba(7, 17, 31, 0.55);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reader-aside strong {
  font-size: 0.78rem;
  line-height: 1.5;
}

.reader-aside > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--cobalt);
  font-size: 0.72rem;
  font-weight: 800;
}

.reader-aside i {
  font-style: normal;
}

.reader-body {
  min-width: 0;
}

.reader-body p {
  max-width: 70ch;
  margin: 0 0 1.5rem;
  color: rgba(7, 17, 31, 0.84);
  font-size: clamp(0.98rem, 1.3vw, 1.06rem);
  line-height: 1.88;
}

.reader-body .reader-lead {
  margin-bottom: 2.1rem;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
  font-weight: 600;
  line-height: 1.65;
}

.reader-footer {
  border-top: 1px solid var(--line-light);
}

.reader-disclaimer {
  display: grid;
  grid-template-columns: 10rem minmax(0, 46rem);
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-light);
}

.reader-disclaimer strong {
  font-family: var(--display);
}

.reader-disclaimer p {
  margin: 0;
  color: rgba(7, 17, 31, 0.68);
  font-size: 0.82rem;
  line-height: 1.7;
}

.reader-references {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-light);
}

.reader-references h2 {
  margin: 0 0 1rem;
  font: 600 1.2rem var(--display);
}

.reader-references ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(7, 17, 31, 0.68);
  font-size: 0.88rem;
  line-height: 1.6;
}

.reader-references li + li {
  margin-top: 1.15rem;
}

.reader-references li strong,
.reader-references li span,
.reader-references li a {
  display: block;
}

.reader-references li strong {
  color: var(--ink);
  font-weight: 650;
}

.reader-references li a {
  width: fit-content;
  margin-top: 0.25rem;
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.related-reading {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.related-reading > div:first-child {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.related-reading .service-label {
  margin-bottom: 0.5rem;
  color: var(--cobalt);
}

.related-reading h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.related-reading > div:last-child {
  border-bottom: 1px solid var(--line-light);
}

.related-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line-light);
  transition: color 180ms ease, padding-left 180ms var(--ease);
}

.related-link:hover {
  padding-left: 0.5rem;
  color: var(--cobalt);
}

.related-link span {
  color: rgba(7, 17, 31, 0.55);
  font-family: var(--mono);
  font-size: 0.54rem;
  text-transform: uppercase;
}

.related-link strong {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.related-link i {
  font-style: normal;
}

.reader-not-found {
  min-height: 80svh;
  padding: clamp(10rem, 15vw, 14rem) var(--page-gutter) 6rem;
  background: var(--ink);
  color: var(--white);
}

.reader-not-found h1 {
  max-width: 15ch;
  margin: 0 0 2rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.reveal {
  transform: translateY(2rem);
  opacity: 0;
  transition: transform 800ms var(--ease), opacity 800ms ease;
}

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

@keyframes archive-in {
  from { transform: translateY(0.7rem); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes title-rise {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes load-rise {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes visual-enter {
  to { transform: translateY(0); opacity: 1; }
}

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

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

@keyframes line-run {
  50%, 100% { transform: translateX(100%); }
}

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

@keyframes panel-refresh {
  from { transform: translateY(0.7rem); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes dialog-in {
  from { transform: translateY(1rem) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (min-width: 1121px) {
  .profile-grid,
  .insights-heading,
  .article-grid {
    padding-right: 7.5rem;
  }
}

@media (max-width: 1120px) {
  .section-rail {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--page-gutter) 1.5rem;
    border-bottom: 1px solid var(--line-dark);
    background: var(--ink);
    box-shadow: 0 1.5rem 2.5rem rgba(0, 0, 0, 0.28);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1rem;
  }

  .header-action {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(0.2rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-0.2rem) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr 0.88fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  }

  .hero-visual {
    min-height: 34rem;
  }

  .orbit-node {
    padding: 0.5rem 0.7rem;
  }

  .practice-system {
    grid-template-columns: minmax(16rem, 0.78fr) minmax(23rem, 1.22fr);
  }

  .article-card {
    grid-column: auto;
    min-height: 21rem;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card--lead {
    grid-column: 1 / -1;
  }

  .article-card--compact-wide,
  .article-card--wide {
    display: flex;
    grid-column: auto;
    min-height: 21rem;
  }

  .article-card--compact-wide .article-media,
  .article-card--wide .article-media {
    height: auto;
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 8.5rem;
  }

  .hero-copy {
    max-width: 48rem;
  }

  .hero-title {
    max-width: 13ch;
    font-size: clamp(2.8rem, 9.5vw, 4.8rem);
  }

  .hero-title--statement {
    max-width: 16ch;
    font-size: clamp(2.4rem, 6.6vw, 3.7rem);
  }

  .hero-visual {
    width: min(100%, 40rem);
    min-height: 34rem;
    margin: 1rem auto 0;
  }

  .scroll-cue {
    display: none;
  }

  .profile-grid,
  .practice-intro,
  .method-heading {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .profile-grid {
    gap: 0;
  }

  .profile-body {
    max-width: 48rem;
    margin-top: 2rem;
  }

  .profile-credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-credentials > div:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .profile-credentials > div:nth-child(4) {
    border-top: 1px solid var(--line-light);
  }

  .profile-trajectory {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-top: 3.5rem;
  }

  .trajectory-intro h3 {
    max-width: 16ch;
  }

  .practice-system {
    grid-template-columns: 1fr;
  }

  .practice-panel {
    position: relative;
    top: 0;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-steps li {
    display: grid;
    grid-template-columns: 4rem 1fr;
    min-height: 0;
    gap: 1.5rem;
    padding: 1rem 0 3rem;
  }

  .method-steps li + li {
    padding-left: 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .step-number {
    margin-bottom: 0;
  }

  .method-steps li > i {
    display: none;
  }

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

  .article-card {
    grid-column: auto;
  }

  .article-card--lead,
  .article-card--compact-wide,
  .article-card--wide {
    grid-column: 1 / -1;
  }

  .article-card--compact-wide,
  .article-card--wide {
    display: grid;
    min-height: 16.5rem;
  }

  .article-card--compact-wide .article-media,
  .article-card--wide .article-media {
    height: 100%;
    aspect-ratio: auto;
  }

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

  .footer-links {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 4.8rem;
    background: rgba(7, 17, 31, 0.76);
    backdrop-filter: blur(16px);
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .hero {
    padding-top: 7.2rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: clamp(2.45rem, 11.5vw, 3.75rem);
    letter-spacing: -0.04em;
  }

  .hero-title--statement {
    max-width: 100%;
    font-size: clamp(2.15rem, 9.3vw, 2.5rem);
    line-height: 0.98;
  }

  .hero-description {
    margin-top: 1.5rem;
    font-size: 0.96rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div + div {
    padding-left: 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .hero-facts div {
    padding: 0.9rem 0;
  }

  .hero-visual {
    min-height: 31rem;
    margin-top: 0;
  }

  .orbit-stage {
    inset: 0 0 2rem;
  }

  .portrait-shell {
    width: 50%;
  }

  .halo-three {
    width: 88%;
  }

  .orbit-node {
    min-height: 2.05rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.49rem;
  }

  .node-digital,
  .node-civil {
    right: 0;
    left: auto;
  }

  .node-civil {
    top: 48%;
    right: auto;
    left: 0;
  }

  .section-light,
  .section-dark {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .section-kicker {
    margin-bottom: 2.4rem;
  }

  .profile-heading h2,
  .practice-intro h2,
  .method-heading h2,
  .insights-heading h2 {
    font-size: clamp(2.1rem, 8.5vw, 3.2rem);
  }

  .profile-credentials {
    grid-template-columns: 1fr;
  }

  .profile-credentials > div,
  .profile-credentials > div + div {
    padding: 1.15rem 0;
    border-left: 0;
  }

  .profile-credentials > div + div {
    border-top: 1px solid var(--line-light);
  }

  .trajectory-list li {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .practice-tabs button {
    grid-template-columns: 2.4rem 1fr auto;
    min-height: 4.2rem;
  }

  .practice-panel {
    min-height: 30rem;
    padding: 1.5rem;
    border-radius: 1.4rem;
  }

  .panel-code {
    margin-bottom: 3.2rem;
  }

  .practice-panel ul {
    grid-template-columns: 1fr;
  }

  .practice-panel .button {
    width: 100%;
  }

  .insights-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .article-card,
  .article-card--lead,
  .article-card--compact-wide,
  .article-card--wide {
    grid-column: auto;
    min-height: 0;
  }

  .article-card--compact-wide,
  .article-card--wide {
    display: flex;
  }

  .article-card--lead .article-media,
  .article-card--compact-wide .article-media,
  .article-card--wide .article-media {
    height: auto;
    aspect-ratio: 16 / 8;
  }

  .article-card--lead h3,
  .article-card--compact-wide h3,
  .article-card--wide h3 {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .contact h2 {
    font-size: clamp(2.65rem, 11.5vw, 4.25rem);
  }

  .contact-orbit {
    top: 12%;
    right: -30%;
    width: 90vw;
    transform: none;
    opacity: 0.5;
  }

  .contact-link {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-links {
    grid-column: auto;
    grid-row: auto;
    align-items: flex-start;
  }

  .assistant-dialog {
    border-radius: 1.3rem;
  }

  .assistant-content {
    max-height: 42dvh;
  }
}

@media (max-width: 900px) {
  .digital-service-grid,
  .library-toolbar,
  .reader-layout {
    grid-template-columns: 1fr;
  }

  .digital-service-grid {
    gap: 3rem;
  }

  .library-toolbar {
    align-items: start;
  }

  .blog-signal {
    right: -18vw;
    width: 62vw;
    opacity: 0.72;
  }

  .reader-layout {
    gap: 3rem;
  }

  .reader-aside {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
  }

  .reader-aside > a {
    grid-column: 1 / -1;
  }

  .blog-contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .profile-body p {
    line-height: 1.66;
  }

  .profile-credentials small,
  .trajectory-summary,
  .profile-learning p,
  .trajectory-list p,
  .profile-principles-list span {
    font-size: 0.875rem;
  }

  .profile-principles-list > div {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1rem 0 1.1rem;
  }

  .section-cobalt {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .digital-service-copy h2 {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }

  .digital-route > div {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.55rem 1rem;
  }

  .digital-route p {
    grid-column: 2;
  }

  .archive-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .archive-callout .button,
  .blog-contact .button {
    width: 100%;
  }

  .blog-hero {
    min-height: 34rem;
    padding-top: 8rem;
  }

  .blog-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .blog-signal {
    top: 30%;
    right: -35vw;
    width: 90vw;
    opacity: 0.45;
  }

  .blog-library {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-gutter: stable;
  }

  .category-filters button {
    flex: 0 0 auto;
  }

  .archive-item {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 1rem;
  }

  .archive-content {
    grid-template-columns: 1fr;
  }

  .archive-content > p,
  .archive-link {
    grid-column: 1;
  }

  .archive-content > p {
    margin-top: 1rem;
  }

  .archive-content h3 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  .blog-contact {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .blog-contact h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .reader {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .reader-header h1 {
    font-size: clamp(2.15rem, 9vw, 3.2rem);
  }

  .reader-aside,
  .reader-disclaimer,
  .related-link {
    grid-template-columns: 1fr;
  }

  .reader-aside > a {
    grid-column: 1;
  }

  .reader-disclaimer,
  .related-link {
    gap: 0.8rem;
  }

  .related-link i {
    position: absolute;
    top: 1.5rem;
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Required to override component motion when the operating system requests reduced motion. */
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .title-line > span,
  .load-item,
  .load-visual,
  .reveal {
    transform: none;
    opacity: 1;
  }
}

@media (forced-colors: active) {
  .scroll-progress span,
  .status-dot,
  .strip-track i,
  .practice-panel li::before {
    background: Highlight;
  }

  .button,
  .orbit-node,
  .practice-panel,
  .article-card {
    border: 1px solid CanvasText;
  }
}

/* Orientation center */
.orientation-hub {
  position: relative;
  overflow: hidden;
}

.orientation-hub::before {
  position: absolute;
  top: 8rem;
  right: -12rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(83, 109, 255, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.orientation-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  max-width: var(--page-max);
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
}

.orientation-heading h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.55rem, 4.2vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.orientation-heading h2 em {
  color: var(--cobalt-deep);
  font-style: normal;
}

.orientation-heading > p {
  max-width: 46ch;
  margin: 0 0 0.35rem;
  color: rgba(7, 17, 31, 0.66);
  line-height: 1.75;
}

.orientation-workspace {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(7, 17, 31, 0.2);
  border-radius: 2rem;
  background: var(--ink);
  color: var(--white);
}

.orientation-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line-dark);
}

.orientation-tabs button {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-right: 1px solid var(--line-dark);
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.orientation-tabs button:last-child {
  border-right: 0;
}

.orientation-tabs button span,
.tool-heading strong,
.trail-code,
.orientation-note,
.guide-screen > p,
.schedule-intro span {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.orientation-tabs button[aria-selected="true"] {
  background: var(--cobalt);
  color: var(--white);
}

.orientation-panel {
  min-height: 0;
  padding: clamp(1.25rem, 3.5vw, 3.5rem);
}

.situation-map {
  display: block;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 1.4rem;
}

.situation-control,
.map-result {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 3.2rem);
}

.situation-control {
  background: var(--ink-soft);
}

.tool-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--seafoam);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
}

.tool-heading strong {
  color: var(--muted);
  font-weight: 500;
}

.situation-control h3,
.map-result h3,
.checklist-intro h3,
.faq-layout h3,
.guide-screen h3 {
  margin: 1.7rem 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.situation-control > p,
.map-result > p,
.checklist-intro > p,
.faq-layout > div:first-child > p:not(.service-label) {
  max-width: 54ch;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.choice-grid button,
.area-filter button {
  min-height: 4.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.choice-grid button:hover,
.choice-grid button.is-selected,
.area-filter button:hover,
.area-filter button.is-selected {
  border-color: var(--seafoam);
  background: rgba(146, 230, 213, 0.12);
  color: var(--seafoam);
}

.map-needs {
  margin-top: 2rem;
  padding-top: 0.2rem;
  border-top: 1px solid var(--line-dark);
}

.map-help {
  margin: 1rem 0 0;
  font-size: 0.72rem !important;
}

.map-help a {
  color: var(--seafoam);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25rem;
}

.map-needs h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.choice-grid--needs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.map-result {
  display: block;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(145deg, var(--cobalt-deep), var(--cobalt));
}

.map-result.is-complete {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.map-result.is-complete h3 {
  max-width: 15ch;
  margin-top: 1.2rem;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1.08;
}

.map-result > *:not(.map-orbit) {
  position: relative;
  z-index: 1;
}

.map-orbit {
  position: absolute;
  top: -9rem;
  right: -8rem;
  width: 28rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.map-orbit::before,
.map-orbit::after {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.map-orbit::after {
  inset: 38%;
  background: rgba(146, 230, 213, 0.18);
}

.map-result .service-label {
  color: var(--seafoam);
}

.map-result-content {
  display: none;
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.map-result-content.is-ready {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.8fr);
  gap: 1.4rem 2rem;
}

.map-result.is-complete .map-result-content {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.map-result-content > div:not(.map-result-actions) {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.map-result-content span {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.map-result-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.map-result-content li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.73rem;
  line-height: 1.5;
}

.map-result-content li::before {
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--seafoam);
  content: "";
}

.map-reading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.map-reading a {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.map-reading a span {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.map-reading i {
  font-style: normal;
}

.map-result-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-top: 0.2rem;
}

.map-result-actions .button-primary {
  background: var(--ink);
}

.map-result-actions .text-link {
  color: var(--white);
}

.orientation-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.checklist-layout,
.faq-layout,
.guides-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  min-height: 31rem;
}

.checklist-intro .service-label,
.faq-layout .service-label {
  color: var(--seafoam);
}

.checklist-intro h3,
.faq-layout h3 {
  max-width: 12ch;
}

.area-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.area-filter button {
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
}

.preparation-card {
  padding: clamp(1.35rem, 3vw, 2.5rem);
  border-radius: 1.4rem;
  background: var(--paper);
  color: var(--ink);
}

.preparation-progress {
  display: grid;
  gap: 0.8rem;
}

.preparation-progress strong {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preparation-progress > span {
  height: 0.25rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.13);
}

.preparation-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cobalt);
  transition: transform 220ms var(--ease);
}

.preparation-card fieldset {
  display: grid;
  margin: 1.4rem 0 0;
  padding: 0;
  border: 0;
}

.preparation-card label {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 4rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line-light);
  cursor: pointer;
}

.preparation-card input {
  position: absolute;
  opacity: 0;
}

.preparation-card label > span {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border: 1px solid rgba(7, 17, 31, 0.35);
  border-radius: 0.38rem;
}

.preparation-card input:focus-visible + span {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

.preparation-card input:checked + span {
  border-color: var(--cobalt);
  background: var(--cobalt);
}

.preparation-card input:checked + span::after {
  color: white;
  content: "✓";
  font-size: 0.85rem;
  font-weight: 800;
}

.preparation-card input:checked ~ strong {
  color: rgba(7, 17, 31, 0.48);
  text-decoration: line-through;
}

.preparation-card label strong {
  font-size: 0.83rem;
}

.preparation-actions,
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.preparation-actions {
  margin-top: 1.2rem;
}

.text-button {
  padding: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--cobalt-deep);
  font-size: 0.7rem;
  font-weight: 800;
}

.copy-status {
  min-height: 1.2rem;
  margin: 0.7rem 0 0;
  color: rgba(7, 17, 31, 0.6);
  font-size: 0.68rem;
}

.orientation-panel > .tool-heading {
  margin-bottom: 1.8rem;
}

.reading-trails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.reading-trails article {
  display: flex;
  flex-direction: column;
  min-height: 25rem;
  padding: 1.5rem;
  border: 1px solid var(--line-dark);
  border-radius: 1.2rem;
  background: var(--ink-soft);
}

.trail-code {
  color: var(--seafoam);
}

.reading-trails h3 {
  min-height: 4.7rem;
  margin: 1rem 0 2rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.reading-trails ol {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.reading-trails li {
  border-top: 1px solid var(--line-dark);
}

.reading-trails a {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  min-height: 3.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 700;
}

.reading-trails a:hover {
  color: var(--seafoam);
}

.reading-trails a span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.55rem;
}

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

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

.faq-list summary {
  position: relative;
  padding: 1.35rem 3rem 1.35rem 0;
  font-family: var(--display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  position: absolute;
  top: 1rem;
  right: 0;
  color: var(--seafoam);
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
}

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

.faq-list details p {
  max-width: 64ch;
  margin: -0.3rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.guide-playlist {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.guide-playlist button {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.25rem 0.9rem;
  padding: 1.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  text-align: left;
}

.guide-playlist button span {
  grid-row: 1 / 3;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.guide-playlist button strong {
  font-family: var(--display);
  font-size: 1rem;
}

.guide-playlist button small {
  font-family: var(--mono);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.guide-playlist button:hover,
.guide-playlist button.is-selected {
  color: var(--seafoam);
}

.guide-player {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 1.4rem;
}

.guide-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 22rem;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: linear-gradient(145deg, #243aab, var(--cobalt));
}

.guide-screen > *:not(.guide-signal) {
  position: relative;
  z-index: 1;
}

.guide-screen > p:first-of-type {
  margin: 0;
  color: var(--seafoam);
}

.guide-screen h3 {
  max-width: 15ch;
  margin-bottom: 0.7rem;
}

.guide-screen > p:last-child {
  max-width: 50ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0;
  line-height: 1.7;
  text-transform: none;
}

.guide-signal {
  position: absolute;
  top: -9rem;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  animation: guide-pulse 4s ease-in-out infinite alternate;
}

.guide-signal::before,
.guide-signal::after {
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.guide-signal::after {
  inset: 42%;
  background: var(--seafoam);
}

.guide-controls {
  display: grid;
  grid-template-columns: auto minmax(4rem, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--ink-soft);
}

.guide-controls button {
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
}

.guide-timeline {
  height: 0.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.guide-timeline span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--seafoam);
}

.guide-controls > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.53rem;
}

.guide-transcript {
  padding: 0.9rem 1.2rem;
  border-top: 1px solid var(--line-dark);
}

.guide-transcript summary {
  color: var(--seafoam);
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.guide-transcript ol {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.guide-transcript li {
  padding-left: 0.5rem;
}

.guide-transcript strong,
.guide-transcript p {
  display: block;
  font-size: 0.73rem;
  line-height: 1.6;
}

.guide-transcript p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.service-actions {
  margin-top: 1.5rem;
}

.button-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
}

.button-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Motion preference */
.motion-toggle {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: calc(var(--z-dialog) - 20);
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.88);
  color: var(--white);
  box-shadow: 0 0.7rem 2rem rgba(7, 17, 31, 0.2);
  backdrop-filter: blur(14px);
}

.motion-toggle > span {
  color: var(--seafoam);
  font-size: 1rem;
}

.motion-toggle strong {
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-motion="reduced"] {
  scroll-behavior: auto;
}

html[data-motion="reduced"] *,
html[data-motion="reduced"] *::before,
html[data-motion="reduced"] *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

html[data-motion="reduced"] .title-line > span,
html[data-motion="reduced"] .load-item,
html[data-motion="reduced"] .load-visual,
html[data-motion="reduced"] .reveal {
  transform: none;
  opacity: 1;
}

/* Schedule dialog */
.schedule-dialog {
  width: min(94vw, 48rem);
  max-height: min(90dvh, 54rem);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 1.7rem;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.45);
}

.schedule-dialog::backdrop {
  background: rgba(4, 9, 17, 0.78);
  backdrop-filter: blur(8px);
}

.schedule-dialog[open] {
  animation: dialog-in 320ms var(--ease);
}

.schedule-shell {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.schedule-shell > header {
  display: flex;
  gap: 2rem;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-dark);
}

.schedule-shell .service-label {
  margin-bottom: 0.65rem;
  color: var(--seafoam);
}

.schedule-shell h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.03;
}

.schedule-intro {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.schedule-intro p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.schedule-intro span {
  max-width: 13rem;
  color: var(--seafoam);
  text-align: right;
}

.schedule-step {
  padding: 1.3rem 0;
  border-top: 1px solid var(--line-dark);
}

.schedule-step > strong {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule-days,
.schedule-periods {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.schedule-days {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.schedule-periods {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.schedule-days button,
.schedule-periods button {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0.6rem;
  border: 1px solid var(--line-dark);
  border-radius: 0.8rem;
  background: var(--ink-soft);
  color: var(--white);
}

.schedule-days small,
.schedule-periods small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.5rem;
  text-transform: uppercase;
}

.schedule-days button.is-selected,
.schedule-periods button.is-selected {
  border-color: var(--seafoam);
  background: rgba(146, 230, 213, 0.13);
  color: var(--seafoam);
}

.schedule-summary {
  min-height: 3rem;
  margin: 0.4rem 0 1rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--cobalt);
  background: rgba(83, 109, 255, 0.1);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.schedule-email {
  width: 100%;
}

.button.is-disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
}

/* Reader tools */
.reader-aside > .reader-toc,
.reader-aside > .reader-tools {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-light);
}

.reader-toc ol {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.reader-toc a {
  display: block;
  color: rgba(7, 17, 31, 0.65);
  font-size: 0.68rem;
  line-height: 1.45;
}

.reader-toc a:hover {
  color: var(--cobalt-deep);
}

.reader-aside > .reader-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.reader-tools button {
  min-height: 2.75rem;
  padding: 0.45rem;
  border: 1px solid var(--line-light);
  border-radius: 0.45rem;
  background: transparent;
  color: rgba(7, 17, 31, 0.74);
  font-size: 0.58rem;
  font-weight: 800;
}

.reader-tools button:hover,
.reader-tools button[aria-pressed="true"] {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: var(--white);
}

.reader-tools p {
  grid-column: 1 / -1;
  min-height: 1rem;
  margin: 0.3rem 0 0;
  color: rgba(7, 17, 31, 0.58);
  font-size: 0.58rem;
  line-height: 1.45;
}

.reader-body h2 {
  max-width: 24ch;
  margin: 3.4rem 0 1.3rem;
  scroll-margin-top: 7rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.reader-body h3 {
  margin: 2.3rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.reader-body ul,
.reader-body ol {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.8rem;
  padding-left: 1.2rem;
  color: rgba(7, 17, 31, 0.84);
  font-size: clamp(0.98rem, 1.3vw, 1.06rem);
  line-height: 1.7;
}

.reader-body a {
  color: var(--cobalt-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.reader-body blockquote {
  margin: 2rem 0;
  padding: 0.25rem 0 0.25rem 1.4rem;
  border-left: 3px solid var(--cobalt);
  color: rgba(7, 17, 31, 0.72);
}

.error-page {
  min-height: 100svh;
  background: var(--ink);
}

.error-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) var(--page-gutter);
}

.error-shell > *:not(.error-code) {
  position: relative;
  z-index: 1;
}

.error-shell .brand {
  position: absolute;
  top: 2rem;
  left: var(--page-gutter);
}

.error-shell h1 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 7vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.error-shell > p:not(.eyebrow) {
  max-width: 54ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.error-code {
  position: absolute;
  right: -0.08em;
  bottom: -0.18em;
  color: rgba(83, 109, 255, 0.12);
  font: 800 clamp(14rem, 42vw, 38rem)/0.8 var(--display);
  letter-spacing: -0.1em;
  pointer-events: none;
}

.reader-large-text .reader-body p,
.reader-large-text .reader-body li {
  font-size: clamp(1.1rem, 1.5vw, 1.22rem);
  line-height: 1.95;
}

.reader-focus-mode .site-header,
.reader-focus-mode .reader-header,
.reader-focus-mode .reader-footer,
.reader-focus-mode > .site-footer,
.reader-focus-mode .motion-toggle {
  display: none;
}

.reader-focus-mode .reader {
  padding-top: 3rem;
}

.reader-focus-mode .reader-layout {
  grid-template-columns: minmax(0, 48rem);
  padding-top: 0;
}

.reader-focus-mode .reader-aside {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 48rem;
  border-top: 0;
}

.reader-focus-mode .reader-aside > div:not(.reader-tools),
.reader-focus-mode .reader-aside > nav,
.reader-focus-mode .reader-aside > a {
  display: none;
}

.reader-focus-mode .reader-aside > .reader-tools {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 0;
}

@keyframes guide-pulse {
  to { transform: scale(1.06) rotate(8deg); }
}

@media (max-width: 1120px) {
  .orientation-heading,
  .situation-map,
  .checklist-layout,
  .faq-layout,
  .guides-layout {
    grid-template-columns: 1fr;
  }

  .orientation-heading {
    align-items: start;
    gap: 1.5rem;
  }

  .orientation-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(8.5rem, 1fr));
  }

  .situation-map {
    min-height: 0;
  }

  .map-result.is-complete {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .map-result.is-complete .map-result-content {
    grid-column: 1;
    grid-row: auto;
  }

  .reading-trails {
    grid-template-columns: repeat(3, minmax(15rem, 1fr));
    overflow-x: auto;
    padding-bottom: 0.6rem;
    scroll-snap-type: x mandatory;
  }

  .reading-trails article {
    scroll-snap-align: start;
  }

  .checklist-layout,
  .faq-layout,
  .guides-layout {
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .orientation-heading h2 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .orientation-workspace {
    border-radius: 1.25rem;
  }

  .orientation-panel {
    min-height: 0;
    padding: 0.75rem;
  }

  .orientation-tabs button {
    min-height: 3.8rem;
  }

  .situation-control,
  .map-result {
    padding: 1.25rem;
  }

  .choice-grid,
  .choice-grid--needs,
  .map-result-content ul,
  .schedule-periods {
    grid-template-columns: 1fr;
  }

  .map-result-actions,
  .schedule-intro {
    align-items: stretch;
    flex-direction: column;
  }

  .map-result-actions .button,
  .service-actions .button {
    width: 100%;
  }

  .map-result-content.is-ready {
    grid-template-columns: 1fr;
  }

  .preparation-card {
    padding: 1rem;
  }

  .guide-screen {
    min-height: 21rem;
  }

  .guide-controls {
    grid-template-columns: 1fr auto;
  }

  .guide-timeline {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .schedule-dialog {
    width: calc(100vw - 1rem);
    border-radius: 1.2rem;
  }

  .schedule-intro span {
    max-width: none;
    text-align: left;
  }

  .schedule-days {
    grid-template-columns: repeat(3, 1fr);
  }

  .motion-toggle {
    bottom: 0.65rem;
    left: 0.65rem;
  }

  .motion-toggle strong {
    display: none;
  }

  .motion-toggle {
    width: 2.8rem;
    justify-content: center;
    padding: 0.5rem;
  }

  .reader-aside > .reader-toc,
  .reader-aside > .reader-tools {
    grid-column: 1 / -1;
  }

  .reader-focus-mode .reader-aside > .reader-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Optional GA4 measurement and its privacy explanation. */
.analytics-consent {
  position: fixed;
  z-index: calc(var(--z-dialog) + 1);
  right: clamp(0.75rem, 2vw, 2rem);
  bottom: clamp(0.75rem, 2vw, 2rem);
  left: clamp(0.75rem, 2vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 75rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid rgba(146, 230, 213, 0.4);
  border-radius: 1.25rem;
  background: #142338;
  color: var(--white);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.35);
}

.analytics-consent-copy {
  max-width: 46rem;
}

.analytics-consent-eyebrow,
.privacy-grid section > span,
.privacy-updated {
  color: var(--seafoam);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-consent h2 {
  margin: 0.55rem 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.18;
}

.analytics-consent p {
  margin: 0;
  color: #d4dfeb;
  font-size: 0.9rem;
  line-height: 1.65;
}

.analytics-consent a,
.privacy-grid a {
  color: var(--seafoam);
  text-underline-offset: 0.2em;
}

.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
}

.analytics-consent-actions button,
.privacy-choice {
  min-height: 2.8rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: 700 0.82rem var(--body);
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.analytics-consent-actions button:hover,
.privacy-choice:hover {
  transform: translateY(-2px);
}

.analytics-consent-actions .consent-accept {
  border-color: var(--seafoam);
  background: var(--seafoam);
  color: var(--ink);
}

.analytics-consent-actions button:focus-visible,
.privacy-choice:focus-visible,
.footer-links button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.privacy-main {
  min-height: 65vh;
  padding: clamp(7rem, 12vw, 10rem) var(--page-gutter) 6rem;
  background: var(--paper);
  color: var(--ink);
}

.privacy-page .site-header:not(.is-scrolled) {
  background: var(--ink);
}

.privacy-heading,
.privacy-grid,
.privacy-updated {
  max-width: var(--page-max);
  margin-right: auto;
  margin-left: auto;
}

.privacy-heading {
  max-width: 54rem;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.privacy-heading h1 {
  margin: 1rem 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
}

.privacy-heading > p:last-child {
  color: #405064;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}

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

.privacy-grid section {
  min-height: 16rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line-light);
  border-radius: 1rem;
  background: #fff;
}

.privacy-grid section > span,
.privacy-updated {
  color: var(--cobalt-deep);
}

.privacy-grid h2 {
  margin: 1.2rem 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.privacy-grid p {
  max-width: 58ch;
  margin: 0;
  color: #405064;
  line-height: 1.75;
}

.privacy-grid a {
  color: var(--cobalt-deep);
}

.privacy-choice {
  margin-top: 1.5rem;
  border-color: var(--ink);
  color: var(--ink);
}

.privacy-updated {
  margin-top: 2rem;
}

@media (max-width: 850px) {
  .analytics-consent {
    align-items: stretch;
    flex-direction: column;
  }

  .analytics-consent-actions button {
    flex: 1;
  }

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

@media (max-width: 450px) {
  .analytics-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media print {
  .site-header,
  .scroll-progress,
  .reader-aside,
  .reader-footer,
  .site-footer,
  .motion-toggle {
    display: none !important;
  }

  .analytics-consent {
    display: none !important;
  }

  body,
  .reader {
    background: #fff !important;
    color: #000 !important;
  }

  .reader {
    padding: 0 !important;
  }

  .reader-header {
    padding-bottom: 1.5rem;
  }

  .reader-header h1 {
    font-size: 34pt;
  }

  .reader-layout {
    display: block;
    padding: 1.5rem 0 0;
  }

  .reader-body p,
  .reader-body li {
    color: #000 !important;
    font-size: 11pt;
  }

  .reader-body h2,
  .reader-body h3 {
    break-after: avoid;
  }
}
