@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,500;0,600;1,500&display=swap");

:root {
  --ink: #0a2342;
  --ink-deep: #06172d;
  --paper: #f7f8fa;
  --white: #ffffff;
  --muted: #66758a;
  --line: #d7dee7;
  --gold: #b8860b;
  --gold-bright: #d7aa39;
  --font-display: "Lora", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow: 0 22px 70px rgba(6, 23, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@keyframes page-flow-in {
  from {
    opacity: 0.35;
    transform: translateY(0.25rem) scale(0.998);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes page-veil-reveal {
  from {
    opacity: 0.62;
    visibility: visible;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .has-page-transitions::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    background: var(--paper);
    pointer-events: none;
    transition: opacity 140ms cubic-bezier(0.4, 0, 1, 1), visibility 0s linear 140ms;
  }

  .has-page-transitions .page-transition-content {
    transition: opacity 140ms cubic-bezier(0.4, 0, 1, 1), transform 140ms cubic-bezier(0.4, 0, 1, 1);
  }

  .has-page-transitions.is-page-leaving::after {
    visibility: visible;
    opacity: 0.62;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .has-page-transitions.is-page-leaving .page-transition-content {
    opacity: 0.35;
    pointer-events: none;
    transform: translateY(-0.25rem) scale(0.998);
  }

  .has-page-transitions.has-page-arrival::after {
    animation: page-veil-reveal 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .has-page-transitions.has-page-arrival .page-transition-content {
    animation: page-flow-in 240ms cubic-bezier(0.16, 1, 0.3, 1) 10ms both;
  }
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 0.35rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(10, 35, 66, 0.1);
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: blur(16px);
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.nav-shell {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.desktop-nav a {
  text-decoration: none;
}

.desktop-nav a:not(.button):hover,
.desktop-nav a:not(.button):focus-visible {
  color: var(--gold);
}

.mobile-nav {
  display: none;
}

.services-nav {
  position: static;
}

.services-nav > summary,
.mobile-services-nav > summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  list-style: none;
}

.services-nav > summary::-webkit-details-marker,
.mobile-services-nav > summary::-webkit-details-marker {
  display: none;
}

.services-nav > summary:hover,
.services-nav > summary:focus-visible,
.services-nav[open] > summary {
  color: var(--gold);
}

.services-nav > summary:focus-visible,
.mobile-services-nav > summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0.35rem;
}

.nav-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 160ms ease;
}

[open] > summary .nav-chevron {
  transform: translateY(0.12rem) rotate(225deg);
}

.services-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  width: min(72rem, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.services-menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
}

.services-menu-group {
  padding: 2rem;
}

.services-menu-capabilities {
  border-left: 1px solid var(--line);
  background: var(--paper);
}

.services-menu-kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.services-problem-list,
.services-capability-list {
  display: grid;
}

.services-problem-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.services-problem-link:last-child {
  border-bottom: 1px solid var(--line);
}

.services-problem-link span:last-child {
  color: var(--gold);
  transition: transform 160ms ease;
}

.desktop-nav .services-mega .services-problem-link:hover,
.desktop-nav .services-mega .services-problem-link:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

.services-problem-link:hover span:last-child,
.services-problem-link:focus-visible span:last-child {
  transform: translateX(0.25rem);
}

.services-capability-list {
  gap: 0.35rem;
}

.services-capability-link {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.75rem;
  border-left: 2px solid transparent;
  color: var(--ink);
  line-height: 1.35;
  text-decoration: none;
}

.services-capability-link span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.services-capability-link small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.desktop-nav .services-mega .services-capability-link:hover,
.desktop-nav .services-mega .services-capability-link:focus-visible {
  border-left-color: var(--gold);
  color: var(--ink);
  background: var(--white);
}

.services-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 2rem;
  color: var(--white);
  background: var(--ink);
}

.services-menu-footer a {
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav .services-mega .services-menu-footer a:hover,
.desktop-nav .services-mega .services-menu-footer a:focus-visible {
  color: var(--gold-bright);
}

.services-menu-contact span:first-child {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  gap: 0.55rem;
  border: 1px solid var(--ink);
  border-radius: 0.25rem;
  color: var(--white);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--ink-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}

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

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  background: transparent;
}

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

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(10, 35, 66, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 35, 66, 0.055) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to right, transparent, black 24%, black 76%, transparent);
}

.hero::after {
  content: "x";
  position: absolute;
  right: max(-2rem, calc((100vw - 1180px) / 2 - 2rem));
  top: -7rem;
  z-index: -1;
  color: rgba(184, 134, 11, 0.075);
  font-family: var(--font-display);
  font-size: clamp(22rem, 47vw, 46rem);
  font-style: italic;
  line-height: 1;
  transform: rotate(-8deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  align-items: end;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(3.1rem, 6vw, 5.85rem);
  line-height: 1.03;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
}

h2 {
  max-width: 16ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 4.7vw, 4.5rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.hero-copy {
  max-width: 42rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
}

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

.equation-card {
  position: relative;
  padding: 2rem;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.equation-card::before {
  content: "";
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(215, 170, 57, 0.38);
  pointer-events: none;
}

.equation-label {
  position: relative;
  margin: 0 0 2.4rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.equation {
  position: relative;
  display: grid;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.3;
}

.equation span {
  color: var(--gold-bright);
  font-style: italic;
}

.equation-result {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white) !important;
  font-style: normal !important;
}

.equation-card--focus {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  justify-content: space-between;
}

.equation-card--focus .equation-label {
  margin-bottom: 1.5rem;
}

.equation-card--focus .equation {
  gap: 1.5rem;
}

.equation-card--focus .equation > div:first-child {
  color: var(--gold-bright);
  font-size: clamp(6rem, 9vw, 8rem);
  font-style: italic;
  line-height: 0.7;
}

.equation-card--focus .equation-result {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  text-wrap: balance;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-compact-top {
  padding-top: 0;
}

.section-dark {
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-gold {
  background: #f0e6ca;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.55fr);
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2 {
  max-width: 20ch;
  text-wrap: balance;
}

.heading-highlight {
  color: var(--gold);
  font-style: italic;
}

.section-dark .heading-highlight {
  color: var(--gold-bright);
}

.section-heading p {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

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

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

.service-card {
  min-height: 21rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-number,
.process-number {
  display: block;
  margin-bottom: 4rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  text-underline-offset: 0.28rem;
}

.statement {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.statement-mark {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 18rem);
  font-style: italic;
  line-height: 0.7;
}

.statement-quote {
  margin: 0 0 2rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.statement-copy {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

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

.principle-card {
  min-height: 17rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.principle-card p {
  margin: 0;
  color: var(--muted);
}

.principle-symbol {
  display: block;
  margin-bottom: 3rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2rem;
}

.commitment-list {
  border-top: 1px solid var(--ink);
}

.commitment-item {
  display: grid;
  grid-template-columns: 4rem minmax(10rem, 0.55fr) minmax(0, 1fr);
  align-items: first baseline;
  gap: clamp(1.25rem, 4vw, 4rem);
  padding: clamp(1.6rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.commitment-item:last-child {
  border-bottom: 3px solid var(--gold);
}

.commitment-number {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-variant-numeric: tabular-nums;
}

.commitment-item h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.commitment-item p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
}

.cta-band {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--white);
  background: var(--ink);
}

.cta-band h2 {
  max-width: 14ch;
  margin-bottom: 0;
  color: var(--white);
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.68);
}

.page-hero {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 6.5vw, 6rem);
}

.page-lead {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 8vw, 8rem);
}

.prose {
  max-width: 48rem;
}

.prose p {
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.prose .lead {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.3;
}

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

.process-card {
  min-height: 19rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: transparent;
}

.process-card p {
  color: rgba(255, 255, 255, 0.65);
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.comparison > div {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.comparison > div + div {
  border-left: 1px solid var(--line);
  background: var(--white);
}

.comparison-label {
  display: block;
  margin-bottom: 2rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.comparison ul {
  margin: 0;
  padding-left: 1.1rem;
}

.comparison li + li {
  margin-top: 0.9rem;
}

.contact-section--primary {
  min-height: calc(100dvh - 5rem);
  padding-top: clamp(3rem, 6vw, 5.5rem);
  background:
    linear-gradient(rgba(10, 35, 66, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 35, 66, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 4.5rem 4.5rem, 4.5rem 4.5rem, auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(19rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.contact-note {
  position: sticky;
  top: 7rem;
  align-self: start;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.contact-note::after {
  content: "x";
  position: absolute;
  right: -1.5rem;
  top: -4rem;
  color: rgba(215, 170, 57, 0.08);
  font-family: var(--font-display);
  font-size: 16rem;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.contact-note > * {
  position: relative;
  z-index: 1;
}

.contact-note .eyebrow {
  color: var(--gold-bright);
}

.contact-section--primary .contact-note h1,
.contact-note h2 {
  max-width: 12ch;
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}

.contact-note p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-note .contact-lead {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
}

.contact-note strong {
  color: var(--white);
}

.contact-next {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-next .contact-next-label {
  margin: 0 0 1rem;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-next ol {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding-left: 1.4rem;
  list-style: decimal;
}

.contact-next li {
  padding-left: 0.35rem;
}

.contact-next li::marker {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-style: italic;
}

.contact-next strong {
  display: block;
  margin-bottom: 0.15rem;
}

.contact-next li p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-form-panel {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 3px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form-heading {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.contact-form-heading h2 {
  max-width: 18ch;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.contact-form-heading > p:last-child {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 2rem;
}

.form-section {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0 0 2rem;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.form-section legend {
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field label,
.fieldset-label {
  font-size: 0.9rem;
  font-weight: 700;
}

.field label span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field #impact {
  min-height: 7rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #aeb9c7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(184, 134, 11, 0.24);
  outline-offset: 1px;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.08);
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.form-submit p {
  max-width: 22rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-message {
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--gold);
  background: var(--paper);
}

.form-message p,
.form-message ul {
  margin: 0.45rem 0 0;
}

.form-success {
  padding: clamp(2rem, 5vw, 4rem);
}

.form-success strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.form-errors {
  border-left-color: #9e3d31;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.65);
  background: var(--ink-deep);
}

.footer-shell {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 3rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  max-width: 27rem;
}

.footer-brand .brand {
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-brand p {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-nav a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    position: relative;
  }

  .mobile-nav summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu {
    position: absolute;
    top: 2.5rem;
    right: 0;
    display: grid;
    width: min(31rem, calc(100vw - 1.25rem));
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    padding: 0.75rem;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .mobile-menu > a {
    padding: 0.75rem;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-services-nav {
    border-bottom: 1px solid var(--line);
  }

  .mobile-services-nav > summary {
    justify-content: space-between;
    padding: 0.75rem;
    font-weight: 700;
  }

  .mobile-services-nav[open] > summary {
    color: var(--gold);
  }

  .mobile-services-menu {
    margin: 0 -0.75rem -0.75rem;
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  .mobile-services-menu .services-menu-grid {
    grid-template-columns: 1fr;
  }

  .mobile-services-menu .services-menu-group {
    padding: 1.25rem 1.5rem;
  }

  .mobile-services-menu .services-menu-capabilities {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mobile-services-menu .services-problem-link {
    font-size: 0.82rem;
  }

  .mobile-services-menu .services-capability-link {
    padding-inline: 0;
  }

  .mobile-services-menu .services-menu-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem 1.5rem;
  }

  .mobile-services-menu .services-menu-contact span:first-child {
    display: block;
  }

  .hero-grid,
  .section-heading,
  .statement,
  .cta-band,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .equation-card {
    max-width: 32rem;
  }

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

  .statement-mark {
    display: none;
  }

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

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

  .contact-note {
    position: static;
  }

  .contact-note h1,
  .contact-note h2 {
    max-width: 18ch;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .section-shell,
  .footer-shell {
    width: min(100% - 1.25rem, 1180px);
  }

  .brand-name {
    max-width: 8rem;
    line-height: 1.1;
  }

  .service-grid,
  .principle-grid,
  .process-grid,
  .comparison,
  .field-row {
    grid-template-columns: 1fr;
  }

  .comparison > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-card,
  .principle-card,
  .process-card {
    min-height: 0;
  }

  .service-number,
  .principle-symbol,
  .process-number {
    margin-bottom: 2.5rem;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .contact-form-panel {
    padding: 1.25rem;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Services page
   Scoped classes for the redesigned /services layout.
   Nothing above this block is modified, so the other four pages are untouched.
   ========================================================================== */

/* The flat .page-hero reads as a header band rather than a hero. This restores
   the homepage's three devices: blueprint grid, ghosted mark, right-hand object.
   Shared by every inner page; each sets its own glyph via data-mark. */
.page-hero-figured {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
}

.page-hero-figured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(10, 35, 66, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 35, 66, 0.055) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to right, transparent, black 24%, black 76%, transparent);
}

.page-hero-figured::after {
  content: attr(data-mark);
  position: absolute;
  right: max(-7rem, calc((100vw - 1180px) / 2 - 7rem));
  top: -8rem;
  z-index: -1;
  color: rgba(184, 134, 11, 0.055);
  font-family: var(--font-display);
  font-size: clamp(20rem, 42vw, 40rem);
  font-style: italic;
  line-height: 1;
  transform: rotate(-8deg);
}

/* The headline spans the full shell and keeps its .page-hero scale, so it stays
   larger than the h2s below it. Only the lead and the card share the split row. */
.page-hero-figured h1 {
  max-width: 24ch;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.page-hero-grid .page-lead {
  margin-bottom: 0;
}

.page-hero-grid .hero-actions {
  margin-top: 1.75rem;
}

.svc-heading {
  max-width: 72rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.svc-heading h2 {
  max-width: 24ch;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.svc-heading p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* --- Symptom triage ------------------------------------------------------ */

.svc-triage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.svc-triage--five {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.svc-triage--five > * {
  grid-column: span 2;
}

.svc-triage--five > :nth-child(4) {
  grid-column: 2 / span 2;
}

.svc-triage--five > :nth-child(5) {
  grid-column: 4 / span 2;
}

.svc-triage--equal {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.svc-triage-cell {
  display: flex;
  flex-direction: column;
  min-height: 21rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.svc-triage-cell:hover,
.svc-triage-cell:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.svc-triage-cell:active {
  transform: translateY(-1px);
}

.svc-triage-cell--ink {
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.svc-triage-cell--plate {
  background:
    linear-gradient(rgba(10, 35, 66, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 35, 66, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 3rem 3rem, 3rem 3rem, auto;
}

.svc-symptom {
  margin: 0 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.svc-triage-cell--ink .svc-symptom {
  color: var(--white);
}

.svc-triage-answer {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.svc-triage-cell--ink .svc-triage-answer {
  border-top-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.svc-triage-answer span {
  display: block;
  margin-top: 0.4rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.28rem;
  text-decoration-color: var(--gold);
}

.svc-triage-cell--ink .svc-triage-answer span {
  color: var(--gold-bright);
}

/* --- Service detail ------------------------------------------------------ */

.svc-service {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.svc-service--mirror {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.svc-service--mirror .svc-figure {
  order: -1;
}

.svc-service .prose {
  max-width: 44rem;
}

.section-dark .prose .lead {
  color: var(--white);
}

.svc-evidence {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.svc-numeral {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-style: italic;
  line-height: 1;
}

.section-dark .svc-numeral {
  color: var(--gold-bright);
}

/* Abstract brand plate standing in for photography until real art lands.
   Same geometric device as the homepage hero, not a decorative illustration. */
.svc-figure {
  margin: 0;
  position: sticky;
  top: 7rem;
}

.svc-plate {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(118deg, transparent 47.2%, rgba(215, 170, 57, 0.62) 47.2%, rgba(215, 170, 57, 0.62) 47.9%, transparent 47.9%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 3.25rem 3.25rem, 3.25rem 3.25rem, auto;
  box-shadow: var(--shadow);
}

.svc-plate::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0.75rem;
  border: 1px solid rgba(215, 170, 57, 0.34);
}

/* Real artwork covers the fallback plate. If the file is ever missing the
   navy grid and gold pathway still render, so the slot never looks broken. */
.svc-plate img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the standalone mark is the fallback's subject; drop it once a photo is in */
.svc-plate:has(img)::after {
  content: none;
}

.svc-plate::after {
  content: attr(data-mark);
  position: absolute;
  right: 1.75rem;
  bottom: -2.5rem;
  color: rgba(215, 170, 57, 0.26);
  font-family: var(--font-display);
  font-size: 11rem;
  font-style: italic;
  line-height: 1;
}

/* --- Infrastructure ledger ----------------------------------------------- */

.svc-ledger {
  margin: 2.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.svc-ledger > div {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
  gap: 1.5rem;
  padding: 1.35rem 0;
}

.svc-ledger > div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.svc-ledger dt {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.svc-ledger dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* --- Data deliverables ---------------------------------------------------- */

.svc-deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2.5rem;
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.svc-deliverables dt {
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--ink);
}

.svc-deliverables dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- Engagement steps ----------------------------------------------------- */

.svc-cta h2 {
  max-width: 24ch;
}

.svc-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.svc-step {
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--white);
}

.svc-step-mark {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1;
}

.svc-step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.svc-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* --- Motion --------------------------------------------------------------- */
/* Scroll reveal exists to pace the three service sections so each one arrives
   as its own moment. Transform and opacity only, no scroll listeners. */

@keyframes svc-rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Gated on animation-duration: auto as well as the timeline. The shorthand
     leaves duration at 0s, which pins the animation to its first keyframe and
     hides the section for good. Longhands only, and if either feature is
     missing the rule never applies and the content renders plainly. */
  @supports (animation-timeline: view()) and (animation-duration: auto) {
    .svc-reveal {
      animation-name: svc-rise;
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
  }
}

/* --- Responsive ----------------------------------------------------------- */

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

  .page-hero-grid .equation-card {
    max-width: 32rem;
  }

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

  .svc-triage--five > * {
    grid-column: auto;
  }

  .svc-triage-cell:first-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .svc-triage--equal .svc-triage-cell:first-child {
    grid-column: auto;
    min-height: 21rem;
  }

  .svc-service,
  .svc-steps {
    grid-template-columns: 1fr;
  }

  .svc-service--mirror .svc-figure {
    order: 0;
  }

  .svc-figure {
    position: static;
    max-width: 26rem;
  }

  .svc-step-mark {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 620px) {
  .svc-triage {
    grid-template-columns: 1fr;
  }

  .svc-triage-cell:first-child,
  .svc-triage--five > * {
    grid-column: auto;
  }

  .svc-triage-cell {
    min-height: 0;
  }

  .svc-triage--equal .svc-triage-cell:first-child {
    min-height: 0;
  }

  .svc-ledger > div,
  .svc-deliverables {
    grid-template-columns: 1fr;
  }

  .svc-ledger > div {
    gap: 0.35rem;
  }
}

/* ===========================================================================
   The ROZY Logic
   A working-method ledger rather than a generic row of process cards.
   ========================================================================== */

.rozy-method {
  scroll-margin-top: 5rem;
  background:
    linear-gradient(rgba(10, 35, 66, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 35, 66, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 4.5rem 4.5rem, 4.5rem 4.5rem, auto;
}

.rozy-method-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.6fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.rozy-method-heading h2 {
  max-width: 17ch;
  margin-bottom: 0;
  text-wrap: balance;
}

.rozy-method-heading > p {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.rozy-stage {
  display: grid;
  grid-template-columns: 5rem minmax(14rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.rozy-letter {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-style: italic;
  line-height: 0.85;
}

.rozy-stage-index {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rozy-stage-name h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.rozy-question {
  max-width: 29rem;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.5;
}

.rozy-stage-work > p {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.rozy-stage-work dl {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  align-items: first baseline;
  gap: 1rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.rozy-stage-work dt {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rozy-stage-work dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.rozy-stage--focus {
  position: relative;
  isolation: isolate;
  border-bottom-color: transparent;
}

.rozy-stage--focus::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline: calc(clamp(1rem, 3vw, 2.5rem) * -1);
  z-index: -1;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.rozy-stage--focus .rozy-letter,
.rozy-stage--focus .rozy-stage-index,
.rozy-stage--focus .rozy-stage-work dt {
  color: var(--gold-bright);
}

.rozy-stage--focus h3,
.rozy-stage--focus .rozy-question,
.rozy-stage--focus .rozy-stage-work dd {
  color: var(--white);
}

.rozy-stage--focus .rozy-stage-work > p {
  color: rgba(255, 255, 255, 0.7);
}

.rozy-stage--focus .rozy-stage-work dl {
  border-top-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .rozy-method-heading,
  .rozy-stage {
    grid-template-columns: 1fr;
  }

  .rozy-stage {
    gap: 1.25rem;
  }

  .rozy-letter {
    font-size: 3.5rem;
  }

  .rozy-stage--focus::before {
    inset-inline: 0;
  }
}

@media (max-width: 620px) {
  .rozy-stage-work dl {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
