/*
Theme Name: Yotamw Editorial
Theme URI: https://yotamw.co.il/
Author: Yotamw
Description: Classic RTL theme for the verified Yotamw website.
Version: 1.1.2
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: yotamw-editorial
*/

:root {
  --page: #f7f6f2;
  --surface: #ffffff;
  --mist: #e6eeec;
  --brand: #0b6b84;
  --brand-dark: #07556a;
  --deep: #063d52;
  --accent: #ec6f43;
  --ink: #123b4a;
  --muted: #4f6872;
  --line: rgba(6, 61, 82, 0.24);
  --line-soft: rgba(6, 61, 82, 0.13);
  --on-dark: #ffffff;
  --font: "Heebo", Arial, sans-serif;
  --container: 1180px;
  --gutter: 32px;
  --header-height: 78px;
  --section-space: clamp(84px, 8vw, 124px);
  --transition: 160ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

main,
section,
article,
header,
footer,
nav,
aside,
div {
  min-width: 0;
}

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

img {
  height: auto;
}

figure,
blockquote,
dl,
dd,
ul,
ol,
p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

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

::selection {
  color: var(--on-dark);
  background: var(--brand);
}

[lang="en"] {
  unicode-bidi: isolate;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 12px;
  inset-inline-start: 16px;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--on-dark);
  background: var(--deep);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 5.15vw, 4.65rem);
  font-weight: 700;
  line-height: 1.04;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 3.9vw, 3.45rem);
  font-weight: 700;
  line-height: 1.08;
}

h3 {
  margin-bottom: 9px;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
}

p:last-child,
ul:last-child,
ol:last-child,
blockquote:last-child {
  margin-bottom: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid rgba(6, 61, 82, 0.09);
  background: rgba(255, 255, 255, 0.98);
  transition: border-color var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: block;
  width: 172px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
  background: transparent;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.desktop-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 1.8vw, 29px);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav__list li {
  margin: 0;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 10px;
  color: #294d5b;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  inset: auto 0 4px;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

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

.header-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

.header-cta:is(:hover, :focus-visible) {
  border-color: var(--deep);
  color: var(--on-dark);
  background: var(--deep);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 8px;
  border: 0;
  color: var(--deep);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform var(--transition);
}

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

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 99;
  inset: var(--header-height) 0 0;
  overflow-y: auto;
  padding: 34px var(--gutter) max(40px, env(safe-area-inset-bottom));
  color: var(--deep);
  background: var(--surface);
}

body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .mobile-menu {
  top: calc(var(--header-height) + 32px);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu > a:not(.mobile-menu-cta),
.mobile-menu__list a {
  display: flex;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.38rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.mobile-menu > a[aria-current="page"],
.mobile-menu__list a[aria-current="page"] {
  color: var(--brand);
}

.mobile-menu-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  margin-top: 28px;
  padding: 12px 18px;
  border-radius: 6px;
  color: var(--on-dark);
  background: var(--brand);
  font-weight: 650;
  text-decoration: none;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid var(--brand);
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.button-primary {
  color: var(--on-dark);
  background: var(--brand);
}

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

.button-secondary {
  color: var(--brand-dark);
  background: transparent;
}

.button-secondary:is(:hover, :focus-visible) {
  color: var(--on-dark);
  background: var(--brand-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: var(--brand-dark);
  font-weight: 650;
  text-decoration: none;
}

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

.text-link:is(:hover, :focus-visible) span {
  transform: translateX(-4px);
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--header-height);
  color: var(--deep);
  background: linear-gradient(90deg, #ffffff 0%, #f7f6f2 58%, #e6eeec 100%);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(370px, 0.88fr) minmax(0, 1.12fr);
  grid-template-areas: "portrait copy";
  align-items: stretch;
  min-height: 620px;
}

.home-hero__copy {
  z-index: 2;
  grid-area: copy;
  align-self: center;
  max-width: 680px;
  padding: 74px clamp(28px, 4vw, 62px) 102px 0;
}

.home-hero h1 {
  max-width: none;
  margin-bottom: 23px;
  font-size: clamp(2.65rem, 3.25vw, 2.85rem);
  line-height: 1.06;
}

.hero-title-line,
.hero-opening {
  display: block;
}

@media (min-width: 1101px) {
  .hero-title-line {
    white-space: nowrap;
  }
}

.hero-title-accent,
.hero-accent,
.home-hero h1 > span:last-child:not(.hero-opening) {
  color: var(--brand);
}

.hero-lede,
.page-hero__grid > div > p,
.page-hero > .container > p,
.article-hero p {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.18rem);
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.home-hero__portrait {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  position: relative;
  z-index: 1;
  grid-area: portrait;
  align-self: stretch;
  overflow: hidden;
  min-height: 620px;
  margin: 0;
  margin-inline-start: calc(var(--edge) * -1);
  border: 0;
  background: var(--mist);
}

.home-hero__portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, transparent 50%, rgba(230, 238, 236, 0.46) 76%, rgba(247, 246, 242, 0.92) 100%);
  content: "";
  pointer-events: none;
}

.home-hero__portrait img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: 52% 28%;
  background: var(--mist);
}

