

/* ==========================================================================
   SHARED FOUNDATION — LANDING + DETAIL
   Ordem de cascade/inicialização preservada da baseline validada
   ========================================================================== */

/* ========================================================================== 
   STEPHANIE DE PAIVA — Premium Legal Experience
   Design system: forest / parchment / graphite / muted bronze
   ========================================================================== */

/* 01. TOKENS --------------------------------------------------------------- */
:root {
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-ui: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --forest-950: #07100e;
  --forest-900: #0b1714;
  --forest-850: #0e1d19;
  --forest-800: #11251f;
  --forest-700: #19352c;
  --forest-600: #264a3f;
  --forest-500: #3d6658;
  --forest-400: #628779;
  --forest-300: #8da99e;

  --graphite-950: #0b0d0c;
  --graphite-900: #111412;
  --graphite-850: #171a18;
  --graphite-800: #1e211f;
  --graphite-700: #2e322f;
  --graphite-600: #464b47;
  --graphite-500: #626963;
  --graphite-400: #858d87;
  --graphite-300: #abb0ac;

  --sand-050: #f7f3ea;
  --sand-100: #f1eadc;
  --sand-150: #eae2d2;
  --sand-200: #ded3bf;
  --sand-300: #cdbda1;
  --sand-400: #bca782;
  --sand-500: #a58d68;
  --sand-600: #8d7556;

  --white: #ffffff;
  --black: #000000;
  --danger: #bb5a4f;
  --success: #6a8a70;
  --warning: #ad8b53;
  --info: #668c8c;

  --bg: var(--forest-950);
  --bg-soft: var(--forest-900);
  --surface: var(--forest-850);
  --surface-raised: var(--forest-800);
  --surface-subtle: rgba(241, 234, 220, 0.055);
  --text: var(--sand-100);
  --text-strong: #fbf7ef;
  --text-muted: #bcb7ac;
  --text-subtle: #8e918d;
  --line: rgba(241, 234, 220, 0.14);
  --line-strong: rgba(241, 234, 220, 0.26);
  --accent: var(--sand-400);
  --accent-strong: #d4c3a2;
  --accent-contrast: var(--forest-950);
  --header-bg: rgba(7, 16, 14, 0.78);
  --overlay: rgba(4, 8, 7, 0.78);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 38px 120px rgba(0, 0, 0, 0.32);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;
  --space-40: 10rem;

  --container: 1280px;
  --container-wide: 1500px;
  --gutter: clamp(1.25rem, 3vw, 3.75rem);
  --header-height: 92px;
  --header-height-scrolled: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 180ms;
  --duration-base: 360ms;
  --duration-slow: 720ms;
  --duration-cinematic: 1100ms;

  --z-base: 1;
  --z-sticky: 20;
  --z-header: 40;
  --z-overlay: 70;
  --z-modal: 90;
  --z-toast: 110;
  --z-loader: 130;
  --z-cursor: 150;
}

html[data-theme="light"] {
  --bg: #f4efe5;
  --bg-soft: #ece5d8;
  --surface: #f8f4ec;
  --surface-raised: #ffffff;
  --surface-subtle: rgba(17, 37, 31, 0.045);
  --text: #1c2824;
  --text-strong: #0f1916;
  --text-muted: #59645f;
  --text-subtle: #7b827e;
  --line: rgba(17, 37, 31, 0.13);
  --line-strong: rgba(17, 37, 31, 0.25);
  --accent: #705f48;
  --accent-strong: #4f4435;
  --accent-contrast: #faf6ee;
  --header-bg: rgba(244, 239, 229, 0.86);
  --overlay: rgba(13, 22, 18, 0.54);
  --shadow-xs: 0 1px 2px rgba(36, 31, 22, 0.07);
  --shadow-sm: 0 8px 24px rgba(36, 31, 22, 0.08);
  --shadow-md: 0 20px 60px rgba(36, 31, 22, 0.11);
  --shadow-lg: 0 38px 120px rgba(36, 31, 22, 0.14);
}

/* 02. RESET --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--accent-contrast);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 68%, var(--bg));
  border: 3px solid var(--bg);
  border-radius: var(--radius-pill);
}

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

img {
  height: auto;
}

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

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

/* 03. BASE ---------------------------------------------------------------- */
.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container-wide));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(6rem, 11vw, 11rem);
}

.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: calc(var(--z-loader) + 1);
  transform: translateY(-160%);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--sand-100);
  color: var(--forest-950);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform var(--duration-fast) var(--ease-out);
}

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

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

/* 04. TYPOGRAPHY ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.eyebrow--light {
  color: var(--sand-300);
}

.display-title {
  max-width: 18ch;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.2vw, 6.1rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.display-title--light {
  color: var(--sand-050);
}

.large-copy {
  max-width: 50ch;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.38;
}

.section-marker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.75rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-marker span:first-child {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.section-marker--light {
  color: rgba(241, 234, 220, 0.58);
}

.section-marker--light span:first-child {
  border-color: rgba(241, 234, 220, 0.26);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  color: var(--text-strong);
  font-size: 0.9rem;
  font-weight: 650;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  transform: scaleX(0.22);
  transform-origin: left;
  background: currentColor;
  content: "";
  opacity: 0.5;
  transition: transform var(--duration-base) var(--ease-out);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

/* 05. AMBIENT LAYERS ------------------------------------------------------ */
.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.ambient-light {
  position: fixed;
  z-index: 0;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.06;
}

.ambient-light--one {
  top: 10vh;
  right: -18rem;
  background: var(--sand-400);
}

.ambient-light--two {
  bottom: -20rem;
  left: -22rem;
  background: var(--forest-400);
}

/* 06. LOADER -------------------------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background: var(--forest-950);
  color: var(--sand-100);
  transition: opacity 650ms var(--ease-out), visibility 650ms var(--ease-out);
}

.page-loader.is-complete {
  opacity: 0;
  visibility: hidden;
}

.page-loader__inner {
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  width: min(320px, 74vw);
}

.page-loader__line {
  overflow: hidden;
  width: 100%;
  height: 1px;
  background: rgba(241, 234, 220, 0.15);
}

.page-loader__line span {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background: var(--sand-300);
  animation: loaderLine 800ms 250ms var(--ease-out) forwards;
}

@keyframes loaderDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes loaderLine {
  to { transform: translateX(0); }
}

/* 07. PROGRESS / CURSOR --------------------------------------------------- */
.site-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: calc(var(--z-header) + 1);
  height: 2px;
  pointer-events: none;
}

.site-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  will-change: transform;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  width: 54px;
  height: 54px;
  transform: translate3d(-100px, -100px, 0);
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor__dot {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--accent-strong);
  transition: inset var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out), opacity var(--duration-fast) ease;
}

.cursor::before {
  position: absolute;
  inset: 4px;
  border: 1px solid color-mix(in srgb, var(--accent) 58%, transparent);
  border-radius: 50%;
  content: "";
  transform: scale(0.72);
  transition: transform var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}

.cursor__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--forest-950);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.cursor.is-hovering::before {
  transform: scale(1);
  background: var(--sand-200);
  border-color: var(--sand-200);
}

.cursor.is-hovering .cursor__dot {
  opacity: 0;
}

.cursor.is-hovering .cursor__label {
  opacity: 1;
}

/* 08. BUTTONS ------------------------------------------------------------- */
.button {
  --button-bg: transparent;
  --button-color: var(--text-strong);
  --button-border: var(--line-strong);
  --button-hover-bg: var(--text-strong);
  --button-hover-color: var(--bg);
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  overflow: hidden;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--button-border);
  border-radius: var(--radius-pill);
  background: var(--button-bg);
  color: var(--button-color);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  isolation: isolate;
  transition: color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), transform var(--duration-fast) ease;
}

.button::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  transform: translateY(105%);
  border-radius: inherit;
  background: var(--button-hover-bg);
  content: "";
  transition: transform var(--duration-base) var(--ease-out);
}

.button:hover,
.button:focus-visible {
  color: var(--button-hover-color);
  border-color: var(--button-hover-bg);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateY(0);
}

.button:active {
  transform: scale(0.975);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--primary {
  --button-bg: var(--sand-100);
  --button-color: var(--forest-950);
  --button-border: var(--sand-100);
  --button-hover-bg: var(--sand-400);
  --button-hover-color: var(--forest-950);
}

html[data-theme="light"] .button--primary {
  --button-bg: var(--forest-800);
  --button-color: var(--sand-050);
  --button-border: var(--forest-800);
  --button-hover-bg: var(--sand-500);
  --button-hover-color: var(--white);
}
.contact .button--primary {
  --button-bg: var(--sand-100);
  --button-color: var(--forest-950);
  --button-border: var(--sand-100);
  --button-hover-bg: var(--sand-400);
  --button-hover-color: var(--forest-950);
}

.button--secondary {
  --button-bg: var(--forest-800);
  --button-color: var(--sand-100);
  --button-border: var(--forest-800);
  --button-hover-bg: var(--forest-600);
  --button-hover-color: var(--sand-050);
}

.button--ghost {
  --button-bg: transparent;
  --button-color: var(--text-strong);
  --button-border: var(--line-strong);
  --button-hover-bg: var(--surface-raised);
  --button-hover-color: var(--text-strong);
}

.button--small {
  min-height: 44px;
  padding-inline: 1rem;
  font-size: 0.74rem;
}

.button--header {
  min-height: 44px;
  padding-inline: 1.05rem;
}

.button[disabled],
.button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.button[disabled]::before,
.button:disabled::before {
  display: none;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--line);
  background: var(--surface-subtle);
}

.icon-button:active {
  transform: scale(0.94);
}

.icon-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 09. HEADER -------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  color: var(--sand-100);
  transition: height var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.site-header.is-scrolled {
  height: var(--header-height-scrolled);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  color: var(--text-strong);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
}

.site-header.is-hidden {
  transform: translateY(-105%);
}

.site-header__shell {
  display: grid;
  height: 100%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2vw, 2.35rem);
}

.desktop-nav > a,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding-block: 0.6rem;
  background: none;
  color: inherit;
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.desktop-nav > a::after,
.nav-trigger::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  opacity: 0.65;
  transition: transform var(--duration-base) var(--ease-out);
}

.desktop-nav > a:hover::after,
.desktop-nav > a:focus-visible::after,
.desktop-nav > a.is-active::after,
.nav-trigger:hover::after,
.nav-trigger:focus-visible::after,
.nav-trigger[aria-expanded="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-trigger svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform var(--duration-base) var(--ease-out);
}

.nav-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
}

.site-header:not(.is-scrolled) .button--header {
  --button-bg: rgba(241, 234, 220, 0.04);
  --button-color: var(--sand-100);
  --button-border: rgba(241, 234, 220, 0.32);
  --button-hover-bg: var(--sand-100);
  --button-hover-color: var(--forest-950);
}

.theme-icon {
  position: absolute;
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-fast) ease;
}

.theme-icon--sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.theme-icon--moon {
  opacity: 0;
  transform: rotate(-30deg) scale(0.7);
}

html[data-theme="light"] .theme-icon--sun {
  opacity: 0;
  transform: rotate(30deg) scale(0.7);
}

html[data-theme="light"] .theme-icon--moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.mobile-menu-trigger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.mobile-menu-trigger span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform var(--duration-base) var(--ease-out);
}

.mobile-menu-trigger span + span {
  margin-top: 5px;
}

/* 10. MEGA MENU ----------------------------------------------------------- */
.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  overflow: hidden;
  max-height: 0;
  border-bottom: 1px solid transparent;
  background: var(--bg-soft);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transition: max-height 700ms var(--ease-out), opacity 300ms ease, visibility 300ms ease, border-color 300ms ease;
}

.mega-menu.is-open {
  max-height: 560px;
  border-color: var(--line);
  opacity: 1;
  visibility: visible;
  box-shadow: var(--shadow-lg);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(560px, 1.3fr);
  gap: clamp(3rem, 6vw, 7rem);
  padding-block: 3.75rem;
}

.mega-menu__intro h2 {
  max-width: 12ch;
  margin-top: 1rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.mega-menu__intro p {
  max-width: 42ch;
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.mega-menu__intro .text-link {
  margin-top: 1.5rem;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  border-top: 1px solid var(--line);
}

.mega-practice-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0.9rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease, padding var(--duration-base) var(--ease-out);
}

.mega-practice-link:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.mega-practice-link:hover,
.mega-practice-link:focus-visible {
  padding-left: 1.1rem;
  background: var(--surface-subtle);
  color: var(--text-strong);
}

.mega-practice-link__number {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  opacity: 0.54;
}

.mega-practice-link strong {
  font-size: 0.82rem;
  font-weight: 620;
}

.mega-practice-link svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* 11. MOBILE MENU --------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--duration-base) ease, visibility var(--duration-base) ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(100%, 540px);
  height: 100%;
  flex-direction: column;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) 1.5rem;
  transform: translateX(100%);
  background: var(--forest-900);
  color: var(--sand-100);
  transition: transform 650ms var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(241, 234, 220, 0.15);
}

.mobile-menu__nav {
  display: grid;
  margin-block: auto;
}

.mobile-menu__nav a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.75rem;
  color: var(--sand-050);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color var(--duration-fast) ease, transform var(--duration-base) var(--ease-out);
}

.mobile-menu__nav a span {
  color: var(--sand-400);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0;
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible {
  color: var(--sand-400);
  transform: translateX(0.4rem);
}

.mobile-menu__foot {
  display: grid;
  gap: 0.3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(241, 234, 220, 0.15);
  color: rgba(241, 234, 220, 0.62);
  font-size: 0.72rem;
}

.mobile-menu__foot p {
  color: var(--sand-400);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-menu__foot a {
  width: fit-content;
  color: var(--sand-100);
}

@keyframes heroImageIn {
  from { transform: scale(1.11); filter: blur(7px); opacity: 0.68; }
  to { transform: scale(1.04); filter: blur(0); opacity: 1; }
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9cb39a;
  box-shadow: 0 0 0 5px rgba(156, 179, 154, 0.1);
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(156, 179, 154, 0.08); }
  50% { box-shadow: 0 0 0 8px rgba(156, 179, 154, 0.02); }
}

@keyframes scrollIndicator {
  from { transform: translateX(-110%); }
  to { transform: translateX(220%); }
}

/* 15. PRACTICE EXPLORER --------------------------------------------------- */
.practice-explorer {
  background: var(--bg-soft);
}

.practice-explorer__head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(230px, 350px);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
}

.practice-explorer__title-wrap .display-title {
  margin-top: 1rem;
}

.practice-explorer__intro {
  padding-bottom: 0.25rem;
  color: var(--text-muted);
  font-size: 0.83rem;
  line-height: 1.75;
}

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

.practice-tab {
  display: grid;
  width: 100%;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.4rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  text-align: left;
  transition: color var(--duration-base) ease, padding var(--duration-base) var(--ease-out), background var(--duration-base) ease;
}

.practice-tab:hover,
.practice-tab:focus-visible,
.practice-tab[aria-selected="true"] {
  padding-left: 0.8rem;
  background: var(--surface-subtle);
  color: var(--text-strong);
}

.practice-tab__number {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  opacity: 0.5;
}

.practice-tab__title {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 1.6vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.practice-tab svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0.36;
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-base) ease;
}

.practice-tab:hover svg,
.practice-tab[aria-selected="true"] svg {
  transform: translateX(0.3rem);
  opacity: 1;
}

.practice-panel {
  position: sticky;
  top: calc(var(--header-height-scrolled) + 2rem);
  display: grid;
  min-height: 690px;
  grid-template-rows: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
}

@keyframes orbitRotate {
  to { transform: rotate(360deg); }
}

@keyframes nodePulse {
  to { r: 13px; opacity: 0.55; }
}

.practice-panel__big-number {
  position: absolute;
  bottom: -0.11em;
  left: 0.05em;
  color: var(--practice-color, var(--accent));
  font-family: var(--font-display);
  font-size: clamp(8rem, 15vw, 15rem);
  line-height: 0.72;
  opacity: 0.12;
  pointer-events: none;
}

