/*
DIRECTION CONTRACT — Movement Plus redesign (seed 6889578c, direction 4/7)

THESIS: The practice is the visitor's performance team. Team-kit grammar —
kit panels, sleeve stripes, varsity lockups, jersey numerals — replaces the
category default this refuses: the gradient hero with floating glass cards.

OWN-WORLD: Flat committed navy blocks with subtle twill texture, white kit
panels with hard 4px corners and offset shadows, the double "kit stripe"
(navy + steel) as the recurring mark, Barlow Condensed caps lockups with
italic accents matching the logo's slant, Barlow for text.

STORY: A serious, DPT-led training team. Visitor reads the lockup, sees the
proof (credential, services, prices as jersey numbers), books the free screen.

FIRST VIEWPORT: Navy block. Left: kicker, three-line stacked lockup with the
middle line in light steel italic, subhead, white primary CTA. Right: photo
with slanted clip and steel echo panel, two kit patches carrying the
strength/mobility copy.

FORM: Team kit & jersey typography — candidate 4 on the ordered list,
assigned by seed 6889578c. Staging: own composition (converging-pair staging
declined: a scrubbed timeline would bury the offer on a conversion page).
*/

:root {
  --navy: #16385f;
  --navy-deep: #0b1f36;
  --navy-soft: #234d7f;
  --steel: #5e86a5;
  --steel-deep: #496f8d;
  --steel-light: #8fb3d1;
  --steel-pale: #b8cde0;
  --ground: #edf3f8;
  --surface: #ffffff;
  --ink: #13314f;
  --ink-soft: #50657a;
  --line: rgba(22, 56, 95, 0.16);
  --line-strong: rgba(22, 56, 95, 0.3);
  --shadow-panel: 0 18px 40px -18px rgba(11, 31, 54, 0.35);
  --radius: 4px;
  --container: 1200px;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.image-source {
  display: block;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin: 0 auto;
}

/* ---------- shared marks ---------- */

.kit-stripe {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--navy);
  box-shadow: 0 7px 0 var(--steel);
  margin-bottom: 1.9rem;
}

.kit-stripe-center {
  margin-left: auto;
  margin-right: auto;
}

.on-navy .kit-stripe,
.section-navy .kit-stripe {
  background: var(--steel-light);
  box-shadow: 0 7px 0 rgba(255, 255, 255, 0.4);
}

.kicker {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-deep);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.kicker::before {
  content: '';
  width: 26px;
  height: 3px;
  background: var(--steel);
  flex-shrink: 0;
}

.section-navy .kicker,
.on-navy .kicker {
  color: var(--steel-light);
}

.section-navy .kicker::before,
.on-navy .kicker::before {
  background: var(--steel-light);
}

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

/* jersey-patch chip: hero kickers skew as a unit, echoing the logo slant */
.hero-section .kicker,
.page-hero .kicker {
  display: inline-block;
  transform: skewX(-10deg);
  background: #ffffff;
  color: var(--navy);
  padding: 0.45rem 0.95rem;
  line-height: 1.3;
}

.hero-section .kicker::before,
.page-hero .kicker::before {
  display: none;
}

/* anchors land below the sticky header */
[id] {
  scroll-margin-top: 6.5rem;
}

/* navy twill texture */
.section-navy {
  background-color: var(--navy);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0 2px,
    transparent 2px 16px
  );
  color: #fff;
}

/* ---------- type ---------- */

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

.section-title {
  margin-bottom: 3rem;
  max-width: 46rem;
}

.section-title::before {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--navy);
  box-shadow: 0 7px 0 var(--steel);
  margin-bottom: 1.6rem;
}

.section-navy .section-title::before {
  background: var(--steel-light);
  box-shadow: 0 7px 0 rgba(255, 255, 255, 0.4);
}

.section-title .kicker::before {
  display: none;
}

.section-title-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title-center::before {
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--navy);
}

.section-navy .section-title h2 {
  color: #fff;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 0;
  border-radius: var(--radius);
  padding: 0.95rem 1.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}

.button::after {
  content: '\2192';
  font-family: var(--font-body);
  font-weight: 600;
  transition: transform 0.18s ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(4px);
}

.button-primary {
  background: var(--navy);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(11, 31, 54, 0.5);
}

.section-navy .button-primary,
.on-navy .button-primary {
  background: #fff;
  color: var(--navy);
}

.section-navy .button-primary:hover,
.section-navy .button-primary:focus-visible,
.on-navy .button-primary:hover,
.on-navy .button-primary:focus-visible {
  background: var(--steel-pale);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.45);
}

