:root {
  --c-ground: #e4e2d8;
  --c-soft: #f7f4ec;
  --c-sand: #d1d2c4;
  --c-ink: #13302e;
  --c-dark: #102825;
  --c-muted: #4f5f56;
  --c-accent: #6a9a60;
  --c-accent-dark: #3f7048;
  --c-white: #ffffff;
  --c-error: #9d2d32;

  --f-sans: Inter, Avenir, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-display: "Iowan Old Style", Baskerville, "Times New Roman", Georgia, serif;
  --fw-light: 300;
  --fw-book: 400;
  --fw-medium: 560;

  --content-max: 1440px;
  --cols: 8;
  --gutter: 24px;
  --grid-gap: 16px;

  --r-sm: 8px;
  --r-card: 14px;
  --r-large: 32px;
  --r-pill: 999px;

  --shadow-soft: 0 22px 64px rgb(19 48 46 / 0.12);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --d-fast: 150ms;
  --d-ui: 300ms;
  --d-glass: 400ms;
  --d-header: 500ms;
  --d-theme: 700ms;
  --d-reveal: 700ms;
}

@media (min-width: 768px) {
  :root {
    --cols: 22;
    --grid-gap: 20px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 64px;
    --grid-gap: 24px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  overflow-x: clip;
  background: var(--c-ground);
  color: var(--c-ink);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  background: var(--c-ground);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: clamp(1rem, .94rem + .22vw, 1.125rem);
  font-weight: var(--fw-book);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.intro-running {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

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

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

::selection {
  background: var(--c-accent-dark);
  color: var(--c-white);
}

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

.section--dark :focus-visible,
.site-footer :focus-visible,
.cta-panel :focus-visible {
  outline-color: var(--c-accent);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--c-dark);
  color: var(--c-white);
  transform: translateY(-180%);
  transition: transform var(--d-ui) var(--ease);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--grid-gap);
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 152px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 88px);
}

.section--dark {
  overflow: hidden;
  background: var(--c-dark);
  color: var(--c-white);
}

.section--soft {
  background: var(--c-soft);
}

.section--accent-line::before {
  position: absolute;
  top: 0;
  left: var(--gutter);
  width: min(124px, 30vw);
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--c-accent-dark);
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: .75rem;
  font-weight: var(--fw-medium);
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgb(106 154 96 / .18);
  content: "";
}

.eyebrow--accent::before {
  background: var(--c-accent-dark);
  box-shadow: 0 0 0 4px rgb(63 112 72 / .18);
}

.display,
.hero__title,
.page-hero__title {
  margin-bottom: 0;
  font-family: var(--f-display);
  font-weight: var(--fw-light);
  letter-spacing: -.05em;
  line-height: .98;
}

.hero__title,
.page-hero__title {
  font-size: 3rem;
}

.display {
  font-size: clamp(3rem, 8vw, 5.25rem);
}

.display--large {
  font-size: clamp(3.35rem, 9vw, 7.5rem);
}

.lead {
  max-width: 37ch;
  margin-bottom: 0;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  font-weight: var(--fw-light);
  letter-spacing: -.018em;
  line-height: 1.16;
}

.body-large {
  max-width: 50ch;
  font-size: clamp(1.1rem, 1rem + .45vw, 1.38rem);
  line-height: 1.55;
}

.muted {
  color: var(--c-muted);
}

.on-dark-muted {
  color: rgb(255 255 255 / .66);
}

.rule {
  width: 100%;
  height: 1px;
  margin-block: 28px;
  border: 0;
  background: currentColor;
  opacity: .18;
}

.announce {
  position: relative;
  z-index: 130;
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px var(--gutter);
  background: var(--c-dark);
  color: var(--c-white);
  font-size: .72rem;
  font-weight: var(--fw-medium);
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.announce span {
  display: none;
  opacity: .68;
}

.site-header {
  --header-fg: var(--c-ink);
  position: sticky;
  top: 0;
  z-index: 120;
  min-height: 88px;
  color: var(--header-fg);
  transform: translateY(0);
  transition:
    transform var(--d-header) var(--ease),
    color var(--d-theme) var(--ease);
}

.site-header[data-theme="light"] {
  --header-fg: var(--c-ink);
}

.site-header[data-theme="dark"] {
  --header-fg: var(--c-white);
}

.header__glass {
  position: absolute;
  inset: 8px 12px;
  border: 1px solid rgb(255 255 255 / .16);
  border-radius: var(--r-card);
  background: rgb(247 244 236 / .08);
  box-shadow: 0 12px 32px rgb(16 40 37 / .06);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--d-glass) var(--ease),
    background var(--d-theme) var(--ease),
    border-color var(--d-theme) var(--ease);
  backdrop-filter: blur(26px) saturate(125%);
  -webkit-backdrop-filter: blur(26px) saturate(125%);
}

.site-header[data-theme="light"] .header__glass {
  background: rgb(247 244 236 / .82);
  border-color: rgb(19 48 46 / .09);
}

.site-header[data-theme="dark"] .header__glass {
  background: rgb(16 40 37 / .72);
}

.site-header[data-scrolled="true"] .header__glass {
  opacity: 1;
}

.header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: currentColor;
  text-decoration: none;
}

.brand__icon {
  position: relative;
  display: grid;
  width: 45px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
}

.brand__icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand__word {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  font-size: .91rem;
  font-weight: 760;
  letter-spacing: .055em;
  line-height: 1;
}

.brand__word sup {
  margin-top: -.15em;
  font-size: .47em;
}

.brand .logo-head {
  fill: var(--c-accent);
}

.brand .logo-line {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 32;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.desktop-nav a:not(.button) {
  position: relative;
  padding-block: 8px;
  font-size: .82rem;
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.desktop-nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--c-accent-dark);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--d-ui) var(--ease);
}

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

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: currentColor;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1;
  white-space: nowrap;
}

.language-switch a {
  position: relative;
  min-width: 30px;
  padding: 9px 4px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  color: var(--c-accent-dark);
}

.language-switch a[aria-current="page"]::after {
  position: absolute;
  right: 5px;
  bottom: 3px;
  left: 5px;
  height: 2px;
  border-radius: var(--r-pill);
  background: currentColor;
  content: "";
}

.language-switch--desktop {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  opacity: .88;
  transition:
    background var(--d-ui) var(--ease),
    color var(--d-ui) var(--ease),
    transform var(--d-ui) var(--ease);
}

.menu-button:hover {
  background: currentColor;
  transform: rotate(4deg);
}

.menu-button:hover .menu-button__lines {
  color: var(--c-ground);
}

.menu-button__lines,
.menu-button__lines::before,
.menu-button__lines::after {
  width: 19px;
  height: 1.5px;
  border-radius: var(--r-pill);
  background: currentColor;
}

.menu-button__lines {
  position: relative;
  color: inherit;
  transition: background var(--d-ui) var(--ease);
}

.menu-button__lines::before,
.menu-button__lines::after {
  position: absolute;
  left: 0;
  content: "";
  transition: transform var(--d-ui) var(--ease), top var(--d-ui) var(--ease);
}

.menu-button__lines::before {
  top: -6px;
}

.menu-button__lines::after {
  top: 6px;
}

.menu-button[aria-expanded="true"] .menu-button__lines {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-button__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100svh;
  padding: 132px 24px 28px;
  overflow-y: auto;
  background: var(--c-soft);
  color: var(--c-ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
  transition:
    opacity var(--d-ui) var(--ease),
    transform var(--d-header) var(--ease);
}

.mobile-menu[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mobile-menu__nav a {
  width: 100%;
  padding-block: 10px;
  border-bottom: 1px solid rgb(19 48 46 / .14);
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 9vw, 3.6rem);
  font-weight: var(--fw-light);
  letter-spacing: -.04em;
  line-height: 1.06;
  text-decoration: none;
}

.mobile-menu__nav a[aria-current="page"]::after {
  float: right;
  color: var(--c-accent-dark);
  content: "•";
}

.mobile-menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 36px;
  color: var(--c-muted);
  font-size: .8rem;
}

.language-switch--mobile {
  flex: 1 0 100%;
  margin-bottom: 2px;
  color: var(--c-ink);
}

.no-js-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 12px var(--gutter) 18px;
  border-bottom: 1px solid rgb(19 48 46 / .14);
  background: var(--c-soft);
}

.no-js-navigation__links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
}

.no-js-navigation__links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--c-ink);
  font-size: .82rem;
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.language-switch--noscript {
  color: var(--c-ink);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .015em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--d-ui) var(--ease),
    border-color var(--d-ui) var(--ease),
    color var(--d-ui) var(--ease),
    transform var(--d-ui) var(--ease),
    box-shadow var(--d-ui) var(--ease);
}

.button::after {
  font-size: 1.05em;
  content: "↗";
  transition: transform var(--d-ui) var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translate(2px, -2px);
}

.button--primary {
  background: var(--c-accent-dark);
  color: var(--c-white);
  box-shadow: 0 8px 26px rgb(63 112 72 / .22);
}

.button--primary:hover {
  background: var(--c-ink);
  box-shadow: 0 14px 34px rgb(19 48 46 / .24);
}

.button--outline {
  border-color: currentColor;
  background: transparent;
  color: currentColor;
}

.button--outline:hover {
  background: currentColor;
  box-shadow: none;
}

.button--outline:hover > span,
.button--outline:hover::after {
  color: var(--c-ground);
}

.button--small {
  min-height: 44px;
  padding: 10px 16px;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: .48;
  transform: none;
}

.intro {
  display: none;
}

.js .intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}

.js .intro[data-active="true"] {
  pointer-events: auto;
}