.practice-panel__content {
  padding: clamp(1.6rem, 4vw, 3.2rem);
}

.practice-panel__label {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practice-panel__content h3 {
  margin-top: 0.85rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.practice-panel__content > p {
  max-width: 56ch;
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.practice-panel__content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.practice-panel__content li {
  padding: 0.48rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.64rem;
}

.practice-panel__content .button {
  margin-top: 1.8rem;
}

/* 16. DECISION MAP / TRIAGE ---------------------------------------------- */
.decision-map {
  overflow: hidden;
}

.decision-map::after {
  position: absolute;
  right: -8rem;
  bottom: -14rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(17, 37, 31, 0.1);
  border-radius: 50%;
  content: "";
}

.decision-map .section-marker {
  color: rgba(17, 37, 31, 0.52);
}

.decision-map .eyebrow {
  margin-top: 3rem;
  color: #725f45;
}

.decision-map .display-title {
  margin-top: 1rem;
  color: var(--forest-900);
}

.decision-map .large-copy {
  margin-top: 2rem;
  color: #4f5b56;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
}

.decision-map__disclaimer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  max-width: 52ch;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(17, 37, 31, 0.14);
  color: #66706b;
  font-size: 0.7rem;
  line-height: 1.55;
}

.decision-map__disclaimer svg {
  width: 18px;
  fill: none;
  stroke: #725f45;
  stroke-width: 1.5;
}

.triage-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 610px;
  border: 1px solid rgba(17, 37, 31, 0.15);
  border-radius: var(--radius-xl);
  background: #faf7f0;
  color: var(--forest-900);
  box-shadow: 0 34px 90px rgba(41, 34, 24, 0.12);
}

.triage-card__top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.4rem;
  padding: 1.6rem 2rem;
  border-bottom: 1px solid rgba(17, 37, 31, 0.1);
}

.triage-card__step {
  color: #6a716d;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.triage-card__progress {
  overflow: hidden;
  height: 2px;
  background: rgba(17, 37, 31, 0.1);
}

.triage-card__progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--forest-700);
  transition: width 500ms var(--ease-out);
}

.triage-card__body {
  min-height: 430px;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.triage-question h3 {
  max-width: 16ch;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.triage-question > p {
  max-width: 52ch;
  margin-top: 1rem;
  color: #6a716d;
  font-size: 0.76rem;
}

.triage-option {
  position: relative;
  display: grid;
  min-height: 108px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(17, 37, 31, 0.13);
  border-radius: var(--radius-md);
  background: transparent;
  color: #38443f;
  text-align: left;
  transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.triage-option:hover,
.triage-option:focus-visible {
  border-color: rgba(17, 37, 31, 0.3);
  background: rgba(17, 37, 31, 0.035);
  transform: translateY(-2px);
}

.triage-option.is-selected {
  border-color: var(--forest-600);
  background: rgba(17, 37, 31, 0.065);
}

.triage-option__radio {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(17, 37, 31, 0.24);
  border-radius: 50%;
}

.triage-option__radio::after {
  width: 10px;
  height: 10px;
  transform: scale(0);
  border-radius: 50%;
  background: var(--forest-700);
  content: "";
  transition: transform var(--duration-fast) var(--ease-spring);
}

.triage-option.is-selected .triage-option__radio::after {
  transform: scale(1);
}

.triage-option span:last-child {
  font-size: 0.76rem;
  font-weight: 620;
  line-height: 1.4;
}

.triage-card__actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(17, 37, 31, 0.1);
}

.triage-card .button--ghost {
  --button-color: #44504a;
  --button-border: rgba(17, 37, 31, 0.2);
  --button-hover-bg: rgba(17, 37, 31, 0.06);
  --button-hover-color: var(--forest-900);
}

.triage-result {
  display: grid;
  min-height: 390px;
  align-content: center;
}

.triage-result h3 {
  max-width: 15ch;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.triage-result p {
  max-width: 54ch;
  margin-top: 1.2rem;
  color: #646d68;
  font-size: 0.8rem;
}

.triage-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

/* 17. METHOD -------------------------------------------------------------- */
.method {
  background: var(--bg);
}

.method__head {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: clamp(2rem, 6vw, 7rem);
}

.method__head .display-title {
  margin-top: 1rem;
}

.empty-state {
  margin-top: 2rem;
  padding: 4rem 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

.empty-state svg {
  width: 46px;
  margin-inline: auto;
  fill: none;
  stroke: var(--text-subtle);
  stroke-width: 1.4;
}

.empty-state h3 {
  margin-top: 1.2rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.empty-state p {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.empty-state .button {
  margin-top: 1.2rem;
}

/* 23. FAQ ----------------------------------------------------------------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(520px, 1.25fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.faq .section-marker {
  color: rgba(17, 37, 31, 0.52);
}

.faq__intro .eyebrow {
  margin-top: 3rem;
  color: #725f45;
}

.faq__intro .display-title {
  margin-top: 1rem;
  color: var(--forest-900);
}

.faq__intro > p:last-child {
  max-width: 42ch;
  margin-top: 1.5rem;
  color: #606a65;
  font-size: 0.77rem;
}

.accordion {
  border-top: 1px solid rgba(17, 37, 31, 0.16);
}

.accordion-item {
  border-bottom: 1px solid rgba(17, 37, 31, 0.16);
}

.accordion-button {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.5rem 0.25rem;
  background: transparent;
  color: var(--forest-900);
  text-align: left;
}

.accordion-button span:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.accordion-button__icon {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(17, 37, 31, 0.22);
  border-radius: 50%;
}

.accordion-button__icon::before,
.accordion-button__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--forest-900);
  content: "";
  transition: transform var(--duration-base) var(--ease-out);
}

.accordion-button__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-button[aria-expanded="true"] .accordion-button__icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-slow) var(--ease-out);
}

.accordion-panel > div {
  overflow: hidden;
}

.accordion-panel p {
  max-width: 68ch;
  padding: 0 3.5rem 1.8rem 0.25rem;
  color: #5a6560;
  font-size: 0.77rem;
  line-height: 1.75;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

/* 24. CONTACT ------------------------------------------------------------- */
.contact {
  overflow: hidden;
  background: var(--forest-950);
  color: var(--sand-100);
}

.contact::before {
  position: absolute;
  top: -30rem;
  left: -22rem;
  width: 58rem;
  height: 58rem;
  border: 1px solid rgba(241, 234, 220, 0.06);
  border-radius: 50%;
  content: "";
}

.contact::after {
  position: absolute;
  right: -14rem;
  bottom: -24rem;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: rgba(164, 140, 97, 0.07);
  content: "";
  filter: blur(90px);
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(241, 234, 220, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(241, 234, 220, 0.035);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.form-status {
  display: none;
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(241, 234, 220, 0.16);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
}

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

.form-status.is-success {
  border-color: rgba(132, 170, 138, 0.45);
  background: rgba(132, 170, 138, 0.08);
  color: #c5dcc8;
}

.form-status.is-error {
  border-color: rgba(190, 95, 84, 0.45);
  background: rgba(190, 95, 84, 0.08);
  color: #e3bab5;
}

.form-row {
  display: grid;
  gap: 1rem;
}

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

.form-row + .form-row,
.form-row + .field,
.field + .field,
.field + .check-field {
  margin-top: 1rem;
}

.field {
  display: grid;
}

.field label {
  margin-bottom: 0.45rem;
  color: rgba(241, 234, 220, 0.68);
  font-size: 0.66rem;
  font-weight: 620;
}

.field label span {
  color: rgba(241, 234, 220, 0.35);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(241, 234, 220, 0.17);
  border-radius: var(--radius-sm);
  outline: none;
  background: rgba(241, 234, 220, 0.025);
  color: var(--sand-050);
  font-size: 0.76rem;
  transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.field input,
.field select {
  min-height: 50px;
  padding-inline: 0.85rem;
}

.field textarea {
  min-height: 150px;
  padding: 0.8rem 0.85rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(241, 234, 220, 0.28);
}

.field select option {
  background: var(--forest-900);
  color: var(--sand-100);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(213, 196, 161, 0.55);
  background: rgba(241, 234, 220, 0.045);
  box-shadow: 0 0 0 3px rgba(213, 196, 161, 0.07);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: rgba(205, 100, 88, 0.65);
}

.field__error {
  min-height: 1rem;
  margin-top: 0.3rem;
  color: #daa39d;
  font-size: 0.58rem;
}

.field__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(241, 234, 220, 0.35);
  font-size: 0.56rem;
}

.check-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  position: relative;
  color: rgba(241, 234, 220, 0.52);
  font-size: 0.65rem;
  line-height: 1.5;
  cursor: pointer;
}

.check-field input {
  position: absolute;
  opacity: 0;
}

.check-field__box {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  margin-top: 1px;
  border: 1px solid rgba(241, 234, 220, 0.3);
  border-radius: 4px;
  background: transparent;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.check-field__box svg {
  width: 12px;
  fill: none;
  stroke: var(--forest-950);
  stroke-width: 2;
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.check-field input:checked + .check-field__box {
  border-color: var(--sand-300);
  background: var(--sand-300);
}

.check-field input:checked + .check-field__box svg {
  opacity: 1;
}

.check-field input:focus-visible + .check-field__box {
  outline: 2px solid var(--sand-300);
  outline-offset: 3px;
}

.check-field a {
  color: var(--sand-200);
  text-decoration: underline;
  text-decoration-color: rgba(241, 234, 220, 0.35);
  text-underline-offset: 3px;
}

.button--contact {
  --button-bg: var(--sand-100);
  --button-color: var(--forest-950);
  --button-border: var(--sand-100);
  --button-hover-bg: var(--sand-400);
  --button-hover-color: var(--forest-950);
  width: 100%;
  margin-top: 1.4rem;
}

.button__loader {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.button.is-loading .button__loader {
  display: block;
}

.button.is-loading > svg {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.contact-form__note {
  margin-top: 1rem;
  color: rgba(241, 234, 220, 0.32);
  font-size: 0.56rem;
  line-height: 1.55;
}

/* 25. FOOTER -------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(4rem, 8vw, 7rem) 2rem;
  background: var(--graphite-950);
  color: var(--sand-100);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  align-items: end;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(241, 234, 220, 0.14);
}

.site-footer__top > p {
  color: rgba(241, 234, 220, 0.48);
  font-size: 0.75rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding-block: 3rem;
  border-bottom: 1px solid rgba(241, 234, 220, 0.14);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-column__title {
  margin-bottom: 0.55rem;
  color: rgba(241, 234, 220, 0.35);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column button,
.footer-column address {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(241, 234, 220, 0.68);
  font-size: 0.69rem;
  text-align: left;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.footer-column a:hover,
.footer-column button:hover,
.footer-column a:focus-visible,
.footer-column button:focus-visible {
  color: var(--sand-100);
  transform: translateX(0.2rem);
}

.footer-column--contact a:first-of-type {
  color: var(--sand-100);
}

.footer-column address {
  margin-top: 0.4rem;
  line-height: 1.6;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-top: 1.4rem;
  color: rgba(241, 234, 220, 0.34);
  font-size: 0.56rem;
}

.site-footer__bottom p:nth-child(2) {
  justify-self: center;
  text-align: center;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(241, 234, 220, 0.14);
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(241, 234, 220, 0.62);
}

.back-to-top svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* 26. SEARCH DIALOG ------------------------------------------------------- */
.search-dialog,
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--duration-base) ease, visibility var(--duration-base) ease;
}

.search-dialog.is-open,
.cookie-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.search-dialog__backdrop,
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.search-dialog__panel {
  position: absolute;
  top: clamp(1rem, 8vh, 6rem);
  left: 50%;
  width: min(calc(100% - 2rem), 920px);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  transform: translate(-50%, -1rem) scale(0.985);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-slow) var(--ease-out);
}

.search-dialog.is-open .search-dialog__panel {
  transform: translate(-50%, 0) scale(1);
}

.search-dialog__top,
.cookie-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.search-dialog__top h2,
.cookie-modal__top h2 {
  max-width: 18ch;
  margin-top: 0.65rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.search-dialog__field {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}

.search-dialog__field svg {
  width: 21px;
  fill: none;
  stroke: var(--text-subtle);
  stroke-width: 1.5;
}

.search-dialog__field input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-strong);
  font-size: 1rem;
}

.search-dialog__field input::placeholder {
  color: var(--text-subtle);
}

.search-dialog__field kbd {
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-subtle);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.search-dialog__results {
  display: grid;
  gap: 0.4rem;
  min-height: 160px;
  margin-top: 1.25rem;
}

.search-result {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.search-result:hover,
.search-result:focus-visible,
.search-result.is-selected {
  border-color: var(--line);
  background: var(--surface-subtle);
  color: var(--text-strong);
}

.search-result__type {
  min-width: 54px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.search-result__text {
  display: grid;
  gap: 0.2rem;
}

.search-result__text strong {
  font-size: 0.78rem;
}

.search-result__text span {
  color: var(--text-subtle);
  font-size: 0.62rem;
}

.search-result svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.search-empty {
  display: grid;
  place-items: center;
  min-height: 160px;
  color: var(--text-subtle);
  font-size: 0.72rem;
  text-align: center;
}

.search-dialog__hint {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.53rem;
}

/* 28. COOKIE BANNER / MODAL ---------------------------------------------- */
.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: calc(var(--z-modal) - 5);
  max-width: 1180px;
  margin-inline: auto;
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
  transition: transform 650ms var(--ease-out), opacity 400ms ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner__content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1rem 1.1rem 1rem 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--bg-soft) 92%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.cookie-banner__content p {
  max-width: 70ch;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cookie-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 2rem), 680px);
  max-height: 88svh;
  overflow: auto;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  transform: translate(-50%, -46%) scale(0.985);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-slow) var(--ease-out);
}

.cookie-modal.is-open .cookie-modal__panel {
  transform: translate(-50%, -50%) scale(1);
}

.cookie-modal__panel > p {
  margin-top: 1.4rem;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.cookie-option {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.cookie-option > div {
  display: grid;
  gap: 0.25rem;
}

.cookie-option strong {
  color: var(--text-strong);
  font-size: 0.75rem;
}

.cookie-option span {
  color: var(--text-subtle);
  font-size: 0.62rem;
}

.cookie-option__fixed {
  color: var(--accent) !important;
  font-weight: 650;
}

.switch-input {
  position: absolute;
  opacity: 0;
}

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-subtle);
  content: "";
  transition: transform var(--duration-base) var(--ease-out), background var(--duration-fast) ease;
}

.switch-input:checked + .switch {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.switch-input:checked + .switch::after {
  transform: translateX(20px);
  background: var(--accent-strong);
}

.switch-input:focus-visible + .switch {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* 29. TOASTS -------------------------------------------------------------- */
.toast-region {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: var(--z-toast);
  display: grid;
  gap: 0.55rem;
  width: min(calc(100% - 2rem), 360px);
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  transform: translateY(1rem) scale(0.98);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  color: var(--text);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: auto;
  transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-base) ease;
}

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

.toast__icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.toast__icon svg {
  width: 13px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
}

.toast strong {
  display: block;
  color: var(--text-strong);
  font-size: 0.69rem;
}

.toast p {
  margin-top: 0.15rem;
  color: var(--text-subtle);
  font-size: 0.59rem;
}

.toast button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--text-subtle);
}

/* 30. REVEAL STATES ------------------------------------------------------- */
.js .reveal-item,
.js .reveal-title {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out), filter var(--duration-slow) var(--ease-out);
}

.js .reveal-item {
  transform: translateY(24px);
}

.js .reveal-title {
  transform: translateY(30px);
  filter: blur(7px);
}

.js .reveal-item.is-revealed,
.js .reveal-title.is-revealed {
  transform: translateY(0);
  filter: blur(0);
  opacity: 1;
}

/* 31. DETAIL PAGE SHARED -------------------------------------------------- */
.detail-page {
  background: var(--bg);
  color: var(--text);
}

.detail-hero {
  position: relative;
  min-height: 72svh;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 6rem);
  padding-bottom: 4rem;
  background: var(--forest-900);
  color: var(--sand-100);
}

.detail-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 234, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 234, 220, 0.045) 1px, transparent 1px);
  background-size: 110px 110px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.detail-hero__shell {
  position: relative;
  display: grid;
  min-height: calc(72svh - var(--header-height) - 10rem);
  align-content: end;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  color: rgba(241, 234, 220, 0.5);
  font-size: 0.62rem;
}