.home-hero::after,
.home-hero::before {
  position: absolute;
  z-index: 5;
  inset-inline: -5%;
  width: 110%;
  height: 80px;
  border-radius: 50% 48% 0 0 / 86% 78% 0 0;
  content: "";
  pointer-events: none;
}

.home-hero::after {
  inset-block-end: -49px;
  border-top: 3px solid var(--brand);
  background: var(--surface);
  transform: rotate(-1deg);
}

.home-hero::before {
  inset-block-end: -43px;
  border-top: 2px solid var(--accent);
  transform: rotate(1.2deg);
}

.section,
.content-section {
  position: relative;
  padding: var(--section-space) 0;
}

.section--surface,
.content-section--surface {
  background: var(--surface);
}

.section--mist,
.content-section--mist {
  background: var(--mist);
}

.section-head {
  max-width: 490px;
}

.section-head > p {
  max-width: 42ch;
  color: var(--muted);
}

.section-head--wide {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(250px, 3fr);
  align-items: end;
  gap: clamp(42px, 7vw, 86px);
  max-width: none;
  margin-bottom: 42px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.section-head--wide h2,
.section-head--wide p {
  margin-bottom: 0;
}

.section-separator,
.section-divider {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: 48px;
  margin: -1px 0;
  overflow: hidden;
  color: var(--brand);
  background: var(--surface);
  pointer-events: none;
}

.section-separator--wave::before,
.section-divider--wave::before {
  position: absolute;
  inset: 16px -4% auto;
  width: 108%;
  height: 62px;
  border-top: 2px solid currentColor;
  border-radius: 50% 48% 0 0 / 80% 70% 0 0;
  content: "";
  transform: rotate(-1deg);
}

.section-separator--wave::after,
.section-divider--wave::after {
  position: absolute;
  inset: 22px -4% auto;
  width: 108%;
  height: 58px;
  border-top: 2px solid var(--accent);
  border-radius: 48% 52% 0 0 / 72% 84% 0 0;
  content: "";
  transform: rotate(1deg);
}

.home-hero + .section-separator--wave::before,
.home-hero + .section-separator--wave::after {
  content: none;
}

.section-separator--line,
.section-divider--line {
  height: 2px;
  background: linear-gradient(to left, transparent 0%, var(--line) 16%, var(--line) 47%, var(--accent) 47%, var(--accent) 53%, var(--line) 53%, var(--line) 84%, transparent 100%);
}

.section-separator--dark,
.section-divider--dark {
  height: 7px;
  background: linear-gradient(to left, var(--deep) 0 45%, var(--accent) 45% 49%, var(--brand) 49% 100%);
}

main > .content-section + .content-section::before,
main > .section + .section::before {
  position: absolute;
  z-index: 2;
  inset: 0 50% auto;
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  height: 2px;
  background: linear-gradient(to left, transparent 0%, var(--line-soft) 14%, var(--line-soft) 47%, var(--accent) 47%, var(--accent) 53%, var(--line-soft) 53%, var(--line-soft) 86%, transparent 100%);
  content: "";
  transform: translateX(50%);
}

.home-trust-strip,
.trust-strip {
  position: relative;
  z-index: 6;
  padding: 38px 0 42px;
  background: var(--surface);
}

.home-trust-strip > .container,
.trust-strip > .container {
  display: block;
}

.trust-strip__grid,
.home-trust-strip__list,
.trust-strip__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.home-trust-strip__list,
.trust-strip__list {
  width: 100%;
  margin: 0;
  padding: 0;
}

.home-trust-strip article,
.home-trust-strip li,
.trust-strip article,
.trust-strip li,
.trust-strip__item {
  position: relative;
  min-height: 116px;
  margin: 0;
  padding: 22px clamp(18px, 2.4vw, 34px);
  border-inline-start: 1px solid var(--line-soft);
  list-style: none;
}

.home-trust-strip article:first-child,
.home-trust-strip li:first-child,
.trust-strip article:first-child,
.trust-strip li:first-child,
.trust-strip__item:first-child {
  border-inline-start: 0;
}

.home-trust-strip article::before,
.home-trust-strip li::before,
.trust-strip article::before,
.trust-strip li::before,
.trust-strip__item::before {
  display: block;
  width: 34px;
  height: 10px;
  margin-bottom: 19px;
  border-top: 2px solid var(--brand);
  border-bottom: 2px solid var(--accent);
  content: "";
  transform: skewX(-28deg);
}

.home-trust-strip h2,
.home-trust-strip h3,
.trust-strip h2,
.trust-strip h3,
.trust-strip__item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--deep);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-trust-strip p,
.trust-strip p,
.trust-strip__item span {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.proof-layout,
.split-layout,
.about-composition {
  display: grid;
  grid-template-columns: minmax(270px, 4fr) minmax(0, 8fr);
  gap: clamp(52px, 8vw, 112px);
}

.proof-layout {
  padding-bottom: clamp(72px, 7vw, 102px);
}

.fact-list,
.hero-facts {
  margin: 0;
}

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

.fact-list > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: 30px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-soft);
}