.intro::before {
  position: absolute;
  inset: 0;
  background: var(--c-ground);
  content: "";
  opacity: 1;
  transition: opacity 680ms var(--ease);
}

.intro.is-handoff::before {
  opacity: 0;
}

.intro__logo {
  position: relative;
  z-index: 1;
  width: min(64vw, 500px);
  transform-origin: center;
  will-change: transform;
}

.intro[data-active="false"] .intro__logo {
  visibility: hidden;
}

.intro__logo svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.intro .draw-path {
  fill: none;
  stroke: var(--c-ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 32;
  opacity: 0;
}

.intro .logo-head {
  fill: var(--c-accent);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

.intro .logo-wordmark {
  fill: var(--c-accent);
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path, opacity;
}

.intro .logo-wordmark text {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.intro .logo-registered {
  fill: var(--c-ink);
  font-size: 50px;
  font-weight: 700;
}

.intro__skip {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 3;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgb(19 48 46 / .68);
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / .28);
  color: var(--c-ink);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.site-shell {
  transition: opacity 540ms var(--ease);
}

.header-brand {
  opacity: 1;
  transition: opacity var(--d-ui) var(--ease);
}

.hero {
  position: relative;
  min-height: calc(100svh - 122px);
  padding-block: clamp(64px, 9vw, 132px) clamp(72px, 10vw, 144px);
}

.hero__copy {
  grid-column: 1 / -1;
}

.hero__title {
  max-width: 12ch;
}

.hero__title .line {
  display: block;
}

.hero__title .line:nth-child(2) {
  margin-left: clamp(0px, 6vw, 110px);
}

.hero__support {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: 36px;
}

.hero__support p {
  max-width: 36ch;
  margin-bottom: 28px;
}

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

.hero__actions--center {
  justify-content: center;
}

.hero__visual-frame {
  position: relative;
}

.hero__index {
  display: none;
  grid-column: 20 / -1;
  align-self: start;
  justify-self: end;
  color: var(--c-muted);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__visual {
  grid-column: 1 / -1;
  margin-top: clamp(52px, 7vw, 104px);
}

.photo-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgb(19 48 46 / .17);
  border-radius: var(--r-card);
  background: var(--c-sand);
}

.photo-media--hero {
  aspect-ratio: 4 / 3;
}

.photo-media--portrait {
  aspect-ratio: 4 / 5;
}

.photo-media--service {
  aspect-ratio: 16 / 9;
}

.photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-media--hero img {
  object-position: center 56%;
}

.photo-media--portrait img {
  object-position: center 34%;
}

.photo-media--cutout {
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.photo-media--cutout::before {
  position: absolute;
  z-index: 0;
  inset: 4% 4% 0;
  border-radius: 48% 52% 45% 55% / 37% 42% 58% 63%;
  background:
    radial-gradient(circle at 74% 20%, rgb(106 154 96 / .3) 0 7%, transparent 7.5%),
    linear-gradient(148deg, rgb(247 244 236 / .98), rgb(209 210 196 / .86));
  box-shadow: inset 0 0 0 1px rgb(19 48 46 / .08);
  content: "";
  pointer-events: none;
  transform: rotate(-1.8deg);
}

.photo-media--cutout::after {
  position: absolute;
  z-index: 0;
  right: 10%;
  bottom: 1%;
  left: 10%;
  height: 14%;
  background: radial-gradient(ellipse, rgb(19 48 46 / .18), transparent 68%);
  content: "";
  filter: blur(12px);
  opacity: .48;
  pointer-events: none;
}

.photo-media--cutout img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 22px 26px rgb(19 48 46 / .13));
}

.photo-media--service img {
  object-position: 48% 52%;
}

.hero-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: min(320px, calc(100% - 36px));
  padding: 20px;
  border-radius: var(--r-card);
  background: var(--c-dark);
  color: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.hero-card__meta {
  margin-bottom: 8px;
  color: rgb(255 255 255 / .58);
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero-card p {
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1.2;
}

.trust-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgb(19 48 46 / .2);
}

.trust-item {
  padding: 20px 0;
  border-bottom: 1px solid rgb(19 48 46 / .2);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: var(--fw-light);
  letter-spacing: -.02em;
  line-height: 1.2;
}

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

.editorial-heading {
  grid-column: 1 / -1;
}

.editorial-copy {
  grid-column: 1 / -1;
  margin-top: 36px;
}

.editorial-copy > * + * {
  margin-top: 20px;
}

.statement__label {
  grid-column: 1 / -1;
  margin-bottom: 36px;
}

.statement__copy {
  grid-column: 1 / -1;
}

.statement__copy .display {
  max-width: 14ch;
}

.statement__foot {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgb(255 255 255 / .18);
  color: rgb(255 255 255 / .68);
}

.section-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.section-head__copy {
  max-width: 42rem;
}

.rail-controls {
  display: none;
  gap: 8px;
}

.rail-control {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition:
    background var(--d-ui) var(--ease),
    color var(--d-ui) var(--ease),
    transform var(--d-ui) var(--ease);
}

.rail-control:hover {
  background: currentColor;
  color: var(--c-ground);
  transform: scale(1.04);
}

.rail {
  display: flex;
  width: 100%;
  max-width: 100vw;
  gap: 18px;
  padding: 4px var(--gutter) 20px;
  overflow-x: auto;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail__card {
  position: relative;
  display: grid;
  width: min(82vw, 430px);
  min-height: 570px;
  flex: 0 0 auto;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--c-soft);
  color: var(--c-ink);
  scroll-snap-align: start;
  transition:
    width var(--d-header) var(--ease),
    transform var(--d-ui) var(--ease),
    box-shadow var(--d-ui) var(--ease);
}

.rail__card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.rail__media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.rail-photo {
  position: absolute;
  inset: -18px 0;
  display: block;
  overflow: hidden;
  background: var(--c-sand);
  transform: translateY(var(--drift, 0px)) scale(1.02);
}

.rail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail-photo--dumbbell img {
  object-position: 42% 48%;
}

.rail-photo--balance img {
  object-position: 54% 50%;
}

.rail-photo--cardio img {
  object-position: 60% 50%;
}

.rail-photo--squat img {
  object-position: 56% 50%;
}

.rail-photo--bench-close img {
  object-position: 50% 52%;
}

.rail-photo--core img {
  object-position: 53% 50%;
}

.rail__body {
  position: relative;
  z-index: 2;
  min-height: 190px;
  padding: 24px;
  background: var(--c-soft);
}

.rail__number {
  margin-bottom: 10px;
  color: var(--c-muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rail__title {
  max-width: 15ch;
  margin-bottom: 0;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: var(--fw-light);
  letter-spacing: -.03em;
  line-height: 1.08;
}

.rail__toggle {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgb(19 48 46 / .34);
  border-radius: 50%;
  background: transparent;
  color: var(--c-ink);
  cursor: pointer;
  transition:
    background var(--d-ui) var(--ease),
    color var(--d-ui) var(--ease),
    transform var(--d-ui) var(--ease);
}

.rail__toggle:hover {
  background: var(--c-ink);
  color: var(--c-white);
  transform: rotate(8deg);
}

.rail__toggle span {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  transition: transform var(--d-ui) var(--ease);
}

.rail__detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows var(--d-header) var(--ease),
    opacity var(--d-ui) var(--ease);
}

.rail__detail > div {
  overflow: hidden;
}

.rail__detail p {
  max-width: 38ch;
  padding: 20px 76px 0 0;
  color: var(--c-muted);
  font-size: .94rem;
}

.steps {
  grid-column: 1 / -1;
  counter-reset: steps;
  border-top: 1px solid rgb(19 48 46 / .2);
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas:
    "number title"
    "number description";
  gap: 20px;
  padding-block: 28px;
  border-bottom: 1px solid rgb(19 48 46 / .2);
  counter-increment: steps;
}

.step::before {
  grid-area: number;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(19 48 46 / .34);
  border-radius: 50%;
  font-size: .75rem;
  content: "0" counter(steps);
}

.step h3 {
  grid-area: title;
  min-width: 0;
  margin-bottom: 8px;
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: var(--fw-light);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.step p {
  grid-area: description;
  min-width: 0;
  max-width: 46ch;
  color: var(--c-muted);
}

.page-hero {
  padding-block: clamp(72px, 9vw, 136px) clamp(64px, 8vw, 112px);
}

.page-hero__kicker {
  grid-column: 1 / -1;
}

.page-hero__title {
  grid-column: 1 / -1;
  max-width: 13ch;
}

.page-hero__lead {
  grid-column: 1 / -1;
  margin-top: 36px;
}

.page-hero__lead p {
  max-width: 42ch;
}

.page-hero__aside {
  grid-column: 1 / -1;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgb(19 48 46 / .2);
  color: var(--c-muted);
  font-size: .84rem;
}

.portrait-layout__media,
.portrait-layout__copy {
  grid-column: 1 / -1;
}

.portrait-layout__copy {
  margin-top: 44px;
}

.qualification-list {
  grid-column: 1 / -1;
  border-top: 1px solid currentColor;
}

.qualification-list--spaced {
  margin-top: 64px;
}

.qualification {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-block: 24px;
  border-bottom: 1px solid currentColor;
}

.qualification__year {
  color: var(--c-muted);
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.qualification__title {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  font-weight: var(--fw-light);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.qualification__place {
  color: var(--c-muted);
  font-size: .9rem;
}

.section--dark .qualification__year,
.section--dark .qualification__place {
  color: rgb(255 255 255 / .68);
}

.boundary-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-card);
  background: var(--c-soft);
  box-shadow: inset 4px 0 0 var(--c-accent-dark);
}

.boundary-note__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--c-ink);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 700;
}

.boundary-note h2,
.boundary-note h3 {
  margin-bottom: 8px;
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: var(--fw-light);
  letter-spacing: -.02em;
}

.boundary-note p {
  color: var(--c-muted);
  font-size: .93rem;
}

.price-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.price-card {
  position: relative;
  display: grid;
  min-height: 360px;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgb(19 48 46 / .16);
  border-radius: var(--r-card);
  background: var(--c-soft);
}

.price-card--featured {
  background: var(--c-dark);
  color: var(--c-white);
}

.price-card--featured::after {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 1px solid rgb(63 112 72 / .58);
  border-radius: 50%;
  content: "";
}

.price-card__label {
  margin-bottom: 36px;
  color: var(--c-muted);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.price-card__price {
  margin-bottom: 6px;
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: var(--fw-light);
  letter-spacing: -.05em;
  line-height: 1;
}

.price-card__duration {
  color: var(--c-muted);
  font-size: .84rem;
}

.price-card--featured .price-card__label,
.price-card--featured .price-card__duration {
  color: rgb(255 255 255 / .68);
}

.price-card__description {
  max-width: 35ch;
  margin-top: 20px;
  padding-top: 0;
  align-self: start;
  font-size: .94rem;
  opacity: .78;
}

.policy-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgb(19 48 46 / .2);
}

.policy-list__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding-block: 22px;
  border-bottom: 1px solid rgb(19 48 46 / .2);
}

.policy-list__item strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: var(--fw-light);
}