.detail-breadcrumb a:hover {
  color: var(--sand-100);
}

.detail-hero h1 {
  max-width: 12ch;
  margin-top: 2.2rem;
  color: var(--sand-050);
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.detail-hero__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(241, 234, 220, 0.16);
}

.detail-hero__summary p {
  max-width: 62ch;
  color: rgba(241, 234, 220, 0.68);
  font-size: 0.9rem;
}

.detail-hero__meta {
  display: grid;
  gap: 0.4rem;
  color: rgba(241, 234, 220, 0.48);
  font-size: 0.65rem;
}

.detail-content {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.detail-content__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.detail-sidebar {
  position: sticky;
  top: calc(var(--header-height-scrolled) + 2rem);
  align-self: start;
}

.detail-sidebar__label {
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-sidebar nav {
  display: grid;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.detail-sidebar nav a {
  padding: 0.75rem 0.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.67rem;
  transition: color var(--duration-fast) ease, padding var(--duration-fast) ease;
}

.detail-sidebar nav a:hover,
.detail-sidebar nav a:focus-visible {
  padding-left: 0.35rem;
  color: var(--text-strong);
}

.prose {
  max-width: 820px;
}

.prose > * + * {
  margin-top: 1.5rem;
}

.prose h2 {
  margin-top: 4rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.prose h3 {
  margin-top: 2.5rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.82;
}

.prose p.lead {
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.45;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.2rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose blockquote {
  margin-block: 3rem;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 2px solid var(--accent);
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  line-height: 1.35;
}

.prose .info-box {
  margin-block: 2.5rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.prose .info-box strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-strong);
  font-size: 0.75rem;
}

/* 32. PRIVACY PAGE -------------------------------------------------------- */
.privacy-table {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.privacy-table th,
.privacy-table td {
  padding: 0.9rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.privacy-table th {
  background: var(--surface-subtle);
  color: var(--text-strong);
  font-weight: 650;
}

.privacy-table td {
  color: var(--text-muted);
}

/* 34. STATES -------------------------------------------------------------- */
html[data-theme="light"] .site-header:not(.is-scrolled) {
  color: var(--sand-100);
}
html[data-theme="light"] .contact,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .detail-hero{
  color-scheme: dark;
}

.no-js .page-loader,
.no-js .cursor,
.no-js .site-progress,
.no-js .mobile-menu-trigger,
.no-js #searchTrigger,
.no-js #themeToggle {
  display: none;
}

.no-js .desktop-nav {
  display: flex;
}

.no-js .reveal-item,
.no-js .reveal-title {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 35. RESPONSIVE — LARGE DESKTOP ----------------------------------------- */
@media (min-width: 1800px) {
  :root {
    --container: 1420px;
    --container-wide: 1680px;
    --gutter: 4.5rem;
  }

  .practice-panel {
    min-height: 760px;
  }
}

/* 36. RESPONSIVE — LAPTOP ------------------------------------------------- */
@media (max-width: 1240px) {
  :root {
    --gutter: clamp(1.25rem, 2.4vw, 2.25rem);
  }

  .desktop-nav {
    gap: 1rem;
  }

  .button--header {
    display: none;
  }

  .practice-explorer__head{
    grid-template-columns: 130px minmax(0, 1fr) 280px;
  }
  .method__head{
    grid-template-columns: 130px 1fr;
  }
}

/* 37. RESPONSIVE — TABLET ------------------------------------------------- */
@media (max-width: 980px) {
  :root {
    --header-height: 78px;
    --header-height-scrolled: 66px;
  }

  .desktop-nav,
  .site-header__actions > .button--header {
    display: none;
  }

  .mobile-menu-trigger {
    display: grid;
  }

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

  .site-header__actions {
    grid-column: 2;
  }

  .mega-menu {
    display: none;
  }
  .practice-explorer__head,
  .method__head{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .practice-explorer__head .practice-explorer__intro{
    max-width: 520px;
  }

  .practice-panel {
    position: relative;
    top: auto;
    min-height: auto;
    grid-template-columns: 0.75fr 1.25fr;
    grid-template-rows: auto;
  }

  .practice-panel__visual {
    min-height: 420px;
  }

  .practice-panel__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .faq__grid{
    grid-template-columns: 1fr;
  }
  .faq__intro{
    max-width: 680px;
  }

  .triage-card {
    min-height: 570px;
  }

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

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

  .site-footer__bottom p:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }

  .cookie-banner__content {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }

  .detail-content__grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .detail-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-top: 0;
  }

  .detail-sidebar nav a {
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
  }
}

/* 38. RESPONSIVE — MOBILE ------------------------------------------------- */
@media (max-width: 700px) {
  :root {
    --gutter: 1.15rem;
  }

  .section {
    padding-block: clamp(4.5rem, 18vw, 7rem);
  }

  .site-header__actions > .icon-button:first-child {
    display: none;
  }

  .display-title {
    font-size: clamp(2.6rem, 12.5vw, 4.3rem);
  }

  .large-copy {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .section-marker {
    font-size: 0.6rem;
  }

  .section-marker span:first-child {
    width: 1.9rem;
    height: 1.9rem;
  }

  .practice-tab {
    grid-template-columns: 2rem 1fr auto;
    padding-block: 1rem;
  }

  .practice-panel {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .practice-panel__visual {
    min-height: 330px;
  }

  .practice-panel__content {
    padding: 1.5rem;
  }

  .practice-panel__content h3 {
    font-size: 2.8rem;
  }

  .triage-card {
    min-height: 0;
    border-radius: var(--radius-lg);
  }

  .triage-card__top {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1rem 1.15rem;
  }

  .triage-card__body {
    min-height: 0;
    padding: 1.4rem 1.15rem;
  }

  .triage-question h3 {
    font-size: 2.35rem;
  }

  .triage-option {
    min-height: 82px;
  }

  .triage-card__actions {
    padding: 1rem 1.15rem;
  }

  .accordion-panel p {
    padding-right: 0.25rem;
  }
  .faq__intro .eyebrow,
  .decision-map .eyebrow {
    margin-top: 2rem;
  }

  .contact-form {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }

  .form-row--two {
    grid-template-columns: 1fr;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1rem;
  }

  .footer-column--contact {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .cookie-banner {
    right: 0.55rem;
    bottom: 0.55rem;
    left: 0.55rem;
  }

  .cookie-banner__content {
    padding: 1rem;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner__actions .button:first-child {
    grid-column: 1 / -1;
  }

  .search-dialog__panel,
  .cookie-modal__panel {
    top: 0.5rem;
    width: calc(100% - 1rem);
    max-height: calc(100svh - 1rem);
    transform: translate(-50%, 1rem) scale(0.99);
    border-radius: var(--radius-lg);
  }

  .search-dialog.is-open .search-dialog__panel {
    transform: translate(-50%, 0) scale(1);
  }

  .cookie-modal__panel {
    top: 50%;
  }

  .search-dialog__top h2,
  .cookie-modal__top h2 {
    font-size: 2.4rem;
  }

  .search-dialog__field kbd,
  .search-dialog__hint {
    display: none;
  }

  .search-result {
    grid-template-columns: 1fr auto;
  }

  .search-result__type {
    grid-column: 1 / -1;
  }

  .detail-hero {
    min-height: 82svh;
    padding-top: calc(var(--header-height) + 4rem);
  }

  .detail-hero__shell {
    min-height: calc(82svh - var(--header-height) - 8rem);
  }

  .detail-hero h1 {
    font-size: clamp(3.6rem, 16vw, 6rem);
  }

  .detail-hero__summary {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .privacy-table {
    display: block;
    overflow-x: auto;
  }
}

/* 39. VERY SMALL MOBILE --------------------------------------------------- */
@media (max-width: 390px) {
  :root {
    --gutter: 1rem;
  }

  .site-header__actions {
    gap: 0;
  }

  .icon-button,
  .mobile-menu-trigger {
    width: 40px;
    height: 40px;
  }

  .display-title {
    font-size: 2.6rem;
  }

  .practice-tab__title {
    font-size: 1.2rem;
  }

  .practice-panel__visual {
    min-height: 290px;
  }

  .triage-question h3 {
    font-size: 2.05rem;
  }

  .triage-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .triage-card__actions .button {
    width: 100%;
  }

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

  .footer-column--contact {
    grid-column: auto;
  }

  .cookie-banner__actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions .button:first-child {
    grid-column: auto;
  }
}

/* 40. POINTER / HOVER CAPABILITIES --------------------------------------- */
@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none !important;
  }

  .magnetic {
    transform: none !important;
  }
}

/* 41. REDUCED MOTION ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .page-loader {
    display: none;
  }

  .cursor {
    display: none;
  }
  .status-dot {
    animation: none;
  }

  .js .reveal-item,
  .js .reveal-title {
    transform: none;
    filter: none;
    opacity: 1;
  }
}

/* 42. HIGH CONTRAST / FORCED COLORS -------------------------------------- */
@media (forced-colors: active) {
  .button,
  .icon-button,
  .practice-panel,
  .triage-card,
  .contact-form,
  .cookie-banner__content,
  .search-dialog__panel,
  .cookie-modal__panel {
    border: 1px solid CanvasText;
  }

  .status-dot,
  .triage-option__radio::after,
  .switch::after {
    background: CanvasText;
  }

  .noise-layer,
  .ambient-light{
    display: none;
  }
}

/* 43. PRINT --------------------------------------------------------------- */
@media print {
  :root {
    --bg: #ffffff;
    --text: #111111;
    --text-strong: #000000;
    --text-muted: #333333;
  }

  .site-header,
  .page-loader,
  .site-progress,
  .cursor,
  .noise-layer,
  .ambient-light,
  .mobile-menu,
  .search-dialog,
  .cookie-banner,
  .cookie-modal,
  .toast-region,
  .back-to-top,
  .contact,
  .site-footer,
  .button{
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #111111;
    font-size: 11pt;
  }

  .section,
  .section--forest,
  .section--charcoal,
  .section--sand {
    break-inside: avoid;
    padding-block: 1.2cm;
    background: #ffffff;
    color: #111111;
  }

  .display-title,
  .display-title--light{
    color: #111111;
  }
}

/* ========================================================================== 
   STEPHANIE DE PAIVA — PERSONALIZAÇÃO INSTITUCIONAL v2
   Direção visual: minimalismo claro + grafite + detalhes dourados discretos.
   ========================================================================== */

:root {
  --forest-950: #0d0d0d;
  --forest-900: #121212;
  --forest-850: #171717;
  --forest-800: #1d1d1d;
  --forest-700: #252525;
  --forest-600: #333333;
  --forest-500: #4b4b4b;
  --forest-400: #6d6d6d;
  --forest-300: #a0a0a0;

  --graphite-950: #090909;
  --graphite-900: #101010;
  --graphite-850: #161616;
  --graphite-800: #202020;
  --graphite-700: #303030;
  --graphite-600: #4a4a4a;
  --graphite-500: #666666;
  --graphite-400: #8c8c8c;
  --graphite-300: #b8b8b8;

  --sand-050: #fffdf8;
  --sand-100: #f8f5ee;
  --sand-150: #f0ece3;
  --sand-200: #e4ddd0;
  --sand-300: #d3c5aa;
  --sand-400: #c4a15e;
  --sand-500: #b58b3d;
  --sand-600: #8d6a2f;

  --bg: #111111;
  --bg-soft: #171717;
  --surface: #1b1b1b;
  --surface-raised: #222222;
  --surface-subtle: rgba(255, 255, 255, 0.045);
  --text: #f2efe9;
  --text-strong: #ffffff;
  --text-muted: #c0bbb2;
  --text-subtle: #8d8982;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #c4a15e;
  --accent-strong: #d6b56f;
  --accent-contrast: #111111;
  --header-bg: rgba(17, 17, 17, 0.86);
  --overlay: rgba(0, 0, 0, 0.72);
}

html[data-theme="light"] {
  --bg: #fbfaf7;
  --bg-soft: #f4f1eb;
  --surface: #fffefa;
  --surface-raised: #ffffff;
  --surface-subtle: rgba(24, 23, 21, 0.035);
  --text: #2b2926;
  --text-strong: #151412;
  --text-muted: #625f59;
  --text-subtle: #88837b;
  --line: rgba(31, 29, 25, 0.12);
  --line-strong: rgba(31, 29, 25, 0.22);
  --accent: #a97b2c;
  --accent-strong: #875f20;
  --accent-contrast: #fffdf8;
  --header-bg: rgba(251, 250, 247, 0.9);
  --overlay: rgba(15, 14, 12, 0.54);
  --shadow-xs: 0 1px 2px rgba(20, 18, 14, 0.05);
  --shadow-sm: 0 12px 34px rgba(20, 18, 14, 0.07);
  --shadow-md: 0 24px 70px rgba(20, 18, 14, 0.09);
  --shadow-lg: 0 44px 120px rgba(20, 18, 14, 0.12);
}

html[data-theme="light"] .ambient-light--one {
  background: rgba(190, 145, 70, 0.11);
}

html[data-theme="light"] .ambient-light--two {
  background: rgba(174, 155, 122, 0.08);
}

.detail-hero--stephanie {
  background: linear-gradient(145deg, var(--bg-soft), var(--bg));
}

.detail-number {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

/* 67. STEPHANIE — REAL BRAND ASSETS --------------------------------------- */
.page-loader__logo {
  display: block;
  width: min(330px, 70vw);
  height: auto;
  margin: 0 auto 1rem;
  mix-blend-mode: multiply;
}

html[data-theme="dark"] .page-loader__logo {
  padding: 0.45rem 0.8rem;
  background: #f5f0e8;
  mix-blend-mode: normal;
}

.brand--image {
  min-width: 0;
}

.brand__logo {
  display: block;
  width: clamp(190px, 18vw, 272px);
  max-height: 66px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  transition: width var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.site-header.is-scrolled .brand__logo {
  width: clamp(176px, 16vw, 242px);
}

html[data-theme="dark"] .brand--image {
  padding: 0.18rem 0.48rem;
  background: #f6f1e9;
}

html[data-theme="dark"] .brand__logo {
  mix-blend-mode: normal;
}

.brand__logo--footer {
  width: clamp(230px, 25vw, 360px);
  max-height: none;
}

.profile-page-photo {
  position: relative;
  max-width: 720px;
  margin: clamp(2rem, 5vw, 4rem) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.profile-page-photo::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 30%;
  height: 1px;
  background: var(--accent);
  content: "";
}

.profile-page-photo img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: 50% 16%;
  filter: saturate(0.9);
}

.profile-page-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  z-index: 3;
  padding: 0.35rem 0.55rem;
  background: rgba(20, 18, 15, 0.68);
  color: #fffaf1;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

@media (max-width: 1180px) {
  .brand__logo {
    width: 205px;
  }

  .site-header.is-scrolled .brand__logo {
    width: 190px;
  }
}

@media (max-width: 980px) {
  .brand__logo {
    width: 190px;
  }
}

@media (max-width: 720px) {
  .page-loader__logo {
    width: min(280px, 78vw);
  }

  .brand__logo {
    width: 172px;
    max-height: 54px;
  }

  .site-header.is-scrolled .brand__logo {
    width: 160px;
  }

  .brand__logo--footer {
    width: min(300px, 80vw);
  }
}

/* 68. BRAND CONTRAST & MOBILE WORDMARK ------------------------------------ */
html[data-theme="light"] .site-header:not(.is-scrolled) {
  color: #25221e;
}

html[data-theme="light"] .site-header:not(.is-scrolled) .button--header {
  --button-bg: rgba(169, 123, 44, 0.07);
  --button-color: #5e4218;
  --button-border: rgba(169, 123, 44, 0.34);
  --button-hover-bg: #a97b2c;
  --button-hover-color: #fffdf8;
}

.mobile-menu__brand {
  display: block;
  width: min(270px, 67vw);
  padding: 0.25rem 0.45rem;
  background: #f5f0e8;
}

.mobile-menu__brand img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

/* ========================================================================== 
   IMMERSIVE LANDING FOUNDATION
   Stephanie de Paiva · minimalist gold / editorial motion / conversion UX
   ========================================================================== */

:root {
  --brand-gold: #b8893f;
  --brand-gold-deep: #8e6427;
  --brand-gold-soft: #d8b878;
  --brand-ivory: #f8f4ed;
  --brand-paper: #f2ece2;
  --brand-ink: #15130f;
  --brand-charcoal: #1d1d1b;
  --brand-grey: #6f706d;
  --brand-hairline: rgba(184, 137, 63, 0.28);
}

html[data-theme="light"] {
  --bg: #f7f3ec;
  --bg-soft: #efe8dc;
  --surface: #fbf8f2;
  --surface-raised: #ffffff;
  --text: #262520;
  --text-strong: #12120f;
  --text-muted: #696963;
  --text-subtle: #8a8881;
  --line: rgba(35, 32, 25, 0.12);
  --line-strong: rgba(35, 32, 25, 0.22);
  --accent: var(--brand-gold);
  --accent-strong: var(--brand-gold-deep);
  --accent-contrast: #fffaf0;
  --header-bg: rgba(247, 243, 236, 0.88);
}

html[data-theme="dark"] {
  --bg: #121311;
  --bg-soft: #181917;
  --surface: #1d1e1b;
  --surface-raised: #242521;
  --text: #e8e1d5;
  --text-strong: #fffaf1;
  --text-muted: #b5aea3;
  --text-subtle: #85827b;
  --line: rgba(220, 186, 122, 0.13);
  --line-strong: rgba(220, 186, 122, 0.26);
  --accent: #c89a4f;
  --accent-strong: #e0bb78;
  --accent-contrast: #15130f;
  --header-bg: rgba(18, 19, 17, 0.88);
}

body {
  background-image:
    radial-gradient(circle at 90% 5%, rgba(184, 137, 63, 0.06), transparent 34rem),
    radial-gradient(circle at 3% 34%, rgba(184, 137, 63, 0.035), transparent 27rem);
}

/* Loader signature ------------------------------------------------------ */
.page-loader__inner {
  position: relative;
  width: min(560px, 78vw);
}

.page-loader__inner::before,
.page-loader__inner::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: loader-trace 1.25s var(--ease-out) both;
}

.page-loader__inner::before { top: -1.4rem; }
.page-loader__inner::after { bottom: -1.35rem; animation-delay: 150ms; }

.page-loader__logo {
  filter: saturate(.92) contrast(1.03);
  animation: loader-logo 900ms var(--ease-out) both 120ms;
}

@keyframes loader-trace {
  to { transform: scaleX(1); }
}

@keyframes loader-logo {
  from { opacity: 0; transform: translateY(10px) scale(.985); filter: blur(7px) saturate(.7); }
  to { opacity: 1; transform: none; filter: blur(0) saturate(.92); }
}

/* HERO FOUNDATION ---------------------------------------------------------------- */
.hero-base {
  --hero-progress: 0;
  position: relative;
  min-height: max(760px, 100svh);
  display: grid;
  align-items: end;
  overflow: clip;
  background:
    linear-gradient(110deg, rgba(248,244,237,.98) 0%, rgba(248,244,237,.94) 42%, rgba(248,244,237,.2) 67%, rgba(248,244,237,.05) 100%),
    var(--bg);
  isolation: isolate;
}

html[data-theme="dark"] .hero-base {
  background:
    linear-gradient(110deg, rgba(18,19,17,.98) 0%, rgba(18,19,17,.94) 43%, rgba(18,19,17,.28) 68%, rgba(18,19,17,.09) 100%),
    var(--bg);
}

.hero-base__atmosphere,
.hero-base__portrait-layer,
.hero-base__signature {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-base__atmosphere { z-index: 0; }
.hero-base__halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .75;
}
.hero-base__halo--one {
  width: 38vw;
  aspect-ratio: 1;
  right: -8vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(184,137,63,.17), transparent 68%);
  transform: translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 0);
}
.hero-base__halo--two {
  width: 34vw;
  aspect-ratio: 1;
  left: 18vw;
  bottom: -18vw;
  background: radial-gradient(circle, rgba(184,137,63,.08), transparent 68%);
}
.hero-base__grain {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
html[data-theme="dark"] .hero-base__grain { mix-blend-mode: screen; opacity: .07; }
.hero-base__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(184,137,63,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(184,137,63,.055) 1px, transparent 1px);
  background-size: min(9vw, 126px) min(9vw, 126px);
  mask-image: linear-gradient(to right, black, transparent 75%);
  opacity: .36;
}

.hero-base__portrait-layer {
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.hero-base__portrait-wrap {
  position: relative;
  width: min(49vw, 790px);
  height: 100%;
  margin: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--portrait-inset, 0%));
  transform: translate3d(var(--hero-mouse-shift-x, 0px), var(--hero-mouse-shift-y, 0px), 0) scale(var(--hero-scale, 1));
  transform-origin: center center;
  will-change: transform;
}

.hero-base__portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, var(--bg) 0, transparent 24%, transparent 78%, rgba(184,137,63,.08));
  pointer-events: none;
}

.hero-base__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 32%;
  filter: saturate(.78) contrast(.98) brightness(1.01);
}

.hero-base__portrait-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(18,16,12,.35), transparent 42%), linear-gradient(90deg, rgba(247,243,236,.35), transparent 30%);
}
html[data-theme="dark"] .hero-base__portrait-shade { background: linear-gradient(to top, rgba(8,8,7,.55), transparent 46%), linear-gradient(90deg, rgba(18,19,17,.65), transparent 36%); }

