/* ============================================================
   KNOWLEDGE ON POINT - Main Stylesheet
   Coffee-themed / Earthy / Refined
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400&family=DM+Mono:wght@400&family=Google+Sans+Flex:wght@300;400;500;600;700&family=Raleway:wght@500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  /* Coffee Palette */
  --espresso:      #1C0F0A;   /* deepest roast — primary text, nav bg */
  --roast:         #3B1F14;   /* dark roast — headings */
  --mahogany:      #6B3A2A;   /* medium roast — accents, borders */
  --caramel:       #B5713A;   /* caramel — primary brand accent */
  --honey:         #D4975A;   /* honey — hover states, highlights */
  --cream:         #F5ECD7;   /* cream — light backgrounds */
  --parchment:     #FAF5EC;   /* parchment — page background */
  --fog:           #EDE3D0;   /* fog — card backgrounds, borders */

  --sage:          #75836D;
  --olive:         #4F5948;
  --ink:           #24211D;

  /* Semantic contrast helpers */
  --text-on-dark: #F8EFD9;
  --text-on-dark-soft: rgba(248, 239, 217, 0.78);
  --text-on-light: #2A130C;
  --text-on-light-soft: #6B3A2A;
  --surface-warm-card: #E8D6B7;
  --surface-warm-card-soft: #F1E2C8;

  /* FutureFit Academy Palette (used only in academy/) */
  --academy-bg:    #0D0D1A;
  --academy-violet:#7B5EA7;
  --academy-purple:#9B59B6;
  --academy-glow:  #C39BD3;
  --academy-white: #F0F0FF;

  /* Substack blend (used only in series page) */
  --substack-orange: #FF6719;

  /* Typography */
  --font-display: 'Raleway', system-ui, sans-serif;
  --font-body:    'Google Sans Flex', 'Google Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  8.5rem;
  --space-xl:  13rem;

  /* Layout */
  --max-width: 1600px;
  --nav-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 8px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 220ms;
}

/* ============================================================
   WHO WE ARE PAGE
   ============================================================ */

.who-hero {
  position: relative;
  min-height: calc(92vh - var(--nav-height));
  overflow: hidden;
  background: var(--espresso);
  display: grid;
  align-items: end;
  isolation: isolate;
}

.who-hero__slides,
.who-slide,
.who-slide img,
.who-hero__shade {
  position: absolute;
  inset: 0;
}

.who-hero__slides {
  z-index: -3;
}

.who-slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1200ms var(--ease), transform 4200ms var(--ease);
}

.who-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.who-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.1);
}

.who-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(28, 15, 10, 0.78) 0%, rgba(28, 15, 10, 0.46) 42%, rgba(28, 15, 10, 0.12) 100%),
    linear-gradient(0deg, rgba(28, 15, 10, 0.88) 0%, rgba(28, 15, 10, 0.28) 42%, rgba(28, 15, 10, 0.36) 100%);
}

.who-hero__content {
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: clamp(7.2rem, 10vw, 9.5rem);
}

.who-hero h1 {
  color: var(--cream);
  max-width: 610px;
  font-size: clamp(2.05rem, 3.85vw, 3.95rem);
  line-height: 1.04;
}

.who-hero__lead {
  max-width: 610px;
  color: rgba(245, 236, 215, 0.86);
  font-size: clamp(0.96rem, 1.08vw, 1.08rem);
  line-height: 1.68;
  margin-top: 1.25rem;
}

.who-hero__captions {
  position: absolute;
  right: clamp(1.5rem, 4vw, 4.5rem);
  top: clamp(1.8rem, 4.4vw, 4.4rem);
  width: min(360px, calc(100% - 3rem));
  min-height: 3rem;
  border-top: 1px solid rgba(245, 236, 215, 0.25);
  padding-top: 0.8rem;
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 0.86rem;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: right;
  text-shadow: 0 2px 16px rgba(28, 15, 10, 0.75);
}

.who-hero__captions span {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.who-hero__captions span.is-active {
  opacity: 1;
  transform: translateY(0);
}

.who-split,
.journey-intro,
.principles-layout,
.mission-layout,
.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}

.who-copy-stack {
  display: grid;
  gap: 1.4rem;
}

.who-reality {
  background: var(--parchment);
}

.reality-panel {
  position: relative;
  overflow: hidden;
  margin-top: clamp(3rem, 6vw, 5rem);
  min-height: 520px;
  border-radius: var(--radius-lg);
  background: var(--espresso);
}

.reality-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.88;
}

.reality-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(28, 15, 10, 0.9) 0%, rgba(28, 15, 10, 0.08) 55%),
    radial-gradient(circle at 75% 35%, rgba(181, 113, 58, 0.24), transparent 34%);
}

.reality-panel__note {
  position: absolute;
  z-index: 1;
  left: clamp(1.3rem, 4vw, 3rem);
  right: clamp(1.3rem, 4vw, 3rem);
  bottom: clamp(1.3rem, 4vw, 2.4rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(245, 236, 215, 0.24);
  padding-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 236, 215, 0.72);
}

.possibility-section {
  background:
    linear-gradient(180deg, var(--parchment) 0%, var(--cream) 100%);
}

.possibility-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.possibility-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 620px;
  background: var(--fog);
}

.possibility-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: saturate(0.88) sepia(0.08);
}

.possibility-copy p {
  font-size: 1.05rem;
}

.possibility-copy h2 + p {
  margin-top: clamp(1.1rem, 2vw, 1.65rem);
}

.possibility-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.4rem;
}

.possibility-list article {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(107, 58, 42, 0.22);
}

.possibility-list span,
.who-principle-list span,
.mission-outcomes span {
  font-family: var(--font-mono);
  color: var(--sage);
  letter-spacing: 0.1em;
}

.possibility-list h3,
.possibility-list p {
  grid-column: 2;
}

.possibility-list h3 {
  font-size: 1.2rem;
}

.possibility-list p {
  margin-top: -0.5rem;
}

.journey-section {
  background: var(--espresso);
  color: var(--cream);
}

.journey-section h2,
.journey-section h3,
.journey-section p {
  color: var(--cream);
}

.journey-section .section-label,
.mission-section .section-label {
  color: var(--honey);
}

.journey-intro p {
  color: rgba(245, 236, 215, 0.76);
  font-size: 1.08rem;
}

.keys-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(3.2rem, 7vw, 5rem);
}

.key-card {
  position: relative;
  min-height: 150px;
  border: 1px solid rgba(245, 236, 215, 0.18);
  border-radius: var(--radius-md);
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), background var(--duration) var(--ease);
}

.key-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 151, 90, 0.58);
  background: rgba(181, 113, 58, 0.08);
}

html:not([data-theme="dark"]) .key-card:hover {
  box-shadow:
    0 8px 18px rgba(67, 39, 24, 0.2),
    0 0 16px rgba(181, 113, 58, 0.18);
}

.key-card span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--honey);
  margin-bottom: 0.35rem;
}

.key-card h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 400;
  line-height: 1.25;
}

.key-card--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: sepia(0.25);
}

.key-card--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28, 15, 10, 0.92), rgba(28, 15, 10, 0.36));
}

.who-principles-section {
  background: var(--parchment);
}

.who-principle-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(107, 58, 42, 0.22);
}

.who-principle-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(107, 58, 42, 0.22);
}

.who-principle-list p {
  font-size: 1.06rem;
  color: var(--roast);
}

.principles-quote {
  margin-top: 2.7rem;
  border-left: 2px solid var(--caramel);
  padding-left: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  line-height: 1.45;
  color: var(--roast);
}

.mission-section {
  background: var(--espresso);
  color: var(--cream);
}

.mission-section h2 {
  color: var(--cream);
}

.mission-copy {
  display: grid;
  gap: 1.2rem;
}

.mission-copy p {
  color: rgba(245, 236, 215, 0.8);
  font-size: 1.06rem;
}

.mission-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.mission-outcomes article {
  min-height: 180px;
  border: 1px solid rgba(245, 236, 215, 0.18);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mission-outcomes p {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.45;
}

.mission-belief {
  margin-top: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(245, 236, 215, 0.24);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.6rem) !important;
  color: var(--cream) !important;
  line-height: 1.18 !important;
}

.qualities-section {
  background: var(--parchment);
}

.qualities-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 7vw, 5rem);
  align-items: start;
}

.qualities-image {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  min-height: 720px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--espresso);
}

.qualities-image img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  filter: sepia(0.25) saturate(0.78) brightness(0.62);
}

.qualities-image div {
  position: absolute;
  left: clamp(1.4rem, 4vw, 2.7rem);
  right: clamp(1.4rem, 4vw, 2.7rem);
  bottom: clamp(1.4rem, 4vw, 2.7rem);
}

.qualities-image p {
  color: rgba(245, 236, 215, 0.86);
  font-size: 1.02rem;
}

.qualities-accordion {
  margin-top: 2.6rem;
  border-top: 1px solid rgba(28, 15, 10, 0.26);
}

.qualities-accordion details {
  border-bottom: 1px solid rgba(28, 15, 10, 0.26);
  padding: 1.05rem clamp(1.1rem, 2.2vw, 1.75rem);
}

.qualities-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
}

.qualities-accordion summary::-webkit-details-marker {
  display: none;
}

.qualities-accordion summary::after {
  content: "+";
  color: var(--caramel);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform var(--duration) var(--ease);
}

.qualities-accordion details[open] summary::after {
  transform: rotate(45deg);
}

.qualities-accordion p {
  margin-top: 0.9rem;
  color: var(--mahogany);
  max-width: 58ch;
  padding-right: clamp(2.2rem, 4vw, 3.1rem);
}

.who-founder-section {
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--parchment) 100%);
  overflow: hidden;
  position: relative;
}

.who-founder-section .founder-layout {
  z-index: 1;
  position: relative;
}

.founder-layout__portrait {
  bottom: 0;
  height: clamp(21rem, 34vw, 30rem);
  left: max(clamp(1.5rem, 4vw, 4rem), calc((100vw - var(--max-width)) / 2 + clamp(0rem, 1vw, 1rem)));
  object-fit: contain;
  object-position: bottom left;
  pointer-events: none;
  position: absolute;
  width: auto;
  z-index: 0;
}

.founder-layout blockquote {
  border-left: 2px solid var(--caramel);
  padding-left: clamp(1.3rem, 3vw, 2rem);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.42;
  color: var(--roast);
}

.founder-layout cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mahogany);
  font-style: normal;
}

@media (max-width: 900px) {
  .founder-layout__portrait {
    display: block;
    height: clamp(18rem, 76vw, 28rem);
    margin: 2.5rem auto 0;
    max-width: min(86vw, 31rem);
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .who-slide {
    transition: none;
    transform: none;
  }
}

@media (max-width: 980px) {
  .who-hero {
    min-height: 680px;
  }

  .who-hero__shade {
    background:
      linear-gradient(0deg, rgba(28, 15, 10, 0.9) 0%, rgba(28, 15, 10, 0.28) 56%, rgba(28, 15, 10, 0.42) 100%),
      linear-gradient(90deg, rgba(28, 15, 10, 0.72) 0%, rgba(28, 15, 10, 0.12) 100%);
  }

  .who-hero__content {
    padding-top: 8.5rem;
    padding-bottom: 8rem;
  }

  .who-hero h1 {
    max-width: 11.5ch;
    font-size: clamp(2rem, 5.8vw, 3.25rem);
  }

  .who-hero__lead {
    max-width: 52ch;
  }

  .who-hero__captions {
    top: clamp(1.4rem, 4vw, 2.5rem);
    right: clamp(1.4rem, 4vw, 2.6rem);
    width: min(310px, 42vw);
    font-size: 0.78rem;
  }

  .who-split,
  .journey-intro,
  .principles-layout,
  .mission-layout,
  .founder-layout,
  .possibility-grid,
  .qualities-layout {
    grid-template-columns: 1fr;
  }

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

  .qualities-image {
    position: relative;
    top: auto;
    min-height: 520px;
  }

  .qualities-image img {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .who-hero {
    min-height: calc(100svh - var(--nav-height));
    align-items: end;
  }

  .who-hero__content {
    padding-top: 8rem;
    padding-bottom: 8.2rem;
  }

  .who-hero h1 {
    max-width: 11ch;
    font-size: clamp(1.68rem, 7.9vw, 2.18rem);
    line-height: 1.06;
  }

  .who-hero__lead {
    max-width: 31ch;
    font-size: 0.9rem;
    line-height: 1.56;
    margin-top: 1rem;
  }

  .who-hero__captions {
    display: block;
    top: 1.25rem;
    right: 1.4rem;
    width: min(19ch, 44vw);
    min-height: 2.7rem;
    padding-top: 0.62rem;
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .reality-panel,
  .reality-panel img,
  .possibility-image,
  .possibility-image img {
    min-height: 360px;
  }

  .reality-panel__note {
    display: none;
  }

  .keys-grid,
  .mission-outcomes {
    grid-template-columns: 1fr;
  }

  .who-principle-list li,
  .possibility-list article {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .possibility-list h3,
  .possibility-list p {
    grid-column: auto;
  }

  .qualities-image,
  .qualities-image img {
    min-height: 430px;
  }

  .qualities-accordion summary {
    align-items: flex-start;
  }
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--parchment);
  color: var(--espresso);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--caramel);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--honey);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--roast);
  letter-spacing: 0;
}

h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  font-size: 1rem;
  color: var(--mahogany);
  max-width: 68ch;
  margin-bottom: 1.15rem;
}

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

.lead {
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--mahogany);
  line-height: 1.75;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.4rem, 4vw, 3rem);
}

.section {
  padding: clamp(7.5rem, 10vw, var(--space-lg)) 0;
}

.section[id] {
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.page-content > section {
  scroll-margin-top: calc(var(--nav-height) + 2rem);
}

.section--large {
  padding: var(--space-xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--espresso);
  z-index: 100;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--mahogany);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav__brand {
  align-items: center;
  color: var(--cream);
  display: inline-flex;
  gap: 0.7rem;
}

.nav__brand:hover {
  color: var(--honey);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.nav__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__wordmark {
  color: currentColor;
  font-family: 'All Round Gothic', 'Raleway', system-ui, sans-serif;
  font-size: 1.72rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  transform: translateY(1px);
  -webkit-text-stroke: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--fog);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--caramel);
  transition: width var(--duration) var(--ease);
}

.nav__links a:hover {
  color: var(--cream);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a.active {
  color: var(--caramel);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav__caret {
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  flex: none;
  opacity: 0.75;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.nav__dropdown:hover .nav__caret {
  opacity: 1;
  transform: rotate(225deg) translate(-1px, -1px);
}

.nav__dropdown::after {
  content: '';
  position: absolute;
  left: -0.8rem;
  right: -0.8rem;
  top: 100%;
  height: 14px;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--roast);
  border: 1px solid var(--mahogany);
  border-radius: var(--radius-md);
  padding: var(--space-xs) 0;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 160ms var(--ease),
    transform 160ms var(--ease),
    visibility 0s linear 180ms;
  list-style: none;
  z-index: 120;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.nav__dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  color: var(--fog);
  letter-spacing: 0.05em;
  text-transform: none;
}

.nav__dropdown-menu li a:hover,
.nav__dropdown-menu li a:focus-visible,
.nav__dropdown-menu li a.active {
  background: var(--mahogany);
  color: var(--cream);
}

.nav__dropdown-menu li a::after {
  display: none;
}

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all var(--duration) var(--ease);
}

@media (max-width: 900px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--espresso);
    flex-direction: column;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--mahogany);
  }
  .nav__links.open { display: flex; }
}

/* --- Page Offset (for fixed nav) --- */
.page-content {
  padding-top: var(--nav-height);
}

/* --- Subtle Section Motion --- */
.motion-ready .page-content > section {
  opacity: 1;
  transform: none;
  transition: background-color 320ms var(--ease), color 320ms var(--ease);
}

.motion-ready .page-content > section.section-visible {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .page-content > section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Hero --- */
.hero {
  background: var(--espresso);
  color: var(--cream);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(181,113,58,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: var(--space-sm);
  display: block;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: var(--space-sm);
}

.hero .lead {
  color: var(--fog);
  max-width: 56ch;
  margin-bottom: var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--caramel);
  color: var(--espresso);
  border-color: var(--caramel);
}

.btn--primary:hover {
  background: var(--honey);
  border-color: var(--honey);
  color: var(--espresso);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--mahogany);
}

.btn--outline:hover {
  border-color: var(--caramel);
  color: var(--caramel);
}

.btn--dark {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--mahogany);
}

.btn--dark:hover {
  background: var(--roast);
  border-color: var(--caramel);
}

/* --- Cards --- */
.card {
  background: var(--cream);
  border: 1px solid var(--fog);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(28,15,10,0.12);
}

.card--dark {
  background: var(--roast);
  border-color: var(--mahogany);
  color: var(--cream);
}

.card--dark h3, .card--dark h4 {
  color: var(--honey);
}

.card--dark p {
  color: var(--fog);
}

.card__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: var(--space-xs);
  display: block;
}

/* --- Divider --- */
.divider {
  height: 1px;
  background: var(--fog);
  border: none;
  margin: var(--space-md) 0;
}

.divider--dark {
  background: var(--mahogany);
}

/* --- Section Labels --- */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: var(--space-sm);
  display: block;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mahogany);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--fog);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--espresso);
  transition: border-color var(--duration) var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--caramel);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Footer --- */
.footer {
  background: var(--espresso);
  color: var(--text-on-dark-soft);
  font-family: var(--font-display);
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--mahogany);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1fr;
  gap: var(--space-md);
  margin-bottom: 3.75rem;
}

.footer__brand {
  display: inline-flex;
  width: 88px;
  height: 88px;
  margin-bottom: 1.4rem;
}