.policy-list__item p {
  color: var(--c-muted);
  font-size: .92rem;
}

.resource-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.resource-card {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgb(19 48 46 / .16);
  border-radius: var(--r-card);
  background: var(--c-soft);
  transition:
    transform var(--d-ui) var(--ease),
    box-shadow var(--d-ui) var(--ease),
    background var(--d-ui) var(--ease);
}

.resource-card:hover {
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.resource-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--c-muted);
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.resource-card__title {
  max-width: 13ch;
  margin-top: auto;
  margin-bottom: 18px;
  font-family: var(--f-display);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: var(--fw-light);
  letter-spacing: -.035em;
  line-height: 1.04;
}

.resource-card__summary {
  max-width: 38ch;
  color: var(--c-muted);
  font-size: .91rem;
}

.resource-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: .75rem;
  font-weight: var(--fw-medium);
}

.resource-card__status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  content: "";
}

.faq-list {
  grid-column: 1 / -1;
  border-top: 1px solid rgb(19 48 46 / .22);
}

.faq {
  border-bottom: 1px solid rgb(19 48 46 / .22);
}

.faq summary {
  position: relative;
  display: grid;
  min-height: 82px;
  grid-template-columns: 1fr 40px;
  gap: 20px;
  align-items: center;
  padding-block: 22px;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: var(--fw-light);
  letter-spacing: -.02em;
  line-height: 1.16;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(19 48 46 / .38);
  border-radius: 50%;
  font-family: var(--f-sans);
  font-size: 1.2rem;
  content: "+";
  transition: transform var(--d-ui) var(--ease);
}

.faq[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-width: 62ch;
  padding: 0 60px 30px 0;
  color: var(--c-muted);
}

.contact-layout__details,
.contact-layout__form {
  grid-column: 1 / -1;
}

.contact-layout__form {
  margin-top: 52px;
}

.contact-list {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(19 48 46 / .2);
}

.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid rgb(19 48 46 / .2);
}

.contact-list__label {
  color: var(--c-muted);
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.contact-list__value {
  overflow-wrap: anywhere;
}

.form-card {
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-card);
  background: var(--c-soft);
  box-shadow: var(--shadow-soft);
}

.form-card h2 {
  margin-bottom: 12px;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-light);
  letter-spacing: -.035em;
}

.form-intro {
  max-width: 46ch;
  margin-bottom: 34px;
  color: var(--c-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.fieldset legend {
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .035em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid rgb(19 48 46 / .28);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-ink);
  transition:
    border-color var(--d-fast) var(--ease),
    box-shadow var(--d-fast) var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-accent-dark);
  box-shadow: 0 0 0 4px rgb(106 154 96 / .18);
  outline: 0;
}

.field [aria-invalid="true"] {
  border-color: var(--c-error);
}

.field__hint,
.field__error {
  font-size: .76rem;
  line-height: 1.4;
}

.field__hint {
  color: var(--c-muted);
}

.field__error {
  color: var(--c-error);
}

.fieldset {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
}

.choice label {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid rgb(19 48 46 / .28);
  border-radius: var(--r-pill);
  background: var(--c-white);
  cursor: pointer;
}

.choice input:checked + label {
  border-color: var(--c-ink);
  background: var(--c-ink);
  color: var(--c-white);
}

.choice input:focus-visible + label {
  outline: 3px solid var(--c-accent-dark);
  outline-offset: 3px;
}

.consent {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .82rem;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--c-accent-dark);
}

.form-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding-top: 8px;
}

.form-status {
  flex: 1 1 260px;
  min-height: 1.5em;
  color: var(--c-muted);
  font-size: .82rem;
}

.form-status[data-state="error"] {
  color: var(--c-error);
}

.map-card {
  grid-column: 1 / -1;
  display: grid;
  min-height: 460px;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--c-sand);
}

.map-card__canvas {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: var(--c-sand);
}

.map-card__canvas iframe {
  display: block;
  width: 100%;
  min-height: 330px;
  height: 100%;
  border: 0;
}

.map-card__fallback {
  margin-top: 8px;
  color: rgb(255 255 255 / .7);
  font-size: .78rem;
}

.map-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: var(--c-dark);
  color: var(--c-white);
}

.map-card__body p {
  max-width: 36ch;
  color: rgb(255 255 255 / .7);
  font-size: .88rem;
}

.legal-wrap {
  grid-column: 1 / -1;
  max-width: 820px;
}

.legal-wrap h2 {
  margin: 52px 0 16px;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: var(--fw-light);
  letter-spacing: -.03em;
}

.legal-wrap h3 {
  margin: 32px 0 12px;
  font-size: 1.05rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--c-muted);
}

.legal-wrap ul {
  padding-left: 1.2em;
}

.draft-banner {
  margin-bottom: 36px;
  padding: 18px 20px;
  border: 1px solid rgb(157 45 50 / .35);
  border-radius: var(--r-sm);
  background: rgb(157 45 50 / .06);
  color: var(--c-error);
  font-size: .84rem;
}

.cta-panel {
  grid-column: 1 / -1;
  position: relative;
  padding: clamp(32px, 6vw, 80px);
  overflow: hidden;
  border-radius: var(--r-large);
  background: var(--c-dark);
  color: var(--c-white);
}

.cta-panel::before {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgb(63 112 72 / .5);
  border-radius: 50%;
  content: "";
}

.cta-panel__title {
  position: relative;
  max-width: 12ch;
  margin-bottom: 28px;
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  font-weight: var(--fw-light);
  letter-spacing: -.05em;
  line-height: .98;
}

.cta-panel__copy {
  position: relative;
  max-width: 42ch;
  margin-bottom: 30px;
  color: rgb(255 255 255 / .68);
}

.cta-panel .button--primary:hover {
  background: var(--c-white);
  color: var(--c-ink);
}

.site-footer {
  padding: 72px var(--gutter) 26px;
  background: var(--c-dark);
  color: var(--c-white);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 54px;
  width: 100%;
  max-width: calc(var(--content-max) - (var(--gutter) * 2));
  margin-inline: auto;
}

.footer__brand .brand {
  margin-bottom: 24px;
}

.footer__brand p {
  max-width: 30ch;
  color: rgb(255 255 255 / .58);
  font-size: .88rem;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px 20px;
}

