/* ============================================================
   Affinity Personal Training · design tokens
   ============================================================ */
:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.96 0.01 130);
  --ink: oklch(0.23 0.02 135);
  --muted: oklch(0.44 0.025 135);
  --pine: oklch(0.52 0.13 130);
  --pine-dark: oklch(0.44 0.12 130);
  --spruce: oklch(0.2 0.04 140);
  --rust: oklch(0.52 0.13 40);
  --cloud: oklch(0.97 0.006 130);
  --cloud-soft: oklch(0.82 0.02 135);
  --hairline: oklch(0.88 0.012 130);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Atkinson Hyperlegible", "Helvetica Neue", sans-serif;

  --size-hero: clamp(3.25rem, 9vw, 6rem);
  --size-h2: clamp(2.25rem, 5.5vw, 3.75rem);
  --size-giant: clamp(3rem, 8vw, 6rem);

  --space-section: clamp(5rem, 11vw, 9rem);
  --space-gutter: clamp(1.25rem, 5vw, 4.5rem);

  --z-nav: 40;
  --z-menu: 50;
  --z-loader: 60;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
/* Lenis drives smoothing itself; native smooth scroll fights its scrollTo */
html.lenis { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}

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

::selection { background: var(--pine); color: var(--cloud); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: calc(var(--z-loader) + 1);
  background: var(--spruce);
  color: var(--cloud);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

section { scroll-margin-top: 5rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--pine); color: var(--cloud); }
.btn--solid:hover { background: var(--pine-dark); box-shadow: 0 10px 24px oklch(0.3 0.08 130 / 0.35); }

.btn--light { background: var(--cloud); color: var(--spruce); }
.btn--light:hover { box-shadow: 0 10px 24px oklch(0 0 0 / 0.3); }

.btn--ghost {
  border: 2px solid oklch(1 0 0 / 0.55);
  color: var(--cloud);
}
.btn--ghost:hover { border-color: var(--cloud); }

.link-arrow {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--cloud);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--rust);
  padding-bottom: 0.2rem;
  transition: border-color 0.25s ease;
}
.link-arrow::after { content: " \2197"; }
.link-arrow:hover { border-color: var(--cloud); }

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--pine);
  display: grid;
  place-items: center;
  grid-template-areas: "stack";
}
html:not(.js) .loader { display: none; }

.loader__rings {
  grid-area: stack;
  width: min(46vh, 78vw);
  aspect-ratio: 1;
}
.loader__rings circle {
  stroke: oklch(1 0 0 / 0.28);
  stroke-width: 1.5;
}

.loader__word {
  grid-area: stack;
  display: flex;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: 0.06em;
  color: var(--cloud);
  overflow: hidden;
  padding: 0.1em 0;
}
.loader__word span { display: inline-block; }

.loader__sub {
  grid-area: stack;
  align-self: end;
  margin-bottom: 22vh;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.85);
  transform: translateY(4.2em);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem var(--space-gutter);
  color: var(--cloud);
  transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-scrolled {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--hairline), 0 8px 28px oklch(0.2 0.02 135 / 0.07);
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.045em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.nav__brand-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.85;
}

.nav__links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.nav__links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.nav__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

.nav__phone {
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.nav.is-scrolled .nav__phone:hover { background: var(--pine); border-color: var(--pine); color: var(--cloud); }
.nav:not(.is-scrolled) .nav__phone:hover { background: var(--cloud); color: var(--spruce); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: block; }
}

html.menu-open .nav {
  z-index: calc(var(--z-menu) + 1);
  background: transparent;
  color: var(--cloud);
  box-shadow: none;
}

/* ============================================================
   Fullscreen menu
   ============================================================ */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--pine);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.menu.is-open {
  clip-path: inset(0);
  visibility: visible;
  transition: clip-path 0.5s var(--ease-out);
}

.menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.menu__links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 9vw, 4rem);
  text-transform: uppercase;
  color: var(--cloud);
  text-decoration: none;
  line-height: 1.15;
  transition: opacity 0.2s ease;
}
.menu__links a:hover { opacity: 0.75; }

.menu__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.menu__contact a {
  color: var(--cloud);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid oklch(1 0 0 / 0.4);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
}

.hero__media {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 38%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, oklch(0.16 0.03 140 / 0.82) 0%, oklch(0.16 0.03 140 / 0.35) 38%, oklch(0.16 0.03 140 / 0) 65%),
    linear-gradient(105deg, oklch(0.16 0.03 140 / 0.45) 0%, oklch(0.16 0.03 140 / 0) 55%);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero__content {
  position: relative;
  padding: 0 var(--space-gutter) clamp(4.5rem, 9vh, 7rem);
  max-width: 1100px;
  color: var(--cloud);
}

.hero__kicker {
  font-weight: 700;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  letter-spacing: 0.01em;
  margin-bottom: 1.1rem;
}

.hero__title {
  font-size: var(--size-hero);
  font-weight: 800;
  color: var(--cloud);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }

.hero__sub {
  margin-top: 1.4rem;
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.hero__hint {
  position: absolute;
  right: var(--space-gutter);
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--cloud);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__hint span {
  width: 2px;
  height: 44px;
  background: oklch(1 0 0 / 0.6);
  overflow: hidden;
  position: relative;
}
.hero__hint span::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--rust);
  animation: hint-drop 2s var(--ease-out) infinite;
}
@keyframes hint-drop {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}
@media (max-width: 700px) {
  .hero__hint { display: none; }
  /* the photo is landscape and Alisa sits on the right; bias the crop
     right so her face stays in frame on portrait phones */
  .hero__media img { object-position: 66% 28%; }
  .hero__content { padding-bottom: 3.2rem; }
}

/* ============================================================
   Ticker
   ============================================================ */
.ticker {
  background: var(--pine);
  color: var(--cloud);
  overflow: clip;
  padding: 0.85rem 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker__list {
  display: flex;
  gap: 2.75rem;
  padding: 0 1.375rem 0 1.375rem;
  margin: 0;
  list-style: none;
  flex: none;
}
.ticker__list li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2.75rem;
}
.ticker__list li::after {
  content: "";
  width: 7px; height: 7px;
  rotate: 45deg;
  background: oklch(0.75 0.11 40);
  flex: none;
}
@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

.ticker--rust { background: var(--rust); }
.ticker--rust .ticker__list li::after { background: oklch(0.9 0.03 40); }
.ticker__track--reverse { animation-direction: reverse; animation-duration: 36s; }

/* ============================================================
   Philosophy
   ============================================================ */
.philosophy {
  position: relative;
  padding: var(--space-section) var(--space-gutter);
  overflow: clip;
}

.topo {
  position: absolute;
  pointer-events: none;
}
.topo path {
  stroke: var(--pine);
  stroke-width: 1.5;
}
.topo--philosophy {
  top: 50%;
  right: -8%;
  width: min(520px, 60vw);
  transform: translateY(-50%);
  opacity: 0.16;
}

.philosophy__quote {
  margin: 0;
  max-width: 1000px;
  position: relative;
}
.philosophy__quote p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
}
.philosophy__quote .w { color: var(--muted); }
.philosophy__quote cite {
  display: block;
  margin-top: 1.6rem;
  font-style: normal;
  font-size: 1rem;
  color: var(--muted);
}
html:not(.js) .philosophy__quote .w { color: var(--ink); }
html:not(.js) .philosophy__quote .w--accent { color: var(--pine); }

/* ============================================================
   Coach
   ============================================================ */
.coach {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  padding: var(--space-section) var(--space-gutter);
  padding-top: 0;
  max-width: 1400px;
  margin: 0 auto;
}