.footer__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__tagline {
  color: rgba(245, 236, 215, 0.94);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 24ch;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(248, 239, 217, 0.76);
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover { color: var(--text-on-dark); }

.footer__bottom {
  border-top: 1px solid rgba(245, 236, 215, 0.14);
  padding-top: 1.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: rgba(237, 227, 208, 0.58);
}

.footer__bottom a {
  color: rgba(237, 227, 208, 0.7);
  transition: color var(--duration) var(--ease);
}

.footer__bottom a:hover {
  color: var(--honey);
}

.footer__legal {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.footer__legal-separator {
  color: rgba(212, 151, 90, 0.48);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 700px) {
  .footer {
    padding-top: 4rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin-bottom: 3rem;
  }

  .footer__tagline {
    max-width: 34ch;
  }

  .footer__bottom {
    align-items: flex-start;
    gap: 0.9rem;
    padding-top: 1.4rem;
    text-align: left;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-caramel { color: var(--caramel); }
.text-cream { color: var(--cream); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }

/* --- Decorative Coffee Ring --- */
.coffee-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--fog);
  position: absolute;
  opacity: 0.3;
  pointer-events: none;
}

/* --- Page Fade-In Animation --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes workScrollCue {
  0%, 100% { opacity: 0.5; transform: translateY(-3px) rotate(45deg); }
  50% { opacity: 1; transform: translateY(4px) rotate(45deg); }
}

.fade-up {
  animation: fadeUp 0.6s var(--ease) both;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.35s; }
.fade-up-4 { animation-delay: 0.5s; }

/* ============================================================
   Reimagined Home Page
   ============================================================ */

.nav__links {
  gap: 1.25rem;
}

.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.nav__logo {
  flex: 0 0 auto;
}

.nav__dropdown-menu {
  border-radius: 8px;
}

.kicker {
  color: var(--caramel);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.section--quiet {
  background: var(--parchment);
}

.section-intro {
  max-width: 820px;
  margin-bottom: 4.5rem;
}

.section-intro p:not(.section-label) {
  margin-top: 1rem;
  font-size: clamp(1.08rem, 1.45vw, 1.26rem);
  font-weight: 400;
  line-height: 1.72;
}

.section-intro--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro--center p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.btn--light {
  background: transparent;
  border-color: rgba(107, 58, 42, 0.24);
  color: var(--roast);
}

.btn--light:hover {
  border-color: var(--caramel);
  color: var(--caramel);
}

.home-hero {
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--espresso);
}

.home-hero__image,
.home-hero__overlay {
  position: absolute;
  inset: 0;
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.home-hero__overlay {
  background:
    linear-gradient(90deg, rgba(28, 15, 10, 0.96) 0%, rgba(28, 15, 10, 0.82) 42%, rgba(28, 15, 10, 0.42) 100%),
    linear-gradient(0deg, rgba(28, 15, 10, 0.48) 0%, rgba(28, 15, 10, 0.08) 45%, rgba(28, 15, 10, 0.28) 100%);
  z-index: -1;
}

.home-hero__content {
  padding-top: 8rem;
  padding-bottom: 11rem;
}

.home-hero h1 {
  color: var(--cream);
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: 0.95;
  max-width: 10.5ch;
}

.home-hero__lead {
  color: var(--fog);
  font-size: 1.22rem;
  line-height: 1.85;
  margin-top: 1.7rem;
  max-width: 50ch;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.home-hero__note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(245, 236, 215, 0.18);
  border-bottom: 1px solid rgba(245, 236, 215, 0.24);
  background: rgba(28, 15, 10, 0.92);
  backdrop-filter: blur(10px);
}

.home-hero__note span {
  color: var(--text-on-dark);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  padding: 1.1rem 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.home-hero__note span + span {
  border-left: 1px solid rgba(245, 236, 215, 0.16);
}

.purpose-section {
  padding-top: 9.5rem;
  padding-bottom: 9.5rem;
}

.purpose-statement {
  border-left: 3px solid var(--caramel);
  margin-bottom: 4.5rem;
  max-width: 920px;
  padding-left: 2.5rem;
}

.purpose-statement p {
  color: var(--roast);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.16;
  max-width: 30ch;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  background: transparent;
  border: 0;
  border-radius: 8px;
  overflow: visible;
}

.proof-grid article {
  background: rgba(245, 236, 215, 0.72);
  border: 1px solid rgba(107, 58, 42, 0.14);
  border-radius: 8px;
  min-height: 250px;
  padding: 2.6rem;
}

.proof-grid span,
.capability-list > article > span,
.principle-stack span,
.audience-grid span {
  color: var(--caramel);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.proof-grid h3 {
  color: var(--roast);
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.proof-grid p,
.audience-grid p {
  margin: 0;
}

.who-section {
  background: var(--cream);
}

.split-layout > div > h2 + .lead {
  margin-top: clamp(1.6rem, 3vw, 2.35rem);
}

.split-layout > div > .lead {
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
  font-weight: 500;
  line-height: 1.68;
}

.split-layout > div > .lead + p {
  color: var(--text-on-light-soft);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.86;
  margin-top: 1.45rem;
}

.split-layout > div > .inline-actions {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(4rem, 8vw, 7rem);
  align-items: center;
}

.principle-stack {
  border-top: 1px solid rgba(107, 58, 42, 0.18);
}

.principle-stack article {
  border-bottom: 1px solid rgba(107, 58, 42, 0.18);
  padding: 2.1rem 0;
}

.principle-stack h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.principle-stack p {
  margin: 0;
}

.audience-section {
  background: #160B08;
  border-bottom: 1px solid rgba(245, 236, 215, 0.16);
  color: var(--cream);
  padding-bottom: clamp(5rem, 7vw, 7rem);
}

.audience-section h2,
.audience-section .section-intro p:not(.section-label) {
  color: var(--cream);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.audience-grid article {
  background: linear-gradient(145deg, var(--surface-warm-card-soft), var(--surface-warm-card));
  border: 1px solid rgba(107, 58, 42, 0.16);
  border-radius: 8px;
  min-height: 280px;
  padding: 2.6rem;
  transition:
    background 260ms var(--ease),
    border-color 260ms var(--ease),
    box-shadow 260ms var(--ease),
    transform 260ms var(--ease);
}

.audience-grid h3 {
  color: var(--text-on-light);
  font-size: 1.45rem;
}

.founder-section {
  background: var(--espresso);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(245, 236, 215, 0.16);
  padding-top: clamp(5rem, 7vw, 7rem);
}

.founder-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: start;
}

.founder-section h2 {
  color: var(--text-on-dark);
}

.founder-quote blockquote {
  color: #D8A36D;
}

.founder-quote {
  margin: 0;
}

.founder-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
}

.founder-quote figcaption {
  border-top: 1px solid rgba(245, 236, 215, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 2rem;
  padding-top: 1rem;
}

.founder-quote strong {
  color: var(--honey);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.founder-quote span,
.founder-panel__closing {
  color: var(--text-on-dark-soft);
}

.founder-panel__closing {
  grid-column: 2;
  margin-top: -1rem;
  max-width: 68ch;
}

.values-section {
  background: var(--parchment);
}

.values-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.values-head p {
  margin: 0;
}

.value-matrix {
  border-top: 1px solid rgba(107, 58, 42, 0.22);
}

.value-matrix details {
  border-bottom: 1px solid rgba(107, 58, 42, 0.22);
  padding: 0;
}

.value-matrix summary {
  align-items: center;
  color: var(--roast);
  cursor: pointer;
  display: grid;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  column-gap: 1.6rem;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  list-style: none;
  padding: 1.75rem clamp(1.25rem, 3vw, 2rem);
}

.value-matrix summary::-webkit-details-marker {
  display: none;
}

.value-matrix summary::after {
  grid-column: 3;
  grid-row: 1;
  color: var(--caramel);
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  justify-self: end;
  line-height: 1;
}

.value-matrix details[open] summary::after {
  content: "-";
}

.value-matrix summary span {
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.value-matrix details p {
  margin: -0.35rem clamp(1.25rem, 3vw, 2rem) 2.2rem calc(clamp(1.25rem, 3vw, 2rem) + 5.6rem);
  max-width: 76ch;
}

.offerings-section {
  background: var(--cream);
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.capability-list article {
  align-items: start;
  background: var(--parchment);
  border: 1px solid rgba(107, 58, 42, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 4.5rem 1fr auto;
  padding: 2.25rem;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.capability-list article:hover {
  border-color: rgba(181, 113, 58, 0.55);
  transform: translateY(-2px);
}

.capability-list h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.capability-list p {
  margin: 0;
  max-width: 82ch;
}

.capability-list a {
  align-self: center;
  border-bottom: 1px solid currentColor;
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.velocity-section {
  background:
    linear-gradient(180deg, #F5ECD7 0%, #E8D6B7 100%);
  color: var(--text-on-light);
}

.velocity-panel h2,
.velocity-panel p {
  color: var(--text-on-light);
}

.velocity-panel h2 {
  max-width: 840px;
}

.velocity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3.5rem;
}

.velocity-grid p {
  border-top: 1px solid rgba(107, 58, 42, 0.24);
  color: var(--text-on-light-soft);
  margin: 0;
  padding-top: 1.2rem;
}

.insights-section {
  background: var(--espresso);
}

.insights-head {
  align-items: end;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr 0.58fr;
  margin-bottom: 3.8rem;
}

.insights-head h2 {
  color: var(--cream);
}

.insights-head p:not(.section-label),
.insights-grid p {
  color: var(--fog);
}

.insights-mantra {
  border-left: 2px solid var(--caramel);
  color: var(--honey) !important;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.35;
  margin: 0;
  padding-left: 1.2rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  background: transparent;
  border: 0;
  border-radius: 8px;
  overflow: visible;
}

.insights-grid a {
  border: 1px solid rgba(107, 58, 42, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--surface-warm-card-soft), #F6E8CE);
  color: var(--text-on-light);
  min-height: 240px;
  padding: 2.2rem;
  transition:
    background 260ms var(--ease),
    border-color 260ms var(--ease),
    box-shadow 260ms var(--ease),
    color 260ms var(--ease),
    transform 260ms var(--ease);
}

.insights-grid a:hover {
  background: #F2DDB9;
  color: var(--text-on-light);
}

.insights-grid span {
  color: var(--text-on-light);
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

.insights-grid p {
  color: var(--text-on-light-soft);
  margin: 0;
}

.connect-section {
  background:
    linear-gradient(180deg, var(--parchment) 0%, #F2E5CC 100%);
  position: relative;
  overflow: hidden;
}

.connect-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 15, 10, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(28, 15, 10, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  pointer-events: none;
}

.connect-grid {
  align-items: start;
  display: grid;
  gap: clamp(4rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  position: relative;
}

.connect-copy .lead {
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
  font-weight: 500;
  line-height: 1.68;
  margin-top: clamp(1.45rem, 2.4vw, 2rem);
}

.connect-copy .lead + p {
  color: var(--text-on-light-soft);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.86;
  margin-top: 1.45rem;
}

.connect-visual {
  background:
    radial-gradient(circle at 22% 22%, rgba(212, 151, 90, 0.24), transparent 34%),
    linear-gradient(145deg, var(--espresso), #2B160F 68%, #130907);
  border: 1px solid rgba(181, 113, 58, 0.32);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(28, 15, 10, 0.16);
  margin-top: 2.4rem;
  min-height: 360px;
  overflow: hidden;
  padding: 1.6rem;
  position: relative;
}

.connect-visual__mark {
  position: absolute;
  right: 1.4rem;
  top: 1.4rem;
  width: 68px;
  height: 68px;
  opacity: 0.28;
}

.connect-visual__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.coffee-map {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 300px;
  padding: 0.6rem 0 0.2rem;
  position: relative;
  width: 100%;
}

.coffee-map__image {
  filter: sepia(0.62) saturate(0.78) brightness(1.08);
  opacity: 0.34;
  width: 100%;
}

.coffee-map__pin {
  background: var(--caramel);
  border: 3px solid var(--text-on-dark);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
  height: 34px;
  left: 70.7%;
  position: absolute;
  top: 55.6%;
  transform: translate(-50%, -100%) rotate(-45deg);
  width: 34px;
  z-index: 2;
}

.coffee-map__pin::after {
  content: '';
  border-radius: 50%;
  height: 10px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  background: var(--text-on-dark);
}

.coffee-map__label {
  color: var(--text-on-dark);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  left: 70.7%;
  letter-spacing: 0.12em;
  position: absolute;
  text-align: center;
  top: 61%;
  transform: translateX(-50%);
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.72);
}

.connect-visual__caption {
  border-top: 1px solid rgba(245, 236, 215, 0.16);
  display: grid;
  gap: 0.3rem;
  margin-top: 0.6rem;
  padding-top: 1.2rem;
}

.connect-visual__caption span {
  color: var(--honey);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.connect-visual__caption strong {
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.contact-form {
  background:
    linear-gradient(180deg, rgba(250, 245, 236, 0.96), rgba(245, 236, 215, 0.96));
  border: 1px solid rgba(107, 58, 42, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(28, 15, 10, 0.11);
  padding: 2.6rem;
}

.contact-form__head {
  border-bottom: 1px solid rgba(107, 58, 42, 0.16);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  padding-right: 4.5rem;
  position: relative;
}

.contact-form__head img {
  position: absolute;
  right: 0;
  top: 0;
  width: 54px;
  height: 54px;
  object-fit: contain;
  opacity: 0.16;
}

.contact-form__head span {
  color: var(--caramel);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.contact-form__head h3 {
  color: var(--roast);
  margin-bottom: 0.7rem;
}

.contact-form__head p {
  font-size: 0.92rem;
  margin: 0;
}

.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form .form-group label {
  color: var(--roast);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  background: rgba(250, 245, 236, 0.7);
  border-color: rgba(107, 58, 42, 0.22);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
  background: var(--parchment);
  box-shadow: 0 0 0 4px rgba(181, 113, 58, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-form .btn {
  margin-top: 0.4rem;
  width: 100%;
  justify-content: center;
}

/* --- Why Connect Page --- */
.why-hero {
  background:
    linear-gradient(90deg, rgba(28, 15, 10, 0.98) 0%, rgba(28, 15, 10, 0.92) 48%, rgba(28, 15, 10, 0.82) 100%),
    radial-gradient(circle at 78% 42%, rgba(181, 113, 58, 0.28), transparent 34%);
  color: var(--cream);
  overflow: hidden;
  padding: clamp(7rem, 9vw, 9rem) 0 clamp(5.5rem, 7vw, 7.25rem);
  position: relative;
}

.why-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(181, 113, 58, 0.38);
}

.why-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 0.62fr);
  position: relative;
}

.why-hero__copy h1 {
  color: var(--cream);
  font-size: clamp(3.2rem, 5.1vw, 4.9rem);
  line-height: 0.98;
  max-width: 18ch;
}

.why-hero .inline-actions {
  align-items: center;
  flex-wrap: nowrap;
}

.why-hero__lead {
  color: var(--fog);
  font-size: 1.22rem;
  line-height: 1.82;
  margin-top: 1.8rem;
  max-width: 48ch;
}

.why-hero__visual {
  align-items: center;
  display: grid;
  justify-items: end;
  min-height: 420px;
  position: relative;
}

.why-hero__visual::before {
  content: none;
}

.why-hero__yin-yang {
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.28));
  max-width: min(340px, 74vw);
  width: 70%;
}

.why-hero__yin-ring {
  fill: var(--cream);
  stroke: rgba(212, 151, 90, 0.52);
  stroke-width: 6;
}

.why-hero__yin-dark {
  fill: var(--roast);
}

.why-hero__yin-dot--dark {
  fill: var(--roast);
}

.why-hero__yin-dot--light {
  fill: var(--cream);
}

.alignment-page-section {
  background: var(--parchment);
  padding-top: 9.5rem;
}

.alignment-page-section .lead,
.capability-panel .lead {
  font-size: 1rem;
  line-height: 1.8;
}

.alignment-page-section .split-layout,
.capability-panel,
.time-calibration__grid {
  align-items: start;
}

.alignment-page-section .split-layout > div:nth-child(2),
.capability-panel > div:nth-child(2) {
  padding-top: clamp(1.55rem, 2.6vw, 2rem);
}

.alignment-page-section h2,
.capability-panel h2,
.time-calibration h2 {
  max-width: 14ch;
}

.trust-standards {
  background: var(--cream);
}

.trust-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid article {
  background: var(--parchment);
  border: 1px solid rgba(107, 58, 42, 0.16);
  border-radius: 8px;
  min-height: 280px;
  padding: 2.4rem;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), background 260ms var(--ease), box-shadow 260ms var(--ease);
}

.trust-grid article:hover,
.trust-grid article:focus-within {
  background: linear-gradient(145deg, #F2C27F, #D8A36D);
  border-color: rgba(107, 58, 42, 0.26);
  box-shadow: 0 18px 42px rgba(107, 58, 42, 0.18);
  transform: translateY(-4px);
}

.trust-grid span,
.fit-item span,
.capability-contrast span {
  color: var(--caramel);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.trust-grid h3 {
  font-size: 1.42rem;
  margin-bottom: 0.8rem;
}

.trust-grid p {
  margin: 0;
}

html[data-theme="dark"] .trust-grid article {
  background: rgba(245, 236, 215, 0.055);
  border-color: rgba(245, 236, 215, 0.18);
}

html[data-theme="dark"] .trust-grid h3 {
  color: var(--text-on-dark);
}

html[data-theme="dark"] .trust-grid p {
  color: var(--text-on-dark-soft);
}

html[data-theme="dark"] .trust-grid span {
  color: var(--honey);
}

html[data-theme="dark"] .trust-grid article:hover,
html[data-theme="dark"] .trust-grid article:focus-within {
  background: linear-gradient(145deg, #F2C27F, #D8A36D);
  border-color: rgba(245, 236, 215, 0.36);
}

html[data-theme="dark"] .trust-grid article:hover h3,
html[data-theme="dark"] .trust-grid article:focus-within h3,
html[data-theme="dark"] .trust-grid article:hover p,
html[data-theme="dark"] .trust-grid article:focus-within p,
html[data-theme="dark"] .trust-grid article:hover span,
html[data-theme="dark"] .trust-grid article:focus-within span {
  color: #120A08;
}

.time-calibration {
  background: #160B08;
  color: var(--cream);
}

.time-calibration__grid {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.time-calibration h2,
.time-calibration p {
  color: var(--text-on-dark);
}

.time-calibration__copy {
  border-left: 2px solid rgba(245, 236, 215, 0.3);
  padding-left: 2rem;
}

.time-calibration__copy p {
  max-width: 70ch;
}

.fit-section {
  background: #F7F1E4;
}

.fit-section h2,
.fit-section h3 {
  color: var(--roast);
}

.fit-section .section-intro p:not(.section-label),
.fit-item p {
  color: var(--text-on-light-soft);
}

.fit-list {
  display: grid;
  gap: 1rem;
}

.fit-item {
  align-items: start;
  background: #F7F0E2;
  border: 1px solid rgba(107, 58, 42, 0.2);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(107, 58, 42, 0.045);
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 0.32fr 0.44fr 1fr;
  padding: 2rem;
}

.fit-item h3 {
  color: var(--roast);
  font-size: 1.45rem;
  max-width: 18ch;
}

.fit-item p {
  color: #6A4333;
  grid-column: 3;
  margin-bottom: 0.8rem;
}

.fit-item p:last-child {
  margin-bottom: 0;
}

html[data-theme="dark"] .fit-section {
  background: #120907;
  border-top: 1px solid rgba(245, 236, 215, 0.08);
}

html[data-theme="dark"] .fit-section h2,
html[data-theme="dark"] .fit-section h3 {
  color: var(--text-on-dark);
}

html[data-theme="dark"] .fit-section .section-intro p:not(.section-label),
html[data-theme="dark"] .fit-item p {
  color: var(--text-on-dark-soft);
}

html[data-theme="dark"] .fit-item {
  background: rgba(245, 236, 215, 0.06);
  border-color: rgba(245, 236, 215, 0.14);
}

html[data-theme="dark"] .fit-item span {
  color: var(--honey);
}

.capability-section {
  background: var(--espresso);
  color: var(--cream);
}

.capability-panel {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-bottom: 4rem;
}

.capability-section h2,
.capability-section p {
  color: var(--text-on-dark);
}

.capability-contrast {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, 1fr);
}

.capability-contrast article {
  background: rgba(245, 236, 215, 0.035);
  border: 1px solid rgba(245, 236, 215, 0.14);
  border-radius: 8px;
  padding: 2.2rem;
}

.capability-contrast ul {
  color: var(--text-on-dark-soft);
  display: grid;
  gap: 0.8rem;
  list-style: none;
}

.capability-contrast li {
  border-top: 1px solid rgba(245, 236, 215, 0.14);
  color: var(--text-on-dark-soft);
  padding-top: 0.8rem;
}

.decision-section {
  background: var(--parchment);
}

.decision-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, 1fr);
}

.decision-card {
  align-items: center;
  border: 1px solid rgba(107, 58, 42, 0.22);
  border-radius: 8px;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3rem);
  place-items: center;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition:
    background 360ms var(--ease),
    border-color 360ms var(--ease),
    box-shadow 360ms var(--ease),
    color 360ms var(--ease),
    transform 360ms var(--ease);
}

.decision-card--yes {
  background: #04AD66;
  border-color: rgba(4, 173, 102, 0.62);
  color: var(--text-on-dark);
}

.decision-card--no {
  background: #B84A3B;
  border-color: rgba(184, 74, 59, 0.62);
  color: var(--text-on-dark);
}

.decision-card:hover,
.decision-card:focus-visible {
  border-color: rgba(181, 113, 58, 0.5);
  box-shadow: 0 22px 60px rgba(28, 15, 10, 0.12);
  transform: translateY(-3px);
}

.decision-card--yes:hover,
.decision-card--yes:focus-visible {
  background: #F0E3CC;
  color: var(--roast);
}

.decision-card--no:hover,
.decision-card--no:focus-visible {
  background: #FFFFFF;
  border-color: rgba(107, 58, 42, 0.16);
  color: var(--roast);
}

.decision-card__word,
.decision-card__message {
  grid-area: 1 / 1;
  width: 100%;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}

.decision-card__word {
  color: currentColor;
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 10vw, 8.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  place-self: center;
  text-align: center;
}

.decision-card__message {
  color: currentColor;
  font-family: "Caveat", "Segoe Script", "Bradley Hand ITC", cursive;
  font-size: clamp(1.05rem, 1.7vw, 1.48rem);
  font-weight: 400;
  line-height: 1.38;
  max-width: 15ch;
  opacity: 0;
  place-self: center;
  text-align: center;
  transform: translateY(14px);
}

.decision-card__illustration {
  bottom: 0;
  height: min(94%, 26rem);
  max-width: 60%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
  z-index: 0;
}

.decision-card__illustration--yes {
  object-position: bottom right;
  right: 0;
  transform: translate(10%, 7%) scale(0.96);
}

.decision-card__illustration--no {
  left: 0;
  object-position: bottom left;
  transform: translate(-10%, 7%) scale(0.96);
}

.decision-card:hover .decision-card__word,
.decision-card:focus-visible .decision-card__word {
  opacity: 0;
  transform: translateY(-14px);
}

.decision-card:hover .decision-card__message,
.decision-card:focus-visible .decision-card__message {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

.decision-card:hover .decision-card__illustration,
.decision-card:focus-visible .decision-card__illustration {
  opacity: 0.96;
  transform: translate(0, 0) scale(1);
}

.decision-card--yes:hover .decision-card__message,
.decision-card--yes:focus-visible .decision-card__message {
  align-self: start;
  color: #2A120B;
  justify-self: start;
  max-width: 14ch;
  text-align: left;
}

.decision-card--no:hover .decision-card__message,
.decision-card--no:focus-visible .decision-card__message {
  align-self: start;
  color: #2A120B;
  justify-self: end;
  max-width: 14ch;
  text-align: right;
}

/* --- How We Work Page --- */
.work-hero {
  background:
    linear-gradient(90deg, rgba(28, 15, 10, 0.98) 0%, rgba(28, 15, 10, 0.9) 48%, rgba(28, 15, 10, 0.78) 100%),
    radial-gradient(circle at 78% 44%, rgba(212, 151, 90, 0.26), transparent 36%);
  color: var(--cream);
  overflow: hidden;
  padding: clamp(7rem, 10vw, 10rem) 0;
  position: relative;
}

html:not([data-theme="dark"]) .work-hero {
  background:
    linear-gradient(90deg, rgba(22, 11, 8, 0.99) 0%, rgba(28, 15, 10, 0.96) 48%, rgba(42, 26, 19, 0.9) 100%),
    radial-gradient(circle at 78% 44%, rgba(181, 113, 58, 0.2), transparent 34%);
}

.work-hero::after {
  background: rgba(245, 236, 215, 0.16);
  bottom: 0;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.work-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(4rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
}

.work-hero__copy h1 {
  color: var(--cream);
  font-size: clamp(2.85rem, 5.2vw, 4.95rem);
  line-height: 1.02;
  max-width: 12.5ch;
}

.work-hero__lead {
  color: var(--fog);
  font-size: 1.22rem;
  line-height: 1.82;
  margin-top: 1.8rem;
  max-width: 38rem;
}

.work-hero__scroll-cue {
  align-items: center;
  border: 1px solid rgba(245, 236, 215, 0.34);
  border-radius: 999px;
  display: inline-flex;
  height: 3rem;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  width: 3rem;
}

.work-hero__scroll-cue span {
  border-bottom: 2px solid var(--honey);
  border-right: 2px solid var(--honey);
  display: block;
  height: 0.72rem;
  transform: rotate(45deg);
  width: 0.72rem;
  animation: workScrollCue 1.8s var(--ease) infinite;
}

.work-hero__scroll-cue:hover,
.work-hero__scroll-cue:focus-visible {
  background: rgba(245, 236, 215, 0.1);
  border-color: rgba(212, 151, 90, 0.7);
}

.work-hero__visual {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 460px;
}

.work-hero__image {
  border-radius: 10px;
  display: block;
  max-width: min(100%, 520px);
  width: 100%;
  height: clamp(480px, 56vw, 680px);
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
  mix-blend-mode: screen;
  opacity: 0.88;
}

.work-orbit {
  aspect-ratio: 1;
  border: 1px solid rgba(245, 236, 215, 0.22);
  border-radius: 50%;
  display: grid;
  max-width: 460px;
  place-items: center;
  position: relative;
  width: min(82vw, 460px);
}

.work-orbit::before,
.work-orbit::after {
  border: 1px solid rgba(212, 151, 90, 0.24);
  border-radius: 50%;
  content: '';
  position: absolute;
}

.work-orbit::before {
  inset: 15%;
}

.work-orbit::after {
  inset: 31%;
}

.work-orbit__point {
  align-items: center;
  background: var(--cream);
  border: 1px solid rgba(212, 151, 90, 0.8);
  border-radius: 50%;
  color: var(--roast);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  height: 3rem;
  justify-content: center;
  position: absolute;
  width: 3rem;
  z-index: 2;
}

.work-orbit__point--one { left: 46%; top: -1.5rem; }
.work-orbit__point--two { right: 2.5rem; top: 20%; }
.work-orbit__point--three { bottom: 12%; right: 4.5rem; }
.work-orbit__point--four { bottom: 12%; left: 4.5rem; }
.work-orbit__point--five { left: 2.5rem; top: 20%; }

.work-orbit__core {
  align-items: center;
  background: rgba(245, 236, 215, 0.08);
  border: 1px solid rgba(245, 236, 215, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 0.2rem;
  min-height: 190px;
  padding: 2rem;
  place-items: center;
  position: relative;
  text-align: center;
  width: 190px;
  z-index: 1;
}

.work-orbit__core span {
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work-orbit__core strong {
  color: var(--cream);
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
}

.work-promise {
  background: var(--parchment);
}

.work-promise__grid > div:nth-child(2) {
  padding-top: clamp(2.55rem, 4vw, 3.25rem);
}

.work-promise__grid,
.work-philosophy__grid,
.work-client__grid,
.work-focus__panel {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.work-philosophy {
  background: var(--espresso);
  color: var(--cream);
}

.work-philosophy h2,
.work-philosophy .section-label {
  color: var(--cream);
}

.work-philosophy__statement p {
  color: var(--honey);
}

.work-philosophy__statement {
  align-self: center;
  border-left: 1px solid rgba(245, 236, 215, 0.24);
  padding-left: clamp(2rem, 5vw, 4rem);
}

.work-philosophy__statement p {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5.1rem);
  font-weight: 800;
  line-height: 0.98;
  max-width: 9ch;
}

.work-principles {
  background: #F7F1E4;
}

.principle-list {
  display: grid;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.principle-item {
  align-items: start;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(107, 58, 42, 0.14);
  border-radius: 8px;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 4rem minmax(220px, 0.62fr) minmax(0, 1fr);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.principle-item span,
.method-track span {
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
}

.principle-item h3 {
  max-width: 16ch;
}

.principle-item p {
  line-height: 1.8;
  margin: 0;
}

.work-method {
  background:
    linear-gradient(180deg, rgba(250, 245, 236, 0.94), rgba(245, 236, 215, 0.92)),
    repeating-linear-gradient(90deg, rgba(107, 58, 42, 0.08) 0 1px, transparent 1px 120px);
}

.method-track {
  counter-reset: method;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: clamp(3.2rem, 6vw, 5.25rem);
  position: relative;
}

.method-track article {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(107, 58, 42, 0.15);
  border-radius: 8px;
  min-height: 360px;
  padding: 1.7rem;
  position: relative;
}

.method-track article:nth-child(-n + 3) {
  grid-column: span 2;
}

.method-track article:nth-child(n + 4) {
  grid-column: span 3;
}

.method-track article::before {
  background: var(--caramel);
  content: '';
  height: 2px;
  left: 1.7rem;
  position: absolute;
  right: 1.7rem;
  top: 4.4rem;
}

.method-track h3 {
  font-size: 1.24rem;
  margin: 2.4rem 0 1rem;
}

.method-track p {
  font-size: 0.94rem;
  line-height: 1.75;
}

.work-client {
  background: var(--parchment);
}

.work-client__grid > div:nth-child(2) {
  padding-top: clamp(2.55rem, 4vw, 3.25rem);
}

.client-expectations {
  display: grid;
  gap: 1.2rem;
}

.client-expectations article {
  border-bottom: 1px solid rgba(107, 58, 42, 0.2);
  padding-bottom: 1.5rem;
}

.client-expectations h3 {
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
}

.work-focus {
  background: #160B08;
  color: var(--cream);
}

.work-focus h2,
.work-focus .section-label {
  color: var(--cream);
}

.work-focus h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.15rem);
  line-height: 1.04;
  max-width: 10.5ch;
}

.work-focus p {
  color: var(--fog);
}

.work-focus__panel {
  align-items: start;
  border: 1px solid rgba(245, 236, 215, 0.18);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 4rem);
}

.work-focus__panel > div:nth-child(2) {
  padding-top: clamp(2.55rem, 4vw, 3.25rem);
}

/* --- Services Page --- */
.services-hero {
  background:
    linear-gradient(90deg, rgba(28, 15, 10, 0.98) 0%, rgba(28, 15, 10, 0.9) 48%, rgba(28, 15, 10, 0.8) 100%),
    radial-gradient(circle at 82% 44%, rgba(181, 113, 58, 0.28), transparent 34%);
  color: var(--cream);
  overflow: hidden;
  padding: clamp(7rem, 10vw, 10rem) 0;
  position: relative;
}

.services-hero::after {
  background: rgba(245, 236, 215, 0.16);
  bottom: 0;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.services-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(4rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}

.services-hero h1 {
  color: var(--cream);
  font-size: clamp(3.2rem, 5.8vw, 5.6rem);
  line-height: 0.98;
  max-width: 12ch;
}

.services-hero__lead {
  color: var(--fog);
  font-size: 1.2rem;
  line-height: 1.82;
  margin-top: 1.8rem;
  max-width: 40rem;
}

.services-hero__visual {
  display: grid;
  min-height: 460px;
  place-items: center;
}

.service-compass {
  aspect-ratio: 1;
  border: 1px solid rgba(245, 236, 215, 0.2);
  border-radius: 50%;
  display: grid;
  max-width: 460px;
  place-items: center;
  position: relative;
  width: min(82vw, 460px);
}

.service-compass::before,
.service-compass::after {
  border: 1px solid rgba(212, 151, 90, 0.24);
  border-radius: 50%;
  content: '';
  position: absolute;
}

.service-compass::before {
  inset: 16%;
}

.service-compass::after {
  background: transparent;
  border-radius: 50%;
  inset: 28%;
}

.service-compass__logo {
  display: block;
  max-width: 210px;
  opacity: 0.92;
  position: relative;
  width: 50%;
  z-index: 2;
}

.service-compass span {
  background: var(--cream);
  border: 1px solid rgba(212, 151, 90, 0.76);
  border-radius: 999px;
  color: var(--roast);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.75rem;
  position: absolute;
  text-transform: uppercase;
  z-index: 2;
}

.service-compass span:nth-child(1) { top: -0.8rem; }
.service-compass span:nth-child(2) { right: -1.4rem; top: 28%; }
.service-compass span:nth-child(3) { bottom: 8%; right: 3rem; }
.service-compass span:nth-child(4) { bottom: 8%; left: 2.2rem; }
.service-compass span:nth-child(5) { left: -1.3rem; top: 28%; }

.services-intent {
  background: var(--parchment);
}

.services-intent__grid,
.service-shape__grid,
.services-close__panel {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.services-intent__grid > div:nth-child(2),
.services-close__panel > div:nth-child(2) {
  padding-top: clamp(2.05rem, 3.4vw, 2.8rem);
}

.expertise-section {
  background: #160B08;
  color: var(--cream);
}

.expertise-head {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.expertise-head h2 {
  color: var(--cream);
  max-width: 13ch;
}

.expertise-head p:not(.section-label) {
  color: var(--fog);
}

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

.expertise-card {
  background: rgba(245, 236, 215, 0.04);
  border: 1px solid rgba(245, 236, 215, 0.16);
  border-radius: 8px;
  color: var(--cream);
  cursor: default;
  display: grid;
  min-height: 270px;
  overflow: hidden;
  padding: 1.35rem;
  position: relative;
  transition:
    background 360ms var(--ease),
    border-color 360ms var(--ease),
    transform 360ms var(--ease);
}

.expertise-card::before {
  background: linear-gradient(180deg, rgba(212, 151, 90, 0.16), rgba(212, 151, 90, 0));
  content: '';
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 360ms var(--ease);
}

.expertise-card span {
  color: var(--honey);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  position: relative;
  z-index: 1;
}

.expertise-card h3,
.expertise-card p {
  grid-area: 2 / 1;
  position: relative;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
  z-index: 1;
}

.expertise-card h3 {
  align-self: end;
  color: var(--cream);
  font-size: 1.28rem;
  margin: 0;
}

.expertise-card p {
  align-self: center;
  color: var(--fog);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
}

.expertise-card:hover,
.expertise-card:focus-visible {
  background: rgba(59, 31, 20, 0.74);
  border-color: rgba(212, 151, 90, 0.62);
  transform: translateY(-3px);
}

.expertise-card:hover::before,
.expertise-card:focus-visible::before {
  opacity: 1;
}

.expertise-card:hover h3,
.expertise-card:focus-visible h3 {
  opacity: 0;
  transform: translateY(-12px);
}

.expertise-card:hover p,
.expertise-card:focus-visible p {
  opacity: 1;
  transform: translateY(0);
}

.service-pathways {
  background: var(--cream);
}

.service-pathway-list {
  display: grid;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.service-pathway-list article {
  align-items: start;
  background: var(--parchment);
  border: 1px solid rgba(107, 58, 42, 0.16);
  border-radius: 8px;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 4rem minmax(0, 1fr) minmax(110px, 0.18fr);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}

.service-pathway-list article:hover {
  border-color: rgba(181, 113, 58, 0.5);
  transform: translateY(-2px);
}

.service-pathway-list article > span,
.shape-steps span {
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
}

.service-pathway-list h3 {
  margin-bottom: 0.7rem;
}

.service-pathway-list p {
  max-width: 76ch;
}

.service-pathway-list ul {
  color: var(--mahogany);
  display: grid;
  gap: 0.35rem;
  line-height: 1.7;
  list-style: none;
  margin-top: 1.2rem;
}

.service-pathway-list li {
  padding-left: 1.1rem;
  position: relative;
}

.service-pathway-list li::before {
  background: var(--caramel);
  border-radius: 50%;
  content: '';
  height: 0.34rem;
  left: 0;
  position: absolute;
  top: 0.7rem;
  width: 0.34rem;
}

.service-pathway-list a {
  align-self: center;
  border-bottom: 1px solid currentColor;
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 600;
  justify-self: end;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-shape {
  background: var(--parchment);
}

.shape-steps {
  display: grid;
  gap: 1rem;
}

.shape-steps article {
  border-bottom: 1px solid rgba(107, 58, 42, 0.2);
  display: grid;
  gap: 1rem;
  grid-template-columns: 3rem 1fr;
  padding-bottom: 1.5rem;
}

.shape-steps h3,
.shape-steps p {
  grid-column: 2;
  margin: 0;
}

.services-close {
  background: #160B08;
  color: var(--cream);
}

.services-close h2,
.services-close .section-label {
  color: var(--cream);
}

.services-close p {
  color: var(--fog);
}

.services-close__panel {
  border: 1px solid rgba(245, 236, 215, 0.18);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 4rem);
}

.services-close .inline-actions {
  align-items: stretch;
  flex-direction: column;
  width: min(100%, 22rem);
}

.services-close .inline-actions .btn {
  justify-content: center;
  width: 100%;
}

/* --- Service Detail Pages --- */
.service-detail-page {
  background:
    radial-gradient(circle at 88% 10%, rgba(181, 113, 58, 0.1), transparent 24rem),
    radial-gradient(circle at 12% 28%, rgba(117, 131, 109, 0.11), transparent 26rem),
    var(--parchment);
}

.service-detail-hero {
  background:
    linear-gradient(115deg, rgba(28, 15, 10, 0.98), rgba(43, 22, 14, 0.94) 54%, rgba(28, 15, 10, 0.9)),
    radial-gradient(circle at 78% 42%, rgba(212, 151, 90, 0.22), transparent 34%);
  color: var(--cream);
  overflow: hidden;
  padding: clamp(6.5rem, 10vw, 10.5rem) 0 clamp(6rem, 9vw, 9rem);
  position: relative;
}

.service-detail-hero::before {
  background:
    linear-gradient(90deg, rgba(245, 236, 215, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(245, 236, 215, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 0;
  opacity: 0.48;
  pointer-events: none;
  position: absolute;
}

.service-detail-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
  position: relative;
  z-index: 1;
}

.service-detail-hero h1 {
  color: var(--cream);
  font-size: clamp(3.3rem, 6.6vw, 6.7rem);
  line-height: 0.94;
  max-width: 10ch;
}

.service-detail-hero__lead {
  color: rgba(245, 236, 215, 0.84);
  font-size: clamp(1.08rem, 1.32vw, 1.24rem);
  line-height: 1.75;
  margin-top: 1.6rem;
  max-width: 43rem;
}

.cognitive-field {
  aspect-ratio: 1;
  border: 1px solid rgba(245, 236, 215, 0.16);
  border-radius: 50%;
  display: grid;
  min-height: 430px;
  place-items: center;
  position: relative;
}

.cognitive-field::before {
  background:
    radial-gradient(circle, rgba(212, 151, 90, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(245, 236, 215, 0.08), transparent 58%);
  background-size: 24px 24px, auto;
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.cognitive-field__ring {
  border: 1px solid rgba(212, 151, 90, 0.3);
  border-radius: 50%;
  position: absolute;
}

.cognitive-field__ring--one { inset: 8%; animation: slowSpin 24s linear infinite; }
.cognitive-field__ring--two { inset: 22%; animation: slowSpin 18s linear reverse infinite; }
.cognitive-field__ring--three { inset: 36%; animation: slowSpin 30s linear infinite; }

.cognitive-field__core {
  align-items: center;
  background: rgba(245, 236, 215, 0.08);
  border: 1px solid rgba(245, 236, 215, 0.22);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  padding: 2.2rem;
  position: relative;
  z-index: 1;
}

.cognitive-field__core strong {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.cognitive-field__core span,
.cognitive-field__note {
  color: var(--honey);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cognitive-field__note {
  background: var(--cream);
  border-radius: 999px;
  color: var(--roast);
  padding: 0.55rem 0.75rem;
  position: absolute;
  z-index: 2;
}

.cognitive-field__note--one { left: 5%; top: 30%; }
.cognitive-field__note--two { right: 10%; top: 17%; }
.cognitive-field__note--three { bottom: 17%; right: 13%; }

.service-thesis {
  background: var(--parchment);
}

.service-thesis__grid,
.service-process__grid,
.service-fit__panel,
.service-close__grid {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.service-thesis h2 {
  max-width: 11ch;
}

.service-thesis__copy {
  display: grid;
  gap: 1.2rem;
  padding-top: clamp(2.2rem, 4vw, 3.35rem);
}

.service-dark {
  background: #160B08;
  color: var(--cream);
}

.service-dark h2,
.service-dark h3,
.service-dark .section-label {
  color: var(--cream);
}

.service-dark .section-intro p:not(.section-label),
.service-dark p {
  color: rgba(245, 236, 215, 0.78);
}

.cognitive-pillars {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
}

.cognitive-pillars article,
.outcome-grid article,
.fit-list article {
  border-radius: 8px;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease), background-color 260ms var(--ease);
}

.cognitive-pillars article {
  background: rgba(245, 236, 215, 0.05);
  border: 1px solid rgba(245, 236, 215, 0.15);
  min-height: 310px;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.cognitive-pillars article:hover,
.outcome-grid article:hover,
.fit-list article:hover {
  transform: translateY(-3px);
}

.cognitive-pillars span,
.process-rail span {
  color: var(--honey);
  font-family: var(--font-mono);
  font-weight: 700;
}

.cognitive-pillars h3 {
  margin-top: 5rem;
}

.cognitive-pillars h3 + p {
  margin-top: 1.1rem;
}

.service-process {
  background: var(--cream);
}

.service-sticky-copy {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.service-sticky-copy h2 + p {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
}

.service-process__grid > div:nth-child(2) {
  padding-top: clamp(2.2rem, 4vw, 3.35rem);
}

.process-rail {
  display: grid;
  gap: 1rem;
}

.process-rail article {
  background: var(--parchment);
  border: 1px solid rgba(107, 58, 42, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem 1.25rem;
  grid-template-columns: 3rem 1fr;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.process-rail h3,
.process-rail p {
  grid-column: 2;
  margin: 0;
}

.service-outcomes {
  background: var(--parchment);
}

.service-outcomes__head {
  max-width: 760px;
}

.outcome-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
}

.outcome-grid article {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(107, 58, 42, 0.14);
  min-height: 240px;
  padding: 1.45rem;
}

.outcome-grid article h3 + p {
  margin-top: 1.1rem;
}

.service-fit {
  background:
    linear-gradient(180deg, rgba(28, 15, 10, 0.96), rgba(59, 31, 20, 0.92)),
    radial-gradient(circle at 14% 22%, rgba(181, 113, 58, 0.2), transparent 28rem);
  color: var(--cream);
}

.service-fit h2,
.service-fit .section-label {
  color: var(--cream);
}

.service-fit__panel {
  border: 1px solid rgba(245, 236, 215, 0.16);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 4rem);
}

.service-fit__panel > div:nth-child(2),
.service-close__grid > div:nth-child(2) {
  padding-top: clamp(2.2rem, 4vw, 3.35rem);
}

.service-fit .fit-list {
  display: grid;
  gap: 0.9rem;
}

.service-fit .fit-list article {
  background: rgba(245, 236, 215, 0.08);
  border: 1px solid rgba(245, 236, 215, 0.14);
  padding: 1.25rem;
}

.service-fit .fit-list strong {
  color: var(--honey);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.service-fit .fit-list p {
  color: rgba(245, 236, 215, 0.78);
  margin: 0;
}

.service-close {
  background: var(--parchment);
}

.service-close h2 {
  max-width: 12ch;
}

.service-close .inline-actions {
  align-items: stretch;
  flex-direction: column;
  width: min(100%, 22rem);
}

.service-close .inline-actions .btn {
  justify-content: center;
  min-height: 3.35rem;
  width: 100%;
}

html:not([data-theme="dark"]) .service-detail-page .service-close .btn--outline {
  border-color: rgba(67, 39, 24, 0.34);
  color: var(--espresso);
}

html:not([data-theme="dark"]) .service-detail-page .service-close .btn--outline:hover,
html:not([data-theme="dark"]) .service-detail-page .service-close .btn--outline:focus-visible {
  color: #041B12;
}

html[data-theme="dark"] .service-detail-page,
html[data-theme="dark"] .service-thesis,
html[data-theme="dark"] .service-outcomes,
html[data-theme="dark"] .service-close {
  background: #120a07;
}

html[data-theme="dark"] .service-process {
  background: #1a100b;
}

html[data-theme="dark"] .process-rail article,
html[data-theme="dark"] .outcome-grid article {
  background: rgba(245, 236, 215, 0.06);
  border-color: rgba(245, 236, 215, 0.14);
}

html[data-theme="dark"] .service-detail-page h2,
html[data-theme="dark"] .service-detail-page h3 {
  color: var(--cream);
}

html[data-theme="dark"] .service-detail-page p,
html[data-theme="dark"] .service-detail-page li {
  color: rgba(245, 236, 215, 0.78);
}

@media (hover: hover) {
  html:not([data-theme="dark"]) .service-detail-page .cognitive-pillars article:hover,
  html:not([data-theme="dark"]) .service-detail-page .outcome-grid article:hover,
  html:not([data-theme="dark"]) .service-detail-page .fit-list article:hover,
  html:not([data-theme="dark"]) .service-detail-page .process-rail article:hover {
    box-shadow:
      0 8px 18px rgba(67, 39, 24, 0.18),
      0 0 12px rgba(181, 113, 58, 0.13);
  }
}

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

/* --- Policy Pages --- */
.policy-hero {
  background:
    linear-gradient(135deg, rgba(28, 15, 10, 0.98), rgba(59, 31, 20, 0.9)),
    radial-gradient(circle at 76% 26%, rgba(181, 113, 58, 0.26), transparent 32%);
  color: var(--cream);
  padding: clamp(7rem, 10vw, 10rem) 0 clamp(5.5rem, 8vw, 8rem);
}

.policy-hero__inner {
  max-width: 900px;
}

.policy-hero h1 {
  color: var(--cream);
  font-size: clamp(3.3rem, 7vw, 6.2rem);
  line-height: 0.96;
  max-width: 11ch;
}

.policy-hero__lead {
  color: var(--fog);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.82;
  margin-top: 1.8rem;
  max-width: 52rem;
}

.policy-meta {
  border-top: 1px solid rgba(245, 236, 215, 0.18);
  color: rgba(245, 236, 215, 0.72);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  gap: 1rem;
  letter-spacing: 0.08em;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  text-transform: uppercase;
}

.policy-section {
  background: linear-gradient(180deg, #F7F1E4 0%, var(--parchment) 100%);
}

.policy-layout {
  align-items: start;
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
}

.policy-toc {
  border-left: 2px solid rgba(181, 113, 58, 0.45);
  padding-left: 1.1rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.policy-toc span {
  color: var(--caramel);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.policy-toc a {
  color: var(--mahogany);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.7rem 0;
}

.policy-content {
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(107, 58, 42, 0.14);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 4rem);
}

.policy-note {
  background: rgba(28, 15, 10, 0.04);
  border-left: 2px solid var(--caramel);
  color: var(--mahogany);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: clamp(2.8rem, 5vw, 4rem);
  padding: 1.2rem 1.4rem;
}

.policy-block {
  border-top: 1px solid rgba(107, 58, 42, 0.16);
  padding: clamp(2rem, 4vw, 3rem) 0;
  scroll-margin-top: calc(var(--nav-height) + 2rem);
}

.policy-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.policy-block:last-child {
  padding-bottom: 0;
}

.policy-block h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 1.1rem;
}

.policy-block h3 {
  font-size: 1.18rem;
  margin: 1.6rem 0 0.6rem;
}

.policy-block p,
.policy-block li {
  color: var(--mahogany);
  font-size: 1.02rem;
  line-height: 1.78;
}

.policy-block p + p {
  margin-top: 1rem;
}

.policy-block ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin-top: 1rem;
}

.policy-block li {
  padding-left: 1.25rem;
  position: relative;
}

.policy-block li::before {
  background: var(--caramel);
  border-radius: 50%;
  content: '';
  height: 0.34rem;
  left: 0;
  position: absolute;
  top: 0.75rem;
  width: 0.34rem;
}

.policy-callout {
  background: #160B08;
  border-radius: 8px;
  color: var(--cream);
  margin-top: 1.4rem;
  padding: 1.4rem;
}

.policy-callout p,
.policy-callout li {
  color: var(--fog);
}

.policy-callout strong {
  color: var(--cream);
}

/* --- AI Guide Page --- */
.ai-guide-page .policy-hero h1 {
  max-width: 12ch;
}

.ai-resource-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.6rem 0 clamp(2.6rem, 4vw, 3.5rem);
}

.ai-resource-card {
  background: rgba(245, 236, 215, 0.68);
  border: 1px solid rgba(107, 58, 42, 0.18);
  border-radius: 8px;
  color: var(--espresso);
  display: grid;
  gap: 0.6rem;
  min-height: 10rem;
  padding: 1.35rem;
  text-decoration: none;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.ai-resource-card:hover,
.ai-resource-card:focus-visible {
  background: #F3E4C7;
  border-color: rgba(181, 113, 58, 0.46);
  box-shadow: 0 10px 22px rgba(67, 39, 24, 0.14);
  transform: translateY(-3px);
}

.ai-resource-card span {
  color: var(--caramel);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ai-resource-card strong {
  color: var(--espresso);
  font-size: 1.15rem;
}

.ai-resource-card p {
  color: var(--mahogany);
  font-size: 0.94rem;
  line-height: 1.55;
}

.ai-token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.ai-token-list code {
  background: rgba(28, 15, 10, 0.06);
  border: 1px solid rgba(107, 58, 42, 0.13);
  border-radius: 999px;
  color: var(--mahogany);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.38rem 0.62rem;
}

.ai-page-map {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.ai-page-map article {
  background: rgba(245, 236, 215, 0.42);
  border: 1px solid rgba(107, 58, 42, 0.14);
  border-radius: 8px;
  padding: 1.2rem 1.25rem;
}

.ai-page-map h3 {
  color: var(--espresso);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.ai-page-map ul {
  gap: 0.38rem;
  margin-top: 0;
}

.ai-reference-list strong {
  color: var(--espresso);
}

.ai-machine-note {
  background: #160B08;
  border: 1px solid rgba(224, 163, 95, 0.22);
  border-radius: 8px;
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.7;
  margin-top: 1.2rem;
  padding: 1.2rem 1.35rem;
  white-space: pre-wrap;
}

html[data-theme="dark"] .ai-guide-page .policy-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(224, 163, 95, 0.1), transparent 30%),
    linear-gradient(180deg, #120A08 0%, #1A100C 100%);
}

html[data-theme="dark"] .ai-guide-page .policy-content {
  background: rgba(36, 24, 18, 0.72);
  border-color: rgba(245, 236, 215, 0.13);
}

html[data-theme="dark"] .ai-guide-page .policy-note,
html[data-theme="dark"] .ai-guide-page .ai-page-map article {
  background: rgba(245, 236, 215, 0.045);
  border-color: rgba(245, 236, 215, 0.13);
}

html[data-theme="dark"] .ai-guide-page .policy-block p,
html[data-theme="dark"] .ai-guide-page .policy-block li,
html[data-theme="dark"] .ai-guide-page .policy-note,
html[data-theme="dark"] .ai-guide-page .ai-resource-card p {
  color: #D8B08B;
}

html[data-theme="dark"] .ai-guide-page .policy-toc a,
html[data-theme="dark"] .ai-guide-page .ai-page-map h3,
html[data-theme="dark"] .ai-guide-page .ai-resource-card strong,
html[data-theme="dark"] .ai-guide-page .ai-reference-list strong {
  color: #F8EFD9;
}

html[data-theme="dark"] .ai-guide-page .ai-resource-card {
  background: rgba(28, 15, 10, 0.68);
  border-color: rgba(245, 236, 215, 0.13);
  color: #F8EFD9;
}

html[data-theme="dark"] .ai-guide-page .ai-resource-card:hover,
html[data-theme="dark"] .ai-guide-page .ai-resource-card:focus-visible {
  background: rgba(59, 31, 20, 0.78);
  border-color: rgba(224, 163, 95, 0.42);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .ai-guide-page .ai-token-list code {
  background: rgba(245, 236, 215, 0.06);
  border-color: rgba(245, 236, 215, 0.12);
  color: #D8B08B;
}

/* --- Contact Page --- */
.contact-hero {
  background:
    linear-gradient(90deg, rgba(28, 15, 10, 0.96) 0%, rgba(28, 15, 10, 0.88) 48%, rgba(59, 31, 20, 0.64) 100%),
    url('../images/contact/hero-initiate-contact.png') center right/cover;
  color: var(--cream);
  min-height: clamp(620px, 76vh, 780px);
  padding: clamp(5.5rem, 7vw, 7.5rem) 0 clamp(4.75rem, 6vw, 6.5rem);
}

.contact-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.46fr);
  min-height: calc(clamp(620px, 76vh, 780px) - clamp(10rem, 13vw, 14rem));
}

.contact-hero h1 {
  color: var(--cream);
  font-size: clamp(3.1rem, 6.4vw, 5.8rem);
  line-height: 0.96;
  max-width: 12ch;
}

.contact-hero__lead {
  color: var(--fog);
  font-size: clamp(1.12rem, 1.7vw, 1.28rem);
  line-height: 1.76;
  margin-top: 1.6rem;
  max-width: 47rem;
}

.contact-hero__note {
  border-left: 2px solid var(--caramel);
  color: rgba(245, 236, 215, 0.82);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  padding-left: 1.4rem;
}

.contact-criteria {
  background: var(--parchment);
}

.criteria-head {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.criteria-head p:not(.section-label) {
  color: var(--mahogany);
  line-height: 1.78;
}

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

.criteria-card {
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(107, 58, 42, 0.15);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  overflow: hidden;
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.criteria-card:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(181, 113, 58, 0.52);
  transform: translateY(-6px);
}

.criteria-card img {
  aspect-ratio: 1.45;
  display: block;
  object-fit: cover;
  width: 100%;
}

.criteria-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.criteria-card__body span {
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.criteria-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

.criteria-card p {
  color: var(--mahogany);
  line-height: 1.7;
}

.dialogue-section {
  background:
    linear-gradient(180deg, rgba(22, 11, 8, 0.98), rgba(28, 15, 10, 0.96)),
    radial-gradient(circle at 78% 18%, rgba(181, 113, 58, 0.22), transparent 34%);
  color: var(--cream);
  scroll-margin-top: calc(var(--nav-height) + 3rem);
}

.dialogue-grid {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.9fr);
}

.dialogue-copy {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.dialogue-copy h2,
.dialogue-copy .section-label {
  color: var(--cream);
}

.dialogue-copy p {
  color: var(--fog);
  font-size: 1.08rem;
  line-height: 1.82;
  margin-top: 1.4rem;
}

.dialogue-principles {
  border-top: 1px solid rgba(245, 236, 215, 0.16);
  display: grid;
  gap: 0.8rem;
  margin-top: 2.2rem;
  padding-top: 1.5rem;
}

.dialogue-principles li {
  color: rgba(245, 236, 215, 0.78);
  font-size: 0.98rem;
  line-height: 1.65;
  list-style: none;
  padding-left: 1.2rem;
  position: relative;
}

.dialogue-principles li::before {
  background: var(--honey);
  border-radius: 50%;
  content: '';
  height: 0.34rem;
  left: 0;
  position: absolute;
  top: 0.64rem;
  width: 0.34rem;
}

.contact-page-form {
  background: #F7F1E4;
  border: 1px solid rgba(245, 236, 215, 0.2);
  border-radius: 8px;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.18);
  color: var(--espresso);
  padding: clamp(1.6rem, 4vw, 3rem);
}

.contact-page-form__head {
  border-bottom: 1px solid rgba(107, 58, 42, 0.15);
  margin-bottom: 2rem;
  padding-bottom: 1.6rem;
}

.contact-page-form__head span {
  color: var(--caramel);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.contact-page-form__head h3 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.contact-page-form__head p {
  color: var(--mahogany);
  line-height: 1.72;
}

.contact-page-form textarea {
  min-height: 170px;
}

.contact-page-form .btn {
  justify-content: center;
  margin-top: 0.5rem;
  width: 100%;
}

.contact-form-note {
  color: rgba(107, 58, 42, 0.78);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 1.2rem;
}

/* --- Contract Structure Page --- */
.contract-hero {
  background:
    linear-gradient(90deg, rgba(28, 15, 10, 0.98) 0%, rgba(28, 15, 10, 0.91) 50%, rgba(28, 15, 10, 0.78) 100%),
    radial-gradient(circle at 78% 42%, rgba(181, 113, 58, 0.28), transparent 34%);
  color: var(--cream);
  overflow: hidden;
  padding: clamp(7rem, 10vw, 10rem) 0;
  position: relative;
}

.contract-hero::after {
  background: rgba(245, 236, 215, 0.16);
  bottom: 0;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.contract-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(4rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
}

.contract-hero h1 {
  color: var(--cream);
  font-size: clamp(3.2rem, 5.8vw, 5.7rem);
  line-height: 0.98;
  max-width: 11ch;
}

.contract-hero__lead {
  color: var(--fog);
  font-size: 1.2rem;
  line-height: 1.82;
  margin-top: 1.8rem;
  max-width: 40rem;
}

.contract-hero__visual {
  display: grid;
  min-height: 460px;
  place-items: center;
}

.contract-hero__image {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(245, 236, 215, 0.2);
  border-radius: 8px;
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.32);
  display: block;
  max-height: clamp(30rem, 46vw, 44rem);
  object-fit: cover;
  object-position: center;
  width: min(100%, 30rem);
}

.contract-stack {
  aspect-ratio: 1;
  border: 1px solid rgba(245, 236, 215, 0.18);
  border-radius: 50%;
  display: grid;
  max-width: 460px;
  place-items: center;
  position: relative;
  width: min(82vw, 460px);
}

.contract-stack::before,
.contract-stack::after {
  border: 1px solid rgba(212, 151, 90, 0.24);
  border-radius: 50%;
  content: '';
  position: absolute;
}

.contract-stack::before {
  inset: 16%;
}

.contract-stack::after {
  inset: 32%;
}

.contract-stack span {
  background: rgba(245, 236, 215, 0.08);
  border: 1px solid rgba(245, 236, 215, 0.18);
  border-radius: 8px;
  color: var(--fog);
  font-size: 0.8rem;
  left: 50%;
  min-width: 230px;
  padding: 0.8rem 1rem;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
}

.contract-stack span:nth-child(1) { top: 13%; }
.contract-stack span:nth-child(2) { top: 28%; }
.contract-stack span:nth-child(3) {
  bottom: 13%;
  top: auto;
}

.contract-stack strong {
  background: var(--cream);
  border: 1px solid rgba(212, 151, 90, 0.72);
  border-radius: 8px;
  color: var(--roast);
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.15;
  max-width: 14ch;
  padding: 1.3rem;
  position: relative;
  text-align: center;
  z-index: 2;
}

.contract-philosophy {
  background: var(--parchment);
}

.contract-philosophy__grid,
.contract-safeguards__grid,
.legal-foundation__panel,
.contract-close__panel {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contract-quote {
  border-left: 2px solid var(--caramel);
  padding-left: clamp(1.6rem, 4vw, 3rem);
}

.contract-quote p {
  color: var(--roast);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 20ch;
}

.contract-two-phase {
  background: #F7F1E4;
}

.contract-phase-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
}

.contract-phase-grid article {
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(107, 58, 42, 0.16);
  border-radius: 8px;
  min-height: 560px;
  padding: clamp(1.6rem, 3vw, 2.5rem);
}

.contract-phase-grid span,
.contract-section-list span,
.dispute-ladder span {
  color: var(--sage);
  display: inline-block;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.contract-phase-grid h3 {
  margin-bottom: 1rem;
}

.contract-phase-grid ul {
  color: var(--mahogany);
  display: grid;
  gap: 0.55rem;
  line-height: 1.7;
  list-style: none;
  margin-top: 1.4rem;
}

.contract-phase-grid li {
  padding-left: 1.1rem;
  position: relative;
}

.contract-phase-grid li::before {
  background: var(--caramel);
  border-radius: 50%;
  content: '';
  height: 0.34rem;
  left: 0;
  position: absolute;
  top: 0.72rem;
  width: 0.34rem;
}

.contract-spine {
  background: #160B08;
  color: var(--cream);
}

.contract-spine__head {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.contract-spine h2,
.contract-spine h3,
.contract-spine .section-label {
  color: var(--cream);
}

.contract-spine__head p:not(.section-label),
.contract-section-list p {
  color: var(--fog);
}

.contract-section-list {
  border-top: 1px solid rgba(245, 236, 215, 0.16);
  display: grid;
}

.contract-section-list article {
  align-items: start;
  border-bottom: 1px solid rgba(245, 236, 215, 0.16);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 4rem minmax(220px, 0.58fr) minmax(0, 1fr);
  padding: clamp(1.8rem, 3vw, 2.6rem) 0;
}

.contract-section-list span,
.dispute-ladder span {
  color: var(--honey);
}

.contract-section-list h3 {
  font-size: 1.4rem;
  max-width: 18ch;
}

.contract-section-list p {
  margin: 0;
  max-width: 68ch;
}

.contract-safeguards {
  background: var(--parchment);
}

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

.safeguard-grid article {
  background: rgba(245, 236, 215, 0.55);
  border: 1px solid rgba(107, 58, 42, 0.14);
  border-radius: 8px;
  min-height: 230px;
  padding: 1.5rem;
}

.safeguard-grid h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.dispute-section {
  background:
    linear-gradient(180deg, rgba(250, 245, 236, 0.94), rgba(245, 236, 215, 0.92)),
    repeating-linear-gradient(90deg, rgba(107, 58, 42, 0.08) 0 1px, transparent 1px 120px);
}

.dispute-ladder {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
}

.dispute-ladder article {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(107, 58, 42, 0.15);
  border-radius: 8px;
  min-height: 330px;
  padding: 1.5rem;
}

.dispute-ladder h3 {
  margin-bottom: 1rem;
}

.legal-foundation {
  background: var(--parchment);
}

.legal-foundation__panel {
  border: 1px solid rgba(107, 58, 42, 0.16);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 4rem);
}

.contract-close {
  background: #160B08;
  color: var(--cream);
}

.contract-close h2,
.contract-close .section-label {
  color: var(--cream);
}

.contract-close p {
  color: var(--fog);
}

.contract-close__panel {
  border: 1px solid rgba(245, 236, 215, 0.18);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 4rem);
}

.legal-foundation__panel > div:nth-child(2),
.contract-close__panel > div:nth-child(2) {
  padding-top: clamp(2.05rem, 3.4vw, 2.8rem);
}

.contract-close .inline-actions .btn {
  min-width: min(100%, 17rem);
}

.footer__brand {
  flex: 0 0 auto;
}

.footer__address {
  border-bottom: 1px solid rgba(245, 236, 215, 0.12);
  color: rgba(248, 239, 217, 0.82);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0 0 1.15rem;
  padding-bottom: 1.15rem;
}

.footer__links li {
  color: rgba(248, 239, 217, 0.72);
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--espresso);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem var(--space-md) 1rem;
    border-bottom: 1px solid var(--mahogany);
  }

  .nav__links.open { display: flex; }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 0.7rem 0;
  }

  .nav__dropdown > a {
    display: flex;
    justify-content: space-between;
  }

  .nav__dropdown::after {
    display: none;
  }

  .nav__dropdown:hover .nav__caret {
    transform: rotate(45deg) translateY(-1px);
  }

  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    background: transparent;
    border: 0;
    border-radius: 0;
    min-width: 0;
    padding: 0 0 0.4rem 1rem;
  }

  .nav__dropdown-menu li a {
    padding: 0.45rem 0;
  }

  .home-hero h1 { font-size: 4rem; }
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.45rem; }

  .proof-grid,
  .audience-grid,
  .velocity-grid,
  .insights-grid,
  .trust-grid,
  .capability-contrast,
  .decision-grid,
  .expertise-grid,
  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .split-layout,
  .founder-panel,
  .values-head,
  .insights-head,
  .connect-grid,
  .why-hero__grid,
  .time-calibration__grid,
  .capability-panel,
  .work-hero__grid,
  .work-promise__grid,
  .work-philosophy__grid,
  .work-client__grid,
  .work-focus__panel,
  .services-hero__grid,
  .services-intent__grid,
  .expertise-head,
  .service-shape__grid,
  .services-close__panel,
  .contact-hero__grid,
  .criteria-head,
  .dialogue-grid,
  .contract-hero__grid,
  .contract-philosophy__grid,
  .contract-safeguards__grid,
  .legal-foundation__panel,
  .contract-close__panel,
  .contract-spine__head {
    grid-template-columns: 1fr;
  }

  .services-hero__visual {
    min-height: 380px;
  }

  .services-intent__grid > div:nth-child(2),
  .services-close__panel > div:nth-child(2) {
    padding-top: 0;
  }

  .contract-hero__visual {
    min-height: 380px;
  }

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

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

  .service-detail-hero__grid,
  .service-thesis__grid,
  .service-process__grid,
  .service-fit__panel,
  .service-close__grid {
    grid-template-columns: 1fr;
  }

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

  .service-sticky-copy {
    position: static;
  }

  .service-thesis__copy,
  .service-process__grid > div:nth-child(2),
  .service-fit__panel > div:nth-child(2),
  .service-close__grid > div:nth-child(2) {
    padding-top: 0;
  }

  .contract-phase-grid,
  .safeguard-grid,
  .dispute-ladder {
    grid-template-columns: 1fr;
  }

  .contract-phase-grid article,
  .dispute-ladder article {
    min-height: auto;
  }

  .legal-foundation__panel > div:nth-child(2),
  .contract-close__panel > div:nth-child(2) {
    padding-top: 0;
  }

  .expertise-card {
    min-height: 260px;
  }

  .work-hero__visual {
    min-height: 380px;
  }

  .work-promise__grid > div:nth-child(2) {
    padding-top: 0;
  }

  .work-client__grid > div:nth-child(2) {
    padding-top: 0;
  }

  .work-hero__image {
    max-width: min(100%, 440px);
    height: clamp(420px, 72vw, 560px);
  }

  .work-focus__panel > div:nth-child(2) {
    padding-top: 0;
  }

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

  .method-track article:nth-child(n) {
    grid-column: auto;
  }

  .why-hero__visual {
    min-height: 360px;
  }

  .fit-item {
    grid-template-columns: 1fr;
  }

  .principle-item {
    grid-template-columns: 3.2rem minmax(0, 1fr);
  }

  .principle-item p {
    grid-column: 2;
  }

  .fit-item h3 {
    max-width: none;
  }

  .fit-item p {
    grid-column: auto;
  }

  .founder-panel__closing {
    grid-column: auto;
    margin-top: 0;
  }

  .capability-list article {
    grid-template-columns: 3rem 1fr;
  }

  .service-pathway-list article {
    grid-template-columns: 3rem 1fr;
  }

  .contract-section-list article {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .capability-list a {
    grid-column: 2;
    justify-self: start;
  }

  .service-pathway-list a {
    grid-column: 2;
    justify-self: start;
  }

  .contract-section-list p {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 5.5rem 0;
  }

  .home-hero {
    min-height: 720px;
  }

  .home-hero__content {
    padding-top: 4rem;
    padding-bottom: 11rem;
  }

  .home-hero h1 {
    font-size: 3rem;
  }

  h1 { font-size: 2.65rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }

  .home-hero__lead,
  .why-hero__lead,
  .work-hero__lead,
  .services-hero__lead,
  .contract-hero__lead,
  .lead {
    font-size: 1.08rem;
  }

  .why-hero {
    padding: 5rem 0 4rem;
  }

  .why-hero__copy h1 {
    font-size: 3rem;
  }

  .why-hero .inline-actions {
    flex-wrap: wrap;
  }

  .why-hero__visual {
    min-height: 280px;
  }

  .work-hero {
    padding: 5rem 0 4rem;
  }

  .work-hero__copy h1 {
    font-size: 2.55rem;
  }

  .work-hero__visual {
    min-height: 290px;
  }

  .services-hero {
    padding: 5rem 0 4rem;
  }

  .services-hero h1 {
    font-size: 3rem;
  }

  .service-detail-hero {
    padding: 5rem 0 4.5rem;
  }

  .service-detail-hero h1 {
    font-size: 3.25rem;
  }

  .service-detail-hero__lead {
    font-size: 1.05rem;
  }

  .cognitive-field {
    min-height: 300px;
  }

  .cognitive-field__note {
    font-size: 0.62rem;
    padding: 0.45rem 0.58rem;
  }

  .cognitive-pillars,
  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .cognitive-pillars article,
  .outcome-grid article {
    min-height: auto;
  }

  .cognitive-pillars h3 {
    margin-top: 3rem;
  }

  .process-rail article {
    grid-template-columns: 2.5rem 1fr;
  }

  .services-hero__visual {
    min-height: 300px;
  }

  .contact-hero {
    min-height: auto;
    padding: 5rem 0 4rem;
  }

  .contact-hero h1 {
    font-size: 3rem;
  }

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

  .criteria-card {
    min-height: auto;
  }

  .dialogue-copy {
    position: static;
  }

  .policy-hero {
    padding: 5rem 0 4.5rem;
  }

  .policy-hero h1 {
    font-size: 3.05rem;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-toc {
    position: static;
  }

  .ai-resource-grid {
    grid-template-columns: 1fr;
  }

  .contract-hero {
    padding: 5rem 0 4rem;
  }

  .contract-hero h1 {
    font-size: 3rem;
  }

  .contract-hero__visual {
    min-height: 300px;
  }

  .contract-hero__image {
    max-height: 30rem;
    width: min(100%, 22rem);
  }

  .contract-stack {
    width: min(76vw, 300px);
  }

  .contract-stack span {
    font-size: 0.68rem;
    min-width: 190px;
    padding: 0.55rem 0.7rem;
  }

  .contract-stack strong {
    font-size: 1rem;
    padding: 1rem;
  }

  .service-compass {
    width: min(76vw, 300px);
  }

  .service-compass__logo {
    width: 48%;
  }

  .service-compass span {
    font-size: 0.58rem;
    padding: 0.42rem 0.55rem;
  }

  .service-compass span:nth-child(2) { right: -0.8rem; }
  .service-compass span:nth-child(3) { bottom: 6%; right: 1.5rem; }
  .service-compass span:nth-child(4) { bottom: 6%; left: 1rem; }
  .service-compass span:nth-child(5) { left: -0.8rem; }

  .work-orbit {
    width: min(78vw, 300px);
  }

  .work-orbit__point {
    font-size: 0.68rem;
    height: 2.45rem;
    width: 2.45rem;
  }

  .work-orbit__point--one { top: -1.2rem; }
  .work-orbit__point--two { right: 0.8rem; }
  .work-orbit__point--three { bottom: 8%; right: 2rem; }
  .work-orbit__point--four { bottom: 8%; left: 2rem; }
  .work-orbit__point--five { left: 0.8rem; }

  .work-orbit__core {
    min-height: 140px;
    padding: 1.2rem;
    width: 140px;
  }

  .work-orbit__core strong {
    font-size: 1.24rem;
  }

  .work-philosophy__statement {
    border-left: 0;
    border-top: 1px solid rgba(245, 236, 215, 0.24);
    padding-left: 0;
    padding-top: 1.4rem;
  }

  .work-philosophy__statement p {
    font-size: 2.6rem;
  }

  .why-hero__visual::before {
    font-size: 0.64rem;
  }

  .why-hero__yin-yang {
    max-width: 260px;
    width: 78%;
  }

  .home-hero__note {
    grid-template-columns: 1fr;
  }

  .home-hero__note span {
    padding: 0.85rem 1rem;
  }

  .home-hero__note span + span {
    border-left: 0;
    border-top: 1px solid rgba(245, 236, 215, 0.16);
  }

  .purpose-statement {
    padding-left: 1.2rem;
  }

  .purpose-statement p,
  .founder-quote blockquote {
    font-size: 1.65rem;
  }

  .proof-grid article,
  .audience-grid article,
  .insights-grid a,
  .trust-grid article,
  .fit-item,
  .capability-contrast article,
  .decision-card,
  .principle-item,
  .method-track article,
  .expertise-card,
  .service-pathway-list article {
    min-height: auto;
    padding: 1.4rem;
  }

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

  .expertise-card {
    min-height: 230px;
  }

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

  .contract-section-list article {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .contract-section-list p {
    grid-column: auto;
  }

  .contract-quote {
    border-left: 0;
    border-top: 2px solid var(--caramel);
    padding-left: 0;
    padding-top: 1.4rem;
  }

  .contract-quote p {
    font-size: 1.65rem;
    max-width: none;
  }

  .service-pathway-list a {
    grid-column: auto;
  }

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

  .shape-steps h3,
  .shape-steps p {
    grid-column: auto;
  }

  .principle-item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .principle-item p {
    grid-column: auto;
  }

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

  .method-track article:nth-child(n) {
    grid-column: auto;
  }

  .method-track article::before {
    top: 3.9rem;
  }

  .time-calibration__copy {
    border-left: 0;
    border-top: 1px solid rgba(245, 236, 215, 0.3);
    padding-left: 0;
    padding-top: 1.4rem;
  }

  .alignment-page-section .split-layout > div:nth-child(2),
  .capability-panel > div:nth-child(2) {
    padding-top: 0;
  }

  .capability-panel {
    margin-bottom: 2.2rem;
  }

  .decision-card {
    min-height: 260px;
  }

  .value-matrix summary {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    font-size: 1.12rem;
  }

  .value-matrix details p {
    margin-left: 0;
  }

  .capability-list article {
    grid-template-columns: 1fr;
    padding: 1.3rem;
  }

  .capability-list a {
    grid-column: auto;
  }

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

  .connect-visual {
    min-height: 300px;
    padding: 1rem;
  }

  .connect-visual__mark {
    width: 52px;
    height: 52px;
  }

  .coffee-map {
    min-height: 230px;
  }

  .contact-form {
    padding: 1.25rem;
  }
}

/* ============================================================
   MOBILE NAVIGATION REFINEMENT
   ============================================================ */

@media (max-width: 1080px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav {
    height: var(--nav-height);
  }

  .nav__inner {
    padding: 0 clamp(1.1rem, 5vw, 2rem);
  }

  .nav__brand,
  .nav__hamburger,
  .theme-toggle {
    position: relative;
    z-index: 2;
  }

  .nav__hamburger {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(245, 236, 215, 0.18);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease);
  }

  .nav__hamburger:hover {
    background: rgba(245, 236, 215, 0.06);
    border-color: rgba(245, 236, 215, 0.32);
  }

  .nav__hamburger span {
    width: 22px;
    transform-origin: center;
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
  }

  .nav__hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav__hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__links {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    max-height: none;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    align-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    background:
      linear-gradient(180deg, rgba(28, 15, 10, 0.98), rgba(28, 15, 10, 0.94)),
      var(--espresso);
    border-top: 0;
    border-bottom: 0;
    padding:
      calc(var(--nav-height) + clamp(1rem, 4vw, 1.4rem))
      clamp(1.35rem, 6vw, 2.5rem)
      2.4rem;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 220ms var(--ease),
      transform 220ms var(--ease),
      visibility 0s linear 240ms;
    z-index: 1;
  }

  .nav__links.open {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav__links > li {
    width: 100%;
    border-bottom: 1px solid rgba(245, 236, 215, 0.1);
  }

  .nav__links > li > a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    color: var(--cream);
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 4vw, 1.28rem);
    font-weight: 700;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__links a.active {
    color: var(--honey);
  }

  .nav__dropdown > a {
    display: flex;
    justify-content: space-between;
  }

  .nav__dropdown::after {
    display: none;
  }

  .nav__dropdown:hover .nav__caret,
  .nav__dropdown .nav__caret {
    opacity: 0.9;
    transform: rotate(45deg) translateY(-1px);
  }

  .nav__dropdown.is-open .nav__caret {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .nav__dropdown-menu {
    position: static;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    transition: max-height 260ms var(--ease), padding 260ms var(--ease);
  }

  .nav__dropdown:hover .nav__dropdown-menu {
    transform: none;
  }

  .nav__dropdown.is-open .nav__dropdown-menu {
    max-height: 440px;
    padding: 0.15rem 0 0.9rem;
  }

  .nav__dropdown-menu li {
    border: 0;
  }

  .nav__dropdown-menu li a {
    min-height: 44px;
    padding: 0.48rem 0 0.48rem 1rem;
    color: rgba(245, 236, 215, 0.78);
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 500;
    letter-spacing: 0;
  }

  .nav__dropdown-menu li a:hover,
  .nav__dropdown-menu li a.active {
    color: var(--honey);
  }
}

/* Final Who hero spacing overrides. Kept late so they beat .container. */
.who-hero__content.container {
  padding-left: clamp(1.6rem, 4vw, 3rem);
  padding-right: clamp(1.6rem, 4vw, 3rem);
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: clamp(7.2rem, 10vw, 9.5rem);
}

.who-hero__captions span {
  transition: none;
}

@media (max-width: 980px) {
  .who-hero__content.container {
    padding-top: 8.5rem;
    padding-bottom: 8rem;
  }
}

@media (max-width: 680px) {
  .who-hero {
    min-height: max(780px, calc(108svh - var(--nav-height)));
  }

  .who-hero__content.container {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
    padding-top: 8rem;
    padding-bottom: 8.2rem;
  }
}

/* Who hero layout refresh inspired by the supplied composition mockup. */
.who-hero {
  --who-hero-visual-height: clamp(640px, calc(86svh - var(--nav-height)), 820px);
  display: block;
  min-height: 0;
  padding-top: var(--who-hero-visual-height);
  background: var(--parchment);
}

.who-hero__slides,
.who-hero__shade {
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  height: var(--who-hero-visual-height);
}

.who-slide img {
  object-position: center center;
  filter: sepia(0.28) saturate(0.76) contrast(1.05) brightness(1.06);
}

.who-hero__shade {
  background:
    linear-gradient(90deg, rgba(28, 15, 10, 0.46) 0%, rgba(28, 15, 10, 0.2) 44%, rgba(28, 15, 10, 0.22) 100%),
    linear-gradient(0deg, rgba(28, 15, 10, 0.66) 0%, rgba(28, 15, 10, 0.08) 48%, rgba(28, 15, 10, 0.26) 100%),
    rgba(181, 113, 58, 0.13);
}

.who-hero__content.container {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 100%;
  height: var(--who-hero-visual-height);
  max-width: var(--max-width);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(2.4rem, 5vw, 4rem) clamp(2.8rem, 5.2vw, 4rem);
}

.who-hero .kicker {
  color: var(--honey);
  font-size: clamp(0.88rem, 1.1vw, 1.05rem);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.who-hero h1 {
  max-width: 400px;
  color: rgba(245, 236, 215, 0.96);
  font-size: clamp(2rem, 3.15vw, 3.05rem);
  font-weight: 400;
  line-height: 1.14;
  text-shadow: 0 2px 18px rgba(28, 15, 10, 0.48);
}

.who-hero h1 strong {
  font-weight: 800;
  color: var(--cream);
}

.who-hero__slide-controls {
  display: flex;
  align-items: center;
  gap: 0.46rem;
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

.who-hero__slide-controls button {
  width: clamp(2.3rem, 4vw, 3.65rem);
  height: 0.28rem;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 236, 215, 0.28);
  box-shadow: 0 1px 12px rgba(28, 15, 10, 0.24);
  cursor: pointer;
  padding: 0;
  transition:
    background var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    width var(--duration) var(--ease);
}

.who-hero__slide-controls button:hover,
.who-hero__slide-controls button:focus-visible {
  background: rgba(245, 236, 215, 0.64);
  outline: none;
  transform: translateY(-1px);
}

.who-hero__slide-controls button.is-active {
  width: clamp(3rem, 5vw, 4.8rem);
  background: var(--honey);
}

.who-hero__captions {
  z-index: 3;
  top: clamp(1.7rem, 3.4vw, 3rem);
  right: clamp(2.2rem, 5vw, 4rem);
  width: min(520px, 46vw);
  min-height: auto;
  border-top: 0;
  padding-top: 0;
  text-align: right;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.75rem;
}

.who-hero__cue-button {
  width: 40px;
  height: 40px;
  margin-left: 0;
  border: 1px solid rgba(245, 236, 215, 0.42);
  border-radius: var(--radius-md);
  background: rgba(28, 15, 10, 0.26);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  backdrop-filter: blur(8px);
  flex: 0 0 auto;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.who-hero__cue-button:hover,
.who-hero__cue-button:focus-visible {
  background: rgba(245, 236, 215, 0.16);
  border-color: rgba(245, 236, 215, 0.72);
  color: var(--honey);
}

.who-hero__cue-button span:not(.sr-only) {
  position: static;
  display: inline-block;
  opacity: 1;
  transform: translateY(-2px);
  transition: none;
}

.who-hero__captions.is-open .who-hero__cue-button {
  background: rgba(28, 15, 10, 0.32);
  border-color: rgba(245, 236, 215, 0.56);
  color: var(--cream);
  transform: none;
}

.who-hero__captions.is-open .who-hero__cue-button span:not(.sr-only) {
  transform: translateY(-2px) rotate(45deg);
}

.who-hero__cue-panel {
  position: relative;
  display: grid;
  margin-top: 0;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(245, 236, 215, 0.14);
  border-radius: var(--radius-md);
  background: rgba(28, 15, 10, 0.88);
  box-shadow: 0 12px 30px rgba(28, 15, 10, 0.24);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(0.76rem, 0.88vw, 0.86rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  max-width: calc(100% - 64px);
  white-space: normal;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.who-hero__cue-panel span {
  position: static;
  display: none;
  opacity: 1;
  transform: none;
  transition: none;
}

.who-hero__cue-panel span.is-active {
  display: block;
}

.who-hero__captions.is-open .who-hero__cue-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.who-hero__lead-bar {
  position: relative;
  z-index: 4;
  background: var(--parchment);
  border-bottom: 1px solid rgba(107, 58, 42, 0.12);
  padding: clamp(1.45rem, 2.4vw, 2.1rem) 0 clamp(1.8rem, 3vw, 2.8rem);
}

.who-hero__lead-bar .container {
  padding-left: clamp(2.4rem, 5vw, 4rem);
  padding-right: clamp(2.4rem, 5vw, 4rem);
}

.who-hero__lead {
  max-width: 92ch;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.35;
  margin: 0;
}

@media (max-width: 980px) {
  .who-hero {
    --who-hero-visual-height: clamp(620px, 80svh, 760px);
  }

  .who-hero__content.container {
    padding-left: clamp(1.6rem, 4vw, 2.5rem);
    padding-right: clamp(1.6rem, 4vw, 2.5rem);
    padding-bottom: clamp(2.8rem, 6vw, 4rem);
  }

  .who-hero h1 {
    max-width: 13ch;
    font-size: clamp(1.9rem, 5.6vw, 2.8rem);
  }

  .who-hero__captions {
    right: clamp(1.6rem, 4vw, 2.5rem);
    width: min(470px, 62vw);
  }
}

@media (max-width: 680px) {
  .who-hero {
    --who-hero-visual-height: min(760px, calc(100svh - var(--nav-height) - 4rem));
    min-height: 0;
  }

  .who-slide img {
    object-position: center top;
  }

  .who-hero__content.container {
    padding-left: 1.45rem;
    padding-right: 1.45rem;
    padding-bottom: 3rem;
  }

  .who-hero .kicker {
    font-size: 0.76rem;
    margin-bottom: 0.55rem;
  }

  .who-hero h1 {
    max-width: 11.5ch;
    font-size: clamp(1.45rem, 6.8vw, 1.95rem);
    line-height: 1.08;
  }

  .who-hero__captions {
    top: 1.25rem;
    right: 1.45rem;
    width: min(330px, calc(100% - 2.9rem));
    display: block;
    display: flex;
  }

  .who-hero__cue-button {
    width: 38px;
    height: 38px;
    font-size: 1.82rem;
  }

  .who-hero__cue-panel {
    margin-left: auto;
    max-width: calc(100% - 58px);
    padding: 0.42rem 0.6rem;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .who-hero__lead-bar {
    padding: 1.35rem 0 2rem;
  }

  .who-hero__lead-bar .container {
    padding-left: 1.45rem;
    padding-right: 1.45rem;
  }

.who-hero__lead {
  max-width: none;
  font-size: 0.98rem;
  line-height: 1.45;
  }
}

.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;
}

/* ============================================================
   GLOBAL UX + THEME LAYER
   Light/dark modes, subtle motion, premium interaction states.
   ============================================================ */

:root {
  --ux-bg: #FAF5EC;
  --ux-bg-soft: #F5ECD7;
  --ux-surface: rgba(255, 252, 245, 0.72);
  --ux-surface-strong: rgba(255, 252, 245, 0.92);
  --ux-text: #1C0F0A;
  --ux-text-soft: #5E372A;
  --ux-border: rgba(107, 58, 42, 0.16);
  --ux-border-strong: rgba(107, 58, 42, 0.28);
  --ux-nav: rgba(21, 11, 8, 0.98);
  --ux-nav-border: rgba(181, 113, 58, 0.34);
  --ux-shadow-soft: 12px 18px 42px rgba(67, 39, 24, 0.08), -10px -10px 26px rgba(255, 255, 255, 0.58);
  --ux-shadow-hover: 18px 24px 56px rgba(67, 39, 24, 0.13), -12px -12px 30px rgba(255, 255, 255, 0.72);
  --ux-inset: inset 2px 2px 8px rgba(67, 39, 24, 0.08), inset -2px -2px 8px rgba(255, 255, 255, 0.62);
  --ux-glow: rgba(212, 151, 90, 0.26);
  --ux-theme-icon: #F5ECD7;
}

html[data-theme="dark"] {
  --espresso: #0F0806;
  --roast: #F5ECD7;
  --mahogany: #D8B08B;
  --caramel: #E0A35F;
  --honey: #F2C27F;
  --cream: #1A100C;
  --parchment: #120A08;
  --fog: #2A1A13;
  --sage: #A7B39D;
  --olive: #C2CCB8;
  --ink: #F8EFD9;

  --ux-bg: #120A08;
  --ux-bg-soft: #1A100C;
  --ux-surface: rgba(36, 24, 18, 0.74);
  --ux-surface-strong: rgba(42, 28, 21, 0.94);
  --ux-text: #F8EFD9;
  --ux-text-soft: #D8B08B;
  --ux-border: rgba(245, 236, 215, 0.13);
  --ux-border-strong: rgba(245, 236, 215, 0.24);
  --ux-nav: rgba(10, 5, 4, 0.98);
  --ux-nav-border: rgba(224, 163, 95, 0.28);
  --ux-shadow-soft: 10px 16px 36px rgba(0, 0, 0, 0.34), -8px -8px 22px rgba(255, 255, 255, 0.025);
  --ux-shadow-hover: 16px 24px 54px rgba(0, 0, 0, 0.44), -10px -10px 26px rgba(255, 255, 255, 0.035);
  --ux-inset: inset 2px 2px 8px rgba(0, 0, 0, 0.28), inset -2px -2px 8px rgba(255, 255, 255, 0.035);
  --ux-glow: rgba(224, 163, 95, 0.2);
  --ux-theme-icon: #E0A35F;
}

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body:not(.academy) {
  background:
    radial-gradient(circle at 8% 0%, rgba(212, 151, 90, 0.08), transparent 30%),
    linear-gradient(180deg, var(--ux-bg) 0%, var(--ux-bg-soft) 46%, var(--ux-bg) 100%);
  color: var(--ux-text);
  transition: background-color 320ms var(--ease), color 320ms var(--ease);
}

html[data-theme="dark"] body:not(.academy) p,
html[data-theme="dark"] body:not(.academy) .lead {
  color: var(--ux-text-soft);
}

html[data-theme="dark"] body:not(.academy) h1,
html[data-theme="dark"] body:not(.academy) h2,
html[data-theme="dark"] body:not(.academy) h3,
html[data-theme="dark"] body:not(.academy) h4 {
  color: var(--ux-text);
}

html[data-theme="dark"] body.academy {
  --academy-ink: #F7EEFF;
  --academy-deep: #100019;
  --academy-plum: #D8B8FF;
  --academy-violet: #B27CFF;
  --academy-lilac: #DAB7FF;
  --academy-dawn: #FFF3D6;
  --academy-sun: #F5BC73;
  --academy-coral: #F0A083;
  --academy-cream: #110716;
  --academy-clay: #E9C9B5;
  --academy-muted: #D6BDD9;
}

html[data-theme="dark"] body.academy .academy-page {
  background:
    radial-gradient(circle at 80% 4%, rgba(178, 124, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #110716 0%, #190920 36%, #220B35 68%, #110716 100%);
}

.nav {
  background: var(--ux-nav);
  border-bottom-color: var(--ux-nav-border);
  backdrop-filter: blur(18px);
  transition: background 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}

.nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 151, 90, 0.72), transparent);
  opacity: 0.52;
  pointer-events: none;
}

.nav__inner {
  gap: 1rem;
}

.nav__links {
  margin-left: auto;
}

.theme-toggle {
  width: 52px;
  height: 32px;
  border: 1px solid rgba(245, 236, 215, 0.28);
  border-radius: 8px;
  background: rgba(245, 236, 215, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  margin-left: 0.2rem;
  margin-right: 0;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(245, 236, 215, 0.15);
  border-color: rgba(245, 236, 215, 0.5);
  transform: translateY(-1px);
}

.theme-toggle__track {
  position: relative;
  width: 34px;
  height: 16px;
  border-radius: 999px;
  background: rgba(245, 236, 215, 0.22);
  box-shadow: var(--ux-inset);
}

.theme-toggle__knob {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--ux-theme-icon);
  transform: translateY(-50%);
  transition: transform 240ms var(--ease), background 240ms var(--ease), box-shadow 240ms var(--ease);
  box-shadow: 0 0 10px rgba(245, 236, 215, 0.2);
}

html[data-theme="dark"] .theme-toggle__knob {
  transform: translate(18px, -50%);
  box-shadow: 0 0 14px rgba(224, 163, 95, 0.42);
}

.ux-surface,
.card,
.contact-form,
.academy-form,
.contract-close__panel,
.legal-card,
.footer {
  transition:
    background-color 260ms var(--ease),
    border-color 260ms var(--ease),
    box-shadow 260ms var(--ease),
    transform 260ms var(--ease),
    color 260ms var(--ease);
}

body:not(.academy) .card,
body:not(.academy) .contact-form,
body:not(.academy) .legal-card,
body:not(.academy) .criteria-card,
body:not(.academy) .capability-list article,
body:not(.academy) .contract-section-list article,
body:not(.academy) .service-pathway-list article,
body:not(.academy) .value-matrix details,
body:not(.academy) .qualities-accordion details,
body:not(.academy) .proof-grid article,
body:not(.academy) .audience-grid article {
  background: var(--ux-surface);
  border-color: var(--ux-border);
  box-shadow: var(--ux-shadow-soft);
}

body:not(.academy) .audience-section .audience-grid article,
body:not(.academy) .insights-section .insights-grid a {
  background: linear-gradient(145deg, var(--surface-warm-card-soft), var(--surface-warm-card));
  border-color: rgba(107, 58, 42, 0.16);
  box-shadow: 0 24px 60px rgba(28, 15, 10, 0.18);
  color: var(--text-on-light);
}

body:not(.academy) .audience-section .audience-grid article:hover,
body:not(.academy) .audience-section .audience-grid article:focus-within,
body:not(.academy) .insights-section .insights-grid a:hover,
body:not(.academy) .insights-section .insights-grid a:focus-visible {
  background: linear-gradient(145deg, #F2C27F, #D8A36D);
  border-color: rgba(245, 236, 215, 0.36);
  box-shadow: 0 30px 76px rgba(28, 15, 10, 0.32);
  color: var(--text-on-light);
  transform: translateY(-4px);
}

body:not(.academy) .audience-section .audience-grid h3,
body:not(.academy) .insights-section .insights-grid span {
  color: var(--text-on-light);
}

body:not(.academy) .audience-section .audience-grid span {
  color: #8A4B25;
}

body:not(.academy) .insights-section .insights-grid p {
  color: var(--text-on-light-soft);
}

.ux-surface {
  position: relative;
  overflow: hidden;
}

.ux-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), var(--ux-glow), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease);
}

.ux-surface:hover::after,
.ux-surface:focus-within::after {
  opacity: 1;
}

@media (hover: hover) {
  .ux-surface:hover,
  .card:hover,
  .criteria-card:hover,
  .expertise-card:hover,
  .bento-card:hover,
  .academy-proof:hover {
    transform: translateY(-4px);
    box-shadow: var(--ux-shadow-hover);
  }

  html:not([data-theme="dark"]) .expertise-card:hover,
  html:not([data-theme="dark"]) .expertise-card:focus-visible {
    box-shadow:
      0 8px 18px rgba(67, 39, 24, 0.2),
      0 0 12px rgba(181, 113, 58, 0.16);
  }
}

html:not([data-theme="dark"]) body:not(.academy) .mission-outcomes article.ux-surface::after {
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(181, 113, 58, 0.16), transparent 22%);
}

@media (hover: hover) {
  html:not([data-theme="dark"]) body:not(.academy) .mission-outcomes article.ux-surface:hover {
    box-shadow:
      0 8px 18px rgba(67, 39, 24, 0.18),
      0 0 14px rgba(181, 113, 58, 0.14);
  }
}

.btn {
  box-shadow: 0 10px 24px rgba(67, 39, 24, 0.1);
  transform: translateY(0);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(67, 39, 24, 0.16);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(67, 39, 24, 0.12);
}

input,
textarea,
select {
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background-color 180ms var(--ease);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(212, 151, 90, 0.16);
}

.motion-ready .page-content > section {
  opacity: 1;
  transform: none;
  transition:
    background-color 320ms var(--ease),
    color 320ms var(--ease);
}

.motion-ready .page-content > section.section-visible {
  transform: none;
}

.section-label,
.kicker,
.academy-kicker {
  transition: color 260ms var(--ease), opacity 260ms var(--ease);
}

body:not(.academy) .section--quiet,
body:not(.academy) .possibility-section,
body:not(.academy) .principles-section,
body:not(.academy) .who-principles-section,
body:not(.academy) .qualities-section,
body:not(.academy) .founder-section,
body:not(.academy) .who-founder-section,
body:not(.academy) .work-principles,
body:not(.academy) .legal-section {
  background: transparent;
}

body:not(.academy) .founder-section {
  background: #160B08;
  border-top: 1px solid rgba(245, 236, 215, 0.16);
  color: var(--text-on-dark);
}

body:not(.academy) .founder-section h2,
body:not(.academy) .founder-quote blockquote {
  color: var(--text-on-dark);
}

body:not(.academy) .founder-quote blockquote {
  color: #D8A36D;
}

body:not(.academy) .founder-quote span,
body:not(.academy) .founder-panel__closing {
  color: var(--text-on-dark-soft);
}

body:not(.academy) .connect-visual,
body:not(.academy) .connect-visual__caption strong,
body:not(.academy) .coffee-map__label {
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .velocity-section {
  background: #160B08;
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .velocity-panel h2,
html[data-theme="dark"] body:not(.academy) .velocity-panel p {
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .velocity-grid p {
  border-top-color: rgba(245, 236, 215, 0.22);
  color: var(--text-on-dark-soft);
}

html[data-theme="dark"] body:not(.academy) .connect-section {
  background:
    linear-gradient(180deg, #160B08 0%, #0F0806 100%);
  border-top: 1px solid rgba(245, 236, 215, 0.14);
}

html[data-theme="dark"] body:not(.academy) .connect-section::before {
  background:
    linear-gradient(90deg, rgba(245, 236, 215, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 236, 215, 0.03) 1px, transparent 1px);
}

html[data-theme="dark"] body:not(.academy) .connect-copy h2 {
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .connect-copy .lead,
html[data-theme="dark"] body:not(.academy) .connect-copy .lead + p {
  color: var(--text-on-dark-soft);
}

html[data-theme="dark"] body:not(.academy) .contact-form {
  background:
    linear-gradient(180deg, rgba(42, 28, 21, 0.96), rgba(30, 19, 14, 0.96));
  border-color: rgba(245, 236, 215, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .contact-form__head {
  border-bottom-color: rgba(245, 236, 215, 0.14);
}

html[data-theme="dark"] body:not(.academy) .contact-form__head h3,
html[data-theme="dark"] body:not(.academy) .contact-form .form-group label {
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .contact-form__head p {
  color: var(--text-on-dark-soft);
}

html[data-theme="dark"] body:not(.academy) .contact-form .form-group input,
html[data-theme="dark"] body:not(.academy) .contact-form .form-group textarea,
html[data-theme="dark"] body:not(.academy) .contact-form .form-group select {
  background: rgba(245, 236, 215, 0.045);
  border-color: rgba(245, 236, 215, 0.18);
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .who-hero__lead-bar {
  background: #15100C;
  border-bottom-color: var(--ux-border);
}

html[data-theme="dark"] body:not(.academy) .who-hero__lead,
html[data-theme="dark"] body:not(.academy) .who-hero__lead-bar p {
  color: var(--ux-text);
}

html[data-theme="dark"] body:not(.academy) .contact-form input,
html[data-theme="dark"] body:not(.academy) .contact-form textarea,
html[data-theme="dark"] body:not(.academy) .contact-form select,
html[data-theme="dark"] body:not(.academy) .form-group input,
html[data-theme="dark"] body:not(.academy) .form-group textarea,
html[data-theme="dark"] body:not(.academy) .form-group select {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--ux-border);
  color: var(--ux-text);
}

html[data-theme="dark"] .nav__brand,
html[data-theme="dark"] .nav__wordmark {
  color: #F5ECD7;
}

html[data-theme="dark"] .nav__links a {
  color: rgba(245, 236, 215, 0.72);
}

html[data-theme="dark"] .nav__links a:hover,
html[data-theme="dark"] .nav__links a.active {
  color: var(--honey);
}

html[data-theme="dark"] body:not(.academy) .btn--outline,
html[data-theme="dark"] body:not(.academy) .btn--light {
  color: #F5ECD7;
  border-color: rgba(245, 236, 215, 0.52);
  background: rgba(245, 236, 215, 0.025);
}

html[data-theme="dark"] body:not(.academy) .btn--outline:hover,
html[data-theme="dark"] body:not(.academy) .btn--light:hover {
  color: #120A08;
  background: #F5ECD7;
  border-color: #F5ECD7;
}

html[data-theme="dark"] body:not(.academy) .who-hero h1,
html[data-theme="dark"] body:not(.academy) .who-hero h1 strong,
html[data-theme="dark"] body:not(.academy) .home-hero h1,
html[data-theme="dark"] body:not(.academy) .home-hero__lead,
html[data-theme="dark"] body:not(.academy) .contact-hero h1,
html[data-theme="dark"] body:not(.academy) .contact-hero__lead {
  color: #F5ECD7;
}

html[data-theme="dark"] body:not(.academy) .who-hero .kicker,
html[data-theme="dark"] body:not(.academy) .home-hero .kicker,
html[data-theme="dark"] body:not(.academy) .contact-hero .section-label,
html[data-theme="dark"] body:not(.academy) .section-label,
html[data-theme="dark"] body:not(.academy) .kicker {
  color: var(--honey);
}

html[data-theme="dark"] body:not(.academy) .who-hero__cue-button {
  color: #F5ECD7;
  border-color: rgba(245, 236, 215, 0.42);
}

html[data-theme="dark"] body:not(.academy) .who-hero__cue-panel {
  color: #F5ECD7;
  background: rgba(12, 7, 5, 0.92);
}

html[data-theme="dark"] body:not(.academy) .home-hero__note {
  color: rgba(245, 236, 215, 0.76);
}

@media (max-width: 1080px) {
  .nav__brand {
    order: 1;
  }

  .theme-toggle {
    order: 2;
    margin-left: auto;
    margin-right: 0.65rem;
  }

  .nav__hamburger {
    order: 3;
  }

  .nav__links {
    order: 4;
    margin-left: 0;
    background: var(--ux-nav);
  }

  .nav__hamburger {
    background: rgba(245, 236, 215, 0.035);
    border-color: rgba(245, 236, 215, 0.32);
  }

  .nav__hamburger span {
    background: #F8EFD9;
    box-shadow: 0 0 0 1px rgba(248, 239, 217, 0.02), 0 0 12px rgba(224, 163, 95, 0.18);
    opacity: 1;
  }

  .nav__hamburger:hover,
  .nav__hamburger:focus-visible {
    background: rgba(245, 236, 215, 0.08);
    border-color: rgba(224, 163, 95, 0.72);
  }

  html[data-theme="light"] .nav__hamburger {
    background: rgba(245, 236, 215, 0.045);
    border-color: rgba(245, 236, 215, 0.3);
  }

  html[data-theme="light"] .nav__hamburger span {
    background: #F8EFD9;
    box-shadow: 0 0 12px rgba(224, 163, 95, 0.16);
  }

  html[data-theme="dark"] .nav__hamburger {
    background: rgba(245, 236, 215, 0.055);
    border-color: rgba(245, 236, 215, 0.36);
  }

  html[data-theme="dark"] .nav__hamburger span {
    background: #F8EFD9;
    box-shadow: 0 0 14px rgba(224, 163, 95, 0.24);
  }
}

@media (max-width: 680px) {
  .theme-toggle {
    width: 48px;
    height: 32px;
    margin-right: 0.6rem;
  }

  .ux-surface:hover,
  .card:hover,
  .criteria-card:hover,
  .expertise-card:hover,
  .bento-card:hover,
  .academy-proof:hover {
    transform: none;
  }

  .motion-ready .page-content > section {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Contrast safety layer for the theme toggle --- */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] body:not(.academy) .btn--primary {
  background: #E0A35F;
  border-color: #E0A35F;
  color: #120A08;
  font-weight: 700;
}

html[data-theme="dark"] body:not(.academy) .btn--primary:hover,
html[data-theme="dark"] body:not(.academy) .btn--primary:focus-visible {
  background: #F5C37C;
  border-color: #F5C37C;
  color: #120A08;
}

html[data-theme="dark"] body:not(.academy) .btn--dark {
  background: #F5ECD7;
  border-color: #F5ECD7;
  color: #120A08;
}

html[data-theme="dark"] body:not(.academy) .btn--dark:hover,
html[data-theme="dark"] body:not(.academy) .btn--dark:focus-visible {
  background: #E0A35F;
  border-color: #E0A35F;
  color: #120A08;
}

body:not(.academy):not(.blueprints-body) .inline-actions .btn + .btn:hover {
  background: #04AD66;
  border-color: #04AD66;
  color: #06140C;
}

html[data-theme="dark"] body:not(.academy) .card h3,
html[data-theme="dark"] body:not(.academy) .criteria-card h3,
html[data-theme="dark"] body:not(.academy) .capability-list h3,
html[data-theme="dark"] body:not(.academy) .contract-section-list h3,
html[data-theme="dark"] body:not(.academy) .service-pathway-list h3,
html[data-theme="dark"] body:not(.academy) .value-matrix summary,
html[data-theme="dark"] body:not(.academy) .qualities-accordion summary {
  color: #F8EFD9;
}

html[data-theme="dark"] body:not(.academy) .card p,
html[data-theme="dark"] body:not(.academy) .criteria-card p,
html[data-theme="dark"] body:not(.academy) .capability-list p,
html[data-theme="dark"] body:not(.academy) .contract-section-list p,
html[data-theme="dark"] body:not(.academy) .service-pathway-list p,
html[data-theme="dark"] body:not(.academy) .value-matrix p,
html[data-theme="dark"] body:not(.academy) .qualities-accordion p {
  color: rgba(248, 239, 217, 0.76);
}

html[data-theme="dark"] body:not(.academy) .mission-outcomes p {
  color: var(--honey);
}

html[data-theme="dark"] body:not(.academy) .mission-belief {
  color: #F8EFD9 !important;
}

html[data-theme="dark"] body:not(.academy) .work-principles {
  background: #160B08;
}

/* Contract page contrast and interaction refinements */
body:not(.academy) .contract-phase-grid article {
  background: linear-gradient(145deg, #FBF4E8, #F1DFC2);
  border-color: rgba(107, 58, 42, 0.2);
  box-shadow: 0 20px 52px rgba(67, 39, 24, 0.1);
}

body:not(.academy) .contract-phase-grid span {
  color: #6E7F67;
}

body:not(.academy) .contract-section-list article {
  background: rgba(245, 236, 215, 0.07);
  border-color: rgba(245, 236, 215, 0.18);
  box-shadow: none;
  padding-left: clamp(1.2rem, 3vw, 2rem);
  padding-right: clamp(1.2rem, 3vw, 2rem);
}

body:not(.academy) .contract-section-list article:hover,
body:not(.academy) .contract-section-list article:focus-within,
body:not(.academy) .safeguard-grid article:hover,
body:not(.academy) .safeguard-grid article:focus-within,
body:not(.academy) .dispute-ladder article:hover,
body:not(.academy) .dispute-ladder article:focus-within {
  background: linear-gradient(145deg, #F2C27F, #D8A36D);
  border-color: rgba(245, 236, 215, 0.34);
  box-shadow:
    0 18px 38px rgba(28, 15, 10, 0.2),
    0 0 18px rgba(181, 113, 58, 0.14);
  color: #120A08;
  transform: translateY(-4px);
}

body:not(.academy) .contract-section-list article,
body:not(.academy) .safeguard-grid article,
body:not(.academy) .dispute-ladder article {
  transition:
    background 260ms var(--ease),
    border-color 260ms var(--ease),
    box-shadow 260ms var(--ease),
    color 260ms var(--ease),
    transform 260ms var(--ease);
}

body:not(.academy) .safeguard-grid article {
  background: linear-gradient(145deg, #FBF4E8, #F1DFC2);
  border-color: rgba(107, 58, 42, 0.18);
  box-shadow: 0 18px 46px rgba(67, 39, 24, 0.1);
}

body:not(.academy) .safeguard-grid h3,
body:not(.academy) .dispute-ladder h3 {
  color: var(--roast);
}

body:not(.academy) .safeguard-grid p,
body:not(.academy) .dispute-ladder p {
  color: var(--mahogany);
}

body:not(.academy) .safeguard-grid article:hover h3,
body:not(.academy) .safeguard-grid article:focus-within h3,
body:not(.academy) .safeguard-grid article:hover p,
body:not(.academy) .safeguard-grid article:focus-within p,
body:not(.academy) .dispute-ladder article:hover h3,
body:not(.academy) .dispute-ladder article:focus-within h3,
body:not(.academy) .dispute-ladder article:hover p,
body:not(.academy) .dispute-ladder article:focus-within p,
body:not(.academy) .contract-section-list article:hover span,
body:not(.academy) .contract-section-list article:focus-within span,
body:not(.academy) .contract-section-list article:hover h3,
body:not(.academy) .contract-section-list article:focus-within h3,
body:not(.academy) .contract-section-list article:hover p,
body:not(.academy) .contract-section-list article:focus-within p {
  color: #120A08;
}

html[data-theme="dark"] body:not(.academy) .contract-two-phase,
html[data-theme="dark"] body:not(.academy) .dispute-section {
  background: #160B08;
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .contract-two-phase h2,
html[data-theme="dark"] body:not(.academy) .contract-two-phase h3,
html[data-theme="dark"] body:not(.academy) .dispute-section h2,
html[data-theme="dark"] body:not(.academy) .dispute-section h3 {
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .contract-two-phase .section-intro p:not(.section-label),
html[data-theme="dark"] body:not(.academy) .contract-phase-grid p,
html[data-theme="dark"] body:not(.academy) .contract-phase-grid li,
html[data-theme="dark"] body:not(.academy) .dispute-section .section-intro p:not(.section-label),
html[data-theme="dark"] body:not(.academy) .dispute-ladder p {
  color: var(--text-on-dark-soft);
}

html[data-theme="dark"] body:not(.academy) .contract-phase-grid article,
html[data-theme="dark"] body:not(.academy) .dispute-ladder article {
  background: #24120D;
  border-color: rgba(245, 236, 215, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] body:not(.academy) .contract-safeguards {
  background: #100705;
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .contract-safeguards h2,
html[data-theme="dark"] body:not(.academy) .safeguard-grid h3 {
  color: var(--text-on-dark);
}

html[data-theme="dark"] body:not(.academy) .safeguard-grid article {
  background: #24120D;
  border-color: rgba(245, 236, 215, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] body:not(.academy) .safeguard-grid p {
  color: var(--honey);
}

html[data-theme="dark"] body:not(.academy) .principle-item {
  background: rgba(28, 15, 10, 0.92);
  border-color: rgba(224, 163, 95, 0.18);
}

html[data-theme="dark"] body:not(.academy) .principle-item h3 {
  color: #F8EFD9;
}

html[data-theme="dark"] body:not(.academy) .principle-item p {
  color: rgba(248, 239, 217, 0.78);
}

html[data-theme="dark"] body:not(.academy) .work-method {
  background:
    linear-gradient(180deg, rgba(28, 15, 10, 0.98), rgba(18, 10, 8, 0.98)),
    repeating-linear-gradient(90deg, rgba(224, 163, 95, 0.06) 0 1px, transparent 1px 120px);
}

html[data-theme="dark"] body:not(.academy) .work-method .section-label {
  color: var(--honey);
}

html[data-theme="dark"] body:not(.academy) .work-method h2,
html[data-theme="dark"] body:not(.academy) .method-track h3 {
  color: #F8EFD9;
}

html[data-theme="dark"] body:not(.academy) .work-method .section-intro p,
html[data-theme="dark"] body:not(.academy) .method-track p {
  color: rgba(248, 239, 217, 0.78);
}

html[data-theme="dark"] body:not(.academy) .method-track article {
  background: rgba(28, 15, 10, 0.9);
  border-color: rgba(224, 163, 95, 0.18);
}

html[data-theme="dark"] .nav__dropdown-menu a {
  color: #3A1E14;
}

html[data-theme="dark"] .nav__dropdown-menu a:hover,
html[data-theme="dark"] .nav__dropdown-menu a:focus-visible,
html[data-theme="dark"] .nav__dropdown-menu a.active {
  background: rgba(181, 113, 58, 0.14);
  color: #1C0F0A;
}

html[data-theme="dark"] .footer__bottom {
  border-top-color: rgba(224, 163, 95, 0.18);
  color: rgba(245, 236, 215, 0.64);
}

html[data-theme="dark"] .footer__bottom a {
  color: rgba(245, 236, 215, 0.74);
}

html[data-theme="dark"] .footer__bottom a:hover,
html[data-theme="dark"] .footer__bottom a:focus-visible {
  color: #E0A35F;
}

html[data-theme="dark"] body:not(.academy) .footer__tagline {
  color: var(--caramel);
}

html[data-theme="dark"] body:not(.academy) .footer__address,
html[data-theme="dark"] body:not(.academy) .footer__links li {
  color: rgba(248, 239, 217, 0.76);
}

html[data-theme="dark"] body:not(.academy) .footer__links a {
  color: rgba(248, 239, 217, 0.82);
}

/* ============================================================
   BLUEPRINTS PAGE
   ============================================================ */

.blueprints-body {
  --bp-ink: #09212d;
  --bp-muted: #49616b;
  --bp-paper: #edf6f7;
  --bp-panel: rgba(248, 253, 252, 0.86);
  --bp-line: rgba(16, 119, 144, 0.2);
  --bp-blue: #0a7191;
  --bp-cyan: #2fb8d0;
  --bp-deep: #071923;
  --bp-accent: #c88943;
  --bp-shadow: 0 24px 60px rgba(6, 39, 52, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.75);

  background: var(--bp-paper);
}

.blueprints-page {
  background:
    linear-gradient(90deg, rgba(10, 113, 145, 0.065) 1px, transparent 1px),
    linear-gradient(rgba(10, 113, 145, 0.065) 1px, transparent 1px),
    radial-gradient(circle at 80% 8%, rgba(47, 184, 208, 0.18), transparent 26rem),
    radial-gradient(circle at 8% 26%, rgba(200, 137, 67, 0.08), transparent 25rem),
    var(--bp-paper);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  color: var(--bp-ink);
  overflow: hidden;
}

.blueprint-hero {
  min-height: calc(100svh - var(--nav-height));
  padding: clamp(6rem, 9vw, 8.5rem) 0 clamp(5rem, 8vw, 7rem);
  position: relative;
}

.blueprint-hero::before {
  background:
    linear-gradient(120deg, transparent 0 49%, rgba(10, 113, 145, 0.09) 49.3% 49.8%, transparent 50.1%),
    linear-gradient(30deg, transparent 0 54%, rgba(10, 113, 145, 0.06) 54.3% 54.8%, transparent 55.1%);
  content: "";
  inset: 0;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
}

.blueprint-hero__grid,
.blueprint-purpose__grid,
.blueprint-method__grid,
.blueprint-close__panel {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  position: relative;
  z-index: 1;
}

.blueprint-kicker {
  color: var(--bp-blue);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.blueprint-hero h1,
.blueprints-page h2,
.blueprints-page h3 {
  color: var(--bp-ink);
  font-family: var(--font-display);
  letter-spacing: 0;
}

.blueprint-hero h1 {
  font-size: clamp(3rem, 5.4vw, 5.7rem);
  line-height: 0.98;
  margin: 0 0 1.4rem;
  max-width: 11ch;
}

.blueprint-hero__copy > p:not(.blueprint-kicker),
.blueprint-purpose__copy p,
.blueprint-method__grid > div > p,
.blueprint-close__panel p {
  color: var(--bp-muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.78;
  max-width: 42rem;
}

.blueprints-page .btn--primary {
  background: var(--bp-blue);
  border-color: var(--bp-blue);
  box-shadow: 0 18px 34px rgba(10, 113, 145, 0.18);
  color: #f3fdff;
}

.blueprints-page .btn--primary:hover,
.blueprints-page .btn--primary:focus-visible {
  background: var(--bp-cyan);
  border-color: var(--bp-cyan);
  color: #06141c;
}

.blueprints-page .btn--outline {
  border-color: rgba(10, 113, 145, 0.38);
  color: var(--bp-blue);
}

.blueprints-page .btn--outline:hover,
.blueprints-page .btn--outline:focus-visible {
  background: rgba(47, 184, 208, 0.12);
  border-color: rgba(10, 113, 145, 0.52);
  color: var(--bp-ink);
}

.blueprint-hero .inline-actions,
.blueprint-close .inline-actions {
  align-items: flex-start;
}

.blueprint-hero .inline-actions .btn,
.blueprint-close .inline-actions .btn {
  justify-content: center;
  min-width: clamp(18.75rem, 24vw, 21.5rem);
  text-align: center;
}

.blueprint-board {
  aspect-ratio: 1.08 / 1;
  background:
    linear-gradient(90deg, rgba(47, 184, 208, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(47, 184, 208, 0.13) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    #0a3446;
  background-size: 24px 24px, 24px 24px, auto, auto;
  border: 1px solid rgba(47, 184, 208, 0.34);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(7, 25, 35, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  min-height: 30rem;
  overflow: hidden;
  position: relative;
}

.blueprint-board::before,
.blueprint-board::after {
  border: 1px solid rgba(166, 231, 240, 0.38);
  content: "";
  position: absolute;
}

.blueprint-board::before {
  border-radius: 50%;
  height: 52%;
  left: 24%;
  top: 20%;
  width: 52%;
}

.blueprint-board::after {
  height: 44%;
  left: 34%;
  top: 28%;
  transform: rotate(45deg);
  width: 44%;
}

.blueprint-board__axis {
  background: rgba(166, 231, 240, 0.32);
  position: absolute;
}

.blueprint-board__axis--x {
  height: 1px;
  left: 8%;
  right: 8%;
  top: 50%;
}

.blueprint-board__axis--y {
  bottom: 8%;
  left: 50%;
  top: 8%;
  width: 1px;
}

.blueprint-board__core {
  align-items: center;
  background: rgba(237, 246, 247, 0.08);
  border: 1px solid rgba(166, 231, 240, 0.44);
  border-radius: 50%;
  color: #dffcff;
  display: flex;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  height: 8rem;
  justify-content: center;
  left: 50%;
  letter-spacing: 0.12em;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8rem;
  z-index: 2;
}

.blueprint-board__core::before {
  animation: blueprintPulse 4.8s ease-in-out infinite;
  border: 1px solid rgba(166, 231, 240, 0.36);
  border-radius: 50%;
  content: "";
  inset: -1.7rem;
  position: absolute;
}

.blueprint-board__node {
  background: rgba(5, 33, 46, 0.78);
  border: 1px solid rgba(166, 231, 240, 0.34);
  border-radius: 6px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
  color: rgba(223, 252, 255, 0.9);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.85rem 0.9rem;
  position: absolute;
  z-index: 3;
}

.blueprint-board__node span {
  color: var(--bp-cyan);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  margin-bottom: 0.25rem;
}

.blueprint-board__node--one { left: 9%; top: 16%; }
.blueprint-board__node--two { right: 10%; top: 14%; }
.blueprint-board__node--three { bottom: 15%; left: 11%; }
.blueprint-board__node--four { bottom: 12%; right: 9%; }

.blueprint-purpose {
  background: rgba(248, 253, 252, 0.58);
}

.blueprint-purpose h2,
.blueprint-method h2,
.blueprint-ethics h2,
.blueprint-close h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  margin: 0;
}

.blueprint-purpose__copy {
  border-left: 1px solid var(--bp-line);
  margin-top: clamp(2.35rem, 3vw, 2.85rem);
  padding-left: clamp(1.5rem, 4vw, 3rem);
}

.blueprint-library {
  background:
    radial-gradient(circle at 18% 20%, rgba(47, 184, 208, 0.1), transparent 22rem),
    linear-gradient(180deg, transparent, rgba(10, 113, 145, 0.06));
}

.blueprint-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.blueprint-card {
  background:
    linear-gradient(90deg, rgba(10, 113, 145, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(10, 113, 145, 0.06) 1px, transparent 1px),
    var(--bp-panel);
  background-size: 22px 22px, 22px 22px, auto;
  border: 1px solid var(--bp-line);
  border-radius: 8px;
  box-shadow: var(--bp-shadow);
  min-height: 18rem;
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
  position: relative;
  transition: border-color 260ms var(--ease), transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.blueprint-card::after {
  background: var(--bp-cyan);
  content: "";
  height: 1px;
  left: 1.2rem;
  opacity: 0.5;
  position: absolute;
  right: 1.2rem;
  top: 3.6rem;
}

.blueprint-card:hover,
.blueprint-card:focus-within {
  border-color: rgba(47, 184, 208, 0.58);
  box-shadow: 0 30px 70px rgba(6, 39, 52, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-4px);
}

.blueprint-card--wide {
  grid-column: span 2;
}

.blueprint-card__status {
  color: var(--bp-blue);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 2.2rem;
  text-transform: uppercase;
}

.blueprint-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.blueprint-card p {
  color: var(--bp-muted);
  line-height: 1.7;
}

.blueprint-method {
  background: var(--bp-deep);
  color: #e7fbff;
}

.blueprint-method h2,
.blueprint-method .section-label {
  color: #e7fbff;
}

.blueprint-method h2 {
  margin-bottom: clamp(1.35rem, 2.4vw, 2rem);
}

.blueprint-method__grid > div > p {
  color: rgba(231, 251, 255, 0.74);
}

.blueprint-steps {
  counter-reset: blueprint-step;
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blueprint-steps li {
  background: rgba(231, 251, 255, 0.06);
  border: 1px solid rgba(166, 231, 240, 0.18);
  border-radius: 8px;
  color: rgba(231, 251, 255, 0.74);
  line-height: 1.65;
  padding: 1.15rem 1.2rem 1.15rem 4.8rem;
  position: relative;
}

.blueprint-steps span {
  color: var(--bp-cyan);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  left: 1.2rem;
  position: absolute;
  top: 1.2rem;
}

.blueprint-steps strong {
  color: #f7fdff;
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.blueprint-ethics {
  background:
    linear-gradient(90deg, rgba(10, 113, 145, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(10, 113, 145, 0.055) 1px, transparent 1px),
    var(--bp-paper);
  background-size: 36px 36px, 36px 36px, auto;
}

.blueprint-ethics__head {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  max-width: 48rem;
}

.blueprint-ethics__grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blueprint-ethics__grid article {
  background: rgba(248, 253, 252, 0.76);
  border: 1px solid var(--bp-line);
  min-height: 16rem;
  padding: clamp(1.2rem, 2vw, 1.6rem);
}

.blueprint-ethics__grid span {
  color: var(--bp-blue);
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.blueprint-ethics__grid p {
  color: var(--bp-muted);
  line-height: 1.65;
}

.blueprint-close {
  background:
    radial-gradient(circle at 80% 30%, rgba(47, 184, 208, 0.14), transparent 22rem),
    var(--bp-paper);
}

.blueprint-close__panel {
  background: var(--bp-panel);
  border: 1px solid var(--bp-line);
  border-radius: 8px;
  box-shadow: var(--bp-shadow);
  padding: clamp(1.6rem, 4vw, 3rem);
}

html[data-theme="dark"] .blueprints-body {
  --bp-ink: #e7fbff;
  --bp-muted: rgba(231, 251, 255, 0.72);
  --bp-paper: #06141c;
  --bp-panel: rgba(8, 31, 43, 0.82);
  --bp-line: rgba(92, 207, 226, 0.22);
  --bp-blue: #5ccfe2;
  --bp-cyan: #72e6f4;
  --bp-deep: #02090d;
  --bp-shadow: 0 28px 70px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .blueprints-page {
  background:
    linear-gradient(90deg, rgba(92, 207, 226, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(92, 207, 226, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 80% 8%, rgba(47, 184, 208, 0.14), transparent 26rem),
    radial-gradient(circle at 8% 26%, rgba(200, 137, 67, 0.08), transparent 25rem),
    var(--bp-paper);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

html[data-theme="dark"] .blueprint-purpose,
html[data-theme="dark"] .blueprint-ethics__grid article,
html[data-theme="dark"] .blueprint-close {
  background-color: rgba(8, 31, 43, 0.42);
}

html[data-theme="dark"] .blueprint-card:hover,
html[data-theme="dark"] .blueprint-card:focus-within {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .blueprints-page .btn--outline {
  border-color: rgba(92, 207, 226, 0.5);
  color: var(--bp-cyan);
}

@media (max-width: 1080px) {
  .blueprint-hero__grid,
  .blueprint-purpose__grid,
  .blueprint-method__grid,
  .blueprint-close__panel {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 700px) {
  .blueprint-hero {
    min-height: auto;
    padding: clamp(5rem, 18vw, 6.5rem) 0 clamp(4rem, 14vw, 5rem);
  }

  .blueprint-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .blueprint-board {
    min-height: 24rem;
  }

  .blueprint-board__node {
    font-size: 0.72rem;
    padding: 0.65rem 0.7rem;
  }

  .blueprint-purpose__copy {
    border-left: 0;
    margin-top: 0;
    padding-left: 0;
  }

  .blueprint-hero .inline-actions .btn,
  .blueprint-close .inline-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .blueprint-card-grid,
  .blueprint-ethics__grid {
    grid-template-columns: 1fr;
  }

  .blueprint-card--wide {
    grid-column: auto;
  }

  .blueprint-steps li {
    padding: 3rem 1rem 1rem;
  }

  .blueprint-steps span {
    top: 1rem;
  }
}

@keyframes blueprintPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

/* ============================================================
   KOP INSIGHTS PAGE
   ============================================================ */

.insights-body {
  --insight-bg: #f5efe4;
  --insight-paper: #fbf5e9;
  --insight-surface: rgba(255, 249, 237, 0.86);
  --insight-ink: #21120d;
  --insight-muted: rgba(61, 40, 31, 0.72);
  --insight-line: rgba(91, 61, 45, 0.18);
  --insight-gold: #d9a34a;
  --insight-copper: #bd7438;
  --insight-sage: #79836b;
  --insight-shadow: 0 28px 80px rgba(65, 42, 23, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.insights-page {
  background:
    radial-gradient(circle at 16% 12%, rgba(217, 163, 74, 0.15), transparent 26rem),
    radial-gradient(circle at 90% 18%, rgba(121, 131, 107, 0.14), transparent 28rem),
    linear-gradient(180deg, #f9f2e7 0%, var(--insight-bg) 42%, #f7efe1 100%);
  color: var(--insight-ink);
}

.insights-hero {
  background:
    radial-gradient(circle at 70% 42%, rgba(217, 163, 74, 0.22), transparent 21rem),
    linear-gradient(120deg, rgba(13, 6, 4, 0.92), rgba(36, 17, 11, 0.96)),
    var(--espresso);
  color: var(--cream);
  min-height: calc(88svh - var(--nav-height));
  overflow: hidden;
  padding: clamp(6.5rem, 12vw, 10rem) 0 clamp(5.5rem, 10vw, 8rem);
  position: relative;
}

.insights-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 244, 220, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 244, 220, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  inset: 0;
  opacity: 0.65;
  position: absolute;
}

.insights-hero::after {
  content: none;
}

.insights-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 0.78fr);
  position: relative;
  z-index: 1;
}

.insights-hero h1 {
  color: var(--cream);
  font-size: clamp(4.1rem, 9vw, 9rem);
  letter-spacing: 0;
  line-height: 0.88;
  margin: 0;
  max-width: 9ch;
}

.insights-hero__lead {
  color: rgba(255, 244, 220, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.75;
  margin: clamp(1.6rem, 3vw, 2.25rem) 0 0;
  max-width: 44rem;
}

.insights-console {
  aspect-ratio: 0.86;
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 163, 74, 0.2), transparent 8rem),
    radial-gradient(circle at 50% 50%, rgba(255, 244, 220, 0.06), transparent 55%),
    rgba(255, 244, 220, 0.04);
  border: 1px solid rgba(255, 244, 220, 0.16);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  min-height: 30rem;
  overflow: hidden;
  position: relative;
}

.insights-console::before,
.insights-console::after {
  border: 1px solid rgba(217, 163, 74, 0.22);
  border-radius: 50%;
  content: "";
  inset: 13%;
  position: absolute;
}

.insights-console::after {
  border-color: rgba(121, 131, 107, 0.24);
  inset: 25%;
}

.insights-console__ring {
  border: 1px dashed rgba(255, 244, 220, 0.18);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.insights-console__ring--one {
  animation: insightsRotate 34s linear infinite;
  height: 78%;
  width: 78%;
}

.insights-console__ring--two {
  animation: insightsRotate 46s linear infinite reverse;
  height: 52%;
  width: 52%;
}

.insights-console__core {
  align-items: center;
  background: rgba(255, 244, 220, 0.93);
  border: 1px solid rgba(217, 163, 74, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  color: var(--espresso);
  display: grid;
  inset: auto;
  justify-items: center;
  left: 50%;
  min-height: 7.5rem;
  padding: 1rem;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(15rem, 55%);
}

.insights-console__core span,
.insights-console__signal span,
.insights-console__footer span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.insights-console__core strong,
.insights-console__signal strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.15;
}

.insights-console__signal {
  background: rgba(21, 11, 8, 0.74);
  border: 1px solid rgba(255, 244, 220, 0.16);
  border-radius: 8px;
  color: var(--cream);
  padding: 0.85rem 0.95rem;
  position: absolute;
}

.insights-console__signal span {
  color: var(--insight-gold);
}

.insights-console__signal--one {
  left: 8%;
  top: 16%;
}

.insights-console__signal--two {
  right: 8%;
  top: 32%;
}

.insights-console__signal--three {
  bottom: 20%;
  left: 18%;
}

.insights-console__footer {
  border-top: 1px solid rgba(255, 244, 220, 0.12);
  bottom: 0;
  color: rgba(255, 244, 220, 0.66);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 1rem 1.2rem;
  position: absolute;
  right: 0;
}

.insights-brain {
  --brain-rotate-x: 0deg;
  --brain-rotate-y: 0deg;
  aspect-ratio: 0.92;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 45%), rgba(217, 163, 74, 0.12), transparent 12rem),
    radial-gradient(circle at 50% 45%, rgba(217, 163, 74, 0.16), transparent 13rem),
    radial-gradient(circle at 50% 50%, rgba(255, 244, 220, 0.045), transparent 58%),
    linear-gradient(145deg, rgba(255, 244, 220, 0.07), rgba(255, 244, 220, 0.025));
  border: 1px solid rgba(255, 244, 220, 0.16);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  cursor: url("../images/latte-click-cursor.svg") 11 4, pointer;
  min-height: 30rem;
  overflow: hidden;
  position: relative;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.insights-brain:focus-visible {
  outline: 2px solid rgba(217, 163, 74, 0.78);
  outline-offset: 6px;
}

.insights-brain::before,
.insights-brain::after {
  content: "";
  pointer-events: none;
  position: absolute;
}

.insights-brain::before {
  background:
    linear-gradient(90deg, rgba(255, 244, 220, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 244, 220, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  inset: 0;
  opacity: 0.34;
}

.insights-brain::after {
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 45%), rgba(217, 163, 74, 0.18), transparent 16rem);
  inset: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}

.insights-brain:hover::after,
.insights-brain.is-firing::after {
  opacity: 1;
}

.insights-brain.is-firing::after {
  animation: insightPanelBloom 2.25s ease;
}

.insights-brain__stage {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(1.1rem, 4vw, 2.6rem);
  position: absolute;
  z-index: 2;
}

.signal-brain {
  color: rgba(255, 240, 204, 0.8);
  display: block;
  filter: drop-shadow(0 34px 66px rgba(0, 0, 0, 0.28));
  height: min(88%, 31rem);
  max-width: 100%;
  overflow: visible;
  transform: rotateX(var(--brain-rotate-x)) rotateY(var(--brain-rotate-y)) translateZ(28px);
  transform-origin: center;
  transform-style: preserve-3d;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: min(94%, 34rem);
}

.signal-brain__halo ellipse {
  animation: neuralHalo 8s ease-in-out infinite;
  fill: none;
  opacity: 0.38;
  stroke: rgba(217, 163, 74, 0.24);
  stroke-dasharray: 3 13;
  stroke-width: 1.1;
}

.signal-brain__halo ellipse:nth-child(2) {
  animation-delay: -2.8s;
  opacity: 0.28;
}

.signal-brain__form {
  color: rgba(255, 236, 198, 0.72);
  filter: url("#brain-glow");
}

.signal-brain__mass,
.signal-brain__cerebellum {
  stroke: rgba(255, 238, 202, 0.56);
  stroke-linejoin: round;
  stroke-width: 2;
}

.signal-brain__mass--shadow {
  fill: url("#brain-left-fill");
  opacity: 0.62;
}

.signal-brain__mass--core {
  fill: url("#brain-right-fill");
}

.signal-brain__cerebellum {
  fill: rgba(255, 226, 178, 0.12);
  opacity: 0.86;
}

.signal-brain__stem {
  fill: rgba(255, 226, 178, 0.16);
  stroke: rgba(255, 238, 202, 0.34);
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.signal-brain__sulcus {
  fill: none;
  opacity: 0.48;
  stroke: rgba(36, 18, 11, 0.78);
  stroke-linecap: round;
  stroke-width: 4.2;
}

.signal-brain__folds path {
  animation: foldBreathe 7s ease-in-out infinite;
  fill: none;
  opacity: 0.36;
  stroke: rgba(255, 237, 198, 0.68);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.signal-brain__folds path:nth-child(2n) {
  animation-delay: -2.1s;
}

.signal-brain__folds path:nth-child(3n) {
  animation-delay: -4.2s;
}

.neural-path {
  fill: none;
  filter: drop-shadow(0 0 8px rgba(217, 163, 74, 0.5));
  opacity: 0.1;
  stroke: rgba(217, 163, 74, 0.86);
  stroke-dasharray: 22 360;
  stroke-dashoffset: 390;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.neural-path--two {
  stroke: rgba(255, 220, 154, 0.9);
  stroke-dasharray: 18 340;
}

.neural-path--three {
  stroke-width: 3;
  stroke-dasharray: 14 310;
}

.neural-path--four {
  stroke-width: 3.5;
  stroke-dasharray: 16 320;
}

.neural-path--five,
.neural-path--six,
.neural-path--seven,
.neural-path--eight {
  stroke-width: 2.75;
  stroke-dasharray: 12 300;
}

.signal-brain__nodes circle {
  animation: nodeIdle 4.8s ease-in-out infinite;
  fill: rgba(217, 163, 74, 0.8);
  filter: drop-shadow(0 0 8px rgba(217, 163, 74, 0.42));
  opacity: 0.5;
  transform-box: fill-box;
  transform-origin: center;
}

.signal-brain__nodes circle:nth-child(2n) {
  animation-delay: -1.6s;
  fill: rgba(255, 234, 186, 0.82);
}

.signal-brain__nodes circle:nth-child(3n) {
  animation-delay: -3.1s;
}

.insights-brain.is-firing .signal-brain__mass,
.insights-brain.is-firing .signal-brain__cerebellum,
.insights-brain.is-firing .signal-brain__stem {
  animation: brainIgnite 2s ease;
}

.insights-brain.is-firing .signal-brain {
  animation: insightBrainBloom 2.2s ease;
}

.insights-brain.is-firing .neural-path {
  animation: neuralFire 1.85s cubic-bezier(0.15, 0.75, 0.2, 1);
  opacity: 0.94;
}

.insights-brain.is-firing .neural-path--two {
  animation-delay: 110ms;
}

.insights-brain.is-firing .neural-path--three {
  animation-delay: 220ms;
}

.insights-brain.is-firing .neural-path--four {
  animation-delay: 330ms;
}

.insights-brain.is-firing .neural-path--five {
  animation-delay: 440ms;
}

.insights-brain.is-firing .neural-path--six {
  animation-delay: 550ms;
}

.insights-brain.is-firing .neural-path--seven {
  animation-delay: 660ms;
}

.insights-brain.is-firing .neural-path--eight {
  animation-delay: 770ms;
}

.insights-brain.is-firing .signal-brain__nodes circle {
  animation: nodeFire 1.65s ease;
  opacity: 1;
}

.insights-brain.is-firing .signal-brain__nodes circle:nth-child(3n + 1) {
  animation-delay: 130ms;
}

.insights-brain.is-firing .signal-brain__nodes circle:nth-child(3n + 2) {
  animation-delay: 310ms;
}

.insights-brain.is-firing .signal-brain__nodes circle:nth-child(4n) {
  animation-delay: 520ms;
}

.insights-brain__hint {
  background: rgba(32, 17, 11, 0.72);
  border: 1px solid rgba(255, 244, 220, 0.16);
  border-radius: 999px;
  bottom: 1.15rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  color: rgba(255, 244, 220, 0.82);
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  left: 50%;
  letter-spacing: 0.08em;
  line-height: 1;
  opacity: 0;
  padding: 0.64rem 0.82rem;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  transform: translate3d(-50%, 0.4rem, 0);
  transition: opacity 220ms ease, transform 220ms ease;
  white-space: nowrap;
  z-index: 4;
}

.insights-brain:hover .insights-brain__hint,
.insights-brain:focus-visible .insights-brain__hint {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.insights-brain__fallback {
  display: none;
  inset: 18% 13% 22%;
  position: absolute;
  z-index: 1;
}

.insights-brain.is-fallback .insights-brain__fallback {
  display: block;
}

.insights-brain__fallback span {
  animation: insightsPulse 3.8s ease-in-out infinite;
  background: radial-gradient(circle, rgba(217, 163, 74, 0.82), rgba(217, 163, 74, 0.08) 62%, transparent 70%);
  border-radius: 50%;
  height: 6rem;
  position: absolute;
  width: 6rem;
}

.insights-brain__fallback span:nth-child(1) {
  left: 21%;
  top: 26%;
}

.insights-brain__fallback span:nth-child(2) {
  animation-delay: 0.7s;
  right: 18%;
  top: 31%;
}

.insights-brain__fallback span:nth-child(3) {
  animation-delay: 1.4s;
  bottom: 16%;
  left: 43%;
}

.insights-anchor-wrap {
  background: rgba(253, 246, 233, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--insight-line);
  position: sticky;
  top: var(--nav-height);
  z-index: 25;
}

.insights-anchor-bar {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.85rem;
  padding-top: 0.85rem;
  scrollbar-width: none;
}

.insights-anchor-bar::-webkit-scrollbar {
  display: none;
}

.insights-anchor-bar a {
  border: 1px solid var(--insight-line);
  border-radius: 999px;
  color: var(--insight-ink);
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.62rem 1rem;
  text-decoration: none;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.insights-anchor-bar a:hover,
.insights-anchor-bar a:focus-visible {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
  transform: translateY(-1px);
}

.insights-paths {
  background: transparent;
}

.insights-path-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.insights-path-card {
  background: var(--insight-surface);
  border: 1px solid var(--insight-line);
  border-radius: 8px;
  box-shadow: var(--insight-shadow);
  color: var(--insight-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 18rem;
  padding: clamp(1.25rem, 2.3vw, 1.8rem);
  text-decoration: none;
}

.insights-path-card span,
.insights-article-grid a span {
  color: var(--insight-copper);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.insights-path-card h3,
.insights-article-grid a h3 {
  color: inherit;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: 0;
  line-height: 1.1;
  margin: 1rem 0;
}

.insights-path-card p,
.insights-article-grid a p {
  color: var(--insight-muted);
  line-height: 1.65;
  margin: 0;
}

.insights-featured {
  background:
    radial-gradient(circle at 92% 18%, rgba(217, 163, 74, 0.16), transparent 24rem),
    linear-gradient(135deg, #120805, #24110b);
  color: var(--cream);
}

.insights-featured__grid,
.insights-subscribe__grid {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}

.insights-featured h2,
.insights-subscribe h2 {
  color: var(--cream);
}

.insights-featured__copy p,
.insights-subscribe p {
  color: rgba(255, 244, 220, 0.74);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.65;
  margin: 0;
}

.insights-featured__copy a {
  color: var(--insight-gold);
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 800;
  margin-top: 1.7rem;
  text-decoration: none;
}

.insights-category {
  background: var(--insight-paper);
  border-top: 1px solid var(--insight-line);
}

.insights-category--dark {
  background:
    linear-gradient(135deg, rgba(21, 11, 8, 0.98), rgba(42, 22, 15, 0.98)),
    var(--espresso);
  color: var(--cream);
}

.insights-category--quiet {
  background:
    radial-gradient(circle at 20% 12%, rgba(121, 131, 107, 0.14), transparent 22rem),
    #f2eadc;
}

.insights-category__grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(15rem, 0.55fr) minmax(0, 1fr);
}

.insights-category__head {
  align-self: start;
  position: sticky;
  top: calc(var(--nav-height) + 5rem);
}

.insights-category__head h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.96;
}

.insights-category__head p {
  color: var(--insight-muted);
  line-height: 1.75;
  max-width: 34rem;
}

.insights-category--dark .insights-category__head h2,
.insights-category--dark .section-label {
  color: var(--cream);
}

.insights-category--dark .insights-category__head p {
  color: rgba(255, 244, 220, 0.72);
}

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

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

.insights-article-grid a {
  background:
    linear-gradient(145deg, rgba(255, 249, 237, 0.94), rgba(242, 232, 212, 0.86));
  border: 1px solid var(--insight-line);
  border-radius: 8px;
  box-shadow: var(--insight-shadow);
  color: var(--insight-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 18rem;
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
  text-decoration: none;
}

.insights-category--dark .insights-article-grid a {
  background: rgba(255, 244, 220, 0.06);
  border-color: rgba(255, 244, 220, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--cream);
}

.insights-category--dark .insights-article-grid a p {
  color: rgba(255, 244, 220, 0.68);
}

.insights-blueprint-bridge {
  background:
    linear-gradient(90deg, rgba(10, 113, 145, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(10, 113, 145, 0.08) 1px, transparent 1px),
    #eaf5f6;
  background-size: 42px 42px;
}

.insights-blueprint-bridge__panel {
  background: rgba(247, 253, 252, 0.88);
  border: 1px solid rgba(10, 113, 145, 0.22);
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(10, 65, 82, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  padding: clamp(1.6rem, 5vw, 4rem);
}

.insights-blueprint-bridge h2 {
  color: #073646;
}

.insights-blueprint-bridge p {
  color: rgba(7, 54, 70, 0.72);
  line-height: 1.75;
  margin: 0 0 1.8rem;
}

.insights-subscribe {
  background:
    radial-gradient(circle at 15% 40%, rgba(217, 163, 74, 0.18), transparent 25rem),
    #150b08;
  color: var(--cream);
}

.insights-subscribe .btn {
  margin-top: 1.8rem;
}

html[data-theme="dark"] .insights-body {
  --insight-bg: #130b08;
  --insight-paper: #1d100b;
  --insight-surface: rgba(42, 23, 15, 0.76);
  --insight-ink: #fff2d9;
  --insight-muted: rgba(255, 242, 217, 0.68);
  --insight-line: rgba(255, 223, 170, 0.16);
  --insight-shadow: 0 30px 84px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .insights-page {
  background:
    radial-gradient(circle at 16% 12%, rgba(217, 163, 74, 0.13), transparent 26rem),
    radial-gradient(circle at 90% 18%, rgba(121, 131, 107, 0.11), transparent 28rem),
    linear-gradient(180deg, #110806 0%, #170d09 48%, #100704 100%);
}

html[data-theme="dark"] .insights-anchor-wrap {
  background: rgba(17, 8, 6, 0.9);
}

html[data-theme="dark"] .insights-anchor-bar a {
  color: var(--cream);
}

html[data-theme="dark"] .insights-category--quiet {
  background: #180d09;
}

html[data-theme="dark"] .insights-article-grid a {
  background:
    linear-gradient(145deg, rgba(255, 244, 220, 0.075), rgba(255, 244, 220, 0.035));
}

html[data-theme="dark"] .insights-blueprint-bridge {
  background:
    linear-gradient(90deg, rgba(92, 207, 226, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(92, 207, 226, 0.055) 1px, transparent 1px),
    #06141c;
}

html[data-theme="dark"] .insights-blueprint-bridge__panel {
  background: rgba(8, 31, 43, 0.82);
  border-color: rgba(92, 207, 226, 0.22);
}

html[data-theme="dark"] .insights-blueprint-bridge h2 {
  color: #e7fbff;
}

html[data-theme="dark"] .insights-blueprint-bridge p {
  color: rgba(231, 251, 255, 0.72);
}

@media (max-width: 1080px) {
  .insights-hero__grid,
  .insights-featured__grid,
  .insights-subscribe__grid,
  .insights-category__grid,
  .insights-blueprint-bridge__panel {
    grid-template-columns: 1fr;
  }

  .insights-console {
    aspect-ratio: 1.28;
    min-height: 25rem;
  }

  .insights-brain {
    aspect-ratio: 1.24;
    min-height: 25rem;
  }

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

  .insights-category__head {
    position: static;
  }
}

@media (max-width: 700px) {
  .insights-hero {
    min-height: auto;
    padding: clamp(5rem, 18vw, 6.5rem) 0 clamp(4.5rem, 16vw, 5.75rem);
  }

  .insights-hero h1 {
    font-size: clamp(3.25rem, 18vw, 4.8rem);
  }

  .insights-console {
    aspect-ratio: auto;
    min-height: 23rem;
  }

  .insights-brain {
    aspect-ratio: auto;
    min-height: 24rem;
  }

  .insights-console__signal {
    padding: 0.65rem 0.75rem;
  }

  .insights-console__signal--one {
    left: 6%;
    top: 10%;
  }

  .insights-console__signal--two {
    right: 6%;
    top: 24%;
  }

  .insights-console__signal--three {
    bottom: 18%;
    left: 8%;
  }

  .insights-console__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .insights-anchor-wrap {
    top: 0;
  }

  .insights-path-grid,
  .insights-article-grid,
  .insights-article-grid--featured {
    grid-template-columns: 1fr;
  }

  .insights-path-card,
  .insights-article-grid a {
    min-height: 14.5rem;
  }

  .insights-category__head h2 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
}

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

@keyframes insightsPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.88);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.08);
  }
}

@keyframes neuralHalo {
  0%, 100% {
    opacity: 0.22;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.46;
    transform: scale(1.018);
  }
}

@keyframes foldBreathe {
  0%, 100% {
    opacity: 0.26;
  }
  50% {
    opacity: 0.46;
  }
}

@keyframes nodeIdle {
  0%, 100% {
    opacity: 0.36;
    transform: scale(0.82);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.08);
  }
}

@keyframes neuralFire {
  0% {
    opacity: 0;
    stroke-dashoffset: 390;
  }
  36% {
    opacity: 1;
  }
  68% {
    opacity: 0.94;
  }
  100% {
    opacity: 0.12;
    stroke-dashoffset: -140;
  }
}

@keyframes nodeFire {
  0% {
    opacity: 0.34;
    transform: scale(0.75);
  }
  35% {
    opacity: 1;
    transform: scale(1.85);
  }
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}

@keyframes brainIgnite {
  0%, 100% {
    stroke-opacity: 0.56;
    opacity: 0.82;
  }
  35% {
    stroke-opacity: 0.92;
    opacity: 1;
  }
  58% {
    stroke-opacity: 0.74;
    opacity: 0.94;
  }
}

@keyframes insightBrainBloom {
  0%, 100% {
    filter: drop-shadow(0 34px 66px rgba(0, 0, 0, 0.28));
  }
  42% {
    filter:
      drop-shadow(0 34px 66px rgba(0, 0, 0, 0.28))
      drop-shadow(0 0 24px rgba(217, 163, 74, 0.55))
      drop-shadow(0 0 54px rgba(255, 228, 174, 0.24));
  }
}

@keyframes insightPanelBloom {
  0% {
    background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 45%), rgba(217, 163, 74, 0.08), transparent 12rem);
  }
  42% {
    background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 45%), rgba(255, 225, 170, 0.36), transparent 18rem);
  }
  100% {
    background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 45%), rgba(217, 163, 74, 0.18), transparent 16rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-brain,
  .signal-brain__halo ellipse,
  .signal-brain__folds path,
  .signal-brain__nodes circle,
  .insights-brain.is-firing .signal-brain__mass,
  .insights-brain.is-firing .signal-brain__cerebellum,
  .insights-brain.is-firing .signal-brain__stem,
  .insights-brain.is-firing .neural-path,
  .insights-brain.is-firing .signal-brain__nodes circle {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