.footer__group h2 {
  margin-bottom: 16px;
  color: rgb(255 255 255 / .52);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer__group a,
.footer__group span {
  display: block;
  margin-top: 8px;
  font-size: .86rem;
  text-decoration: none;
}

.footer__group a:hover {
  color: var(--c-accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  width: 100%;
  max-width: calc(var(--content-max) - (var(--gutter) * 2));
  margin: 64px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / .15);
  color: rgb(255 255 255 / .52);
  font-size: .72rem;
}

.language-switch--footer {
  color: rgb(255 255 255 / .72);
}

.language-switch--footer a[aria-current="page"] {
  color: var(--c-accent);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / .24);
  border-radius: 50%;
  background: rgb(16 40 37 / .86);
  color: var(--c-white);
  box-shadow: 0 10px 30px rgb(16 40 37 / .22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity var(--d-ui) var(--ease),
    transform var(--d-ui) var(--ease),
    background var(--d-ui) var(--ease);
  backdrop-filter: blur(12px);
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  background: var(--c-accent-dark);
  color: var(--c-white);
}

[data-reveal] {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(24px);
  transition:
    opacity var(--d-reveal) var(--ease),
    filter var(--d-reveal) var(--ease),
    transform var(--d-reveal) var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.no-js [data-reveal] {
  opacity: 1;
  filter: none;
  transform: none;
}

.error-page {
  display: grid;
  min-height: calc(100svh - 122px);
  place-items: center;
  padding: var(--gutter);
  text-align: center;
}

.error-page__code {
  margin-bottom: 16px;
  color: var(--c-accent-dark);
  font-family: var(--f-display);
  font-size: clamp(4rem, 16vw, 10rem);
  font-weight: var(--fw-light);
  letter-spacing: -.07em;
  line-height: .8;
}

.error-page h1 {
  margin-bottom: 18px;
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: var(--fw-light);
  letter-spacing: -.05em;
  line-height: 1;
}

.error-page p {
  max-width: 38ch;
  margin: 0 auto 28px;
  color: var(--c-muted);
}

@media (min-width: 560px) {
  .announce span {
    display: inline;
    margin-left: 12px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(odd) {
    padding-right: 22px;
    border-right: 1px solid rgb(19 48 46 / .2);
  }

  .trust-item:nth-child(even) {
    padding-left: 22px;
  }

  .price-grid,
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 768px) {
  .hero__title,
  .page-hero__title {
    font-size: 4.5rem;
  }

  .hero__copy {
    grid-column: 1 / span 15;
  }

  .hero__support {
    grid-column: 16 / -1;
    margin-top: 0;
  }

  .hero__index {
    display: block;
  }

  .hero__visual {
    grid-column: 3 / -1;
  }

  .photo-media--hero {
    aspect-ratio: 16 / 9;
  }

  .hero-card {
    right: 28px;
    bottom: 28px;
    padding: 26px;
  }

  .editorial-heading {
    grid-column: 1 / span 12;
  }

  .editorial-copy {
    grid-column: 15 / -1;
    margin-top: 0;
  }

  .statement__label {
    grid-column: 1 / span 4;
  }

  .statement__copy {
    grid-column: 5 / -1;
  }

  .statement__foot {
    grid-column: 13 / -1;
  }

  .rail-controls {
    display: flex;
  }

  .page-hero__kicker {
    grid-column: 1 / span 5;
  }

  .page-hero__title {
    grid-column: 1 / span 15;
  }

  .page-hero__lead {
    grid-column: 15 / -1;
    margin-top: 0;
    align-self: end;
  }

  .page-hero__aside {
    grid-column: 17 / -1;
    margin-top: 50px;
  }

  .portrait-layout__media {
    grid-column: 1 / span 9;
  }

  .portrait-layout__copy {
    grid-column: 13 / -1;
    align-self: center;
    margin-top: 0;
  }

  .qualification {
    grid-template-columns: 3fr 10fr 7fr;
    gap: 24px;
  }

  .boundary-note {
    grid-column: 5 / span 14;
  }

  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-layout__details {
    grid-column: 1 / span 8;
  }

  .contact-layout__form {
    grid-column: 11 / -1;
    margin-top: 0;
  }

  .map-card {
    grid-column: 3 / span 18;
  }

  .legal-wrap {
    grid-column: 4 / span 14;
  }

  .footer__inner {
    grid-template-columns: minmax(240px, 2fr) minmax(420px, 3fr);
  }

  .footer__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-header,
  .header__inner {
    min-height: 100px;
  }

  .header__glass {
    inset: 8px 24px;
  }

  .desktop-nav {
    display: flex;
    gap: clamp(14px, 1.55vw, 26px);
  }

  .language-switch--desktop {
    display: inline-flex;
  }

  html[lang="it"] .desktop-nav a:not(.button) {
    font-size: .79rem;
  }

  .menu-button {
    display: none;
  }

  .header__actions .button {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .no-js-fallback {
    display: none;
  }

  .brand__icon {
    width: 50px;
    height: 60px;
  }

  .brand__word {
    font-size: 1rem;
  }

  .hero__title,
  .page-hero__title {
    font-size: 6rem;
  }

  .hero__visual {
    grid-column: 5 / -1;
  }

  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-item,
  .trust-item:nth-child(odd),
  .trust-item:nth-child(even) {
    padding: 24px;
    border-right: 1px solid rgb(19 48 46 / .2);
  }

  .trust-item:first-child {
    padding-left: 0;
  }

  .trust-item:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .rail {
    gap: 24px;
  }

  .rail__card {
    width: 493px;
    min-height: 650px;
  }

  .resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 1280px) {
  .hero__title,
  .page-hero__title {
    font-size: 6.875rem;
  }
}

/* v1.2 interaction and visual-storytelling layer */

@view-transition {
  navigation: auto;
}

.header-brand {
  view-transition-name: osteogym-brand;
}

main {
  view-transition-name: page-content;
}

::view-transition-group(osteogym-brand) {
  animation-duration: 320ms;
  animation-timing-function: var(--ease);
}

::view-transition-old(page-content) {
  animation: page-out 220ms var(--ease) both;
}

::view-transition-new(page-content) {
  animation: page-in 340ms var(--ease) both;
}

@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes page-in {
  from {
    clip-path: inset(12px 0 0);
    opacity: 0;
    transform: translateY(16px);
  }
}

.hero__title,
.page-hero__title {
  font-size: clamp(3rem, 1.95rem + 5.25vw, 6.875rem);
}

.hero__title .line:nth-child(2) {
  margin-left: 0;
}

.eyebrow,
.desktop-nav a:not(.button),
.contact-list__label,
.field label,
.fieldset legend {
  font-size: .875rem;
}

.footer__group h2 {
  font-size: .8125rem;
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.button > span {
  position: relative;
  z-index: 1;
}

.button::before {
  position: absolute;
  inset: -2px;
  z-index: 0;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgb(255 255 255 / .22), transparent 48%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--d-ui) var(--ease);
}

.button::after {
  position: relative;
  z-index: 1;
  content: "→";
}

.button[data-icon="external"]::after {
  content: "↗";
}

.button[data-icon="back"]::after {
  order: -1;
  content: "←";
}

.button[data-icon="send"]::after {
  content: "→";
}

.button[data-state="loading"]::after {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: button-spin 680ms linear infinite;
}

.button[data-state="success"]::after {
  content: "✓";
}

.button[data-state="error"]::after {
  content: "!";
}

.button:active:not([disabled]) {
  transform: translateY(1px) scale(.985);
  transition-duration: 80ms;
}

@keyframes button-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover::before {
    opacity: 1;
  }
}

.mobile-menu {
  padding:
    max(132px, calc(108px + env(safe-area-inset-top)))
    max(24px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  visibility: hidden;
  opacity: 1;
  clip-path: inset(0 0 100% 0 round 0 0 28px 28px);
  transform: none;
  transition:
    visibility 0s linear 520ms,
    clip-path 480ms var(--ease);
}

.mobile-menu[data-open="true"] {
  visibility: visible;
  clip-path: inset(0 0 0 0 round 0);
  transition-delay: 0s;
}

.mobile-menu__nav a,
.mobile-menu__foot {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 260ms var(--ease),
    transform 360ms var(--ease);
}

.mobile-menu[data-open="true"] .mobile-menu__nav a,
.mobile-menu[data-open="true"] .mobile-menu__foot {
  opacity: 1;
  transform: none;
}

.mobile-menu[data-open="true"] .mobile-menu__nav a:nth-child(1) { transition-delay: 70ms; }
.mobile-menu[data-open="true"] .mobile-menu__nav a:nth-child(2) { transition-delay: 120ms; }
.mobile-menu[data-open="true"] .mobile-menu__nav a:nth-child(3) { transition-delay: 170ms; }
.mobile-menu[data-open="true"] .mobile-menu__nav a:nth-child(4) { transition-delay: 220ms; }
.mobile-menu[data-open="true"] .mobile-menu__nav a:nth-child(5) { transition-delay: 270ms; }
.mobile-menu[data-open="true"] .mobile-menu__nav a:nth-child(6) { transition-delay: 320ms; }
.mobile-menu[data-open="true"] .mobile-menu__foot { transition-delay: 360ms; }

.mobile-menu__nav a[aria-current="page"]::after {
  opacity: 0;
  transform: scale(.4);
  transition:
    opacity 180ms var(--ease) 380ms,
    transform 260ms var(--ease) 380ms;
}

.mobile-menu[data-open="true"] .mobile-menu__nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scale(1);
}

body.intro-running .header-brand {
  opacity: 0;
}

body.intro-header-reveal .header-brand {
  opacity: 1;
}

.intro::before {
  transition: opacity 520ms var(--ease);
}

.intro__logo {
  width: min(62vw, 500px);
}

.intro #intro-figure,
.intro #intro-wordmark {
  transform-origin: center;
  will-change: transform, opacity;
}

.intro__skip:active {
  transform: scale(.97);
}

.site-shell {
  opacity: 1;
}

[data-reveal] {
  clip-path: inset(0 0 12% 0);
  filter: none;
  opacity: 0;
  transform: translateY(18px);
  transition:
    clip-path 760ms var(--ease),
    opacity 620ms var(--ease),
    transform 760ms var(--ease);
}

[data-reveal][data-reveal-style="image"] {
  clip-path: inset(2% 2% 2% 2% round var(--r-card));
  transform: scale(.975);
}

[data-reveal][data-reveal-style="side"] {
  clip-path: inset(0 8% 0 0);
  transform: translateX(20px);
}

[data-reveal][data-reveal-style="clip"] {
  clip-path: inset(0 0 100% 0);
  transform: none;
}

[data-reveal].is-in {
  clip-path: inset(0 0 0 0);
  filter: none;
  opacity: 1;
  transform: none;
}

.trust-strip .trust-item,
.qualification-list .qualification {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 480ms var(--ease),
    transform 620ms var(--ease);
}

.trust-strip.is-in .trust-item,
.qualification-list.is-in .qualification {
  opacity: 1;
  transform: none;
}

.trust-strip.is-in .trust-item:nth-child(2),
.qualification-list.is-in .qualification:nth-child(2) { transition-delay: 70ms; }
.trust-strip.is-in .trust-item:nth-child(3),
.qualification-list.is-in .qualification:nth-child(3) { transition-delay: 140ms; }
.trust-strip.is-in .trust-item:nth-child(4),
.qualification-list.is-in .qualification:nth-child(4) { transition-delay: 210ms; }

.no-js [data-reveal],
.no-js .trust-strip .trust-item,
.no-js .qualification-list .qualification {
  clip-path: none;
  filter: none;
  opacity: 1;
  transform: none;
}

.hero__visual > div {
  transform: translateY(24px);
}

.photo-media {
  box-shadow: 0 18px 48px rgb(19 48 46 / .1);
}

.section--dark::after {
  position: absolute;
  right: -18vw;
  bottom: -32vw;
  width: min(760px, 72vw);
  aspect-ratio: 1.4;
  border: 1px solid rgb(106 154 96 / .28);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: rotate(-12deg);
}

.section--dark > .grid {
  position: relative;
  z-index: 1;
}

.cta-panel::after {
  position: absolute;
  right: -7%;
  bottom: -54%;
  width: 72%;
  aspect-ratio: 1.8;
  border: 1px solid rgb(106 154 96 / .3);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: rotate(-11deg);
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.section-head {
  flex-wrap: wrap;
}

.section-head__copy {
  flex: 1 1 34rem;
}

.rail-controls {
  display: flex;
}

.rail-control:disabled {
  cursor: default;
  opacity: .32;
  transform: none;
}

.rail-meta {
  display: grid;
  width: min(180px, 42vw);
  gap: 7px;
}

.rail-status {
  margin: 0;
  color: var(--c-muted);
  font-size: .8125rem;
  letter-spacing: .05em;
}

.rail-progress {
  position: relative;
  height: 2px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: rgb(19 48 46 / .16);
}

.rail-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--rail-progress, 25%);
  border-radius: inherit;
  background: var(--c-accent-dark);
  transition: width 360ms var(--ease);
}

.rail {
  align-items: flex-start;
  overscroll-behavior-x: contain;
}

.rail__card {
  width: min(76vw, 430px);
  border: 1px solid rgb(19 48 46 / .1);
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0));
}