.fact-list dt {
  color: var(--brand);
  font-size: clamp(1.45rem, 2.35vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
}

.fact-list dd {
  color: var(--muted);
}

.home-proof {
  background: var(--page);
}

.home-proof .proof-layout {
  align-items: start;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(300px, 4.4fr) minmax(0, 7.6fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-top: clamp(64px, 7vw, 92px);
  border-top: 1px solid var(--line);
}

.home-institutions .section-head--wide {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

.home-institutions .section-head--wide h2 {
  max-width: 10ch;
  font-size: clamp(2.2rem, 3.5vw, 3.05rem);
}

.institution-list {
  margin: 26px 0 0;
  padding: 0;
  columns: 2;
  column-gap: 24px;
  list-style: none;
  color: var(--muted);
}

.institution-list li {
  break-inside: avoid;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.88rem;
}

.trust-visual {
  display: block;
  color: var(--brand-dark);
  text-decoration: none;
}

.trust-image-window {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1529 / 620;
  margin: 0;
  background: transparent;
}

.trust-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  background: transparent;
  mix-blend-mode: multiply;
}

.trust-open,
.trust-visual > span:not(.trust-image-window) {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  min-height: 44px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.home-about {
  overflow: hidden;
  background: var(--surface);
}

.about-composition {
  grid-template-columns: minmax(0, 6.6fr) minmax(320px, 5.4fr);
  align-items: center;
}

.about-copy,
.home-about__copy {
  max-width: 680px;
}

.about-copy > p:first-of-type,
.home-about__copy > p:first-of-type {
  color: #294f5d;
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  line-height: 1.7;
}

.about-quote-panel,
.home-about__quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 430px;
  margin: 0;
  padding: clamp(46px, 5vw, 72px);
  color: var(--on-dark);
  background: var(--deep);
}

.about-quote-panel::before,
.home-about__quote::before {
  position: absolute;
  z-index: -1;
  inset: auto -100px -150px auto;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.about-quote-panel::after,
.home-about__quote::after {
  position: absolute;
  z-index: -1;
  inset: 34px auto auto 34px;
  width: 94px;
  height: 94px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--brand);
  content: "";
}

.about-quote-panel blockquote,
.about-quote-panel > p,
.home-about__quote blockquote,
.home-about__quote > p {
  max-width: 14ch;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--on-dark);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 650;
  line-height: 1.28;
}

.home-services {
  overflow: hidden;
  background: var(--surface);
}

.service-index,
.service-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}

.service-family,
.service-family-wide,
.service-panel {
  --panel-field: var(--mist);
  --panel-line: var(--brand);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  margin: 0;
  padding: 174px 22px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: var(--deep);
  background: var(--surface);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}

.service-family:nth-child(2),
.service-panel:nth-child(2) {
  --panel-field: #f2eee8;
  --panel-line: var(--accent);
}

.service-family:nth-child(3),
.service-panel:nth-child(3) {
  --panel-field: #edf3f4;
  --panel-line: var(--deep);
}

.service-family-wide,
.service-panel:nth-child(4) {
  --panel-field: var(--deep);
  --panel-line: var(--accent);
}

.service-family::before,
.service-family-wide::before,
.service-panel__visual,
.service-panel::before {
  position: absolute;
  z-index: -2;
  inset: 0 0 auto;
  height: 148px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel-field);
  content: "";
}

.service-panel__visual {
  z-index: 0;
}

.service-family::after,
.service-family-wide::after,
.service-panel::after,
.service-panel__visual::after {
  position: absolute;
  z-index: -1;
  inset: 34px auto auto 50%;
  width: 88px;
  height: 74px;
  border: 2px solid var(--panel-line);
  border-radius: 50% 50% 46% 54%;
  content: "";
  transform: translateX(-50%) rotate(-8deg);
}