.hero-base__portrait-frame {
  position: absolute;
  inset: 7rem 5.3rem 5.8rem 5.3rem;
  border: 1px solid rgba(216,184,120,.48);
  z-index: 4;
  opacity: var(--hero-frame-opacity, 1);
}
.hero-base__portrait-caption {
  position: absolute;
  z-index: 5;
  bottom: 3rem;
  right: 5.2rem;
  color: rgba(255,250,240,.9);
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .12em;
}

.hero-base__signature { z-index: 2; width: min(44vw, 660px); height: auto; left: 52%; top: 10%; overflow: visible; opacity: .36; }
.hero-base__signature-path {
  fill: none;
  stroke: var(--brand-gold);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: signature-draw 2.2s var(--ease-out) forwards 700ms;
}
.hero-base__signature-path--delay { animation-delay: 1s; }
@keyframes signature-draw { to { stroke-dashoffset: 0; } }

.hero-base__shell {
  position: relative;
  z-index: 6;
  width: 100%;
  min-height: max(760px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
  grid-template-rows: auto 1fr auto;
  padding-top: calc(var(--header-height) + clamp(3rem, 7vh, 7rem));
  padding-bottom: clamp(2.2rem, 5vh, 4rem);
}
.hero-base__kicker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  align-self: start;
  font-size: clamp(.65rem, .72vw, .78rem);
  letter-spacing: .23em;
  font-weight: 650;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-base__kicker-rule { width: 3rem; height: 1px; background: var(--brand-gold); }
.hero-base__copy { grid-column: 1; align-self: center; max-width: 870px; padding: 4vh 0; }
.hero-base__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.1rem, 7.4vw, 9.3rem);
  line-height: .84;
  letter-spacing: -.055em;
  color: var(--text-strong);
  max-width: 10ch;
}
.hero-line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-line i {
  display: block;
  font-style: normal;
  transform: translateY(112%);
  animation: hero-line-enter 1.15s var(--ease-out) forwards 460ms;
}
.hero-line:nth-child(2) i { color: var(--brand-gold-deep); animation-delay: 620ms; }
html[data-theme="dark"] .hero-line:nth-child(2) i { color: var(--brand-gold-soft); }
@keyframes hero-line-enter { to { transform: none; } }
.hero-base__lead {
  width: min(620px, 92%);
  margin: clamp(2.2rem, 4vh, 3.3rem) 0 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.75;
}
.hero-base__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-base__microfacts {
  grid-column: 2;
  align-self: end;
  justify-self: end;
  width: min(100%, 420px);
  margin-bottom: .25rem;
  border-top: 1px solid rgba(255,255,255,.27);
  color: rgba(255,255,255,.84);
  backdrop-filter: blur(3px);
}
.hero-base__microfacts span {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: .79rem;
  letter-spacing: .04em;
}
.hero-base__microfacts strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; color: #fff9ee; }
.hero-base__scroll {
  position: absolute;
  left: 0;
  bottom: 2.6rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--text-muted);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-base__scroll i { display: grid; place-items: start center; width: 22px; height: 36px; border: 1px solid var(--line-strong); border-radius: 99px; padding-top: 6px; }
.hero-base__scroll b { width: 2px; height: 7px; border-radius: 2px; background: var(--brand-gold); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0%,100% { transform: translateY(0); opacity: .25; } 45% { transform: translateY(13px); opacity: 1; } }