.rail__card:hover {
  --lift: -4px;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0));
}

.rail__card::after {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgb(255 255 255 / .14), transparent 42%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--d-ui) var(--ease);
}

.rail__card:hover::after {
  opacity: 1;
}

.rail__card[data-expanded="true"] .rail__toggle span {
  transform: rotate(45deg);
}

.rail__card[data-expanded="true"] .rail__detail {
  grid-template-rows: 1fr;
  opacity: 1;
}

.rail__detail[aria-hidden="true"] {
  visibility: hidden;
  transition:
    grid-template-rows var(--d-header) var(--ease),
    opacity var(--d-ui) var(--ease),
    visibility 0s linear var(--d-header);
}

.rail__detail[aria-hidden="false"] {
  visibility: visible;
  transition-delay: 0s;
}

.no-js .rail__detail {
  visibility: visible;
  grid-template-rows: 1fr;
  opacity: 1;
}

.no-js .rail__toggle {
  display: none;
}

.steps {
  --timeline-progress: 0;
  --timeline-surface: var(--c-ground);
  position: relative;
  border-top: 0;
}

.section--soft .steps {
  --timeline-surface: var(--c-soft);
}

.steps::before,
.steps::after {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 19px;
  width: 2px;
  border-radius: var(--r-pill);
  content: "";
  pointer-events: none;
}

.steps::before {
  background: rgb(19 48 46 / .14);
}

.steps::after {
  background: var(--c-accent-dark);
  transform: scaleY(var(--timeline-progress));
  transform-origin: top;
  transition: transform 160ms linear;
}

.step {
  position: relative;
}

.step::before {
  position: relative;
  z-index: 1;
  background: var(--timeline-surface);
  transition:
    background 320ms var(--ease),
    border-color 320ms var(--ease),
    color 320ms var(--ease),
    transform 320ms var(--ease);
}

.step[data-active="true"]::before {
  border-color: var(--c-accent-dark);
  background: var(--c-accent-dark);
  color: var(--c-white);
  transform: scale(1.04);
}

.step h3,
.step p {
  transition:
    color 360ms var(--ease),
    transform 440ms var(--ease),
    opacity 440ms var(--ease);
}

.js .step[data-active="false"] h3,
.js .step[data-active="false"] p {
  opacity: .56;
  transform: translateX(8px);
}

.form-error-summary {
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid rgb(157 45 50 / .36);
  border-radius: var(--r-sm);
  background: rgb(157 45 50 / .06);
  color: var(--c-error);
}

.form-error-summary:focus {
  outline: 3px solid var(--c-error);
  outline-offset: 3px;
}

.form-error-summary h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.form-error-summary ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: .875rem;
}

.form-status[data-state="loading"] {
  color: var(--c-muted);
}

.form-status[data-state="success"] {
  color: var(--c-accent-dark);
  font-weight: 650;
}