.service-family:nth-child(2)::after,
.service-panel:nth-child(2)::after {
  width: 102px;
  height: 64px;
  border-width: 0 0 2px 2px;
  border-radius: 0;
  transform: translateX(-50%) rotate(-12deg);
}

.service-family:nth-child(3)::after,
.service-panel:nth-child(3)::after {
  width: 74px;
  height: 74px;
  border-radius: 0;
  transform: translateX(-50%) rotate(45deg);
}

.service-family-wide::after,
.service-panel:nth-child(4)::after {
  border-color: var(--accent);
  border-radius: 50% 8% 50% 8%;
}

.service-family:is(:hover, :focus-within),
.service-family-wide:is(:hover, :focus-visible),
.service-panel:is(:hover, :focus-visible) {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.service-family h3,
.service-panel h3 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.service-family > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding-block: 14px;
  border-top: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
}

.service-family > a:is(:hover, :focus-visible) {
  color: var(--brand-dark);
}

.service-family strong,
.service-family-wide strong,
.service-panel strong,
.service-panel h3 {
  display: block;
  font-weight: 700;
  line-height: 1.38;
}

.service-family small,
.service-family-wide small,
.service-panel p,
.service-panel small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.55;
}

.service-family b,
.service-family-wide b,
.service-panel b {
  color: var(--accent);
  font-size: 1.1rem;
}

.service-family-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: end;
  gap: 12px;
}

.service-family-wide > span {
  color: var(--deep);
}

.service-panel > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  color: var(--brand-dark);
  font-weight: 650;
  text-decoration: none;
}

.home-approach {
  isolation: isolate;
  overflow: hidden;
  color: var(--on-dark);
  background: var(--deep);
}

.home-approach::after {
  position: absolute;
  z-index: -1;
  inset: auto auto -250px -170px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.home-approach .split-layout {
  grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
  align-items: start;
}

.home-approach h2,
.home-approach h3,
.home-approach blockquote,
.home-approach .text-link {
  color: var(--on-dark);
}

.home-approach .prose--large > p:first-child,
.home-approach p {
  color: rgba(255, 255, 255, 0.86);
}

.home-approach blockquote {
  max-width: 16ch;
  margin: 42px 0;
  padding: 8px 28px 10px 0;
  border: 0;
  border-right: 3px solid var(--accent);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 650;
  line-height: 1.36;
}

.home-knowledge {
  background: var(--page);
}

.knowledge-index {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.knowledge-index > a {
  display: grid;
  grid-template-rows: auto minmax(110px, 1fr) auto;
  min-height: 270px;
  padding: 28px 26px 23px;
  border-inline-start: 1px solid var(--line-soft);
  color: var(--deep);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition);
}

.knowledge-index > a:first-child {
  border-inline-start: 0;
  color: var(--on-dark);
  background: var(--brand);
}

.knowledge-index > a:is(:hover, :focus-visible) {
  color: var(--on-dark);
  background: var(--deep);
}

.knowledge-index span,
.knowledge-index time {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.knowledge-index > a:first-child span,
.knowledge-index > a:first-child time,
.knowledge-index > a:is(:hover, :focus-visible) span,
.knowledge-index > a:is(:hover, :focus-visible) time {
  color: rgba(255, 255, 255, 0.76);
}

.knowledge-index h3 {
  align-self: center;
  margin: 25px 0;
  font-size: clamp(1.38rem, 2.2vw, 1.9rem);
  line-height: 1.25;
}

.knowledge-index b {
  justify-self: end;
  color: var(--accent);
  font-size: 1.2rem;
}

.prose {
  max-width: 740px;
}

.prose > p,
.prose > ul,
.prose > ol {
  margin-bottom: 22px;
}

.prose--large > p:first-child {
  color: #294f5d;
  font-size: clamp(1.15rem, 1.9vw, 1.42rem);
  line-height: 1.7;
}

blockquote {
  margin: 44px 0;
  padding: 7px 26px 10px 0;
  border-right: 3px solid var(--accent);
  color: var(--deep);
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  font-weight: 650;
  line-height: 1.38;
}

blockquote cite {
  display: block;
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 400;
}

.page-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) 0 clamp(72px, 7vw, 104px);
  color: var(--deep);
  background: var(--surface);
}

.page-hero::after,
.article-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(to left, var(--brand) 0 58%, var(--accent) 58% 61%, var(--mist) 61% 100%);
  content: "";
}

.page-hero--parents,
.page-hero--about {
  background: var(--page);
}

.page-hero--adults,
.page-hero--moxo,
.page-hero--knowledge {
  background: var(--mist);
}

.page-hero--education,
.page-hero--protocols,
.page-hero--contact {
  background: #f2eee8;
}

