:root {
  --paper: #fbf8f4;
  --paper-deep: #e8e1f0;
  --white: #fbf8f4;
  --mist: #e8e1f0;
  --ink: #000000;
  --muted: #222222;
  --green: #8f7eaa;
  --green-dark: #000000;
  --green-soft: #e8e1f0;
  --coral: #d9bfa9;
  --coral-dark: #000000;
  --gold: #d9bfa9;
  --blue: #c9b8dd;
  --blue-soft: #c9b8dd;
  --cta-bg: #67577e;
  --cta-bg-hover: #5f5078;
  --cta-text: #fbf8f4;
  --line: rgba(0, 0, 0, 0.14);
  --line-strong: rgba(0, 0, 0, 0.28);
  --shadow: 0 18px 45px rgba(143, 126, 170, 0.2);
  --shadow-soft: 0 10px 28px rgba(143, 126, 170, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(251, 248, 244, 0.72), transparent 430px),
    var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(201, 184, 221, 0.55);
}

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

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

p {
  max-width: 68ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 244, 0.94);
  backdrop-filter: blur(18px);
}

.reading-progress {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--coral));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: clamp(46px, 4.8vw, 58px);
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(251, 248, 244, 0.7);
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 18px;
  color: var(--green-dark);
  font-size: 0.94rem;
  font-weight: 720;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
  content: "";
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="true"] {
  color: var(--coral-dark);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.header-cta,
.button,
.floating-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-cta {
  padding: 11px 15px;
  border-color: var(--blue);
  background: var(--cta-bg);
  color: var(--cta-text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(620px, 1.18fr);
  gap: clamp(24px, 3vw, 40px);
  min-height: auto;
  align-items: start;
  overflow: hidden;
  padding: clamp(40px, 5vw, 68px) clamp(20px, 6vw, 72px);
  background:
    linear-gradient(135deg, var(--paper) 0%, var(--paper-deep) 46%, var(--blue-soft) 100%);
}

.hero-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
  min-height: 0;
}

.hero-portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}

.hero-person {
  position: relative;
  min-width: 0;
  margin: 0;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media picture {
  display: block;
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(251, 248, 244, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-person figcaption {
  position: absolute;
  right: 12px;
  bottom: clamp(24px, 2.2vw, 34px);
  left: 12px;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(251, 248, 244, 0.82);
  border-radius: 8px;
  background: rgba(251, 248, 244, 0.9);
  box-shadow: 0 14px 28px rgba(46, 37, 48, 0.12);
}

.hero-person figcaption strong {
  color: var(--ink);
  font-size: clamp(0.88rem, 1vw, 1rem);
  line-height: 1.12;
}

.hero-person figcaption span {
  color: var(--green-dark);
  font-size: clamp(0.73rem, 0.82vw, 0.82rem);
  font-weight: 780;
  line-height: 1.24;
}

.hero-media img {
  display: block;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.01) brightness(1.03);
}

.hero-person:first-child img {
  object-position: 52% 28%;
}

.hero-person:last-child img {
  object-position: 60% 25%;
}

.hero-cbt-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
  padding: clamp(22px, 2.8vw, 34px);
  border: 1px solid rgba(201, 184, 221, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(251, 248, 244, 0.94), rgba(232, 225, 240, 0.8));
  box-shadow: var(--shadow-soft);
}

.hero-cbt-heading {
  display: grid;
  gap: 8px;
  max-width: 360px;
}

.hero-cbt-note span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-cbt-note strong {
  display: block;
  max-width: 36ch;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  line-height: 1.18;
}

.hero-cbt-note p {
  max-width: 920px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.6;
}

.hero-content {
  width: min(800px, 100%);
  color: var(--ink);
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--green-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.2vw, 3.85rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.6vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.17rem, 2vw, 1.58rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-names {
  margin-bottom: 14px;
  color: var(--coral-dark);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 12px 15px;
  font-size: 0.96rem;
}

.button-primary {
  border-color: var(--blue);
  background: var(--cta-bg);
  color: var(--cta-text);
  box-shadow: 0 12px 24px rgba(143, 126, 170, 0.24);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(251, 248, 244, 0.72);
  color: var(--green-dark);
}

.hero-location {
  display: grid;
  gap: 5px;
  max-width: 640px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-location span {
  display: block;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-location strong {
  color: var(--ink);
  line-height: 1.18;
}

.trust-strip,
.first-session-band,
.section,
.split-band,
.faq-band,
.support-band,
.contact-section,
.site-footer {
  padding-inline: clamp(20px, 6vw, 72px);
}

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

.trust-item {
  min-height: 132px;
  padding: 24px;
  background: var(--white);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.96rem;
}

.first-session-band {
  padding-top: clamp(46px, 6vw, 74px);
  padding-bottom: clamp(46px, 6vw, 74px);
  background: var(--paper);
}

.first-session-copy {
  display: grid;
  width: min(900px, 100%);
  margin: 0 auto;
  gap: 10px;
  text-align: center;
}

.first-session-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
}

.first-session-copy p {
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
}

.section {
  padding-top: clamp(68px, 9vw, 118px);
  padding-bottom: clamp(68px, 9vw, 118px);
  scroll-margin-top: 94px;
}

.section-tight {
  padding-bottom: clamp(54px, 7vw, 88px);
}

.section-heading {
  width: min(790px, 100%);
  margin: 0 auto clamp(36px, 5vw, 62px);
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading p,
.rich-copy p,
.pepm-content p,
.contact-copy p,
.lead-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.route-section {
  background:
    linear-gradient(180deg, var(--white), var(--paper));
}

.route-grid,
.service-grid,
.process-grid,
.work-grid {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: 14px;
}

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

.route-card,
.service-card,
.work-grid article,
.process-item,
.contact-panel,
.app-mockup {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.route-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.route-card span {
  color: var(--coral-dark);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.route-card h3 {
  margin-top: 28px;
}

.route-card p,
.service-card p,
.work-grid p,
.process-item p,
.faq-list p,
.support-band p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-section {
  background: var(--paper);
}

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

.service-card {
  min-height: 336px;
  padding: 24px;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--coral));
  content: "";
}

.service-number {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--gold);
  font-weight: 850;
}

.split-band {
  padding-top: clamp(68px, 9vw, 118px);
  padding-bottom: clamp(68px, 9vw, 118px);
  background:
    linear-gradient(180deg, var(--mist), var(--blue-soft));
  scroll-margin-top: 94px;
}

.profile-list {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: clamp(46px, 7vw, 84px);
}

.profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.profile-reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
}

.profile-reverse .profile-photo {
  order: 2;
}

.profile-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, rgba(143, 126, 170, 0.16), transparent);
  content: "";
}