.coach__figure {
  margin: 0;
  position: relative;
}
.coach__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border: 2px solid var(--rust);
  border-radius: 6px;
  z-index: -1;
}
.coach__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 45% 18%;
  border-radius: 6px;
}

.coach__copy h2 {
  font-size: var(--size-h2);
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.coach__copy p {
  max-width: 62ch;
  margin-bottom: 1.1rem;
}

.coach__creds {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem 2rem;
}
.coach__creds li {
  font-weight: 700;
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
}
.coach__creds li::before {
  content: "\25B2";
  color: var(--pine);
  font-size: 0.7em;
  flex: none;
}

@media (max-width: 860px) {
  .coach { grid-template-columns: 1fr; }
  .coach__figure { max-width: 480px; }
}

/* ============================================================
   Strength interstitial
   ============================================================ */
.strength {
  background: var(--spruce);
  color: var(--cloud);
  overflow: clip;
}
.strength__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: var(--space-section) var(--space-gutter);
  max-width: 1400px;
  margin: 0 auto;
}

.strength__title {
  font-size: var(--size-giant);
  font-weight: 800;
  line-height: 0.92;
  color: var(--cloud);
}
.strength__row { display: block; }
.strength__row--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cloud-soft);
}
@supports not (-webkit-text-stroke: 1px black) {
  .strength__row--outline { color: var(--cloud-soft); }
}

.strength__side { max-width: 420px; }
.strength__figure {
  margin: 0 0 1.5rem;
}
.strength__figure img {
  width: 100%;
  border-radius: 6px;
}
.strength__side p {
  color: var(--cloud-soft);
  max-width: 46ch;
}

@media (max-width: 860px) {
  .strength__inner { grid-template-columns: 1fr; }
  .strength__side { max-width: 360px; }
}

/* ============================================================
   Services
   ============================================================ */
.services {
  padding: var(--space-section) var(--space-gutter);
  max-width: 1400px;
  margin: 0 auto;
}
.services__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}
.services__head h2 {
  font-size: var(--size-h2);
  font-weight: 800;
}
.services__head p {
  color: var(--muted);
  max-width: 52ch;
}
@media (max-width: 700px) {
  .services__head { grid-template-columns: 1fr; align-items: start; }
}

.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.services__list li {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: 1rem 2.5rem;
  padding: 1.55rem 0.75rem;
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.3s ease;
}
.services__list li:hover { background: var(--surface); }
.services__list h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  transition: color 0.3s ease, transform 0.3s var(--ease-out);
}
.services__list li:hover h3 { color: var(--pine); transform: translateX(10px); }
.services__list p { color: var(--muted); max-width: 58ch; align-self: center; }
@media (max-width: 700px) {
  .services__list li { grid-template-columns: 1fr; gap: 0.5rem; }
  .services__list li:hover h3 { transform: none; }
}

/* ============================================================
   Everyone (rust drench)
   ============================================================ */
.everyone {
  background: var(--rust);
  color: oklch(1 0 0);
  padding: var(--space-section) var(--space-gutter);
}
.everyone h2 {
  font-size: var(--size-h2);
  font-weight: 800;
  max-width: 900px;
}
.everyone__intro {
  margin-top: 1.2rem;
  max-width: 60ch;
  font-size: 1.1rem;
}
.everyone__list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.9rem 3rem;
}
.everyone__list li {
  border-top: 1px solid oklch(1 0 0 / 0.4);
  padding-top: 1.1rem;
}
.everyone__list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
.everyone__list span { line-height: 1.55; }

/* ============================================================
   Clients (photostrip + testimonies)
   ============================================================ */
.clients {
  padding: var(--space-section) 0;
  background: var(--surface);
}
.clients__head {
  padding: 0 var(--space-gutter);
  max-width: 1400px;
  margin: 0 auto 2.5rem;
}
.clients__head h2 {
  font-size: var(--size-h2);
  font-weight: 800;
}
.clients__head p {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 58ch;
}