/* Opening manifesto ------------------------------------------------------- */
.opening-manifest { min-height: 88vh; display: grid; align-items: center; background: var(--surface-raised); }
.opening-manifest__grid { display: grid; grid-template-columns: minmax(145px, .22fr) 1fr; gap: clamp(2rem, 6vw, 7rem); }
.opening-manifest__content { max-width: 1220px; }
.opening-manifest__title { margin: 1.5rem 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(3.4rem, 7vw, 8.4rem); line-height: .9; letter-spacing: -.055em; color: var(--text-strong); }
.opening-manifest__title span { display: block; overflow: hidden; padding-bottom: .05em; }
.opening-manifest__title span::after { content: ""; display: block; width: 0; height: 1px; background: linear-gradient(90deg, var(--brand-gold), transparent); margin-top: .13em; transition: width 1s var(--ease-out); }
.opening-manifest__title span.is-visible::after { width: 48%; }
.opening-manifest__footer { margin-top: clamp(2.5rem, 6vw, 6rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: end; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.opening-manifest__footer > p { margin: 0; max-width: 680px; color: var(--text-muted); font-size: clamp(1rem, 1.25vw, 1.18rem); }
.opening-manifest__seal { display: grid; text-align: right; gap: .25rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-subtle); }
.opening-manifest__seal strong { font-size: .72rem; color: var(--brand-gold-deep); font-weight: 650; }

/* Authority 600+ --------------------------------------------------------- */
.authority-layout { position: relative; min-height: 175vh; background: #171714; color: #f6efe3; }
.authority-layout__sticky { position: sticky; top: 0; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.authority-layout__sticky::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(216,184,120,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(216,184,120,.045) 1px, transparent 1px); background-size: 90px 90px; mask-image: radial-gradient(circle at 58% 45%, black, transparent 70%); }
.authority-layout__glow { position: absolute; width: 50vw; aspect-ratio: 1; left: 46%; top: 50%; transform: translate(-50%, -50%) scale(var(--authority-glow-scale, .8)); background: radial-gradient(circle, rgba(184,137,63,.17), transparent 68%); }
.authority-layout__grid { position: relative; display: grid; grid-template-columns: .55fr 1.35fr .75fr; align-items: center; gap: clamp(1rem, 4vw, 5rem); }
.authority-layout__side { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; color: #aaa397; }
.authority-layout__side > p { max-width: 260px; margin: auto 0 0; font-size: .9rem; }
.authority-layout__number-wrap { position: relative; display: grid; place-items: center; min-height: 480px; }
.authority-layout__number { position: relative; z-index: 2; font-family: var(--font-display); font-size: clamp(10rem, 25vw, 29rem); line-height: .72; letter-spacing: -.09em; font-weight: 400; color: #f8f0e4; transform: scale(var(--authority-number-scale, .82)); transform-origin: center; }
.authority-layout__orbit { position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid rgba(216,184,120,.25); border-radius: 50%; transform: rotate(var(--authority-rotation, 0deg)) scale(var(--authority-orbit-scale, .88)); }
.authority-layout__orbit::before,
.authority-layout__orbit::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(216,184,120,.13); border-radius: 50%; }
.authority-layout__orbit::after { inset: 29%; }
.authority-layout__copy { max-width: 420px; align-self: end; padding-bottom: 4rem; }
.authority-layout__copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 4.4rem); line-height: 1.02; font-weight: 400; letter-spacing: -.035em; }
.authority-layout__copy p { margin: 1.5rem 0 0; color: #9c958a; font-size: .76rem; line-height: 1.65; }

/* Stephanie story -------------------------------------------------------- */
.stephanie-story { background: var(--brand-paper); }
html[data-theme="dark"] .stephanie-story { background: #171815; }
.stephanie-story__head { display: grid; grid-template-columns: minmax(145px,.22fr) 1fr; gap: clamp(2rem,6vw,7rem); margin-bottom: clamp(3rem,7vw,7rem); }
.stephanie-story__head > div:last-child { max-width: 980px; }
.stephanie-story__stage { position: relative; display: grid; grid-template-columns: minmax(320px, .85fr) 1.15fr; gap: clamp(3rem,8vw,10rem); align-items: start; }
.stephanie-story__portrait-col { position: sticky; top: calc(var(--header-height-scrolled) + 3rem); min-height: calc(100svh - var(--header-height-scrolled) - 6rem); display: grid; align-items: center; }
.story-portrait { --story-index: 0; position: relative; width: min(100%, 560px); margin: 0; aspect-ratio: 4 / 5.2; overflow: hidden; background: #b8b8b4; }
.story-portrait img { width: 100%; height: 112%; object-fit: cover; object-position: 50% var(--story-object-y, 25%); transform: translateY(var(--story-shift-y, 0%)) scale(var(--story-scale, 1.035)); filter: saturate(var(--story-saturation, .68)) contrast(.98); transition: filter 680ms var(--ease-out), transform 900ms var(--ease-out), object-position 900ms var(--ease-out); }
.story-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(15,14,11,.58)); pointer-events: none; }
.story-portrait__frame { position: absolute; z-index: 2; inset: 1.5rem; border: 1px solid rgba(216,184,120,.6); transform: scale(var(--story-frame-scale, 1)); transition: transform 800ms var(--ease-out); }
.story-portrait figcaption { position: absolute; z-index: 3; left: 2.5rem; bottom: 2.3rem; display: grid; color: #fff; }
.story-portrait figcaption strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; }
.story-portrait figcaption span { margin-top: .2rem; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; opacity: .8; }
.stephanie-story__chapters { padding-bottom: 9vh; }
.story-chapter { min-height: 64vh; display: grid; align-content: center; border-top: 1px solid var(--line); opacity: .32; transform: translateX(1rem); transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out); }
.story-chapter:last-child { border-bottom: 1px solid var(--line); }
.story-chapter.is-active { opacity: 1; transform: none; }
.story-chapter__index { color: var(--brand-gold-deep); font-size: .7rem; letter-spacing: .18em; }
.story-chapter h3 { margin: .8rem 0 1rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(3.4rem, 6vw, 7.4rem); line-height: .88; letter-spacing: -.05em; }
.story-chapter p { margin: 0; max-width: 620px; color: var(--text-muted); font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.75; }

/* Practice foundation ------------------------------------------------------------ */
.practice-explorer--layout { background: var(--surface-raised); }
.practice-explorer__head--split { margin-bottom: 4rem; }
.practice-layout { position: relative; display: grid; grid-template-columns: minmax(320px,.78fr) 1.22fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 780px; overflow: hidden; }
.practice-layout::before { content: ""; position: absolute; right: -12%; top: -28%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--practice-color, var(--brand-gold)) 14%, transparent), transparent 68%); transition: background 600ms var(--ease-out); pointer-events: none; }
.practice-list--interactive { border-right: 1px solid var(--line); padding-right: 0; }
.practice-list--interactive .practice-tab { min-height: 86px; padding: 1.1rem 1.25rem 1.1rem .25rem; transition: background 300ms, padding 420ms var(--ease-out), color 300ms; }
.practice-list--interactive .practice-tab:hover,
.practice-list--interactive .practice-tab[aria-selected="true"] { padding-left: 1.15rem; background: color-mix(in srgb, var(--practice-color, var(--brand-gold)) 8%, transparent); }
.practice-panel--interactive { position: relative; display: grid; grid-template-columns: minmax(260px,.75fr) 1.25fr; min-height: 100%; border: 0; background: transparent; }
.practice-layout__visual { position: relative; display: grid; place-items: center; overflow: hidden; border-right: 1px solid var(--line); }
.practice-layout__visual::before { content: ""; position: absolute; width: 76%; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--practice-color, var(--brand-gold)) 36%, transparent); border-radius: 50%; animation: practice-spin 24s linear infinite; }
.practice-layout__glyph { width: 82%; height: auto; fill: none; stroke: color-mix(in srgb, var(--practice-color, var(--brand-gold)) 48%, var(--line)); stroke-width: 1; opacity: .72; transition: transform 720ms var(--ease-out), stroke 420ms; transform: rotate(var(--practice-rotation, 0deg)) scale(var(--practice-scale, 1)); }
.practice-panel__big-number { position: absolute; font-family: var(--font-display); font-size: clamp(8rem, 16vw, 17rem); line-height: .8; color: color-mix(in srgb, var(--practice-color, var(--brand-gold)) 12%, transparent); letter-spacing: -.08em; }
.practice-layout__signal { position: absolute; left: 1.2rem; bottom: 1.2rem; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .58rem; letter-spacing: .2em; color: var(--text-subtle); }
.practice-panel__content--structured { align-self: center; padding: clamp(2.4rem, 5vw, 5.6rem); }
.practice-panel__content--structured > h3 { max-width: 650px; font-size: clamp(2.5rem, 4.6vw, 5.7rem); line-height: .92; }
.practice-layout__topics-wrap { margin: 2rem 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.practice-layout__topics-title { display: block; margin-bottom: .9rem; font-size: .66rem; letter-spacing: .17em; text-transform: uppercase; color: var(--brand-gold-deep); }
.practice-panel--interactive ul { columns: 2; column-gap: 2.4rem; }
.practice-panel--interactive li { break-inside: avoid; }
@keyframes practice-spin { to { transform: rotate(360deg); } }

/* Decision foundation ------------------------------------------------------------ */
.decision-map--layout { background: #ece3d4; color: #26241f; overflow: clip; }
html[data-theme="dark"] .decision-map--layout { background: #1b1b18; color: var(--text); }
.decision-layout__grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(560px,1.25fr); gap: clamp(4rem,8vw,9rem); align-items: center; }
.decision-layout__intro { max-width: 690px; }
.decision-layout__experience { position: relative; }
.triage-network { position: relative; height: 240px; margin: 0 2rem -1.8rem; }
.triage-network svg { width: 100%; height: 100%; overflow: visible; }
.triage-network__base,
.triage-network__progress { fill: none; stroke-width: 1.5; }
.triage-network__base { stroke: rgba(61,52,39,.17); }
.triage-network__progress { stroke: var(--brand-gold); stroke-width: 2.2; stroke-dasharray: 1000; stroke-dashoffset: var(--triage-network-offset, 1000); transition: stroke-dashoffset 700ms var(--ease-out); }
.triage-network__node { position: absolute; width: 84px; display: grid; justify-items: center; gap: .4rem; font-size: .62rem; letter-spacing: .09em; text-transform: uppercase; color: #7d7569; transition: color 350ms, transform 350ms var(--ease-out); }
.triage-network__node i { width: 15px; height: 15px; border-radius: 50%; border: 1px solid #a59c8f; background: #ece3d4; transition: .35s var(--ease-out); }
html[data-theme="dark"] .triage-network__node i { background: #1b1b18; }
.triage-network__node.is-active,
.triage-network__node.is-complete { color: var(--brand-gold-deep); transform: translateY(-3px); }
.triage-network__node.is-active i,
.triage-network__node.is-complete i { background: var(--brand-gold); border-color: var(--brand-gold); box-shadow: 0 0 0 7px rgba(184,137,63,.12); }
.triage-network__node[data-network-node="0"] { left: 1%; top: 47%; }
.triage-network__node[data-network-node="1"] { left: 31%; top: 20%; }
.triage-network__node[data-network-node="2"] { left: 61%; top: 58%; }
.triage-network__node[data-network-node="3"] { right: -1%; top: 43%; }
.triage-card--interactive { position: relative; z-index: 2; box-shadow: 0 34px 100px rgba(48,40,28,.13); border-color: rgba(74,62,43,.12); background: rgba(255,252,246,.88); backdrop-filter: blur(16px); }
html[data-theme="dark"] .triage-card--interactive { background: rgba(33,33,29,.88); }

/* Method foundation -------------------------------------------------------------- */
.method--layout { background: var(--bg); }
.method__head--split { margin-bottom: 5rem; }
.method-timeline__timeline { position: relative; max-width: 1280px; margin-left: auto; }
.method-timeline__rail { position: absolute; left: 99px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.method-timeline__rail span { position: absolute; left: -1px; top: 0; width: 3px; height: 0; background: linear-gradient(to bottom, var(--brand-gold-soft), var(--brand-gold-deep)); transition: height 80ms linear; }
.method-timeline__step { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: clamp(2rem,5vw,6rem); min-height: 43vh; align-items: center; border-top: 1px solid var(--line); }
.method-timeline__step:last-child { border-bottom: 1px solid var(--line); }
.method-timeline__number { position: relative; z-index: 2; justify-self: center; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); color: var(--brand-gold-deep); font-family: var(--font-mono); font-size: .72rem; }
.method-timeline__step > div { display: grid; grid-template-columns: minmax(130px,.35fr) minmax(0,1fr) minmax(260px,.75fr); gap: clamp(1.2rem,3vw,4rem); align-items: baseline; }
.method-timeline__tag { font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-gold-deep); }
.method-timeline__step h3 { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem,4.3vw,5.2rem); line-height: .95; font-weight: 400; letter-spacing: -.04em; }
.method-timeline__step p { margin: 0; color: var(--text-muted); }

/* Immersive manifesto ---------------------------------------------------- */
.immersive-manifest { --manifest-progress: 0; position: relative; min-height: 260vh; background: #11120f; color: #f8f0e5; }
.immersive-manifest__sticky { position: sticky; top: 0; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.immersive-manifest__noise { position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.immersive-manifest__shell { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--header-height-scrolled) + 3.5rem); padding-bottom: 3rem; }
.immersive-manifest__words { position: relative; align-self: center; height: clamp(150px,20vw,330px); display: grid; place-items: center; }
.immersive-manifest__words span { position: absolute; font-family: var(--font-ui); font-weight: 750; font-size: clamp(4.2rem,13vw,15.5rem); letter-spacing: -.065em; line-height: .75; color: transparent; -webkit-text-stroke: 1px rgba(216,184,120,.35); opacity: 0; transform: translateY(35%) scale(.94); filter: blur(7px); transition: opacity 650ms var(--ease-out), transform 750ms var(--ease-out), filter 600ms; }
.immersive-manifest__words span.is-active { opacity: 1; transform: none; filter: blur(0); color: rgba(248,240,229,.025); }
.immersive-manifest__copy { display: grid; grid-template-columns: 1.1fr .55fr; gap: 4rem; align-items: end; border-top: 1px solid rgba(216,184,120,.19); padding-top: 1.5rem; }
.immersive-manifest__copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.5rem,4.7vw,6rem); line-height: .94; font-weight: 400; letter-spacing: -.045em; max-width: 14ch; }
.immersive-manifest__copy p { margin: 0; color: #aaa398; max-width: 480px; }
.immersive-manifest__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 2px; background: rgba(216,184,120,.12); }
.immersive-manifest__progress span { display: block; height: 100%; width: var(--manifest-progress-width, 0%); background: var(--brand-gold); }

/* Knowledge -------------------------------------------------------------- */
.knowledge-layout { background: var(--surface-raised); }
.knowledge-layout__head { display: grid; grid-template-columns: minmax(145px,.22fr) minmax(0,1fr) minmax(260px,.45fr); gap: clamp(2rem,5vw,6rem); align-items: end; margin-bottom: 4.5rem; }
.knowledge-layout__intro { margin: 0; color: var(--text-muted); }
.knowledge-layout__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.knowledge-card { position: relative; min-height: 410px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: inherit; text-align: left; padding: clamp(2rem,4vw,4.2rem); cursor: pointer; overflow: hidden; display: flex; flex-direction: column; }
.knowledge-card::before { content: ""; position: absolute; inset: auto -20% -55% auto; width: 65%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(184,137,63,.18); transition: transform 700ms var(--ease-out), background 500ms; }
.knowledge-card:hover::before { transform: scale(1.35) translate(-7%,-12%); background: rgba(184,137,63,.055); }
.knowledge-card__number { font-size: .66rem; letter-spacing: .16em; color: var(--brand-gold-deep); }
.knowledge-card__category { margin-top: 1.5rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-subtle); }
.knowledge-card h3 { margin: 1.1rem 0 1rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem,3.2vw,3.7rem); line-height: .98; letter-spacing: -.035em; max-width: 16ch; }
.knowledge-card p { margin: 0; max-width: 550px; color: var(--text-muted); }
.knowledge-card__action { margin-top: auto; padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.knowledge-card__action i { font-style: normal; color: var(--brand-gold); font-size: 1.2rem; transition: transform 300ms var(--ease-out); }
.knowledge-card:hover .knowledge-card__action i { transform: translate(5px,-5px); }
.knowledge-layout__disclaimer { margin: 1.2rem 0 0 auto; max-width: 660px; color: var(--text-subtle); font-size: .72rem; }

/* Guide modal ------------------------------------------------------------ */
.guide-modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity 240ms; }
.guide-modal.is-open { visibility: visible; opacity: 1; }
.guide-modal__backdrop { position: absolute; inset: 0; background: rgba(16,15,12,.68); backdrop-filter: blur(10px); }
.guide-modal__panel { position: relative; z-index: 1; width: min(820px,calc(100vw - 2rem)); max-height: min(820px,calc(100svh - 2rem)); overflow: auto; background: var(--surface-raised); box-shadow: var(--shadow-lg); padding: clamp(2rem,5vw,5rem); transform: translateY(18px) scale(.985); transition: transform 420ms var(--ease-out); }
.guide-modal.is-open .guide-modal__panel { transform: none; }
.guide-modal__close { position: absolute; top: 1rem; right: 1rem; }
.guide-content__category { color: var(--brand-gold-deep); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.guide-content h2 { margin: 1rem 0 1.5rem; font-family: var(--font-display); font-size: clamp(2.5rem,5vw,5.2rem); line-height: .94; font-weight: 400; letter-spacing: -.04em; }
.guide-content__intro { font-size: 1.1rem; color: var(--text-muted); }
.guide-content ol { margin: 2.4rem 0; padding: 0; list-style: none; counter-reset: guide; border-top: 1px solid var(--line); }
.guide-content li { counter-increment: guide; display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.guide-content li::before { content: "0" counter(guide); color: var(--brand-gold-deep); font-family: var(--font-mono); font-size: .7rem; }
.guide-content__note { padding: 1.2rem; background: color-mix(in srgb,var(--brand-gold) 7%,transparent); color: var(--text-muted); font-size: .82rem; }
.guide-content__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

/* FAQ foundation ---------------------------------------------------------------- */
.faq--layout { background: var(--brand-paper); }
html[data-theme="dark"] .faq--layout { background: #181916; }
.faq__grid--split { grid-template-columns: .8fr 1.2fr; gap: clamp(4rem,8vw,10rem); }

/* Contact foundation ------------------------------------------------------------- */
.contact--layout { background: #171714; color: #f7efe2; position: relative; overflow: hidden; }
.contact--layout::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 84% 18%, rgba(184,137,63,.16), transparent 31rem), linear-gradient(rgba(216,184,120,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(216,184,120,.03) 1px,transparent 1px); background-size: auto, 86px 86px,86px 86px; }
.contact-layout__grid { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(4rem,8vw,10rem); align-items: start; }
.contact-layout__intro { position: sticky; top: calc(var(--header-height-scrolled) + 3.5rem); }
.contact-layout__lead { color: #aaa398; max-width: 580px; }
.contact-layout__direct { margin-top: 3rem; display: grid; gap: .25rem; padding-top: 1.4rem; border-top: 1px solid rgba(216,184,120,.19); }
.contact-layout__direct span { color: #8e887e; font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.contact-layout__direct a { color: #f6ede0; font-family: var(--font-display); font-size: clamp(1.1rem,1.8vw,1.6rem); overflow-wrap: anywhere; }
.contact-layout__direct small { color: #8e887e; }
.progressive-contact { background: #f7f1e8; color: #22211d; padding: clamp(1.4rem,3vw,3rem); min-height: 690px; box-shadow: 0 38px 120px rgba(0,0,0,.22); }
html[data-theme="dark"] .progressive-contact { background: #242520; color: var(--text); }
.progressive-contact__progress { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid rgba(60,52,42,.12); margin-bottom: 2rem; }
.progressive-contact__progress > span { position: relative; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: .6rem; padding: 0 0 1rem; color: #999187; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.progressive-contact__progress > span::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 100%; height: 2px; background: var(--brand-gold); transition: right 500ms var(--ease-out); }
.progressive-contact__progress > span.is-active,
.progressive-contact__progress > span.is-complete { color: var(--brand-gold-deep); }
.progressive-contact__progress > span.is-active::after,
.progressive-contact__progress > span.is-complete::after { right: 0; }
.progressive-contact__progress i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; font-style: normal; }
.progressive-contact__progress b { font-weight: 600; }
.contact-form--progressive { min-height: 580px; display: grid; }
.contact-step { grid-area: 1/1; opacity: 0; visibility: hidden; transform: translateX(18px); pointer-events: none; transition: opacity 340ms var(--ease-out), transform 440ms var(--ease-out), visibility 0s 440ms; display: flex; flex-direction: column; }
.contact-step.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.contact-step__eyebrow { color: var(--brand-gold-deep); font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.contact-step > h3 { margin: .8rem 0 .6rem; font-family: var(--font-display); font-size: clamp(2.4rem,4.3vw,4.8rem); line-height: .95; font-weight: 400; letter-spacing: -.04em; }
.contact-step > p { max-width: 620px; color: #777168; }
html[data-theme="dark"] .contact-step > p { color: var(--text-muted); }
.contact-step .field:first-of-type { margin-top: 2rem; }
.contact-step > .button,
.contact-step__actions { margin-top: auto; }
.contact-step__actions { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2rem; }
.contact-step .button--ghost { color: inherit; border-color: rgba(60,52,42,.2); }
html[data-theme="dark"] .contact-step .button--ghost { border-color: var(--line); }

/* Contact dock ----------------------------------------------------------- */
.contact-dock { position: fixed; right: clamp(1rem,2vw,2rem); bottom: clamp(1rem,2vw,2rem); z-index: 55; display: grid; justify-items: end; gap: .55rem; width: max-content; }
.contact-dock__trigger { display: flex; align-items: center; gap: .65rem; min-height: 48px; padding: .5rem .9rem; border: 1px solid rgba(184,137,63,.35); border-radius: 999px; background: rgba(247,243,236,.9); color: #2a2823; box-shadow: 0 12px 36px rgba(30,25,18,.12); backdrop-filter: blur(16px); cursor: pointer; font: inherit; font-size: .76rem; font-weight: 650; }
html[data-theme="dark"] .contact-dock__trigger { background: rgba(28,29,26,.9); color: #eee6da; }
.contact-dock__trigger svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.contact-dock__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-gold); box-shadow: 0 0 0 0 rgba(184,137,63,.35); animation: dock-pulse 2.2s infinite; }
@keyframes dock-pulse { 70% { box-shadow: 0 0 0 9px rgba(184,137,63,0); } 100% { box-shadow: 0 0 0 0 rgba(184,137,63,0); } }
.contact-dock__panel { position: absolute; right: 0; bottom: calc(100% + .55rem); width: min(360px,calc(100vw - 2rem)); background: var(--surface-raised); color: var(--text); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: .8rem; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: right bottom; transition: .35s var(--ease-out); }
.contact-dock__panel.is-open { opacity: 1; visibility: visible; transform: none; }
.contact-dock__label { display: block; padding: .55rem .7rem; color: var(--text-subtle); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; }
.contact-dock__panel a { display: grid; padding: .85rem .7rem; border-top: 1px solid var(--line); }
.contact-dock__panel a strong { font-size: .84rem; }
.contact-dock__panel a span { margin-top: .12rem; color: var(--text-muted); font-size: .72rem; overflow-wrap: anywhere; }

/* Atmosphere transitions ------------------------------------------------ */

/* Responsive foundation ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero-base__shell { grid-template-columns: 1fr .48fr; }
  .hero-base__portrait-wrap { width: 52vw; }
  .hero-base__microfacts { width: 100%; }
  .authority-layout__grid { grid-template-columns: .45fr 1.3fr .75fr; }
  .practice-layout { grid-template-columns: .65fr 1.35fr; }
  .practice-panel--interactive { grid-template-columns: .62fr 1.38fr; }
  .decision-layout__grid { grid-template-columns: 1fr; }
  .decision-layout__intro { max-width: 900px; }
  .decision-layout__experience { width: min(880px,100%); margin-left: auto; }
  .method-timeline__step > div { grid-template-columns: 120px 1fr; }
  .method-timeline__step p { grid-column: 2; }
  .knowledge-layout__head { grid-template-columns: 150px 1fr; }
  .knowledge-layout__intro { grid-column: 2; }
}

@media (max-width: 900px) {
  .hero-base { min-height: 960px; align-items: stretch; }
  .hero-base__shell { min-height: 960px; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-height) + 3rem); }
  .hero-base__portrait-layer { align-items: flex-start; justify-content: flex-end; }
  .hero-base__portrait-wrap { width: 68vw; height: 59%; opacity: .86; }
  .hero-base__portrait-wrap::before { background: linear-gradient(90deg,var(--bg),transparent 25%),linear-gradient(to top,var(--bg),transparent 45%); }
  .hero-base__portrait-frame { inset: 5.5rem 2.2rem 3rem; }
  .hero-base__portrait-caption { right: 2rem; bottom: 1.4rem; }
  .hero-base__signature { width: 58vw; left: 42%; top: 12%; }
  .hero-base__copy { margin-top: auto; padding-bottom: 8rem; }
  .hero-base__title { font-size: clamp(4rem,12.4vw,7.5rem); }
  .hero-base__lead { max-width: 650px; }
  .hero-base__microfacts { display: none; }
  .opening-manifest__grid,
  .stephanie-story__head,
  .knowledge-layout__head { grid-template-columns: 1fr; }
  .opening-manifest__footer { grid-template-columns: 1fr; }
  .opening-manifest__seal { text-align: left; }
  .authority-layout { min-height: 150vh; }
  .authority-layout__grid { grid-template-columns: 1fr; text-align: center; }
  .authority-layout__side { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; text-align: left; }
  .authority-layout__number-wrap { min-height: 330px; }
  .authority-layout__number { font-size: clamp(10rem,45vw,22rem); }
  .authority-layout__copy { justify-self: center; align-self: auto; padding-bottom: 0; }
  .stephanie-story__stage { grid-template-columns: 1fr; }
  .stephanie-story__portrait-col { position: relative; top: auto; min-height: 0; }
  .story-portrait { width: min(580px,100%); }
  .story-chapter { min-height: auto; padding: 4rem 0; }
  .practice-layout { grid-template-columns: 1fr; }
  .practice-list--interactive { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  .practice-list--interactive .practice-tab { border-right: 1px solid var(--line); }
  .practice-panel--interactive { grid-template-columns: .6fr 1.4fr; min-height: 620px; }
  .triage-network { margin-inline: 0; }
  .method-timeline__step { grid-template-columns: 72px 1fr; gap: 1.5rem; }
  .method-timeline__rail { left: 35px; }
  .method-timeline__step > div { grid-template-columns: 1fr; gap: .7rem; }
  .method-timeline__step p { grid-column: 1; }
  .immersive-manifest__copy { grid-template-columns: 1fr; gap: 1.2rem; }
  .knowledge-layout__head,
  .knowledge-layout__intro { grid-column: auto; }
  .faq__grid--split { grid-template-columns: 1fr; }
  .contact-layout__grid { grid-template-columns: 1fr; }
  .contact-layout__intro { position: relative; top: auto; }
}

@media (max-width: 640px) {
  .hero-base { min-height: 880px; }
  .hero-base__shell { min-height: 880px; padding-bottom: 1.4rem; }
  .hero-base__portrait-wrap { width: 82vw; height: 54%; opacity: .72; }
  .hero-base__portrait-frame { inset: 4.4rem 1rem 1.5rem; }
  .hero-base__portrait-caption { display: none; }
  .hero-base__signature { width: 78vw; left: 21%; top: 13%; opacity: .25; }
  .hero-base__kicker { font-size: .57rem; letter-spacing: .16em; }
  .hero-base__copy { padding-bottom: 4.5rem; }
  .hero-base__title { font-size: clamp(3.7rem,16vw,5.4rem); line-height: .87; }
  .hero-base__lead { width: 100%; font-size: .97rem; line-height: 1.65; }
  .hero-base__actions { display: grid; grid-template-columns: 1fr; }
  .hero-base__actions .button { width: 100%; justify-content: center; }
  .hero-base__scroll { display: none; }
  .opening-manifest { min-height: auto; }
  .opening-manifest__title { font-size: clamp(3.2rem,14vw,5.2rem); }
  .authority-layout__side { grid-template-columns: 1fr; gap: 1.5rem; }
  .authority-layout__side > p { max-width: none; }
  .authority-layout__number-wrap { min-height: 270px; }
  .authority-layout__copy h2 { font-size: 2.3rem; }
  .stephanie-story__head { margin-bottom: 2.5rem; }
  .story-portrait { aspect-ratio: 4/5.4; }
  .story-portrait__frame { inset: .9rem; }
  .story-portrait figcaption { left: 1.4rem; bottom: 1.3rem; }
  .story-chapter { padding: 3rem 0; }
  .story-chapter h3 { font-size: 3.6rem; }
  .practice-layout { min-height: 0; }
  .practice-list--interactive { grid-template-columns: 1fr; }
  .practice-panel--interactive { grid-template-columns: 1fr; min-height: 0; }
  .practice-layout__visual { min-height: 340px; border-right: 0; border-bottom: 1px solid var(--line); }
  .practice-panel__content--structured { padding: 2rem 1.25rem 2.5rem; }
  .practice-panel--interactive ul { columns: 1; }
  .decision-layout__experience { width: 100%; }
  .triage-network { height: 170px; margin-bottom: -1.2rem; }
  .triage-network__node { width: 66px; font-size: .52rem; }
  .triage-network__node b { display: none; }
  .method-timeline__step { min-height: auto; padding: 3.2rem 0; grid-template-columns: 48px 1fr; }
  .method-timeline__rail { left: 23px; }
  .method-timeline__number { width: 38px; height: 38px; }
  .method-timeline__step h3 { font-size: 2.8rem; }
  .immersive-manifest__shell { padding-top: calc(var(--header-height-scrolled) + 2rem); }
  .immersive-manifest__words { height: 120px; }
  .immersive-manifest__words span { font-size: clamp(3.2rem,14vw,5rem); -webkit-text-stroke-width: .7px; }
  .immersive-manifest__copy h2 { font-size: 2.6rem; }
  .knowledge-layout__grid { grid-template-columns: 1fr; }
  .knowledge-card { min-height: 350px; }
  .progressive-contact { padding: 1.2rem; min-height: 640px; }
  .progressive-contact__progress > span { grid-template-columns: 28px 1fr; }
  .progressive-contact__progress b { display: none; }
  .contact-step > h3 { font-size: 2.8rem; }
  .contact-step__actions { display: grid; grid-template-columns: .72fr 1.28fr; }
  .contact-dock { right: .75rem; bottom: .75rem; }
  .contact-dock__trigger { min-height: 44px; }
}

/* Reduced motion foundation ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .hero-base__signature-path,
  .hero-base__scroll b,
  .contact-dock__pulse,
  .practice-layout__visual::before { animation: none; }
  .hero-base__signature-path { stroke-dashoffset: 0; }
  .hero-line i { transform: none; animation: none; }
  .hero-base__portrait-wrap,
  .authority-layout__number,
  .authority-layout__orbit,
  .story-portrait img,
  .practice-layout__glyph { transform: none; transition: none; }
  .immersive-manifest__words span { filter: none; transition: none; }
}

@media (forced-colors: active) {
  .hero-base__signature,
  .hero-base__atmosphere,
  .authority-layout__glow,
  .immersive-manifest__noise { display: none; }
  .knowledge-card,
  .progressive-contact,
  .contact-dock__panel { border: 1px solid CanvasText; }
}

/* Header adaptation over dark immersive chapters */
.site-header.is-over-dark:not(.is-scrolled) .desktop-nav > a,
.site-header.is-over-dark:not(.is-scrolled) .nav-trigger,
.site-header.is-over-dark:not(.is-scrolled) .icon-button {
  color: #f4ecdf;
}
.site-header.is-over-dark:not(.is-scrolled) .brand__logo {
  filter: brightness(1.08) saturate(.85);
}

/* Optional testimonial module: hidden until content is approved */
.client-voices-layout { background: var(--bg); }
.client-voices-layout__head { display: grid; grid-template-columns: minmax(145px,.22fr) 1fr; gap: clamp(2rem,6vw,7rem); margin-bottom: 4rem; }
.client-voices-layout__stage { display: grid; grid-template-columns: minmax(220px,.35fr) 1fr; gap: clamp(2rem,5vw,6rem); padding: clamp(2rem,5vw,5rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client-voice blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(2rem,4vw,4.7rem); line-height: 1.02; font-weight: 400; }
.client-voice footer { margin-top: 2rem; color: var(--text-muted); font-size: .8rem; }
@media (max-width: 760px) { .client-voices-layout__head,.client-voices-layout__stage { grid-template-columns: 1fr; } }

/* ========================================================================== 
   IMMERSIVE / STABLE MOTION / INTELLIGENCE EXPERIENCE
   Correções de legibilidade, motor de animação por progresso contínuo e
   experiências exclusivas por seção.
   ========================================================================== */

html.site-foundation-ready[data-theme="light"] {
  --text-muted: #5d5a53;
  --text-subtle: #77736b;
  --line: rgba(28, 25, 20, 0.145);
  --line-strong: rgba(28, 25, 20, 0.26);
}

html.site-foundation-ready[data-theme="dark"] {
  --text-muted: #c6beb1;
  --text-subtle: #a29b90;
}

html.site-foundation-ready .reveal-item,
html.site-foundation-ready .reveal-title {
  opacity: 1;
  transform: none;
  filter: none;
  transition-delay: 0ms !important;
}

html.site-foundation-ready body {
  overflow-x: clip;
}

/* --------------------------- HERO · assinatura --------------------------- */
.hero-experience {
  --hero-pointer-x: 72%;
  --hero-pointer-y: 30%;
  --hero-copy-y: 0px;
  --hero-photo-y: 0px;
  --hero-photo-scale: 1;
  --hero-edge-x: 0vw;
}

.hero-experience .hero-base__signature-path {
  animation: none;
}

.hero-experience .hero-base__copy {
  transform: translate3d(0, var(--hero-copy-y), 0);
  will-change: transform;
}

.hero-experience .hero-base__portrait-wrap {
  clip-path: inset(0 0 0 100%);
  transform: translate3d(var(--hero-mouse-shift-x, 0px), calc(var(--hero-mouse-shift-y, 0px) + var(--hero-photo-y)), 0) scale(var(--hero-photo-scale));
  animation: hero-photo-enter 1.25s cubic-bezier(.16,1,.3,1) forwards .18s;
}

@keyframes hero-photo-enter {
  0% { clip-path: inset(0 0 0 100%); filter: blur(5px); }
  100% { clip-path: inset(0 0 0 0%); filter: blur(0); }
}

.hero-experience__pointer-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 32rem at var(--hero-pointer-x) var(--hero-pointer-y), rgba(196,150,77,.16), transparent 66%);
  mix-blend-mode: multiply;
  opacity: .72;
  pointer-events: none;
}

.hero-experience__edge-word {
  position: absolute;
  right: -1.2vw;
  bottom: 4vh;
  font-family: var(--font-ui);
  font-size: clamp(4rem, 10vw, 11rem);
  font-weight: 750;
  line-height: .8;
  letter-spacing: -.055em;
  writing-mode: vertical-rl;
  color: transparent;
  -webkit-text-stroke: 1px rgba(142,100,39,.2);
  transform: translateX(var(--hero-edge-x));
  opacity: calc(.35 - var(--hero-progress) * .25);
}

.hero-experience__portrait-scan {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: -20%;
  height: 16%;
  background: linear-gradient(180deg, transparent, rgba(244,216,164,.18), transparent);
  transform: translateY(calc(var(--hero-progress) * 760%));
  opacity: .75;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-experience .hero-line:nth-child(1) i { animation-duration: 1.05s; animation-delay: .25s; }
.hero-experience .hero-line:nth-child(2) i { animation-duration: 1.35s; animation-delay: .48s; }
.hero-experience .hero-base__lead { color: #514e48; font-size: clamp(1.03rem, 1.3vw, 1.22rem); max-width: 660px; }
.hero-experience .hero-base__microfacts span { background: rgba(18,17,13,.76); border-color: rgba(216,184,120,.34); }
.hero-experience .hero-base__scroll { color: #3f3c36; }

/* ----------------------- OPENING · tinta / linha viva -------------------- */
.opening-manifest--experience {
  --opening-progress: 0;
  overflow: clip;
  position: relative;
}

.opening-manifest--experience::before {
  content: "";
  position: absolute;
  width: min(44vw, 680px);
  aspect-ratio: 1;
  right: -15vw;
  top: 12%;
  border: 1px solid rgba(184,137,63,.14);
  border-radius: 50%;
  transform: scale(calc(.72 + var(--opening-progress) * .38)) rotate(calc(var(--opening-progress) * 38deg));
  opacity: calc(.2 + var(--opening-progress) * .5);
}

.opening-manifest--experience .opening-manifest__title span {
  opacity: calc(.2 + var(--line-progress, 0) * .8);
  transform: translateX(calc((1 - var(--line-progress, 0)) * 42px));
  background-image: linear-gradient(90deg, var(--text-strong) 0%, var(--text-strong) calc(var(--line-progress,0) * 100%), rgba(20,19,15,.16) calc(var(--line-progress,0) * 100%));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  transition: none;
}

.opening-manifest--experience .opening-manifest__title span::after {
  width: calc(var(--line-progress, 0) * 58%);
  transition: none;
}

.opening-manifest--experience .opening-manifest__footer > p {
  color: #56534d;
}

/* ------------------------ TRUST · cartas em leque ------------------------ */
.trust-section {
  --trust-progress: 0;
  position: relative;
  background: #eee5d8;
  overflow: clip;
}

.trust-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(122,84,31,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(122,84,31,.035) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.trust-section__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px,.22fr) minmax(0,1fr) minmax(260px,.46fr);
  gap: clamp(2rem,5vw,6rem);
  align-items: end;
  margin-bottom: clamp(4rem,7vw,8rem);
}

.trust-section__head > div:nth-child(2) { max-width: 980px; }
.trust-section__intro { margin: 0; color: #59564f; font-size: 1rem; line-height: 1.75; }

.trust-section__stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  min-height: 580px;
  perspective: 1200px;
}

.trust-card {
  --card-progress: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  z-index: 1;
  min-height: 510px;
  padding: clamp(1.8rem,3vw,3rem);
  border: 1px solid rgba(58,50,39,.18);
  border-right: 0;
  background:
    radial-gradient(circle 18rem at var(--spot-x) var(--spot-y), rgba(184,137,63,.12), transparent 65%),
    rgba(250,246,239,.86);
  display: flex;
  flex-direction: column;
  transform:
    translateY(calc((1 - var(--card-progress)) * 96px))
    rotateX(var(--tilt-x)) rotateY(var(--tilt-y))
    scale(calc(.94 + var(--card-progress) * .06));
  opacity: calc(.12 + var(--card-progress) * .88);
  transform-origin: center bottom;
  will-change: transform;
  transition: border-color .3s, box-shadow .35s;
}

.trust-card:last-child { border-right: 1px solid rgba(58,50,39,.18); }
.trust-card:nth-child(1) { transform-origin: 100% 100%; }
.trust-card:nth-child(2) { transform-origin: 65% 100%; }
.trust-card:nth-child(3) { transform-origin: 35% 100%; }
.trust-card:nth-child(4) { transform-origin: 0 100%; }
.trust-card:hover,
.trust-card:focus-visible { border-color: rgba(142,100,39,.48); box-shadow: 0 28px 70px rgba(66,51,31,.12); z-index: 3; }
.trust-card__number { font: 600 .68rem/1 var(--font-mono); letter-spacing: .15em; color: #7d571e; }
.trust-card__signal { width: 42px; height: 42px; margin: auto 0 2rem; border: 1px solid rgba(142,100,39,.35); border-radius: 50%; position: relative; }
.trust-card__signal::before,
.trust-card__signal::after { content:""; position:absolute; background:#9b6e2d; }
.trust-card--clarity .trust-card__signal::before { width: 1px; top: 6px; bottom: 6px; left: 50%; }
.trust-card--clarity .trust-card__signal::after { height: 1px; left: 6px; right: 6px; top: 50%; }
.trust-card--individual .trust-card__signal::before { inset: 9px; border: 1px solid #9b6e2d; border-radius: 50%; background: transparent; }
.trust-card--individual .trust-card__signal::after { width: 5px; height: 5px; border-radius: 50%; left: 18px; top: 18px; }
.trust-card--preventive .trust-card__signal::before { width: 18px; height: 18px; border: 1px solid #9b6e2d; background: transparent; transform: rotate(45deg); left: 11px; top: 11px; }
.trust-card--preventive .trust-card__signal::after { width: 1px; height: 36px; left: 20px; top: 2px; transform: rotate(45deg); }
.trust-card--responsible .trust-card__signal::before { width: 24px; height: 1px; left: 8px; top: 20px; transform: rotate(-35deg); }
.trust-card--responsible .trust-card__signal::after { width: 8px; height: 8px; border: 1px solid #9b6e2d; background: #f5eee3; border-radius: 50%; left: 16px; top: 16px; }
.trust-card h3 { margin: 0 0 1rem; font-family: var(--font-display); font-size: clamp(2rem,2.8vw,3.4rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.trust-card p { margin: 0; color: #5d5850; line-height: 1.72; }
.trust-section__rail { height: 2px; background: rgba(142,100,39,.15); margin-top: 2rem; overflow: hidden; }
.trust-section__rail span { display:block; width: calc(var(--trust-progress) * 100%); height:100%; background: linear-gradient(90deg,#8e6427,#d8b878); }

/* ------------------------- AUTHORITY · odômetro -------------------------- */
.authority-experience { min-height: 185vh; }
.authority-experience .authority-layout__side { color: #c1b9ad; }
.authority-experience .authority-layout__copy p { color: #c0b8ab; font-size: .82rem; }
.authority-experience__number { display: inline-flex; align-items: baseline; gap: .012em; }
.authority-experience__number [data-odometer-digit] { display:inline-block; min-width:.5em; text-align:center; }
.authority-experience__number b { font-size: .26em; color: #d8b878; margin-left: .08em; letter-spacing:0; }
.authority-experience__scan { position:absolute; z-index:4; left:0; right:0; top:50%; height:1px; background:linear-gradient(90deg,transparent,#d8b878,transparent); transform: translateX(var(--authority-scan-x,-120%)); box-shadow:0 0 24px rgba(216,184,120,.35); }
.authority-experience__ticks { position:absolute; width:86%; aspect-ratio:1; border-radius:50%; background:repeating-conic-gradient(from 0deg,rgba(216,184,120,.38) 0 .35deg,transparent .35deg 8deg); mask:radial-gradient(circle,transparent 66%,#000 66.4% 67%,transparent 67.4%); transform:rotate(calc(var(--authority-rotation,0deg) * -.45)); opacity:.6; }

/* ---------------------- STORY · progresso contínuo ----------------------- */
.stephanie-story--immersive .stephanie-story__chapters { position: relative; padding-left: 2.5rem; }
.story-progress__progress { position:absolute; left:0; top:0; bottom:9vh; width:2px; background:rgba(94,81,59,.14); }
.story-progress__progress span { display:block; width:100%; height:0; background:linear-gradient(#d8b878,#8e6427); box-shadow:0 0 12px rgba(184,137,63,.2); }
.stephanie-story--immersive .story-chapter { opacity: calc(.24 + (1 / (1 + var(--story-distance,3))) * .18); transform:translateX(calc(var(--story-distance,2) * 9px)); }
.stephanie-story--immersive .story-chapter.is-active { opacity:1; transform:none; }
.stephanie-story--immersive .story-chapter.is-active h3 { color:#181611; }
.stephanie-story--immersive .story-chapter p { color:#55514a; }
.story-portrait::before { content:""; position:absolute; z-index:2; inset:0; background:radial-gradient(circle 16rem at var(--story-light-x,30%) 32%,rgba(235,203,147,.18),transparent 68%); mix-blend-mode:screen; pointer-events:none; }

/* ------------------------- AUDIENCE · órbitas ---------------------------- */
.audience-section {
  --audience-progress:0;
  position:relative;
  background:#24231f;
  color:#f6efe5;
  overflow:clip;
}
.audience-section::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 76% 42%,rgba(184,137,63,.13),transparent 32rem); }
.audience-section__grid { position:relative; display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(4rem,8vw,10rem); align-items:center; }
.audience-section .section-marker,.audience-section .eyebrow { color:#d7cbb9; }
.audience-section .display-title { color:#fff8ed; }
.audience-section__intro > p:last-of-type { color:#c6beb1; max-width:620px; }
.audience-section__controls { margin-top:3rem; border-top:1px solid rgba(216,184,120,.18); }
.audience-section__controls button { width:100%; display:grid; grid-template-columns:54px 1fr auto; align-items:center; min-height:66px; border:0; border-bottom:1px solid rgba(216,184,120,.18); background:transparent; color:#bcb4a8; font:inherit; text-align:left; cursor:pointer; transition:color .28s,padding .4s var(--ease-out),background .28s; }
.audience-section__controls button::after { content:"↗"; color:#d8b878; opacity:0; transform:translate(-7px,7px); transition:.3s; }
.audience-section__controls button span { font:600 .64rem/1 var(--font-mono); color:#b8893f; }
.audience-section__controls button[aria-selected="true"] { color:#fff8ed; padding-left:1rem; background:rgba(216,184,120,.055); }
.audience-section__controls button[aria-selected="true"]::after { opacity:1; transform:none; }
.audience-section__visual { position:relative; min-height:720px; display:grid; place-items:center; }
.audience-orbit { position:absolute; width:min(80%,620px); aspect-ratio:1; display:grid; place-items:center; transform:scale(calc(.82 + var(--audience-progress)*.18)) rotate(calc((1 - var(--audience-progress))*-12deg)); }
.audience-orbit__ring { position:absolute; border:1px solid rgba(216,184,120,.2); border-radius:50%; }
.audience-orbit__ring--1 { inset:9%; animation:audience-spin 26s linear infinite; }
.audience-orbit__ring--2 { inset:25%; border-style:dashed; animation:audience-spin 19s linear reverse infinite; }
.audience-orbit__ring--3 { inset:40%; border-color:rgba(216,184,120,.34); }
@keyframes audience-spin { to { transform:rotate(360deg); } }
.audience-orbit__core { display:grid; place-items:center; width:86px; height:86px; border-radius:50%; background:#171714; border:1px solid rgba(216,184,120,.42); font-family:var(--font-display); font-size:2.3rem; color:#d8b878; box-shadow:0 0 70px rgba(184,137,63,.1); }
.audience-orbit > i { position:absolute; width:15px; height:15px; border:1px solid rgba(216,184,120,.6); border-radius:50%; background:#24231f; transition:transform .45s var(--ease-out),background .35s,box-shadow .35s; }
.audience-orbit > i:nth-of-type(1){left:9%;top:47%}.audience-orbit > i:nth-of-type(2){right:16%;top:17%}.audience-orbit > i:nth-of-type(3){right:8%;bottom:25%}.audience-orbit > i:nth-of-type(4){left:25%;bottom:8%}
.audience-orbit > i.is-active { background:#d8b878; transform:scale(1.75); box-shadow:0 0 0 10px rgba(216,184,120,.08),0 0 30px rgba(216,184,120,.25); }
.audience-section__content { position:relative; z-index:3; width:min(520px,80%); margin:0 auto; padding:clamp(2rem,4vw,3.5rem); background:rgba(23,23,20,.78); border:1px solid rgba(216,184,120,.22); backdrop-filter:blur(18px); }
.audience-section__kicker { display:block; color:#d8b878; font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; }
.audience-section__content h3 { margin:1rem 0; font-family:var(--font-display); font-size:clamp(2.5rem,4vw,4.9rem); line-height:.94; font-weight:400; letter-spacing:-.04em; }
.audience-section__content p { color:#c8c0b4; line-height:1.72; }
.audience-section__chips { display:flex; flex-wrap:wrap; gap:.45rem; margin:1.5rem 0 2rem; }
.audience-section__chips span { padding:.48rem .62rem; border:1px solid rgba(216,184,120,.18); color:#ddd4c7; font-size:.69rem; }
.audience-section .text-link { color:#f6efe4; }

/* ----------------------- PRACTICES · glyph por área ---------------------- */
.practice-explorer--experience { --areas-progress:0; }
.practice-explorer--experience .practice-layout::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,transparent 0 49.9%,rgba(142,100,39,.08) 50%,transparent 50.1%); transform:scaleY(var(--areas-progress)); transform-origin:top; }
.practice-motion__glyph { overflow:visible; }
.practice-motion__glyph * { fill:none; stroke:color-mix(in srgb,var(--practice-color,var(--brand-gold)) 62%,#5a5041); stroke-width:1.2; vector-effect:non-scaling-stroke; }
.practice-motion__glyph .g-main { stroke-width:1.65; }
.practice-motion__glyph .g-soft { stroke-dasharray:5 7; opacity:.75; }
.practice-motion__glyph .g-ring { opacity:.58; }
.practice-explorer--experience .practice-panel__content--structured p { color:#58554f; }
.practice-explorer--experience .practice-panel__big-number { color:color-mix(in srgb,var(--practice-color,var(--brand-gold)) 20%,transparent); }

/* ----------------------------- AI LAB ----------------------------------- */
.ai-lab-experience {
  --ai-progress:0;
  position:relative;
  background:#121310;
  color:#f8f0e5;
  overflow:hidden;
  isolation:isolate;
}
.ai-lab-experience::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 18% 18%,rgba(184,137,63,.11),transparent 28rem),radial-gradient(circle at 88% 70%,rgba(216,184,120,.08),transparent 34rem); z-index:-1; }
.ai-lab-experience__canvas { position:absolute; inset:0; width:100%; height:100%; opacity:calc(.35 + var(--ai-progress)*.35); z-index:-1; }
.ai-lab-experience__shell { position:relative; }
.ai-lab-experience__head { display:grid; grid-template-columns:minmax(140px,.22fr) 1fr minmax(260px,.42fr); gap:clamp(2rem,5vw,6rem); align-items:end; margin-bottom:clamp(4rem,7vw,7rem); }
.ai-lab-experience__head .display-title { color:#fff8ed; }
.ai-lab-experience__privacy { align-self:end; padding:1.1rem 1.2rem; border:1px solid rgba(216,184,120,.2); background:rgba(255,255,255,.025); }
.ai-lab-experience__privacy strong { font-size:.76rem; color:#eee3d4; }
.ai-lab-experience__privacy p { margin:.4rem 0 0; color:#bcb4a8; font-size:.74rem; line-height:1.55; }
.ai-lab-experience__status-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#d8b878; margin-right:.4rem; box-shadow:0 0 0 0 rgba(216,184,120,.25); animation:ai-status 2.2s infinite; }
@keyframes ai-status { 70% { box-shadow:0 0 0 8px rgba(216,184,120,0); } }
.ai-lab-experience__modules { display:grid; grid-template-columns:1.08fr .92fr; border:1px solid rgba(216,184,120,.2); }
.ai-module { position:relative; padding:clamp(2rem,4vw,4rem); background:rgba(18,19,16,.76); backdrop-filter:blur(12px); min-height:700px; display:flex; flex-direction:column; }
.ai-module + .ai-module { border-left:1px solid rgba(216,184,120,.2); }
.ai-module--context::before { content:""; position:absolute; left:0; top:0; right:0; height:2px; background:linear-gradient(90deg,#8e6427,#d8b878,transparent); transform:scaleX(var(--ai-progress)); transform-origin:left; }
.ai-module--site::before { content:""; position:absolute; width:190px; height:190px; right:-50px; top:-60px; border:1px solid rgba(216,184,120,.16); border-radius:50%; transform:rotate(calc(var(--ai-progress)*120deg)) scale(calc(.8 + var(--ai-progress)*.25)); }
.ai-module__top { display:flex; justify-content:space-between; gap:1rem; color:#d8b878; font:600 .66rem/1 var(--font-mono); letter-spacing:.14em; text-transform:uppercase; }
.ai-badge { padding:.36rem .48rem; border:1px solid rgba(216,184,120,.26); color:#cbb792; }
.ai-module h3 { margin:2rem 0 .8rem; font-family:var(--font-display); font-size:clamp(2.3rem,3.5vw,4.5rem); line-height:.95; font-weight:400; letter-spacing:-.04em; }
.ai-module > p { color:#c2baad; max-width:660px; line-height:1.68; }
.ai-input-shell { display:block; position:relative; margin-top:1.7rem; border:1px solid rgba(216,184,120,.24); background:rgba(255,255,255,.035); transition:border-color .25s,box-shadow .25s; }
.ai-input-shell:focus-within { border-color:rgba(216,184,120,.65); box-shadow:0 0 0 3px rgba(216,184,120,.06); }
.ai-input-shell textarea { width:100%; min-height:170px; resize:vertical; border:0; outline:0; background:transparent; color:#f5ecdf; padding:1.3rem 1.3rem 2.4rem; font:inherit; line-height:1.65; }
.ai-input-shell textarea::placeholder,.site-ai-form input::placeholder { color:#7e786e; }
.ai-input-shell__count { position:absolute; right:1rem; bottom:.8rem; color:#8e887e; font-size:.66rem; }
.ai-module__samples { display:flex; flex-wrap:wrap; gap:.4rem; margin:1rem 0 1.4rem; }
.ai-module__samples button { border:1px solid rgba(216,184,120,.16); background:transparent; color:#bfb7aa; padding:.48rem .65rem; cursor:pointer; font:inherit; font-size:.68rem; transition:.25s; }
.ai-module__samples button:hover,.ai-module__samples button:focus-visible { color:#fff5e7; border-color:rgba(216,184,120,.48); background:rgba(216,184,120,.055); }
.button--ai { margin-top:auto; align-self:flex-start; min-height:52px; padding:0 1.15rem; border:1px solid #c29a59; background:#c29a59; color:#15130f; display:inline-flex; align-items:center; gap:1rem; font:inherit; font-size:.76rem; font-weight:700; cursor:pointer; }
.button--ai svg { width:18px; fill:none; stroke:currentColor; stroke-width:1.6; }
.button--ai.is-loading { opacity:.72; pointer-events:none; }
.ai-context-result:not(:empty) { margin-top:1.7rem; border-top:1px solid rgba(216,184,120,.18); padding-top:1.5rem; }
.ai-context-result__header { display:grid; gap:.45rem; }
.ai-context-result__header span,.ai-result-label { color:#bda77f; font-size:.64rem; letter-spacing:.14em; text-transform:uppercase; }
.ai-context-result__header strong { font-family:var(--font-display); font-size:clamp(1.6rem,2.6vw,2.8rem); font-weight:400; color:#fff6e9; }
.ai-context-result__matches { display:grid; gap:.65rem; margin:1.4rem 0; }
.ai-area-match { padding:.8rem 0; border-bottom:1px solid rgba(216,184,120,.12); }
.ai-area-match > div { display:grid; grid-template-columns:36px 1fr; align-items:center; gap:.7rem; }
.ai-area-match > div span { color:#8f887d; font:600 .62rem/1 var(--font-mono); }
.ai-area-match strong { color:#d9d0c4; font-size:.8rem; }
.ai-area-match.is-primary strong { color:#fff5e7; }
.ai-area-match > i { display:block; height:2px; margin:.55rem 0 .35rem 36px; background:rgba(216,184,120,.1); }
.ai-area-match > i b { display:block; height:100%; background:linear-gradient(90deg,#8e6427,#d8b878); }
.ai-area-match small { display:block; margin-left:36px; color:#90897f; font-size:.64rem; }
.ai-context-result__grid { display:grid; grid-template-columns:1fr 1fr; gap:1.4rem; margin-top:1.3rem; }
.ai-context-result__grid > div { padding:1rem; background:rgba(255,255,255,.025); border:1px solid rgba(216,184,120,.1); }
.ai-context-result__grid ul { margin:.8rem 0 0; padding-left:1.1rem; color:#c5bdb0; font-size:.76rem; line-height:1.7; }
.ai-result-note { color:#928a7f; font-size:.69rem; line-height:1.55; }
.ai-context-result__actions { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1rem; }
.ai-result-state--error { padding:1rem; border:1px solid rgba(196,127,91,.3); color:#e3c8b9; }
.ai-thinking { display:flex; align-items:center; gap:.7rem; color:#bcb4a7; font-size:.75rem; }
.ai-thinking i { width:14px; height:14px; border:1px solid rgba(216,184,120,.25); border-top-color:#d8b878; border-radius:50%; animation:ai-think .75s linear infinite; }
@keyframes ai-think { to { transform:rotate(360deg); } }
.site-ai-form { display:grid; grid-template-columns:1fr 52px; border:1px solid rgba(216,184,120,.25); margin-top:1.7rem; }
.site-ai-form input { min-width:0; border:0; background:rgba(255,255,255,.025); color:#f7efe2; outline:0; padding:1rem 1.1rem; font:inherit; }
.site-ai-form button { border:0; border-left:1px solid rgba(216,184,120,.25); background:#b8893f; color:#17140f; cursor:pointer; }
.site-ai-form svg { width:19px; fill:none; stroke:currentColor; stroke-width:1.6; }
.site-ai-answer { flex:1; margin-top:1rem; padding:1.3rem; background:rgba(255,255,255,.026); border:1px solid rgba(216,184,120,.12); min-height:180px; }
.site-ai-answer__idle { color:#817b72; font-size:.78rem; }
.site-ai-answer__message { display:grid; grid-template-columns:58px 1fr; gap:1rem; }
.site-ai-answer__mark { color:#d8b878; font:600 .62rem/1 var(--font-mono); letter-spacing:.12em; padding-top:.35rem; }
.site-ai-answer__message p { margin:0; color:#d1c8bc; line-height:1.72; }
.site-ai-answer__sources { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:1.3rem; padding-top:1rem; border-top:1px solid rgba(216,184,120,.12); color:#8c857b; font-size:.64rem; }
.site-ai-answer__sources b { color:#cdb993; font-weight:600; }
.site-ai-answer__related { margin-top:.6rem; color:#8d867b; font-size:.64rem; }
.ai-lab-experience__disclaimer { margin:1rem 0 0 auto; max-width:780px; color:#8f887e; font-size:.68rem; text-align:right; line-height:1.55; }

/* ----------------------- TRIAGE · caminho sem travar --------------------- */
.decision-map--experience { --triage-section-progress:0; }
.decision-map--experience::after { content:""; position:absolute; width:38vw; aspect-ratio:1; left:-18vw; bottom:-14vw; border:1px solid rgba(142,100,39,.13); border-radius:50%; transform:scale(calc(.7 + var(--triage-section-progress)*.4)); }
.decision-map--experience .triage-network__progress { transition:stroke-dashoffset .45s cubic-bezier(.16,1,.3,1); }
.decision-map--experience .triage-card--interactive { box-shadow:0 32px 90px rgba(66,50,30,.13); }
.decision-map--experience .triage-question p,.decision-map--experience .triage-result p { color:#5a554d; }

/* ------------------------ METHOD · passos energizados -------------------- */
.method--experience .method-timeline__rail span { transition:none; box-shadow:0 0 16px rgba(184,137,63,.24); }
.method--experience .method-timeline__step { --method-local:0; opacity:calc(.5 + var(--method-local)*.5); }
.method--experience .method-timeline__number { transform:scale(calc(.9 + var(--method-local)*.14)); transition:background .35s,border-color .35s,color .35s,box-shadow .35s; }
.method--experience .method-timeline__step.is-passed .method-timeline__number { background:#9d702e; border-color:#9d702e; color:#fff8ec; box-shadow:0 0 0 8px rgba(184,137,63,.08); }
.method--experience .method-timeline__step h3 { transform:translateX(calc((1 - var(--method-local))*18px)); }
.method--experience .method-timeline__step p { color:#56534c; }

/* ---------------- MANIFESTO · animação exclusiva por palavra ------------- */
.immersive-manifest--experience .immersive-manifest__words span { color:rgba(248,240,229,.07); -webkit-text-stroke:1px rgba(216,184,120,.62); opacity:0; filter:none; transform:none; transition:none; }
.immersive-manifest--experience .immersive-manifest__words span.is-active { opacity:1; color:rgba(248,240,229,.08); }
.immersive-manifest--experience .manifest-word--clarity.is-active { animation:manifest-clarity .72s cubic-bezier(.16,1,.3,1) both; clip-path:inset(0 0 0 0); }
@keyframes manifest-clarity { from { clip-path:inset(0 100% 0 0); letter-spacing:.04em; } to { clip-path:inset(0); letter-spacing:-.065em; } }
.immersive-manifest--experience .manifest-word--security.is-active { animation:manifest-security .75s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes manifest-security { from { transform:scale(.72); opacity:0; filter:blur(3px); } 65% { transform:scale(1.035); } to { transform:scale(1); opacity:1; filter:none; } }
.immersive-manifest--experience .manifest-word--strategy.is-active { animation:manifest-strategy .8s cubic-bezier(.16,1,.3,1) both; }
@keyframes manifest-strategy { from { letter-spacing:.28em; opacity:0; transform:translateX(4%); } to { letter-spacing:-.065em; opacity:1; transform:none; } }
.immersive-manifest--experience .manifest-word--responsibility.is-active { animation:manifest-responsibility .85s cubic-bezier(.16,1,.3,1) both; }
@keyframes manifest-responsibility { from { transform:translateY(55%); opacity:0; clip-path:inset(100% 0 0); } to { transform:none; opacity:1; clip-path:inset(0); } }
.immersive-manifest--experience .immersive-manifest__copy p { color:#c5bdb1; }

/* --------------------- KNOWLEDGE · foco guiado pelo mouse ---------------- */
.knowledge-experience { --knowledge-progress:0; }
.knowledge-experience .knowledge-card { --knowledge-card-progress:0; transform:translateY(calc((1 - var(--knowledge-card-progress))*42px)); opacity:calc(.28 + var(--knowledge-card-progress)*.72); background:radial-gradient(circle 18rem at var(--knowledge-x,50%) var(--knowledge-y,50%),rgba(184,137,63,.09),transparent 68%); }
.knowledge-experience .knowledge-card:nth-child(1)::after,.knowledge-experience .knowledge-card:nth-child(4)::after { content:""; position:absolute; width:55px; height:55px; right:2rem; top:2rem; border-top:1px solid rgba(142,100,39,.35); border-right:1px solid rgba(142,100,39,.35); transform:rotate(calc(var(--knowledge-card-progress)*90deg)); }
.knowledge-experience .knowledge-card:nth-child(2)::after,.knowledge-experience .knowledge-card:nth-child(3)::after { content:""; position:absolute; width:42px; height:42px; right:2rem; top:2rem; border:1px solid rgba(142,100,39,.28); border-radius:50%; transform:scale(calc(.6 + var(--knowledge-card-progress)*.4)); }
.knowledge-experience .knowledge-card p { color:#56534d; }

/* ------------------------------- FAQ ------------------------------------ */
.faq--experience { --faq-progress:0; position:relative; }
.faq--experience::before { content:"FAQ"; position:absolute; left:2vw; bottom:2vw; font-family:var(--font-ui); font-weight:800; font-size:clamp(7rem,18vw,21rem); line-height:.75; color:transparent; -webkit-text-stroke:1px rgba(142,100,39,.08); transform:translateX(calc((1 - var(--faq-progress))*-5vw)); }
.faq--experience .accordion-button { color:#1f1d19; }
.faq--experience .accordion-panel p { color:#59554f; }

/* ------------------------- CONTACT · passos robustos --------------------- */
.contact--experience { --contact-progress:0; }
.contact--experience::after { content:""; position:absolute; width:44vw; aspect-ratio:1; right:-18vw; bottom:-25vw; border:1px solid rgba(216,184,120,.14); border-radius:50%; transform:rotate(calc(var(--contact-progress)*70deg)) scale(calc(.72 + var(--contact-progress)*.35)); }
.contact--experience .contact-layout__lead { color:#c5bdb1; }
.contact--experience .contact-layout__direct span,.contact--experience .contact-layout__direct small { color:#a9a195; }
.site-foundation-ready .contact-step { display:none; opacity:1; visibility:visible; transform:none; pointer-events:auto; transition:none; }
.site-foundation-ready .contact-step.is-active { display:flex; animation:contact-enter .48s cubic-bezier(.16,1,.3,1) both; }
@keyframes contact-enter { from { opacity:0; transform:translateY(16px) scale(.992); filter:blur(3px); } to { opacity:1; transform:none; filter:none; } }
.progressive-contact { overflow:hidden; position:relative; }
.progressive-contact::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:linear-gradient(to bottom,#8e6427,#d8b878); transform:scaleY(var(--contact-step-progress,.3333)); transform-origin:top; transition:transform .45s cubic-bezier(.16,1,.3,1); }
.contact-step > p { color:#5d5850; }

/* ------------------------ CHAPTER NAV · navegação viva ------------------- */
.chapter-nav { position:fixed; z-index:46; left:clamp(.8rem,1.55vw,1.8rem); top:50%; transform:translateY(-50%); display:grid; grid-template-columns:2px auto; gap:.65rem; align-items:stretch; }
.chapter-nav__track { display:block; width:2px; min-height:220px; background:rgba(142,100,39,.16); overflow:hidden; }
.chapter-nav__track i { display:block; height:0; width:100%; background:linear-gradient(#d8b878,#8e6427); }
.chapter-nav__items { display:grid; align-content:space-between; gap:.15rem; }
.chapter-nav__items a { display:flex; align-items:center; gap:.5rem; min-height:18px; color:var(--text-subtle); text-decoration:none; font-size:.58rem; letter-spacing:.11em; text-transform:uppercase; }
.chapter-nav__items a i { font-style:normal; font-family:var(--font-mono); opacity:.5; }
.chapter-nav__items a span { max-width:0; opacity:0; overflow:hidden; white-space:nowrap; transform:translateX(-4px); transition:.25s; }
.chapter-nav__items a:hover span,.chapter-nav__items a:focus-visible span,.chapter-nav__items a.is-active span { max-width:110px; opacity:1; transform:none; }
.chapter-nav__items a.is-active { color:#8e6427; }

/* ------------------------- Legibilidade adicional ------------------------ */
.authority-experience .section-marker--light,
.ai-lab-experience .section-marker--light,
.immersive-manifest--experience .section-marker--light,
.contact--experience .section-marker--light { color:#d8d0c4; }

.authority-experience .section-marker--light span:first-child,
.ai-lab-experience .section-marker--light span:first-child,
.immersive-manifest--experience .section-marker--light span:first-child,
.contact--experience .section-marker--light span:first-child { color:#d8b878; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1260px) {
  .chapter-nav { display:none; }
  .trust-section__stage { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .trust-card:nth-child(2) { border-right:1px solid rgba(58,50,39,.18); }
  .trust-card { min-height:430px; }
  .audience-section__grid { grid-template-columns:1fr; }
  .audience-section__visual { min-height:660px; }
  .ai-lab-experience__head { grid-template-columns:150px 1fr; }
  .ai-lab-experience__privacy { grid-column:2; }
}

@media (max-width: 900px) {
  .trust-section__head { grid-template-columns:1fr; }
  .trust-section__stage { min-height:0; }
  .trust-card { transform:translateY(calc((1 - var(--card-progress))*48px)) scale(calc(.96 + var(--card-progress)*.04)); min-height:390px; }
  .audience-section__visual { min-height:610px; }
  .audience-orbit { width:min(92%,560px); }
  .audience-section__content { width:min(520px,88%); }
  .ai-lab-experience__head { grid-template-columns:1fr; }
  .ai-lab-experience__privacy { grid-column:auto; }
  .ai-lab-experience__modules { grid-template-columns:1fr; }
  .ai-module { min-height:auto; }
  .ai-module + .ai-module { border-left:0; border-top:1px solid rgba(216,184,120,.2); }
  .ai-context-result__grid { grid-template-columns:1fr; }
  .hero-experience__edge-word { display:none; }
  .hero-experience__pointer-light { opacity:.4; }
}

@media (max-width: 640px) {
  .hero-experience .hero-base__lead { color:#3e3b36; }
  .trust-section__stage { grid-template-columns:1fr; }
  .trust-card,.trust-card:nth-child(2),.trust-card:last-child { border-right:1px solid rgba(58,50,39,.18); border-bottom:0; min-height:340px; }
  .trust-card:last-child { border-bottom:1px solid rgba(58,50,39,.18); }
  .audience-section__controls button { grid-template-columns:44px 1fr auto; min-height:58px; }
  .audience-section__visual { min-height:560px; }
  .audience-orbit { width:104%; opacity:.7; }
  .audience-section__content { width:94%; padding:1.5rem; }
  .audience-section__content h3 { font-size:clamp(2rem,9vw,3.6rem); }
  .ai-module { padding:1.4rem; }
  .ai-module h3 { font-size:clamp(2rem,9vw,3.2rem); }
  .ai-context-result__actions { display:grid; }
  .site-ai-answer__message { grid-template-columns:1fr; }
  .site-ai-answer__mark { padding:0; }
  .stephanie-story--immersive .stephanie-story__chapters { padding-left:1.6rem; }
  .story-progress__progress { left:.2rem; }
  .immersive-manifest--experience .immersive-manifest__words span { font-size:clamp(3rem,17vw,6.5rem); word-break:normal; text-align:center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-experience .hero-base__portrait-wrap { animation:none; clip-path:inset(0); }
  .audience-orbit__ring--1,.audience-orbit__ring--2,.ai-lab-experience__status-dot { animation:none; }
  .trust-card,.knowledge-experience .knowledge-card,.method--experience .method-timeline__step h3,.hero-experience .hero-base__copy { transform:none; }
  .immersive-manifest--experience .immersive-manifest__words span.is-active { animation:none; }
  .site-foundation-ready .contact-step.is-active { animation:none; }
}

/* Brand asset hardening — transparent logo variants */
.brand--image,
html[data-theme="dark"] .brand--image {
  padding: 0;
  background: transparent;
}
.brand__logo,
html[data-theme="dark"] .brand__logo,
.brand__logo--footer {
  mix-blend-mode: normal;
}


/* ==========================================================================