.button-secondary {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.section-navy .button-secondary,
.on-navy .button-secondary {
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.section-navy .button-secondary:hover,
.section-navy .button-secondary:focus-visible,
.on-navy .button-secondary:hover,
.on-navy .button-secondary:focus-visible {
  background: #fff;
  color: var(--navy);
}

.button-small {
  padding: 0.75rem 1.3rem;
  font-size: 1.05rem;
}

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

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--navy) 0 0) top/100% 4px no-repeat,
    var(--steel);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.brand-text {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
}

.site-nav a:not(.button) {
  position: relative;
  padding: 0.35rem 0;
}

.site-nav a:not(.button)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: var(--navy);
  box-shadow: 0 5px 0 var(--steel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:not(.button):hover::after,
.site-nav a:not(.button):focus-visible::after,
.site-nav a[aria-current='page']:not(.button)::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
}

.nav-toggle span + span {
  margin-top: 5px;
}

/* ---------- hero (home) ---------- */

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
}

.hero-section::before {
  /* oversized ghost "+" from the crest, cropped by the block edge */
  content: '+';
  position: absolute;
  right: -0.35em;
  top: 45%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46rem;
  line-height: 1;
  color: rgba(94, 134, 165, 0.1);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 4rem;
  align-items: center;
}

.hero-lockup {
  font-size: clamp(2.9rem, 5.4vw, 4.4rem);
  line-height: 0.95;
  color: #fff;
}

.lockup-line {
  display: block;
}

.lockup-accent {
  font-style: italic;
  color: var(--steel-light);
}

.hero-subheading {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--steel-pale);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-visual {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  margin: 0 1.25rem 1.25rem 0;
}

.hero-photo-frame::before {
  /* steel echo panel behind the photo */
  content: '';
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  background: var(--steel);
  opacity: 0.35;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), 0 100%);
}

.hero-photo {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), 0 100%);
}

.hero-patch {
  position: absolute;
  z-index: 2;
  background: #fff;
  color: var(--navy);
  padding: 1rem 1.25rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: 0 16px 32px -14px rgba(4, 14, 26, 0.55);
}

.hero-patch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.25rem;
  width: 34px;
  height: 3px;
  background: var(--navy);
  box-shadow: 0 5px 0 var(--steel);
}

.hero-patch span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-deep);
}

.hero-patch strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.hero-patch-top {
  top: -1.1rem;
  right: -0.5rem;
}

.hero-patch-bottom {
  bottom: 0.5rem;
  left: -0.75rem;
}

/* hero entrance — the one authored moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }

  .hero-copy > *:nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-copy > *:nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-copy > *:nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero-visual {
    animation: hero-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

/* ---------- page hero (subpages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
}

.page-hero::before {
  content: '+';
  position: absolute;
  right: -0.3em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28rem;
  line-height: 1;
  color: rgba(94, 134, 165, 0.1);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: #fff;
  max-width: 22ch;
}

.page-hero-copy {
  margin: 1.4rem 0 0;
  max-width: 40rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--steel-pale);
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-light);
}

.breadcrumb-nav a {
  color: var(--steel-pale);
}

.breadcrumb-nav a:hover,
.breadcrumb-nav a:focus-visible {
  color: #fff;
}

.breadcrumb-nav [aria-current='page'] {
  color: #fff;
}

/* ---------- sections ---------- */

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

/* statement (mission / vision) */
.statement {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.statement h2 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  color: var(--navy);
}

.statement-copy {
  margin: 1.75rem auto 0;
  max-width: 44rem;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* offers */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.offer-card {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding: 2.5rem 2.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.offer-tag {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-deep);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.offer-tag::before {
  content: '';
  width: 26px;
  height: 3px;
  background: var(--steel);
  flex-shrink: 0;
}

.offer-card h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  color: var(--navy);
}

.offer-card p:not(.offer-tag) {
  margin: 0;
  color: var(--ink-soft);
  max-width: 60ch;
}

.offer-card .button {
  justify-self: start;
  margin-top: 0.75rem;
}

.offer-card-navy {
  background-color: var(--navy);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0 2px,
    transparent 2px 16px
  );
  border-color: var(--navy);
}

.offer-card-navy h3 {
  color: #fff;
}

.offer-card-navy .offer-tag {
  color: var(--steel-light);
}

.offer-card-navy p:not(.offer-tag) {
  color: var(--steel-pale);
}

/* roster rows (why choose) */
.roster-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.roster-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem 3rem;
  align-items: center;
  padding: 2.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.roster-list .roster-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.roster-row h3 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  color: #fff;
}

.roster-row p {
  margin: 0;
  color: var(--steel-pale);
  max-width: 52ch;
}

/* cta panel */
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 3rem 3.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.cta-panel h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  color: var(--navy);
}