.page-hero h1,
.article-hero h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-size: clamp(3.05rem, 4.9vw, 4.45rem);
  line-height: 1.05;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(270px, 4fr);
  align-items: end;
  gap: clamp(48px, 7vw, 96px);
}

.hero-facts {
  border-top: 1px solid var(--line);
}

.hero-facts > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-facts dd {
  color: var(--deep);
  font-weight: 650;
}

.hero-quote {
  margin: 0;
}

.plain-list,
.check-list,
.columns-list ul {
  padding: 0;
  list-style: none;
}

.plain-list li,
.check-list li {
  position: relative;
  padding: 15px 30px 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.plain-list li:first-child,
.check-list li:first-child {
  border-top: 1px solid var(--line-soft);
}

.plain-list li::before,
.check-list li::before {
  position: absolute;
  inset: 23px 0 auto auto;
  width: 11px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.check-list li::before {
  width: 9px;
  height: 5px;
  border: 0;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  background: transparent;
  transform: rotate(45deg);
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list > li {
  position: relative;
  min-height: 102px;
  padding: 23px 36px 21px 0;
  border-top: 1px solid var(--line);
}

.step-list > li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-list > li::before {
  position: absolute;
  inset: 34px 0 auto auto;
  width: 17px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.step-list p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.fact-rows {
  border-top: 1px solid var(--line);
}

.fact-rows > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.78fr) minmax(0, 1.5fr);
  gap: 34px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.fact-rows h3,
.fact-rows p {
  margin-bottom: 0;
}

.fact-rows p {
  color: var(--muted);
}

.fact-rows .boundary {
  margin-top: 18px;
  padding: 24px 21px;
  border: 0;
  border-right: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.64);
}

.privacy-note,
.article-boundary {
  padding: 17px 20px;
  border-right: 3px solid var(--accent);
  color: #345662;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.syllabus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.syllabus li {
  position: relative;
  min-height: 68px;
  padding: 14px 26px 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.syllabus li::before {
  position: absolute;
  inset: 24px 0 auto auto;
  width: 10px;
  height: 2px;
  background: var(--accent);
  content: "";
}

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

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

.details-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  cursor: pointer;
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 700;
  list-style: none;
}

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

.details-list summary b {
  color: var(--accent);
  font-weight: 400;
  transition: transform var(--transition);
}

.details-list details[open] summary b {
  transform: rotate(45deg);
}

.details-list details > ul,
.details-list details > div {
  margin: 0 0 32px;
}

.details-list ul {
  padding-right: 22px;
}

.details-list li {
  margin-bottom: 7px;
}

.columns-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.course-list > div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.course-list time {
  color: var(--brand-dark);
  font-weight: 650;
}

.course-list p {
  margin-bottom: 0;
}

.protocol-index {
  border-top: 1px solid var(--line);
}

.protocol-index article {
  display: grid;
  grid-template-columns: minmax(230px, 4fr) minmax(0, 7fr);
  gap: 64px;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
}

.protocol-index h2,
.protocol-index p {
  margin-bottom: 0;
}

.protocol-index h2 {
  font-size: clamp(1.65rem, 2.65vw, 2.3rem);
}

.protocol-index p {
  align-self: center;
  color: var(--muted);
}

.protocol-index .in-development {
  padding-right: 22px;
  border-right: 3px solid var(--accent);
}

.podcast-link {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 7px 18px;
  min-height: 152px;
  padding: 24px;
  border: 1px solid var(--deep);
  border-radius: 8px;
  color: var(--on-dark);
  background: var(--deep);
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition);
}

.podcast-link:is(:hover, :focus-visible) {
  border-color: var(--brand);
  background: var(--brand);
}

.podcast-link > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
}

.podcast-link strong {
  font-size: 1.58rem;
}

.podcast-link small {
  color: rgba(255, 255, 255, 0.75);
}

.media-list,
.timeline,
.link-list {
  border-top: 1px solid var(--line);
}

.media-list > a {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 26px;
  min-height: 108px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color var(--transition), padding var(--transition);
}

.media-list > a:is(:hover, :focus-visible) {
  padding-inline: 12px;
  color: var(--brand-dark);
}

.media-list > a > time,
.media-list > a > span {
  color: var(--muted);
  font-size: 0.82rem;
}

.media-list h3,
.media-list p {
  margin-bottom: 0;
}

.media-list p {
  color: var(--muted);
}

.media-list b {
  color: var(--accent);
}

.timeline > div {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 26px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--brand-dark);
  font-weight: 650;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.timeline > .text-link {
  margin-top: 24px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  min-height: 64px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration: none;
}

.article-page {
  background: var(--page);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(230px, 3fr);
  gap: clamp(52px, 8vw, 104px);
  padding-block: var(--section-space);
}