.profile-photo img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.profile-copy p {
  color: var(--muted);
}

.profile-highlight {
  display: grid;
  gap: 6px;
  margin: 24px 0 0;
  padding: 18px;
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: rgba(251, 248, 244, 0.78);
}

.profile-highlight strong {
  color: var(--green-dark);
}

.profile-highlight span {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  background: rgba(251, 248, 244, 0.72);
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 760;
}

.two-column {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 76px);
}

.two-column h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.process-grid {
  margin-top: clamp(36px, 5vw, 62px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-item {
  padding: 20px;
}

.process-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  line-height: 1.2;
}

.pepm-band {
  padding: clamp(68px, 9vw, 118px) clamp(20px, 6vw, 72px);
  background:
    linear-gradient(135deg, var(--blue-soft), var(--green-soft) 58%, var(--paper));
  color: var(--ink);
  scroll-margin-top: 94px;
}

.pepm-layout {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.9fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.pepm-content h2 {
  max-width: 12em;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.pepm-content p {
  color: var(--muted);
}

.pepm-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(251, 248, 244, 0.7);
  color: var(--ink) !important;
  font-weight: 720;
}

.pepm-flow {
  display: grid;
  gap: 12px;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(201, 184, 221, 0.9);
  border-radius: 8px;
  background: rgba(251, 248, 244, 0.9);
  box-shadow: 0 22px 52px rgba(143, 126, 170, 0.18);
}

.pepm-flow-head {
  display: grid;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.pepm-flow-head span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.pepm-flow-head strong {
  max-width: 28ch;
  color: var(--ink);
  font-size: clamp(1.16rem, 1.8vw, 1.5rem);
  line-height: 1.15;
}

.pepm-steps {
  display: grid;
  gap: 10px;
}

.pepm-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pepm-step > span {
  grid-row: 1 / 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--paper-deep);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.pepm-step strong {
  color: var(--ink);
  line-height: 1.15;
}

.pepm-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.38;
}

.app-mockup {
  overflow: hidden;
  background: rgba(251, 248, 244, 0.94);
  color: var(--ink);
  box-shadow: 0 22px 52px rgba(143, 126, 170, 0.18);
}

.mockup-top {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.mockup-top span {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.mockup-top em {
  color: var(--muted);
  font-style: normal;
  font-weight: 760;
}

.mockup-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.metric-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.metric-card span {
  color: var(--coral-dark);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.mockup-row {
  display: grid;
  grid-template-columns: 1fr 84px;
  gap: 12px;
  align-items: center;
}

.mockup-row span,
.mockup-row i {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: var(--green-soft);
}

.mockup-row i {
  background: var(--blue-soft);
}

.mockup-row.short {
  width: 78%;
}

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

.work-grid article {
  min-height: 240px;
  padding: 22px;
}

.faq-band {
  padding-top: clamp(62px, 8vw, 102px);
  padding-bottom: clamp(62px, 8vw, 102px);
  background: var(--white);
}

.faq-layout {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 76px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f4;
}

summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  gap: 18px;
  justify-content: space-between;
  padding: 18px 20px;
  color: var(--green-dark);
  font-weight: 850;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  flex: 0 0 auto;
  color: var(--green);
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 20px 18px;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
  background: #e8e1f0;
  border-top: 1px solid rgba(217, 191, 169, 0.42);
  border-bottom: 1px solid rgba(217, 191, 169, 0.42);
}

.support-band > div:first-child {
  width: min(820px, 100%);
}

.support-band h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.support-links a {
  padding: 9px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  color: var(--coral-dark);
  font-weight: 820;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding-top: clamp(68px, 9vw, 118px);
  padding-bottom: clamp(76px, 10vw, 132px);
  background:
    linear-gradient(180deg, var(--paper), var(--green-soft));
  scroll-margin-top: 94px;
}

.contact-copy {
  width: min(720px, 100%);
  justify-self: end;
}

.contact-copy .button {
  margin-top: 12px;
}

.contact-panel {
  width: min(420px, 100%);
  padding: 10px;
}

.contact-row {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.contact-row strong {
  color: var(--green-dark);
  line-height: 1.25;
}

.contact-row small {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.35;
}

.contact-link {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-color: rgba(143, 126, 170, 0.58);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--coral-dark);
}

.floating-cta {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  padding: 13px 16px;
  border-color: var(--blue);
  background: var(--cta-bg);
  color: var(--cta-text);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

body.is-scrolled .floating-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
  background: #e8e1f0;
  color: var(--ink);
}

.site-footer p {
  color: var(--muted);
}

.site-footer a {
  font-weight: 850;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

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

@media (hover: hover) {
  .button:hover,
  .button:focus-visible,
  .header-cta:hover,
  .header-cta:focus-visible,
  .floating-cta:hover,
  .floating-cta:focus-visible,
  .route-card:hover,
  .route-card:focus-visible {
    transform: translateY(-2px);
  }

  .route-card:hover,
  .route-card:focus-visible,
  .service-card:hover,
  .work-grid article:hover,
  .process-item:hover {
    box-shadow: var(--shadow);
  }

  .button-primary:hover,
  .button-primary:focus-visible,
  .header-cta:hover,
  .header-cta:focus-visible,
  .floating-cta:hover,
  .floating-cta:focus-visible {
    background: var(--cta-bg-hover);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 0.78fr) minmax(560px, 1.22fr);
    gap: 20px;
    padding-inline: clamp(28px, 4vw, 42px);
  }

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

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-content,
  .hero-media {
    display: contents;
  }

  .hero .eyebrow {
    order: 1;
  }

  .hero h1 {
    order: 2;
  }

  .hero-names {
    order: 3;
  }

  .hero-portraits {
    order: 4;
    width: 100%;
  }

  .hero-lead {
    order: 5;
  }

  .hero-actions {
    order: 6;
  }

  .hero-location {
    order: 7;
  }

  .hero-cbt-note {
    grid-template-columns: 1fr;
    order: 8;
  }

  .hero-cbt-heading {
    max-width: none;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .profile,
  .profile-reverse,
  .two-column,
  .faq-layout,
  .contact-section,
  .pepm-layout {
    grid-template-columns: 1fr;
  }

  .profile-reverse .profile-photo {
    order: 0;
  }

  .contact-copy {
    justify-self: start;
  }

  .support-band {
    grid-template-columns: 1fr;
  }

  .support-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    gap: 10px;
    min-height: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    height: 50px;
    max-width: min(230px, 62vw);
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 2px 10px;
    font-size: 0.82rem;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 26px 18px 28px;
  }

  .hero-portraits {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    gap: 10px;
    margin: 2px 0 12px;
  }

  .hero-person {
    overflow: hidden;
    border: 1px solid rgba(251, 248, 244, 0.92);
    border-radius: 8px;
    background: rgba(251, 248, 244, 0.86);
    box-shadow: var(--shadow-soft);
  }

  .hero-person picture {
    aspect-ratio: 4 / 5;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-person figcaption {
    position: static;
    padding: 10px 9px 11px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-person figcaption strong {
    font-size: clamp(0.78rem, 3.1vw, 0.9rem);
  }

  .hero-person figcaption span {
    font-size: clamp(0.68rem, 2.65vw, 0.78rem);
  }

  .hero-cbt-note {
    gap: 7px;
    padding: 16px;
  }

  .hero-cbt-note p {
    font-size: 0.94rem;
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(2.2rem, 9.8vw, 3.45rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

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

  .trust-strip,
  .route-grid,
  .service-grid,
  .process-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 0;
    padding: 20px;
  }

  .route-card,
  .service-card,
  .work-grid article {
    min-height: auto;
  }

  .profile-photo img {
    max-height: 560px;
  }

  .support-links a {
    width: 100%;
  }

  .floating-cta {
    display: inline-flex;
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