.photostrip { overflow: clip; }
.photostrip__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 46s linear infinite;
}
.photostrip:hover .photostrip__track { animation-play-state: paused; }
.photostrip__list {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding: 0 0.5rem 0 0.5rem;
  margin: 0;
  list-style: none;
  flex: none;
}
.photostrip__list li { flex: none; }
.photostrip__list img {
  height: clamp(200px, 30vw, 320px);
  width: auto;
  border-radius: 6px;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem 3rem;
  align-items: start;
  padding: 0 var(--space-gutter);
  max-width: 1400px;
  margin: 3.5rem auto 0;
}
.quote {
  margin: 0;
  border-top: 1px solid oklch(0.85 0.02 130);
  padding-top: 1.2rem;
}
.quote p {
  font-weight: 700;
  line-height: 1.5;
}
.quote--lead { grid-row: span 2; }
.quote--lead p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--pine);
}
.quote cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
}
.clients__source {
  padding: 0 var(--space-gutter);
  max-width: 1400px;
  margin: 2.2rem auto 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.clients__source a { color: var(--ink); }

/* ============================================================
   Outdoors
   ============================================================ */
.outdoors {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
}
.outdoors__media {
  position: absolute;
  inset: -7% 0;
  will-change: transform;
}
.outdoors__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 42%;
}
@media (max-width: 700px) {
  /* pull the scene back on phones so more of the meadow and peaks show */
  .outdoors { min-height: 60svh; }
  .outdoors__media img { object-position: 44% 40%; }
}
.outdoors__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.16 0.03 140 / 0.78) 0%, oklch(0.16 0.03 140 / 0.25) 45%, oklch(0.16 0.03 140 / 0) 70%);
}
.outdoors__content {
  position: relative;
  padding: 0 var(--space-gutter) clamp(4rem, 8vh, 6.5rem);
  color: var(--cloud);
  max-width: 900px;
}
.outdoors__content h2 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--cloud);
}
.outdoors__content p {
  margin-top: 1.3rem;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  position: relative;
  background: var(--spruce);
  color: var(--cloud);
  padding: calc(var(--space-section) * 1.15) var(--space-gutter);
  overflow: clip;
  text-align: center;
}
.topo--contact {
  bottom: -22%;
  left: -10%;
  width: min(560px, 70vw);
  opacity: 0.12;
}
.topo--contact path { stroke: var(--cloud); }

.contact__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.contact__title {
  font-size: var(--size-giant);
  font-weight: 800;
  color: var(--cloud);
}
.contact__title em {
  font-style: normal;
  color: oklch(0.72 0.13 45);
}
.contact__sub {
  margin: 1.6rem auto 0;
  max-width: 56ch;
  color: var(--cloud-soft);
  font-size: 1.1rem;
}
.contact__sub .hl {
  color: oklch(0.72 0.13 45);
  font-weight: 700;
}
.contact__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.4rem;
}
.contact__area {
  margin-top: 2.2rem;
  color: var(--cloud-soft);
  font-size: 0.95rem;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 1.9rem var(--space-gutter);
  font-size: 0.9rem;
  color: var(--muted);
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  align-items: baseline;
  justify-content: space-between;
}
.footer__row--meta {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
}
.footer__social {
  display: flex;
  gap: 1.5rem;
}
.footer__social a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--pine);
  padding-bottom: 0.15rem;
}
.footer__social a:hover { border-color: var(--rust); }
.footer__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer__brand span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}
.footer a { color: var(--ink); }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; }
  .photostrip__track { animation: none; width: auto; overflow-x: auto; }
  .photostrip__list[aria-hidden="true"] { display: none; }
  .doodles * { animation: none !important; }
  .doodles .ekg-run { visibility: hidden !important; }
  .hero__hint span::after { animation: none; top: 0; }
  .menu { transition: none; }
  .btn, .services__list li, .services__list h3 { transition: none; }
}