.form-status[data-state="error"] {
  color: var(--c-error);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.map-card__canvas {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgb(19 48 46 / .07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(19 48 46 / .07) 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, rgb(106 154 96 / .3), transparent 34%),
    var(--c-sand);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.map-card__canvas iframe {
  position: absolute;
  inset: 0;
  opacity: 1;
}

@media (max-width: 899px) {
  .hero__copy,
  .hero__support,
  .hero__visual,
  .page-hero__kicker,
  .page-hero__title,
  .page-hero__lead,
  .page-hero__aside {
    grid-column: 1 / -1;
  }

  .hero__support,
  .page-hero__lead {
    margin-top: 34px;
  }

  .hero__index {
    display: none;
  }

  .hero__visual {
    margin-top: clamp(44px, 8vw, 72px);
  }

  .hero-card {
    position: static;
    max-width: none;
    border-radius: 0 0 var(--r-card) var(--r-card);
    box-shadow: none;
  }

  .photo-media--hero {
    border-radius: var(--r-card) var(--r-card) 0 0;
  }

  .page-hero__aside {
    margin-top: 34px;
  }
}

@media (min-width: 900px) {
  .hero__title .line:nth-child(2) {
    margin-left: clamp(24px, 6vw, 110px);
  }

  .hero__copy {
    grid-column: 1 / span 15;
  }

  .hero__support {
    grid-column: 16 / -1;
    margin-top: 0;
  }

  .hero__index {
    display: block;
  }

  .hero__visual {
    grid-column: 3 / -1;
  }

  .page-hero__kicker {
    grid-column: 1 / span 5;
  }

  .page-hero__title {
    grid-column: 1 / span 15;
  }

  .page-hero__lead {
    grid-column: 15 / -1;
    align-self: end;
    margin-top: 0;
  }

  .page-hero__aside {
    grid-column: 17 / -1;
    margin-top: 50px;
  }
}

@media (min-width: 1024px) {
  .hero__visual {
    grid-column: 5 / -1;
  }

  .rail__card,
  .rail__card[data-expanded="true"] {
    width: 493px;
  }

  .rail__card[data-expanded="true"] {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .rail__card[data-expanded="true"] .rail__body {
    display: block;
    min-height: 190px;
    padding: 28px;
  }

  .rail__card[data-expanded="true"] .rail__media {
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  .section-head {
    align-items: center;
  }

  .section-head__copy {
    flex-basis: 100%;
  }

  .rail-meta {
    flex: 1 1 130px;
  }

  .rail-controls {
    margin-left: auto;
  }

  .step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .step::before {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 420px) {
  .header__actions .button {
    display: none;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mobile-menu__foot {
    gap: 12px;
  }

  .mobile-menu__foot > span {
    font-size: .74rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

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

  .js .intro {
    display: none !important;
  }

  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(page-content),
  ::view-transition-new(page-content),
  ::view-transition-group(osteogym-brand) {
    animation: none !important;
  }

  .mobile-menu,
  .no-js-fallback,
  .mobile-menu__nav a,
  .mobile-menu__foot,
  .steps::after,
  .rail-progress span {
    transition: none !important;
  }

  .rail__card {
    transform: none !important;
  }

  .js .step[data-active="false"] h3,
  .js .step[data-active="false"] p {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .announce,
  .site-header,
  .mobile-menu,
  .intro,
  .back-to-top,
  .site-footer,
  .rail-controls,
  .hero__actions,
  .button {
    display: none !important;
  }

  body,
  .section,
  .section--dark,
  .section--soft {
    background: #fff !important;
    color: #000 !important;
  }

  .section,
  .page-hero,
  .hero {
    min-height: 0;
    padding-block: 28px;
  }

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


/* v1.4 motion refinements */
body.intro-running .header-brand { opacity: 0; transition: none; }
body.intro-header-reveal .header-brand { opacity: 1; }
.hero [data-reveal], .statement__copy[data-reveal], .statement__foot[data-reveal] { transition-duration: 1080ms, 900ms, 1080ms; transition-timing-function: cubic-bezier(.22,.72,.2,1); }
[data-draw-motif] { overflow: hidden; }
.scroll-motif { position:absolute; z-index:0; inset:auto -18vw -32vw auto; width:min(760px,72vw); height:min(540px,58vw); pointer-events:none; transform:rotate(-12deg); }
.scroll-motif--arc { inset:auto -7% -54% auto; width:72%; height:85%; transform:rotate(-11deg); }
.scroll-motif path, .approach-divider path { fill:none; stroke:rgb(106 154 96 / .42); stroke-width:2; vector-effect:non-scaling-stroke; transition:stroke-dashoffset 1500ms cubic-bezier(.22,.72,.2,1); }
.section--dark[data-draw-motif]::after, .cta-panel[data-draw-motif]::before, .cta-panel[data-draw-motif]::after { display:none; }
[data-draw-motif] > .grid, .cta-panel[data-draw-motif] > *:not(.scroll-motif) { position:relative; z-index:1; }
.portrait-layout__copy--solo { grid-column:1 / -1; max-width:920px; margin-top:0; }
.approach-section .portrait-layout__copy--solo .display { max-width:13ch; }
.approach-divider { width:min(100%,760px); margin:clamp(32px,5vw,58px) 0 clamp(30px,4vw,48px); }
.approach-divider svg { display:block; width:100%; height:52px; overflow:visible; }
.approach-divider path { stroke:var(--c-accent-dark); transition-duration:1300ms; }
@media (min-width:900px) { .portrait-layout__copy--solo { grid-column:5 / span 14; } }
@media (max-width:899px) { .scroll-motif { width:105vw; height:78vw; right:-48vw; bottom:-18vw; } .scroll-motif--arc { right:-32%; bottom:-34%; width:108%; height:96%; } .approach-divider svg { height:40px; } }
@media (prefers-reduced-motion:reduce) { .scroll-motif path, .approach-divider path { stroke-dashoffset:0 !important; transition:none !important; } }

/* The approach note stays tucked into the hero image until the visitor
   reaches it, then rises cleanly out of the image edge while scrolling. */
.js .hero-card[data-image-emerge] {
  clip-path: inset(100% 0 0 0 round var(--r-card));
  opacity: 0;
  transform: translateY(42px) scale(.97);
  transition:
    clip-path 980ms cubic-bezier(.22,.72,.2,1),
    opacity 560ms ease-out,
    transform 980ms cubic-bezier(.22,.72,.2,1);
  will-change: clip-path, opacity, transform;
}

.js .hero-card[data-image-emerge][data-emerged="true"] {
  clip-path: inset(0 0 0 0 round var(--r-card));
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-card[data-image-emerge] {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   v1.7 — living brand dot, pen-drawn divider, closer handoff
   ============================================================ */

/* The small accent dot echoes the head of the logo mark. It now breathes
   slowly rather than sitting still. The global reduced-motion block already
   neutralises every animation, so no extra guard is needed here. */
@keyframes brand-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgb(106 154 96 / .18);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 8px rgb(106 154 96 / .05);
    transform: scale(1.16);
  }
}

@keyframes brand-dot-pulse-dark {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgb(63 112 72 / .18);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 8px rgb(63 112 72 / .05);
    transform: scale(1.16);
  }
}

.eyebrow::before {
  animation: brand-dot-pulse 3.4s var(--ease) infinite;
}

.eyebrow--accent::before {
  animation: brand-dot-pulse-dark 3.4s var(--ease) infinite;
  /* Offset so neighbouring dots breathe out of step rather than in unison. */
  animation-delay: -1.1s;
}

.resource-card__status::before {
  box-shadow: 0 0 0 3px rgb(106 154 96 / .18);
  animation: brand-dot-pulse 3.4s var(--ease) infinite;
  animation-delay: -.6s;
}

/* The current-page marker in the mobile menu was a bullet character. It is now
   a true circle, so it matches the rest of the dot family and can breathe. */
.mobile-menu__nav a[aria-current="page"]::after {
  float: right;
  width: 12px;
  height: 12px;
  margin-top: .52em;
  border-radius: 50%;
  background: var(--c-accent-dark);
  animation: brand-dot-pulse-dark 3.4s var(--ease) infinite;
  content: "";
}

/* The logo head answers to the pointer on the header and footer marks. */
.brand .logo-head {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform var(--d-ui) var(--ease);
}

.brand:hover .logo-head,
.brand:focus-visible .logo-head {
  transform: scale(1.16);
}

/* The divider is drawn by a travelling dot, in the same spirit as the
   entrance. The dot is an HTML element rather than an SVG circle because the
   divider SVG is stretched with preserveAspectRatio="none", which would
   squash a circle drawn inside it into an ellipse. */
.approach-divider {
  position: relative;
}

.approach-divider[data-pen="true"] path {
  transition: none;
}

.draw-pen {
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--c-accent-dark);
  opacity: 0;
  box-shadow: 0 0 0 5px rgb(63 112 72 / .14);
  pointer-events: none;
  transition: opacity 300ms var(--ease);
  will-change: transform;
}

.draw-pen[data-state="drawing"] {
  opacity: 1;
}

.draw-pen[data-state="done"] {
  opacity: 0;
  transition-delay: 420ms;
}

/* Entrance handoff. The ground used to start fading the moment the mark began
   travelling, so the page opened underneath a logo that was still in flight
   and appeared to swallow it. The ground now holds until the mark is nearly
   home, and the mark cross-fades into the real header logo on arrival. */
.intro.is-handoff::before {
  opacity: 0;
  transition: opacity 560ms var(--ease) 300ms;
}

.intro.is-landed .intro__logo {
  opacity: 0;
  transition: opacity 260ms var(--ease);
}

body.intro-header-reveal .header-brand {
  transition: opacity 300ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .draw-pen {
    display: none;
  }

  .brand:hover .logo-head,
  .brand:focus-visible .logo-head {
    transform: none;
  }
}

/* ============================================================
   v1.8 — privacy policy editorial layout
   ============================================================ */

.privacy-hero {
  position: relative;
  overflow: hidden;
}

.privacy-hero::after {
  position: absolute;
  right: clamp(-260px, -12vw, -120px);
  bottom: clamp(-320px, -22vw, -190px);
  width: clamp(420px, 42vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgb(63 112 72 / .24);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.privacy-hero::before {
  position: absolute;
  right: clamp(-110px, 6vw, 140px);
  bottom: clamp(-220px, -11vw, -100px);
  width: clamp(220px, 24vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgb(106 154 96 / .18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.privacy-hero > .grid {
  position: relative;
  z-index: 1;
}

.privacy-hero__aside {
  display: grid;
  gap: 5px;
  padding: 20px 0 0;
}

.privacy-hero__aside > span,
.privacy-hero__aside > small {
  color: var(--c-muted);
  font-size: .76rem;
}

.privacy-hero__aside > span {
  font-weight: var(--fw-medium);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.privacy-hero__aside > strong {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: var(--fw-light);
  letter-spacing: -.025em;
}

.privacy-overview {
  padding-block: clamp(58px, 7vw, 96px);
}

.privacy-overview__intro,
.privacy-overview__grid {
  grid-column: 1 / -1;
}

.privacy-overview__intro h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.55rem, 5vw, 4.7rem);
  font-weight: var(--fw-light);
  letter-spacing: -.045em;
  line-height: .98;
}

.privacy-overview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid rgb(255 255 255 / .22);
}

.privacy-fact {
  position: relative;
  display: flex;
  min-height: 188px;
  flex-direction: column;
  padding: 22px 0 24px;
  border-bottom: 1px solid rgb(255 255 255 / .22);
}

.privacy-fact__index,
.privacy-fact__label {
  color: rgb(255 255 255 / .58);
  font-size: .71rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.privacy-fact__index {
  position: absolute;
  top: 22px;
  right: 0;
}

.privacy-fact strong {
  margin-top: auto;
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: var(--fw-light);
  letter-spacing: -.025em;
  line-height: 1.08;
}

.privacy-fact p {
  max-width: 32ch;
  margin-top: 10px;
  color: rgb(255 255 255 / .64);
  font-size: .83rem;
}

.privacy-layout {
  align-items: start;
}

.privacy-toc,
.privacy-content {
  grid-column: 1 / -1;
}

.privacy-toc {
  margin-bottom: 58px;
  padding: 24px;
  border: 1px solid rgb(19 48 46 / .14);
  border-radius: var(--r-card);
  background: rgb(247 244 236 / .66);
}

.privacy-toc__title {
  margin-bottom: 18px;
  font-size: .74rem;
  font-weight: var(--fw-medium);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.privacy-toc nav {
  display: grid;
  grid-template-columns: 1fr;
}

.privacy-toc nav a {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgb(19 48 46 / .12);
  color: var(--c-muted);
  font-size: .82rem;
  text-decoration: none;
  transition: color var(--d-fast) var(--ease), padding-left var(--d-fast) var(--ease);
}

.privacy-toc nav a:last-child {
  border-bottom: 1px solid rgb(19 48 46 / .12);
}

.privacy-toc nav a span {
  color: var(--c-accent-dark);
  font-size: .68rem;
  letter-spacing: .05em;
}

.privacy-toc nav a:hover,
.privacy-toc nav a:focus-visible {
  padding-left: 4px;
  color: var(--c-ink);
}

.privacy-toc__contact {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}

.privacy-toc__contact > span {
  color: var(--c-muted);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.privacy-toc__contact a {
  overflow-wrap: anywhere;
  color: var(--c-ink);
  font-size: .82rem;
  text-underline-offset: 3px;
}

.privacy-content {
  min-width: 0;
}

.privacy-section {
  padding: clamp(42px, 6vw, 76px) 0;
  border-top: 1px solid rgb(19 48 46 / .18);
  scroll-margin-top: 132px;
}

.privacy-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.privacy-section__heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: clamp(24px, 4vw, 38px);
}

.privacy-section__number {
  padding-top: .5em;
  color: var(--c-accent-dark);
  font-size: .72rem;
  font-weight: var(--fw-medium);
  letter-spacing: .07em;
}

.privacy-section h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  font-weight: var(--fw-light);
  letter-spacing: -.04em;
  line-height: 1.04;
}

.privacy-section__body {
  max-width: 840px;
}

.privacy-section__body p,
.privacy-section__body li,
.privacy-section__body address {
  color: var(--c-muted);
}

.privacy-section__body p {
  margin-bottom: 20px;
}

.privacy-section__body p:last-child {
  margin-bottom: 0;
}

.privacy-section__body strong {
  color: var(--c-ink);
  font-weight: var(--fw-medium);
}

.privacy-section__body a {
  color: var(--c-accent-dark);
  overflow-wrap: anywhere;
}

.privacy-section__body ul {
  margin: 0 0 24px;
  padding-left: 1.25em;
}

.privacy-section__body li {
  margin-bottom: 13px;
  padding-left: .32em;
}

.privacy-section__body li::marker {
  color: var(--c-accent-dark);
}

.privacy-controller-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid rgb(19 48 46 / .14);
  border-radius: var(--r-card);
  background: var(--c-soft);
}

.privacy-controller-card > div {
  display: grid;
  gap: 7px;
  padding: 22px;
  border-bottom: 1px solid rgb(19 48 46 / .12);
}

.privacy-controller-card > div:last-child {
  border-bottom: 0;
}

.privacy-controller-card span {
  color: var(--c-muted);
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.privacy-controller-card strong,
.privacy-controller-card address {
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 1.17rem;
  font-style: normal;
  font-weight: var(--fw-light);
  line-height: 1.35;
}

.privacy-purpose-list {
  display: grid;
  gap: 12px;
}

.privacy-purpose {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgb(19 48 46 / .13);
  border-radius: var(--r-card);
  background: rgb(247 244 236 / .62);
}

.privacy-purpose--accent {
  box-shadow: inset 4px 0 0 var(--c-accent-dark);
}

.privacy-purpose h3,
.privacy-important h3 {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: var(--fw-light);
  letter-spacing: -.025em;
}

.privacy-purpose p {
  font-size: .94rem;
}

.privacy-note {
  margin: 28px 0;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--r-card);
  background: var(--c-soft);
  box-shadow: inset 4px 0 0 var(--c-accent-dark);
}

.privacy-note__label {
  display: block;
  margin-bottom: 10px;
  color: var(--c-accent-dark);
  font-size: .7rem;
  font-weight: var(--fw-medium);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.privacy-retention-list {
  display: grid;
  gap: 0;
  padding: 0 !important;
  border-top: 1px solid rgb(19 48 46 / .14);
  list-style: none;
}

.privacy-retention-list li {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgb(19 48 46 / .14);
}

.privacy-important {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--r-card);
  background: var(--c-dark);
  color: var(--c-white);
}

.privacy-important__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / .52);
  border-radius: 50%;
  font-size: .8rem;
}

.privacy-important h3,
.privacy-important p,
.privacy-important p strong {
  color: var(--c-white);
}

.privacy-important p {
  margin: 0;
  opacity: .76;
}

.privacy-regulator {
  display: block;
  margin-top: 28px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgb(19 48 46 / .13);
  border-radius: var(--r-card);
  background: var(--c-soft);
  font-style: normal;
}

.privacy-regulator > span {
  display: block;
  margin-bottom: 10px;
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 1.35rem;
}

.privacy-contact-strip {
  display: grid;
  gap: 28px;
  margin-top: 24px;
  padding: clamp(28px, 5vw, 50px);
  border-radius: var(--r-large);
  background: var(--c-dark);
  color: var(--c-white);
}

.privacy-contact-strip > div {
  display: grid;
  gap: 3px;
}

.privacy-contact-strip > div > span {
  color: rgb(255 255 255 / .62);
  font-size: .74rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.privacy-contact-strip strong {
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: var(--fw-light);
  letter-spacing: -.03em;
}

.privacy-contact-strip > a {
  align-self: end;
  color: var(--c-white);
  font-size: .88rem;
  overflow-wrap: anywhere;
}

@media (min-width: 560px) {
  .privacy-overview__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-fact:nth-child(odd) {
    padding-right: 24px;
    border-right: 1px solid rgb(255 255 255 / .22);
  }

  .privacy-fact:nth-child(even) {
    padding-left: 24px;
  }

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

  .privacy-controller-card > div {
    border-right: 1px solid rgb(19 48 46 / .12);
  }

  .privacy-controller-card > div:nth-child(2n) {
    border-right: 0;
  }

  .privacy-controller-card > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .privacy-contact-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

@media (min-width: 900px) {
  .privacy-overview__intro {
    grid-column: 1 / span 6;
  }

  .privacy-overview__grid {
    grid-column: 9 / -1;
    margin-top: 0;
  }

  .privacy-toc {
    position: sticky;
    top: 126px;
    grid-column: 1 / span 5;
    margin: 0;
  }

  .privacy-content {
    grid-column: 7 / -1;
  }

  .privacy-section__heading {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1180px) {
  .privacy-overview__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .privacy-fact,
  .privacy-fact:nth-child(odd),
  .privacy-fact:nth-child(even) {
    min-height: 236px;
    padding: 22px 24px 26px;
    border-right: 1px solid rgb(255 255 255 / .22);
  }

  .privacy-fact:first-child {
    padding-left: 0;
  }

  .privacy-fact:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .privacy-fact__index {
    right: 24px;
  }

  .privacy-fact:last-child .privacy-fact__index {
    right: 0;
  }
}

@media (max-width: 899px) {
  .privacy-policy-section {
    padding-top: 58px;
  }

  .privacy-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }
}

@media (max-width: 520px) {
  .privacy-toc nav {
    grid-template-columns: 1fr;
  }

  .privacy-section__heading {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
  }

  .privacy-important {
    grid-template-columns: 1fr;
  }
}

@media print {
  .privacy-overview,
  .privacy-toc,
  .privacy-contact-strip {
    display: none !important;
  }

  .privacy-content {
    grid-column: 1 / -1;
  }

  .privacy-section {
    break-inside: avoid;
    padding-block: 24px;
  }

  .privacy-purpose,
  .privacy-note,
  .privacy-controller-card,
  .privacy-regulator,
  .privacy-important {
    box-shadow: none;
  }
}

/* ============================================================
   v2.0 — resources index and reusable editorial article template
   ============================================================ */

.resource-card--published {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--c-white);
}

.resource-card--published:hover,
.resource-card--published:focus-within {
  background: var(--c-white);
  box-shadow: 0 24px 62px rgb(19 48 46 / .14);
  transform: translateY(-4px);
}

.resource-card__link {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.resource-card__media {
  min-height: 280px;
  overflow: hidden;
  background: var(--c-sand);
}

.resource-card__media,
.resource-card__media img {
  width: 100%;
  height: 100%;
}

.resource-card__media img {
  object-fit: cover;
  object-position: 50% 40%;
  transition: transform 760ms var(--ease), filter 760ms var(--ease);
}

.resource-card--published:hover .resource-card__media img,
.resource-card--published:focus-within .resource-card__media img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.resource-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(26px, 4vw, 52px);
}

.resource-card--published .resource-card__title {
  max-width: 12ch;
  margin-top: clamp(48px, 8vw, 110px);
}

.resource-card__published {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
  margin-top: 24px;
  color: var(--c-muted);
  font-size: .73rem;
}

.resource-card__published span + span::before {
  margin-right: 20px;
  color: var(--c-accent-dark);
  content: "•";
}

.resource-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 34px;
  border-top: 1px solid rgb(19 48 46 / .15);
  font-size: .78rem;
  font-weight: var(--fw-medium);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.resource-card__action span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(19 48 46 / .2);
  border-radius: 50%;
  transition: color var(--d-ui) var(--ease), background var(--d-ui) var(--ease), transform var(--d-ui) var(--ease);
}

.resource-card--published:hover .resource-card__action span,
.resource-card--published:focus-within .resource-card__action span {
  background: var(--c-accent-dark);
  color: var(--c-white);
  transform: translate(2px, -2px);
}

.article-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 145;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.article-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--c-accent);
  box-shadow: 0 0 12px rgb(106 154 96 / .46);
  transform: scaleX(0);
  transform-origin: left;
}

.article-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 118px) 0 clamp(54px, 7vw, 96px);
}

.article-hero::after {
  position: absolute;
  right: clamp(-220px, -8vw, -80px);
  bottom: clamp(-300px, -16vw, -140px);
  width: clamp(380px, 42vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgb(63 112 72 / .2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.article-hero > .grid {
  position: relative;
  z-index: 1;
}

.article-breadcrumb,
.article-hero__copy,
.article-meta {
  grid-column: 1 / -1;
}

.article-breadcrumb {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(48px, 8vw, 92px);
  color: var(--c-muted);
  font-size: .76rem;
  font-weight: var(--fw-medium);
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.article-breadcrumb span {
  transition: transform var(--d-ui) var(--ease);
}

.article-breadcrumb:hover span {
  transform: translateX(-4px);
}

.article-hero__copy {
  max-width: 1120px;
}

.article-hero__title {
  max-width: 13ch;
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(3.3rem, 8.8vw, 8.1rem);
  font-weight: var(--fw-light);
  letter-spacing: -.058em;
  line-height: .91;
  text-wrap: balance;
}

.article-hero__standfirst {
  max-width: 60ch;
  margin: clamp(30px, 4vw, 48px) 0 0;
  color: var(--c-muted);
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: var(--fw-light);
  letter-spacing: -.018em;
  line-height: 1.35;
}

.article-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(44px, 7vw, 76px);
  border-top: 1px solid rgb(19 48 46 / .18);
}

.article-meta > div {
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid rgb(19 48 46 / .18);
}

.article-meta dt {
  margin-bottom: 5px;
  color: var(--c-muted);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-meta dd {
  margin: 0;
  font-size: .84rem;
  font-weight: var(--fw-medium);
}

.article-hero-media {
  width: min(calc(100% - (2 * var(--gutter))), 1320px);
  margin: 0 auto;
}

.article-hero-media picture {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-large);
  background: var(--c-sand);
}

.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.article-hero-media figcaption {
  max-width: 70ch;
  margin-top: 12px;
  color: var(--c-muted);
  font-size: .7rem;
}

.article-layout {
  align-items: start;
  padding-top: clamp(64px, 9vw, 130px);
  padding-bottom: clamp(84px, 11vw, 160px);
}

.article-sidebar,
.article-content {
  grid-column: 1 / -1;
  min-width: 0;
}

.article-toc {
  margin-bottom: 54px;
  padding: 20px 0;
  border-top: 1px solid rgb(19 48 46 / .18);
  border-bottom: 1px solid rgb(19 48 46 / .18);
}

.article-toc__label {
  margin-bottom: 14px;
  color: var(--c-muted);
  font-size: .68rem;
  font-weight: var(--fw-medium);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-toc ol {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 4px;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: thin;
}

.article-toc li {
  flex: 0 0 auto;
}

.article-toc a {
  display: block;
  padding: 9px 13px;
  border: 1px solid rgb(19 48 46 / .13);
  border-radius: var(--r-pill);
  color: var(--c-muted);
  font-size: .74rem;
  text-decoration: none;
  transition: border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}

.article-toc a:hover,
.article-toc a[aria-current="true"] {
  border-color: var(--c-accent-dark);
  background: var(--c-accent-dark);
  color: var(--c-white);
}

.article-summary {
  position: relative;
  padding: clamp(28px, 5vw, 52px);
  overflow: hidden;
  border-radius: var(--r-large);
  background: var(--c-dark);
  color: var(--c-white);
}

.article-summary::after {
  position: absolute;
  right: -95px;
  bottom: -105px;
  width: 240px;
  aspect-ratio: 1;
  border: 1px solid rgb(106 154 96 / .36);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.article-summary .eyebrow {
  color: rgb(255 255 255 / .68);
}

.article-summary h2 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin-bottom: 32px;
  font-family: var(--f-display);
  font-size: clamp(2.15rem, 4.8vw, 4rem);
  font-weight: var(--fw-light);
  letter-spacing: -.045em;
  line-height: 1;
}

.article-summary ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-summary li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgb(255 255 255 / .16);
  color: rgb(255 255 255 / .78);
  font-size: .92rem;
}

.article-summary li::before {
  color: var(--c-accent);
  content: "✓";
  font-weight: 700;
}

.article-prose {
  max-width: 800px;
  margin-top: clamp(64px, 8vw, 108px);
}

.article-opening {
  margin-bottom: clamp(64px, 9vw, 110px);
}

.article-prose p {
  margin-bottom: 1.35em;
  color: var(--c-muted);
}

.article-prose .article-lede {
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: var(--fw-light);
  letter-spacing: -.025em;
  line-height: 1.38;
}

.article-prose section {
  position: relative;
  padding: clamp(54px, 8vw, 96px) 0;
  border-top: 1px solid rgb(19 48 46 / .18);
  scroll-margin-top: 132px;
}

.article-section-number {
  margin-bottom: 16px !important;
  color: var(--c-accent-dark) !important;
  font-size: .68rem;
  font-weight: var(--fw-medium);
  letter-spacing: .08em;
}

.article-prose h2 {
  max-width: 15ch;
  margin-bottom: clamp(28px, 4vw, 44px);
  font-family: var(--f-display);
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  font-weight: var(--fw-light);
  letter-spacing: -.05em;
  line-height: .98;
  text-wrap: balance;
}

.article-prose h3 {
  margin-bottom: 12px;
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: var(--fw-light);
  letter-spacing: -.025em;
}

.article-citation {
  color: var(--c-accent-dark);
  text-decoration-thickness: .06em;
  text-underline-offset: .2em;
}

.article-pullquote {
  margin: clamp(38px, 6vw, 64px) 0;
  padding: clamp(30px, 5vw, 48px);
  border: 0;
  border-radius: var(--r-large);
  background: var(--c-soft);
  box-shadow: inset 4px 0 0 var(--c-accent-dark);
}

.article-pullquote p {
  margin: 0;
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: var(--fw-light);
  letter-spacing: -.04em;
  line-height: 1.08;
}

.article-clinical-note {
  margin: clamp(36px, 5vw, 56px) 0;
  padding: clamp(26px, 5vw, 42px);
  border-radius: var(--r-card);
  background: var(--c-dark);
  color: var(--c-white);
}

.article-clinical-note h3 {
  color: var(--c-white);
}

.article-clinical-note p {
  margin: 0;
  color: rgb(255 255 255 / .72);
}

.article-scope {
  margin-top: 12px;
  padding: 24px 0 24px 26px;
  border-left: 3px solid var(--c-accent-dark);
}

.article-scope strong {
  display: block;
  margin-bottom: 8px;
  color: var(--c-ink);
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.article-scope p {
  margin: 0;
  font-size: .88rem;
}

.article-references {
  margin-top: clamp(48px, 7vw, 88px);
}

.reference-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  counter-reset: reference;
  list-style: none;
}

.reference-list li {
  position: relative;
  padding: 0 0 24px 42px;
  border-bottom: 1px solid rgb(19 48 46 / .14);
  color: var(--c-muted);
  font-size: .78rem;
  overflow-wrap: anywhere;
  counter-increment: reference;
}

.reference-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--c-accent-dark);
  content: counter(reference, decimal-leading-zero);
  font-size: .67rem;
  font-weight: var(--fw-medium);
  letter-spacing: .05em;
}

.reference-list a {
  color: var(--c-accent-dark);
}

.reference-list li:target {
  border-radius: 4px;
  background: rgb(106 154 96 / .12);
  box-shadow: 0 0 0 10px rgb(106 154 96 / .12);
}

.article-next {
  padding: clamp(72px, 10vw, 142px) 0;
  background: var(--c-dark);
  color: var(--c-white);
}

.article-next__copy,
.article-next__actions {
  grid-column: 1 / -1;
}

.article-next__copy h2 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-family: var(--f-display);
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  font-weight: var(--fw-light);
  letter-spacing: -.05em;
  line-height: .96;
}

.article-next__copy p:not(.eyebrow) {
  max-width: 58ch;
  color: rgb(255 255 255 / .66);
}

.article-next__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 48px;
}

.button--light {
  background: var(--c-soft);
  color: var(--c-ink);
}

.button--light:hover {
  background: var(--c-accent);
}

.article-next__back {
  color: rgb(255 255 255 / .72);
  font-size: .79rem;
  text-decoration: none;
}

.article-next__back span {
  display: inline-block;
  margin-left: 6px;
  transition: transform var(--d-ui) var(--ease);
}

.article-next__back:hover {
  color: var(--c-white);
}

.article-next__back:hover span {
  transform: translateX(4px);
}

@media (min-width: 680px) {
  .resource-card__link {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }

  .resource-card__media {
    min-height: 520px;
  }

  .resource-card--published .resource-card__title {
    margin-top: auto;
  }

  .article-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-meta > div {
    border-right: 1px solid rgb(19 48 46 / .18);
  }

  .article-meta > div:last-child {
    border-right: 0;
  }
}

@media (min-width: 900px) {
  .article-hero__copy {
    grid-column: 1 / span 17;
  }

  .article-meta {
    grid-column: 1 / span 14;
  }

  .article-sidebar {
    position: relative;
    grid-column: 1 / span 5;
    align-self: stretch;
  }

  .article-content {
    grid-column: 7 / span 14;
  }

  .article-toc {
    position: sticky;
    top: 126px;
    margin-bottom: 0;
    padding: 0;
    border: 0;
  }

  .article-toc__label {
    margin-bottom: 18px;
  }

  .article-toc ol {
    display: block;
    padding: 0;
    overflow: visible;
    border-top: 1px solid rgb(19 48 46 / .16);
  }

  .article-toc li {
    border-bottom: 1px solid rgb(19 48 46 / .16);
  }

  .article-toc a {
    position: relative;
    padding: 12px 0 12px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .article-toc a::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent-dark);
    content: "";
    opacity: .25;
    transform: translateY(-50%);
    transition: opacity var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
  }

  .article-toc a:hover,
  .article-toc a[aria-current="true"] {
    background: transparent;
    color: var(--c-ink);
  }

  .article-toc a[aria-current="true"]::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.35);
  }

  .article-next__copy {
    grid-column: 1 / span 14;
  }

  .article-next__actions {
    grid-column: 16 / -1;
    align-self: end;
    justify-content: flex-start;
    margin-top: 0;
  }
}