.article-intro {
  color: #294f5d;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 600;
  line-height: 1.52;
}

.article-tips {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-tips > li {
  position: relative;
  padding: 28px 34px 28px 0;
  border-top: 1px solid var(--line);
}

.article-tips > li:last-child {
  border-bottom: 1px solid var(--line);
}

.article-tips > li::before {
  position: absolute;
  inset: 39px 0 auto auto;
  width: 14px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.article-tips h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
}

.article-tips p {
  color: var(--muted);
}

.article-boundary {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  align-self: start;
}

.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(84px, 8vw, 116px) 0;
  color: var(--deep);
  background: var(--mist);
}

.contact-section::before {
  position: absolute;
  z-index: -1;
  inset: auto -180px -310px auto;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(11, 107, 132, 0.2);
  border-radius: 50%;
  content: "";
}

.contact-section::after {
  position: absolute;
  z-index: -1;
  inset: 52px auto auto 5vw;
  width: 124px;
  height: 124px;
  border-top: 2px solid rgba(236, 111, 67, 0.65);
  border-left: 2px solid rgba(11, 107, 132, 0.48);
  content: "";
}

.contact-grid,
.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 6.8fr) minmax(340px, 5.2fr);
  align-items: start;
  gap: clamp(50px, 8vw, 106px);
}

.contact-grid h2,
.page-cta h2 {
  max-width: 14ch;
}

.contact-grid p,
.contact-page-grid p {
  max-width: 620px;
  color: var(--muted);
}

.contact-actions {
  border-top: 1px solid var(--line);
}

.contact-actions a {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  padding-inline: 4px;
  border-bottom: 1px solid var(--line);
  color: var(--deep);
  text-decoration: none;
  transition: color var(--transition), padding var(--transition), background-color var(--transition);
}

.contact-actions a:is(:hover, :focus-visible) {
  padding-inline: 12px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.5);
}

.contact-actions a span {
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-actions a strong {
  overflow-wrap: anywhere;
  font-size: 0.94rem;
  font-weight: 550;
}

.contact-actions a b {
  color: var(--accent);
}

.contact-actions .contact-primary {
  min-height: 80px;
  padding-inline: 14px 10px;
  border: 0;
  border-bottom: 5px solid var(--accent);
  border-radius: 7px 7px 0 0;
  color: var(--on-dark);
  background: var(--brand);
}

.contact-actions .contact-primary span {
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions .contact-primary strong {
  font-size: 1.06rem;
  font-weight: 700;
}

.contact-actions .contact-primary b {
  color: var(--on-dark);
}

.contact-actions .contact-primary:is(:hover, :focus-visible) {
  color: var(--on-dark);
  background: var(--deep);
}

.page-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(76px, 7vw, 104px) 0;
  color: var(--on-dark);
  background: var(--deep);
}

.page-cta::after {
  position: absolute;
  z-index: -1;
  inset: auto -140px -300px auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.page-cta .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 24px;
}

.page-cta h2 {
  margin-bottom: 0;
  color: var(--on-dark);
}

.page-cta p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.page-cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--on-dark);
}

.privacy-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-right: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.58);
}