.cta-panel p:not(.kicker) {
  margin: 1rem 0 0;
  max-width: 54ch;
  color: var(--ink-soft);
}

.panel-actions {
  display: flex;
  flex-shrink: 0;
}

/* CTA inside a navy band sits directly on the block, no panel chrome */
.section-navy .cta-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.section-navy .cta-panel h2 {
  color: #fff;
}

.section-navy .cta-panel p:not(.kicker) {
  color: var(--steel-pale);
}

/* ---------- programs ---------- */

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.photo-card {
  display: grid;
  gap: 0;
  align-content: start;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.service-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #e5edf5;
}

.photo-card-body {
  display: grid;
  gap: 0.7rem;
  padding: 1.75rem 1.75rem 2rem;
}

.photo-card-body h3 {
  font-size: 1.55rem;
  color: var(--navy);
}

.photo-card-body p:not(.offer-tag) {
  margin: 0;
  color: var(--ink-soft);
}

.program-stack {
  display: grid;
  gap: 2.25rem;
}

.program-card-large {
  padding: 2.75rem 2.75rem 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.program-card-featured {
  background-color: var(--navy);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0 2px,
    transparent 2px 16px
  );
  border-color: var(--navy);
  color: #fff;
}

.program-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.9rem;
  margin-bottom: 1.9rem;
  border-bottom: 1px solid var(--line);
}

.program-card-featured .program-header {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.program-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  color: var(--navy);
  max-width: 24ch;
}

.program-card-featured .program-header h2 {
  color: #fff;
}

.program-subheadline {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
}

.program-card-featured .program-subheadline {
  color: var(--steel-pale);
}

/* jersey-number price */
.price-tag {
  flex-shrink: 0;
  text-align: right;
}

.price-amount {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.program-card-featured .price-amount {
  color: #fff;
}

.price-tag span:not(.price-amount) {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-deep);
}

.program-card-featured .price-tag span:not(.price-amount) {
  color: var(--steel-light);
}

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

.program-block h3 {
  font-size: 1.35rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.program-card-featured .program-block h3 {
  color: #fff;
}

.program-block h3::before {
  content: '';
  width: 22px;
  height: 3px;
  background: var(--steel);
  flex-shrink: 0;
}

.program-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-block li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
}

.program-card-featured .program-block li {
  color: var(--steel-pale);
}

.program-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 12px;
  height: 3px;
  background: var(--steel);
}

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

.program-card-large .section-actions {
  margin-top: 2.25rem;
}

/* ---------- about ---------- */

.team-profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: stretch;
}

.team-photo-card {
  position: relative;
  margin: 0;
}

.team-photo-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--navy) 0 0) top/100% 6px no-repeat,
    var(--steel);
}

.team-profile-photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.team-bio-card {
  display: grid;
  gap: 1.1rem;
  align-content: center;
  padding: 2.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.team-bio-card h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--navy);
}

.team-bio-card p:not(.kicker) {
  margin: 0;
  color: var(--ink-soft);
  max-width: 65ch;
}

/* FAQ — ruled list */
.faq-list {
  max-width: 52rem;
  margin: 0 auto;
}

.faq-item {
  padding: 2rem 0;
  border-top: 1px solid var(--line-strong);
}

.faq-list .faq-item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  color: var(--navy);
}

.faq-item p {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* contact split */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: start;
}

.content-card {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.content-card h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--navy);
}

.content-card p:not(.kicker) {
  margin: 0;
  color: var(--ink-soft);
}

.contact-list {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.contact-item strong {
  color: var(--navy);
}

.contact-list a {
  color: var(--steel-deep);
  font-weight: 600;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--navy);
}

.contact-icon {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  background-color: var(--navy);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.95rem 0.95rem;
}

.contact-icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.79.61 2.64a2 2 0 0 1-.45 2.11L8 9.91a16 16 0 0 0 6.09 6.09l1.44-1.27a2 2 0 0 1 2.11-.45c.85.28 1.74.49 2.64.61A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.contact-icon-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.contact-icon-instagram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='white' stroke='none'/%3E%3C/svg%3E");
}

.contact-icon-facebook {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctext x='12' y='17' text-anchor='middle' font-family='Arial, sans-serif' font-size='16' font-weight='700' fill='white'%3Ef%3C/text%3E%3C/svg%3E");
}

.contact-icon-review {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='m12 2.5 2.93 5.94 6.56.96-4.74 4.62 1.12 6.53L12 17.47l-5.87 3.08 1.12-6.53L2.5 9.4l6.57-.96L12 2.5Z'/%3E%3C/svg%3E");
}