@media (min-width: 1180px) {
  .article-content {
    grid-column: 8 / span 12;
  }
}

@media (max-width: 520px) {
  .article-hero__title {
    font-size: clamp(3.05rem, 15vw, 4.55rem);
  }

  .article-meta {
    grid-template-columns: 1fr;
  }

  .article-meta > div {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 12px;
  }

  .article-meta dt {
    margin: 0;
  }

  .article-hero-media picture {
    aspect-ratio: 4 / 5;
  }

  .article-hero-media img {
    object-position: 43% 42%;
  }

  .article-summary li {
    grid-template-columns: 22px 1fr;
    gap: 10px;
  }

  .article-next__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .article-next__actions .button {
    width: 100%;
  }
}

@media print {
  .article-progress,
  .article-sidebar,
  .article-next,
  .article-hero-media figcaption {
    display: none !important;
  }

  .article-content {
    grid-column: 1 / -1;
  }

  .article-hero,
  .article-layout {
    padding-block: 24px;
  }

  .article-hero__title {
    font-size: 42pt;
  }

  .article-prose section {
    break-inside: avoid;
    padding-block: 28px;
  }

  .article-summary,
  .article-clinical-note,
  .article-pullquote {
    border: 1px solid #999;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none;
  }

  .article-summary *,
  .article-clinical-note *,
  .article-pullquote * {
    color: #000 !important;
  }
}