.site-footer {
  padding: 64px 0 20px;
  color: var(--on-dark);
  background: var(--deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  padding-bottom: 54px;
}

.footer-grid:has(> :nth-child(4)) {
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
}

.footer-brand img {
  width: 214px;
  height: auto;
  margin-bottom: 17px;
  background: transparent;
}

.footer-brand p {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-menu__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu__list li {
  margin: 0;
}

.footer-grid nav h2,
.footer-grid nav h3,
.footer-column-title {
  margin-bottom: 8px;
  color: var(--on-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-grid nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.87rem;
  text-decoration: none;
}

.footer-grid nav a:is(:hover, :focus-visible) {
  color: #ff9b75;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.76rem;
}

@media (max-width: 1100px) {
  :root {
    --gutter: 28px;
  }

  .header-inner {
    grid-template-columns: 160px minmax(0, 1fr) auto;
    gap: 18px;
  }

  .brand {
    width: 154px;
  }

  .desktop-nav,
  .desktop-nav__list {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 0.82rem;
  }

  .home-hero__grid {
    grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  }

  .home-hero__copy {
    padding-inline-end: 34px;
  }

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

  .service-family,
  .service-family-wide,
  .service-panel {
    min-height: 360px;
  }

  .page-cta .container {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .page-cta p {
    grid-column: 1;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .home-hero__grid {
    grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
    min-height: 570px;
  }

  .home-hero__copy {
    padding: 58px 28px 92px 0;
  }

  .home-hero h1 {
    font-size: clamp(2.75rem, 5.9vw, 3.55rem);
  }

  .home-hero__portrait,
  .home-hero__portrait img {
    min-height: 570px;
  }

  .page-hero__grid,
  .proof-layout,
  .split-layout,
  .trust-layout,
  .about-composition,
  .contact-grid,
  .contact-page-grid,
  .article-layout,
  .home-approach .split-layout {
    grid-template-columns: 1fr;
  }

  .proof-layout,
  .trust-layout,
  .split-layout,
  .about-composition {
    gap: 38px;
  }

  .section-head {
    max-width: 680px;
  }

  .section-head--wide {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-quote-panel,
  .home-about__quote {
    min-height: 330px;
  }

  .page-hero__grid {
    gap: 40px;
  }

  .hero-facts {
    max-width: 620px;
  }

  .article-boundary {
    position: static;
  }

  .footer-grid,
  .footer-grid:has(> :nth-child(4)) {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }

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

  .footer-contact a[dir="ltr"] {
    overflow-wrap: anywhere;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .mobile-menu {
    top: calc(var(--header-height) + 46px);
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --header-height: 66px;
    --section-space: 76px;
  }

  body {
    font-size: 16px;
  }

  h1,
  .page-hero h1,
  .article-hero h1 {
    max-width: none;
    font-size: clamp(2.55rem, 11.5vw, 3.25rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(2.05rem, 9.5vw, 2.6rem);
  }

  .brand {
    width: 150px;
  }

  .mobile-menu {
    padding-top: 24px;
  }

  .home-hero {
    padding-top: var(--header-height);
    background: var(--page);
  }

  .home-hero__grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .home-hero__copy {
    order: 1;
    max-width: none;
    padding: 42px 0 28px;
  }

  .home-hero h1 {
    max-width: 12.5ch;
    margin-bottom: 18px;
    font-size: clamp(2.52rem, 11.4vw, 3.15rem);
  }

  .hero-lede,
  .page-hero__grid > div > p,
  .page-hero > .container > p,
  .article-hero p {
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.62;
  }

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

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .home-hero__portrait {
    order: 2;
    width: calc(100% + (var(--gutter) * 2));
    min-height: 0;
    margin-inline: calc(var(--gutter) * -1);
  }

  .home-hero__portrait::after {
    background: linear-gradient(180deg, rgba(247, 246, 242, 0.8) 0%, transparent 27%);
  }

  .home-hero__portrait img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.22 / 1;
    object-position: 50% 24%;
  }

  .home-hero::after,
  .home-hero::before {
    height: 52px;
  }

  .home-hero::after {
    inset-block-end: -34px;
  }

  .home-hero::before {
    inset-block-end: -29px;
  }

  .home-trust-strip,
  .trust-strip {
    padding: 46px 0 50px;
  }

  .trust-strip__grid,
  .home-trust-strip__list,
  .trust-strip__list {
    grid-template-columns: 1fr 1fr;
  }

  .home-trust-strip article,
  .home-trust-strip li,
  .trust-strip article,
  .trust-strip li,
  .trust-strip__item {
    min-height: 132px;
    padding: 20px 12px;
    border-bottom: 1px solid var(--line-soft);
  }

  .home-trust-strip article:nth-child(odd),
  .home-trust-strip li:nth-child(odd),
  .trust-strip article:nth-child(odd),
  .trust-strip li:nth-child(odd),
  .trust-strip__item:nth-child(odd) {
    border-inline-start: 0;
  }

  .section-head--wide {
    margin-bottom: 30px;
    padding-bottom: 21px;
  }

  .fact-list > div,
  .fact-rows > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .trust-layout {
    padding-top: 58px;
  }

  .institution-list {
    columns: 2;
    column-gap: 20px;
  }

  .trust-visual {
    width: calc(100% + (var(--gutter) * 2));
    margin-inline: calc(var(--gutter) * -1);
  }

  .trust-open,
  .trust-visual > span:not(.trust-image-window) {
    margin-inline: var(--gutter);
  }

  .about-quote-panel,
  .home-about__quote {
    min-height: 300px;
    padding: 38px 28px;
  }

  .service-index,
  .service-panels {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-family,
  .service-family-wide,
  .service-panel {
    min-height: 0;
    padding: 142px 20px 20px;
  }

  .service-family::before,
  .service-family-wide::before,
  .service-panel__visual,
  .service-panel::before {
    height: 120px;
  }

  .service-family::after,
  .service-family-wide::after,
  .service-panel::after,
  .service-panel__visual::after {
    inset-block-start: 24px;
    transform: translateX(-50%) scale(0.82) rotate(-8deg);
  }

  .service-family:nth-child(2)::after,
  .service-panel:nth-child(2)::after {
    transform: translateX(-50%) scale(0.82) rotate(-12deg);
  }

  .service-family:nth-child(3)::after,
  .service-panel:nth-child(3)::after {
    transform: translateX(-50%) scale(0.82) rotate(45deg);
  }

  .knowledge-index {
    grid-template-columns: 1fr;
  }

  .knowledge-index > a {
    grid-template-columns: 78px minmax(0, 1fr) 20px;
    grid-template-rows: 1fr;
    align-items: center;
    min-height: 118px;
    padding: 21px 18px;
    border-inline-start: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .knowledge-index > a:last-child {
    border-bottom: 0;
  }

  .knowledge-index h3 {
    margin: 0;
    font-size: 1.32rem;
  }

  blockquote {
    margin: 34px 0;
    padding-right: 20px;
    font-size: 1.5rem;
  }

  .page-hero,
  .article-hero {
    padding: calc(var(--header-height) + 48px) 0 68px;
  }

  .hero-facts > div {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .syllabus,
  .columns-list {
    grid-template-columns: 1fr;
  }

  .protocol-index article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 24px;
  }

  .media-list > a {
    grid-template-columns: 80px minmax(0, 1fr) 18px;
    gap: 15px;
  }

  .timeline > div {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 18px;
  }

  .page-cta .container {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .page-cta .button {
    align-self: flex-start;
  }

  .contact-grid,
  .contact-page-grid {
    gap: 38px;
  }

  .contact-actions a {
    grid-template-columns: 74px minmax(0, 1fr) 18px;
    gap: 10px;
  }

  .footer-grid,
  .footer-grid:has(> :nth-child(4)) {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
    padding-bottom: 42px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 430px) {
  :root {
    --gutter: 18px;
  }

  h1,
  .page-hero h1,
  .article-hero h1,
  .home-hero h1 {
    font-size: clamp(2.34rem, 11.5vw, 2.82rem);
  }

  .brand {
    width: 142px;
  }

  .institution-list {
    columns: 1;
  }

  .home-trust-strip h2,
  .home-trust-strip h3,
  .trust-strip h2,
  .trust-strip h3,
  .trust-strip__item strong {
    font-size: 0.94rem;
  }

  .knowledge-index > a,
  .media-list > a {
    grid-template-columns: minmax(0, 1fr) 18px;
  }

  .knowledge-index > a > span,
  .knowledge-index > a > time,
  .media-list > a > span,
  .media-list > a > time {
    grid-column: 1 / -1;
  }

  .knowledge-index h3,
  .media-list > a > div {
    grid-column: 1;
  }

  .contact-actions a {
    grid-template-columns: minmax(0, 1fr) 18px;
    row-gap: 2px;
    padding-block: 13px;
  }

  .contact-actions a span {
    grid-column: 1 / -1;
  }

  .contact-actions a strong {
    grid-column: 1;
  }

  .footer-grid,
  .footer-grid:has(> :nth-child(4)) {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 340px) {
  :root {
    --gutter: 16px;
  }

  h1,
  .page-hero h1,
  .article-hero h1,
  .home-hero h1 {
    font-size: 2.26rem;
  }

  .trust-strip__grid,
  .home-trust-strip__list,
  .trust-strip__list {
    grid-template-columns: 1fr;
  }

  .home-trust-strip article,
  .home-trust-strip li,
  .trust-strip article,
  .trust-strip li,
  .trust-strip__item {
    min-height: 0;
    border-inline-start: 0;
  }

  .timeline > div,
  .course-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@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;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .home-hero,
  .page-hero,
  .article-hero,
  .home-trust-strip,
  .trust-strip,
  .home-about,
  .home-services,
  .home-proof,
  .home-knowledge,
  .home-approach,
  .contact-section,
  .page-cta,
  .site-footer {
    color: CanvasText;
    background: Canvas;
  }

  .home-hero::before,
  .home-hero::after,
  .page-hero::after,
  .article-hero::after,
  .home-approach::after,
  .contact-section::before,
  .contact-section::after,
  .page-cta::after,
  .about-quote-panel::before,
  .about-quote-panel::after,
  .home-about__quote::before,
  .home-about__quote::after,
  .service-family::before,
  .service-family::after,
  .service-family-wide::before,
  .service-family-wide::after,
  .service-panel::before,
  .service-panel::after,
  .service-panel__visual {
    display: none;
  }

  .button,
  .header-cta,
  .contact-actions .contact-primary,
  .podcast-link {
    border: 2px solid ButtonText;
    color: ButtonText;
    background: ButtonFace;
  }

  .desktop-nav a[aria-current="page"] {
    text-decoration: underline;
  }
}