/* ---------- forms ---------- */

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}

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

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

.form-field span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(94, 134, 165, 0.35);
}

.contact-form .button {
  justify-self: start;
  margin-top: 0.5rem;
}

/* ---------- testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  padding-top: 1.6rem;
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 4px;
  background: var(--navy);
  box-shadow: 0 6px 0 var(--steel);
}

.testimonial-quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--navy);
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.testimonial-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- booking ---------- */

.booking-panel {
  display: grid;
  gap: 2.5rem;
  padding: 2.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
}

.booking-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.booking-intro {
  max-width: 46rem;
}

.booking-intro h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--navy);
}

.booking-intro p:not(.kicker) {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

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

.trust-card {
  padding-top: 1.25rem;
  position: relative;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  background: var(--navy);
  box-shadow: 0 5px 0 var(--steel);
}

.trust-card strong,
.booking-status h3 {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
}

.trust-card p,
.booking-status p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.booking-widget-shell {
  display: grid;
  gap: 1rem;
}

.booking-widget {
  width: 100%;
  border: 0;
}

.booking-status {
  padding: 1.5rem 1.75rem;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.booking-status-hidden {
  display: none;
}

.booking-status-error {
  background: #fdf3f3;
  border-color: rgba(175, 49, 49, 0.3);
}

.status-actions {
  margin-top: 1.25rem;
}

/* confirmation steps — numbered because the sequence is the information */
.confirmation-panel {
  display: grid;
  gap: 1rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.confirmation-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
}

.confirmation-panel > p:not(.kicker) {
  margin: 0;
  max-width: 68ch;
  color: var(--ink-soft);
}

.confirmation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1rem;
  counter-reset: booking-step;
}

.confirmation-card {
  position: relative;
  padding-top: 0.4rem;
}

.confirmation-card::before {
  counter-increment: booking-step;
  content: counter(booking-step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--steel);
}

.confirmation-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
}

.confirmation-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- footer ---------- */

.site-footer {
  background-color: var(--navy-deep);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02) 0 2px,
    transparent 2px 16px
  );
  color: var(--steel-pale);
}

.site-footer::before {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--steel) 0 0) top/100% 4px no-repeat,
    var(--navy-soft);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: 2.5rem 4rem;
  padding: 3.5rem 0 3rem;
}

.footer-wordmark {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}

.footer-wordmark em {
  font-style: italic;
  color: var(--steel-light);
}

.footer-brand-block {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.footer-brand-block p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-heading {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-light);
}

.footer-links,
.footer-social {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  justify-items: start;
}

.footer-links a,
.footer-social a {
  color: var(--steel-pale);
  transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #ffffff;
}

.footer-contact {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--steel-pale);
}

.site-footer .contact-icon {
  width: 1.75rem;
  height: 1.75rem;
  background-color: rgba(94, 134, 165, 0.28);
  background-size: 0.8rem 0.8rem;
}

/* ---------- misc ---------- */

.section-actions.center {
  justify-content: center;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  /* the full link row + 300px logo cannot share the bar below ~1020px */
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--navy);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-panel);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.button) {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:not(.button)::after {
    display: none;
  }

  .site-nav a[aria-current='page']:not(.button) {
    color: var(--steel-deep);
  }

  .site-nav .button {
    margin-top: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-lockup {
    font-size: clamp(2.2rem, 9.5vw, 4.4rem);
  }

  .hero-visual {
    max-width: 560px;
  }

  .hero-section::before {
    font-size: 30rem;
    top: 22%;
  }

  .offer-grid,
  .program-grid,
  .content-grid,
  .team-profile-grid,
  .booking-top-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .roster-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .cta-panel,
  .program-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-tag {
    text-align: left;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .brand img {
    width: 230px;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-section {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-section::before {
    font-size: 20rem;
    top: 18%;
  }

  .page-hero::before {
    font-size: 16rem;
  }

  .hero-patch {
    padding: 0.8rem 1rem 0.9rem;
  }

  .hero-patch strong {
    font-size: 1.2rem;
  }

  .hero-patch-top {
    top: -0.9rem;
    right: 0;
  }

  .hero-patch-bottom {
    left: 0;
  }

  .photo-gallery,
  .testimonial-grid,
  .trust-grid,
  .confirmation-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-two {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .booking-panel,
  .program-card-large,
  .team-bio-card,
  .content-card,
  .contact-form {
    padding: 1.75rem 1.5rem;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-actions.center {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .booking-widget {
    min-width: 0 !important;
    height: 700px !important;
  }

  .booking-widget-shell {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .booking-panel {
    padding: 1.25rem 1rem;
  }

  .booking-widget {
    height: 620px !important;
  }
}
