:root {
  --ink: #07110e;
  --ink-soft: #0c1b16;
  --emerald: #103b2d;
  --emerald-bright: #2f765a;
  --sand: #d8bd7d;
  --gold: #c9953e;
  --copper: #b87343;
  --cream: #f3ecd9;
  --white: #fffdf7;
  --muted: rgba(243, 236, 217, 0.68);
  --line: rgba(216, 189, 125, 0.25);
  --mx: 72%;
  --my: 36%;
}

/* Hero secondary actions use the same premium CTA language as page transitions. */
.hero-panel-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 19rem);
  min-width: 16.5rem;
  min-height: 4.7rem;
  padding: 0.7rem 0.78rem;
  align-items: center;
  gap: 0.8rem;
  overflow: visible;
  border: 1px solid rgba(234, 209, 143, 0.62);
  color: var(--cream);
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 189, 125, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(17, 66, 50, 0.96), rgba(7, 22, 17, 0.97));
  box-shadow: 0 0.75rem 1.8rem rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 253, 247, 0.08);
  text-decoration: none;
  isolation: isolate;
}

.hero-panel-cta::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 1rem;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.9;
}

.hero-panel-cta .cta-copy {
  display: grid;
  min-width: 0;
  gap: 0.14rem;
  text-align: right;
}

.hero-panel-cta .cta-copy small {
  color: var(--gold);
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-panel-cta .cta-copy b {
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero-panel-cta .cta-copy em {
  overflow: hidden;
  color: rgba(243, 238, 224, 0.66);
  font-size: 0.54rem;
  font-style: normal;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-panel-cta > i {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(234, 209, 143, 0.58);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.8rem;
  font-style: normal;
  transition: transform 220ms ease, color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.hero-panel-cta:hover,
.hero-panel-cta:focus-visible {
  border-color: var(--gold);
  color: var(--cream);
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 209, 143, 0.3), transparent 48%),
    linear-gradient(135deg, rgba(22, 82, 61, 0.98), rgba(8, 29, 22, 0.98));
  transform: translateY(-2px);
}

.hero-panel-cta:hover > i,
.hero-panel-cta:focus-visible > i {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
  transform: translateX(-0.18rem);
}

@media (max-width: 720px) {
  .hero-panel-cta {
    width: 100%;
    min-width: 0;
    min-height: 4.4rem;
    padding: 0.65rem 0.72rem;
  }

  .hero-panel-cta .cta-copy b { font-size: 0.8rem; }
  .hero-panel-cta > i { width: 2.2rem; height: 2.2rem; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--white);
  font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  overflow-x: hidden;
}

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

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

.site-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor-glow {
  position: fixed;
  width: 34rem;
  aspect-ratio: 1;
  right: calc(var(--mx) - 17rem);
  top: calc(var(--my) - 17rem);
  z-index: 2;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 149, 62, 0.13), rgba(201, 149, 62, 0) 68%);
  transition: right 80ms linear, top 80ms linear;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 2.2rem;
  padding: 1.45rem clamp(1.3rem, 4.2vw, 5.4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(5, 13, 10, 0.72), rgba(5, 13, 10, 0));
  backdrop-filter: blur(2px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.8rem;
  direction: rtl;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 2.8rem;
  height: 2.8rem;
  transform: rotate(-8deg);
}

.brand-mark i {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 2.15rem;
  height: 0.62rem;
  border-top: 2px solid var(--sand);
  border-radius: 50%;
  transform-origin: left center;
}

.brand-mark i:nth-child(1) {
  transform: translate(-54%, -88%) rotate(-34deg);
}

.brand-mark i:nth-child(2) {
  transform: translate(-47%, -22%) rotate(-6deg);
}

.brand-mark i:nth-child(3) {
  transform: translate(-40%, 48%) rotate(24deg);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy b {
  font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-copy small {
  margin-top: 0.42rem;
  color: var(--sand);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  direction: ltr;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 2.4vw, 2.75rem);
}

.desktop-nav a {
  position: relative;
  padding: 0.85rem 0;
  color: rgba(255, 253, 247, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
  transition: color 220ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width 240ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-active {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after {
  width: 100%;
}

.header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  justify-content: center;
  min-width: 8.4rem;
  gap: 0.62rem;
  padding: 0.72rem 0.95rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #f2d999;
  color: var(--ink);
  background: linear-gradient(135deg, #f1d58e 0%, var(--sand) 45%, var(--gold) 100%);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 1px rgba(7, 17, 14, 0.36), 0 8px 24px rgba(201, 149, 62, 0.28);
  animation: cta-glow 2.8s ease-in-out infinite;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.header-cta::before {
  content: "";
  position: absolute;
  inset: -45% auto -45% -45%;
  z-index: -1;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: skewX(-20deg);
  animation: cta-shine 3.4s ease-in-out infinite;
}

.header-cta span,
.header-cta .arrow {
  position: relative;
  z-index: 1;
}

.header-cta:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 0 1px rgba(7, 17, 14, 0.42), 0 12px 38px rgba(216, 189, 125, 0.44);
}

.arrow {
  color: var(--ink);
  font-size: 0.94rem;
  transition: transform 250ms ease, color 250ms ease;
}

.header-cta:hover .arrow {
  color: var(--ink);
  transform: translate(-3px, 3px);
}

.menu-button {
  position: relative;
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0.82rem;
  overflow: hidden;
  border: 1px solid rgba(216, 189, 125, 0.42);
  outline: 0;
  background: rgba(7, 17, 14, 0.62);
  box-shadow: 0 0 0 rgba(201, 149, 62, 0);
  cursor: pointer;
  animation: menu-breathe 2.8s ease-in-out infinite;
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.menu-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 189, 125, 0.24), transparent 68%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-button:hover,
.menu-button:focus-visible {
  border-color: var(--sand);
  background: rgba(216, 189, 125, 0.12);
  box-shadow: 0 0 0 4px rgba(216, 189, 125, 0.06), 0 0 26px rgba(201, 149, 62, 0.23);
  animation-play-state: paused;
}

.menu-button:hover::before,
.menu-button:focus-visible::before {
  transform: translate(-50%, -50%) scale(4.3);
}

.menu-button span {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.36rem 0;
  border-radius: 999px;
  background: var(--sand);
  transform-origin: center;
  transition: width 300ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1), background 240ms ease;
}

.menu-button span:last-child {
  width: 64%;
  margin-right: auto;
}

.menu-button:hover span:first-child,
.menu-button:focus-visible span:first-child {
  transform: translateX(-0.2rem);
  background: var(--white);
}

.menu-button:hover span:last-child,
.menu-button:focus-visible span:last-child {
  width: 86%;
  transform: translateX(0.16rem);
  background: var(--white);
}

.menu-button:active span:first-child {
  transform: translateX(0.12rem) scaleX(0.84);
}

.menu-button:active span:last-child {
  transform: translateX(-0.12rem) scaleX(1.08);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, transparent 0 49.95%, rgba(216, 189, 125, 0.085) 50%, transparent 50.05%),
    linear-gradient(0deg, transparent 0 49.95%, rgba(216, 189, 125, 0.055) 50%, transparent 50.05%);
  background-size: 23rem 23rem;
  mask-image: linear-gradient(90deg, #000, transparent 62%);
  opacity: 0.55;
}

.hero-image,
.hero-image::after,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: 0;
  overflow: hidden;
}

.hero-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: none;
  transform: scale(1.01);
  animation: image-breathe 12s ease-in-out infinite alternate;
}

.hero-image::after {
  content: "";
  background: linear-gradient(180deg, rgba(7, 17, 14, 0.01), rgba(7, 17, 14, 0.12));
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 0%, rgba(4, 12, 9, 0.01) 42%, rgba(4, 12, 9, 0.06) 74%, rgba(4, 12, 9, 0.16) 100%),
    linear-gradient(180deg, rgba(4, 12, 9, 0.1), transparent 38%, rgba(4, 12, 9, 0.1));
}

.hero-content {
  position: relative;
  z-index: 6;
  width: min(45rem, 52vw);
  margin-right: clamp(1.4rem, 8vw, 9.5rem);
  padding-top: 5.8rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
  color: var(--sand);
  font-size: clamp(0.66rem, 0.85vw, 0.78rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.eyebrow-line {
  width: 2.9rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand));
}

.hero-title {
  margin: 0;
  font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  font-size: clamp(2.75rem, 4.8vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.052em;
}

.title-row {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  line-height: 1.12;
  text-wrap: balance;
}

.title-word {
  display: inline-block;
  transform-origin: center;
  will-change: transform, filter, text-shadow;
  transition: color 320ms ease, text-shadow 320ms ease;
}

.motion-ready.is-loaded .title-word {
  animation: title-flow 4.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  animation-delay: calc(var(--delay, 0ms) + 900ms);
}

.title-row-main {
  color: var(--white);
}

.title-row-accent {
  margin-top: 0.14em;
  margin-right: clamp(2rem, 5.25vw, 5.75rem);
  color: var(--sand);
  font-size: 0.84em;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 42px rgba(201, 149, 62, 0.16);
}

.title-row-last {
  margin-top: 0.2em;
  margin-right: clamp(4.8rem, 9.6vw, 10.5rem);
  color: var(--cream);
  font-size: 0.61em;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.accent-stroke {
  position: absolute;
  right: -2.75rem;
  top: 58%;
  width: 1.75rem;
  height: 0.65rem;
  border-top: 1.5px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 -4px 12px rgba(201, 149, 62, 0.15);
  transform: rotate(-9deg);
}

.hero-description {
  max-width: 39rem;
  margin: 1.65rem 0 0;
  color: var(--muted);
  font-size: clamp(0.84rem, 1.05vw, 1rem);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: -0.012em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 2.2vw, 2.2rem);
  margin-top: 2rem;
}

.primary-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 12.8rem;
  gap: 1rem;
  padding: 1rem 1.25rem;
  overflow: hidden;
  color: var(--ink);
  background: var(--sand);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(201, 149, 62, 0.18);
}

.primary-action::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(102%);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.primary-action:hover::before {
  transform: translateX(0);
}

.primary-action span,
.primary-action i {
  position: relative;
  z-index: 1;
}

.primary-action i {
  font-style: normal;
  font-size: 1.1rem;
  transition: transform 250ms ease;
}

.primary-action:hover i {
  transform: translateX(-5px);
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 500;
}

.play-dot {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(216, 189, 125, 0.5);
  border-radius: 50%;
  transition: background 250ms ease, transform 250ms ease;
}

.play-dot i {
  width: 0;
  height: 0;
  margin-right: 0.15rem;
  border-top: 0.24rem solid transparent;
  border-bottom: 0.24rem solid transparent;
  border-right: 0.4rem solid var(--sand);
}

.text-action:hover .play-dot {
  background: rgba(216, 189, 125, 0.14);
  transform: scale(1.08);
}

.discipline-strip {
  position: relative;
  display: flex;
  align-items: baseline;
  width: fit-content;
  gap: clamp(0.68rem, 1vw, 0.95rem);
  margin-top: 2.15rem;
  padding: 0.46rem 0.06rem 0.58rem;
  color: rgba(243, 236, 217, 0.72);
  font-size: clamp(0.76rem, 0.86vw, 0.9rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  isolation: isolate;
}

.discipline-strip::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  z-index: -1;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 125, 0.52) 46%, rgba(216, 189, 125, 0.08));
  transform: scaleX(0.82);
  transform-origin: right center;
  animation: discipline-line 4.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.discipline-strip span {
  --base-lift: 0rem;
  --hover-x: 0px;
  --hover-y: 0px;
  position: relative;
  display: inline-block;
  transform-origin: center bottom;
  will-change: transform, color, text-shadow;
  animation: discipline-wave 4.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  cursor: default;
  transition:
    color 260ms ease,
    text-shadow 300ms ease,
    filter 300ms ease;
}

.discipline-strip span::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-top: 0.38rem;
  background: linear-gradient(90deg, var(--sand), transparent);
  box-shadow: 0 0 10px rgba(201, 149, 62, 0.35);
  transition: width 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.discipline-strip span:hover {
  z-index: 2;
  color: var(--white);
  text-shadow: 0 0 24px rgba(216, 189, 125, 0.82);
  filter: brightness(1.18);
  animation: discipline-hover 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.discipline-strip span:hover::after {
  width: 100%;
}

.discipline-strip:has(span:hover) span:not(:hover) {
  color: rgba(243, 236, 217, 0.38);
  filter: blur(0.15px);
}

.discipline-strip:has(span:hover) i {
  animation-duration: 0.8s;
}

.discipline-strip span:nth-of-type(1) {
  font-size: 1.04em;
}

.discipline-strip span:nth-of-type(2) {
  --base-lift: -0.13rem;
  color: rgba(243, 236, 217, 0.84);
  font-size: 1.18em;
  font-weight: 700;
  animation-delay: 0.24s;
}

.discipline-strip span:nth-of-type(3) {
  --base-lift: 0.02rem;
  color: var(--sand);
  font-size: 0.98em;
  animation-delay: 0.48s;
}

.discipline-strip i {
  align-self: center;
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201, 149, 62, 0.8);
  animation: discipline-dot 4.2s ease-in-out infinite;
}

.discipline-strip i:nth-of-type(2) {
  animation-delay: 0.24s;
}

.speed-field {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.speed-line {
  position: absolute;
  display: block;
  width: 48vw;
  height: 14vw;
  border-top: 1px solid rgba(216, 189, 125, 0.24);
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(201, 149, 62, 0.14));
  transform-origin: center;
  will-change: transform, opacity;
  animation: speed-sweep 8.5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.speed-line::after {
  content: "";
  position: absolute;
  inset: 0.72rem 4% auto;
  height: 100%;
  border-top: 1px solid rgba(216, 189, 125, 0.1);
  border-radius: 50%;
}

.line-one {
  left: -13vw;
  top: 24%;
  --tilt: -7deg;
}

.line-two {
  left: -8vw;
  top: 42%;
  width: 36vw;
  animation-delay: -1.8s;
  --tilt: 5deg;
}

.line-three {
  left: 3vw;
  bottom: 11%;
  width: 31vw;
  animation-delay: -4.4s;
  --tilt: -4deg;
}

.line-four {
  right: -29vw;
  top: 20%;
  width: 34vw;
  opacity: 0.4;
  animation-delay: -3s;
  --tilt: 2deg;
}

.heritage-orbit {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(216, 189, 125, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  right: -23rem;
  top: -25rem;
  width: 47rem;
  height: 47rem;
  animation: orbit-turn 28s linear infinite;
}

.orbit-two {
  right: -15rem;
  top: -17rem;
  width: 31rem;
  height: 31rem;
  border-style: dashed;
  animation: orbit-turn 20s linear infinite reverse;
}

.vertical-tag {
  position: absolute;
  left: 2rem;
  top: 50%;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(243, 236, 217, 0.42);
  font-size: 0.5rem;
  letter-spacing: 0.28em;
  writing-mode: vertical-lr;
  transform: translateY(-50%) rotate(180deg);
}

.vertical-tag i {
  width: 1px;
  height: 3.8rem;
  background: linear-gradient(var(--sand), transparent);
}

.scroll-cue {
  position: absolute;
  z-index: 8;
  right: 50%;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(243, 236, 217, 0.5);
  font-size: 0.56rem;
  transform: translateX(50%);
}

.scroll-cue > i {
  position: relative;
  display: block;
  width: 1.25rem;
  height: 2rem;
  border: 1px solid rgba(216, 189, 125, 0.38);
  border-radius: 1rem;
}

.scroll-cue b {
  position: absolute;
  top: 0.35rem;
  right: 50%;
  width: 0.16rem;
  height: 0.35rem;
  border-radius: 1rem;
  background: var(--sand);
  transform: translateX(50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.section-index {
  position: absolute;
  z-index: 8;
  left: clamp(1.2rem, 4.3vw, 5rem);
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  direction: ltr;
}

.section-index strong {
  color: var(--sand);
  font-size: 0.72rem;
}

.section-index span {
  width: 3.8rem;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.17);
}

.section-index span::after {
  content: "";
  display: block;
  width: 34%;
  height: 100%;
  background: var(--sand);
}

.section-index small {
  color: rgba(243, 236, 217, 0.42);
  font-size: 0.6rem;
}

.section-divider {
  position: relative;
  z-index: 14;
  height: clamp(3.6rem, 6vw, 6rem);
  margin: calc(clamp(3.6rem, 6vw, 6rem) / -2) 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(216, 189, 125, 0.18), rgba(216, 189, 125, 0.045) 34%, transparent 70%);
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 4%;
  left: 4%;
  height: clamp(1.1rem, 2vw, 1.9rem);
  border-top: 2px solid rgba(244, 224, 175, 0.56);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -7px 22px rgba(216, 189, 125, 0.13);
  transform: translateY(-24%);
}

.section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 125, 0.35) 26%, rgba(255, 244, 214, 0.62) 50%, rgba(216, 189, 125, 0.35) 74%, transparent);
  transform: translateY(-50%);
}

.section-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: clamp(7rem, 20vw, 16rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 247, 224, 0.95) 28% 72%, transparent);
  box-shadow: 0 0 18px rgba(244, 224, 175, 0.42);
  transform: translate(-50%, -50%);
}

.section-divider span::before,
.section-divider span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.38rem;
  height: 0.38rem;
  border: 1px solid rgba(255, 247, 224, 0.74);
  border-radius: 50%;
  background: #0a1b15;
  box-shadow: 0 0 12px rgba(244, 224, 175, 0.34);
  transform: translateY(-50%);
}

.section-divider span::before { right: 20%; }
.section-divider span::after { left: 20%; }

.about-section {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(7.5rem, 11vw, 10rem) clamp(1.25rem, 6vw, 7rem) clamp(8rem, 10vw, 9.5rem);
  border-top: 1px solid rgba(216, 189, 125, 0.12);
  background:
    radial-gradient(circle at 86% 20%, rgba(47, 118, 90, 0.2), transparent 30%),
    radial-gradient(circle at 8% 76%, rgba(201, 149, 62, 0.12), transparent 27%),
    linear-gradient(142deg, #07110e 0%, #0b2018 47%, #071511 100%);
  scroll-margin-top: 0;
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  z-index: 1;
  height: 9rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 17, 14, 0.96), transparent);
}

.about-section::after {
  content: "";
  position: absolute;
  top: 17%;
  left: -11rem;
  z-index: 1;
  width: 28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 189, 125, 0.09), transparent 68%);
  filter: blur(4px);
}

.about-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(216, 189, 125, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 125, 0.055) 1px, transparent 1px);
  background-size: clamp(5rem, 8vw, 8.5rem) clamp(5rem, 8vw, 8.5rem);
  mask-image: linear-gradient(115deg, transparent 4%, #000 48%, transparent 92%);
}

.about-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(216, 189, 125, 0.13);
  border-radius: 50%;
  pointer-events: none;
  animation: about-orbit-turn 26s linear infinite;
}

.about-orbit::before,
.about-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(201, 149, 62, 0.62);
}

.about-orbit::before {
  top: 13%;
  right: 12%;
  width: 0.32rem;
  height: 0.32rem;
}

.about-orbit::after {
  bottom: 9%;
  left: 18%;
  width: 0.18rem;
  height: 0.18rem;
}

.about-orbit-large {
  top: -16rem;
  left: -17rem;
  width: 38rem;
  height: 38rem;
  border-style: dashed;
}

.about-orbit-small {
  right: -10rem;
  bottom: -13rem;
  width: 27rem;
  height: 27rem;
  animation-duration: 19s;
  animation-direction: reverse;
}

.about-shell {
  position: relative;
  z-index: 3;
  width: min(100%, 75rem);
  margin: auto;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(19rem, 0.96fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8.5rem);
}

.about-heading {
  min-width: 0;
}

.about-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  color: rgba(243, 236, 217, 0.58);
  font-size: 0.69rem;
  font-weight: 600;
}

.about-kicker span {
  color: var(--sand);
  font-size: 0.64rem;
}

.about-kicker i {
  width: clamp(2.5rem, 4.5vw, 4.2rem);
  height: 1px;
  overflow: hidden;
  background: rgba(216, 189, 125, 0.2);
}

.about-kicker i::after {
  content: "";
  display: block;
  width: 58%;
  height: 100%;
  background: var(--sand);
  animation: about-line-flow 3.4s ease-in-out infinite;
}

.about-kicker b {
  font-weight: 500;
}

.about-title {
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-size: clamp(4.25rem, 7.6vw, 8.3rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.about-title span,
.about-title strong {
  display: block;
}

.about-title span {
  color: var(--white);
}

.about-title strong {
  margin-top: 0.12em;
  margin-right: clamp(2.3rem, 5.6vw, 5.8rem);
  color: var(--sand);
  font-size: 0.84em;
  font-weight: 600;
  text-shadow: 0 16px 45px rgba(201, 149, 62, 0.14);
  transform-origin: right center;
  animation: about-title-flow 5.6s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.about-tagline {
  margin: 1.55rem 0 0;
  color: rgba(243, 236, 217, 0.56);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.about-copy {
  position: relative;
  max-width: 33rem;
  padding: 0.35rem clamp(1.35rem, 2.5vw, 2.3rem) 0.5rem 0;
  border-right: 1px solid rgba(216, 189, 125, 0.24);
}

.about-copy::before {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 34%;
  background: var(--sand);
  box-shadow: 0 0 16px rgba(201, 149, 62, 0.36);
}

.about-copy-mark {
  position: absolute;
  top: -4.2rem;
  left: 0;
  z-index: -1;
  color: rgba(216, 189, 125, 0.045);
  font-size: clamp(8rem, 12vw, 13rem);
  font-weight: 800;
  line-height: 1;
  transform: rotate(-8deg);
}

.about-copy p {
  margin: 0;
  color: rgba(243, 236, 217, 0.58);
  font-size: clamp(0.82rem, 1vw, 0.97rem);
  font-weight: 350;
  line-height: 2.05;
}

.about-copy .about-lead {
  margin-bottom: 1.15rem;
  color: rgba(255, 253, 247, 0.9);
  font-size: clamp(1.02rem, 1.35vw, 1.3rem);
  font-weight: 500;
  line-height: 1.85;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.4rem);
  margin-top: clamp(4rem, 6.5vw, 6.5rem);
}

.about-card {
  --card-lift: 0rem;
  position: relative;
  min-height: 27.5rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 189, 125, 0.17);
  background:
    linear-gradient(140deg, rgba(216, 189, 125, 0.07), transparent 42%),
    rgba(6, 20, 15, 0.64);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.13);
  contain: paint;
  transform: translateY(var(--card-lift));
  transition: border-color 320ms ease, background 320ms ease, box-shadow 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: -35%;
  z-index: 4;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand), transparent);
  animation: about-card-line 4.8s ease-in-out infinite;
}

.about-card::after {
  content: "";
  position: absolute;
  left: -4.2rem;
  bottom: -4.2rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(216, 189, 125, 0.09);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), border-color 320ms ease;
}

.about-card-raised {
  --card-lift: -1.25rem;
}

.about-card:hover {
  border-color: rgba(216, 189, 125, 0.42);
  background:
    linear-gradient(140deg, rgba(216, 189, 125, 0.12), transparent 46%),
    rgba(8, 27, 20, 0.82);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.24);
  transform: translateY(calc(var(--card-lift) - 0.45rem));
}

.about-card:hover::after {
  border-color: rgba(216, 189, 125, 0.22);
  transform: scale(1.25);
}

.about-card-image {
  position: relative;
  z-index: 1;
  height: clamp(10.5rem, 14.5vw, 13rem);
  overflow: hidden;
  border-radius: 0 0 12% 55% / 0 0 6% 18%;
  background: var(--ink-soft);
  isolation: isolate;
}

.about-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(7, 17, 14, 0.04), rgba(7, 17, 14, 0.16) 52%, rgba(7, 17, 14, 0.9) 100%),
    linear-gradient(115deg, rgba(216, 189, 125, 0.1), transparent 42%);
  transition: opacity 280ms ease;
}

.about-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: none;
  transform: scale(1.045);
  transform-origin: center;
  backface-visibility: hidden;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card:nth-child(2) .about-card-image img {
  object-position: center 54%;
  animation-delay: -3.2s;
}

.about-card:nth-child(3) .about-card-image img {
  object-position: 58% center;
  animation-delay: -6.4s;
}

.about-card-image span {
  position: absolute;
  right: 1.25rem;
  bottom: 1.45rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 253, 247, 0.76);
  font-size: 0.6rem;
  font-weight: 600;
}

.about-card-image span::before {
  content: "";
  width: 1.7rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand));
}

.about-card-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 2vw, 1.7rem) clamp(1.35rem, 2.4vw, 2rem) 3.4rem;
}

.about-card:hover .about-card-image img {
  transform: scale(1.105) translate3d(-0.8%, -0.6%, 0);
}

.about-card:hover .about-card-image::after {
  opacity: 0.86;
}

.about-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(1.35rem, 2.2vw, 1.9rem);
}

.about-card-top span {
  color: var(--sand);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.about-card-top i {
  width: 2.8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 125, 0.48));
}

.about-card h3 {
  margin: 0 0 0.85rem;
  color: var(--cream);
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.about-card p {
  max-width: 18rem;
  margin: 0;
  color: rgba(243, 236, 217, 0.54);
  font-size: 0.76rem;
  font-weight: 350;
  line-height: 1.9;
}

.about-card > b {
  position: absolute;
  left: 1.5rem;
  bottom: 1.35rem;
  color: rgba(216, 189, 125, 0.5);
  font-size: 1.05rem;
  font-weight: 400;
  animation: about-arrow-drift 2.9s ease-in-out infinite;
}

.about-card:nth-child(2)::before,
.about-card:nth-child(2) > b {
  animation-delay: 380ms;
}

.about-card:nth-child(3)::before,
.about-card:nth-child(3) > b {
  animation-delay: 760ms;
}

.about-motion-track {
  position: absolute;
  right: 0;
  bottom: 2rem;
  left: 0;
  z-index: 2;
  overflow: hidden;
  color: rgba(243, 236, 217, 0.18);
  font-size: 0.62rem;
  font-weight: 600;
  pointer-events: none;
}

.about-motion-track div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(1.6rem, 3vw, 3.2rem);
  direction: ltr;
  animation: about-track-move 22s linear infinite;
}

.about-motion-track span {
  direction: rtl;
  white-space: nowrap;
}

.about-motion-track i {
  width: 0.24rem;
  height: 0.24rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201, 149, 62, 0.45);
}

.about-index {
  z-index: 4;
  bottom: 4.2rem;
}

.about-index span::after {
  width: 67%;
}

.about-reveal {
  opacity: 1;
  transform: translateY(var(--card-lift, 0rem));
}

.motion-ready .about-reveal {
  opacity: 0;
  transform: translateY(calc(var(--card-lift, 0rem) + 2.25rem));
  transition:
    opacity 820ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 920ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--section-delay, 0ms);
}

.motion-ready .about-reveal.is-visible {
  opacity: 1;
  transform: translateY(var(--card-lift, 0rem));
}

.motion-ready .about-card.is-visible:hover {
  transform: translateY(calc(var(--card-lift) - 0.45rem));
}

.services-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(7rem, 10vw, 9.5rem) clamp(1.25rem, 6vw, 7rem) clamp(8.5rem, 11vw, 10.5rem);
  border-top: 1px solid rgba(216, 189, 125, 0.14);
  background:
    radial-gradient(circle at 9% 13%, rgba(201, 149, 62, 0.11), transparent 28%),
    radial-gradient(circle at 91% 67%, rgba(47, 118, 90, 0.14), transparent 30%),
    linear-gradient(155deg, #050e0b 0%, #0a1b15 48%, #07110e 100%);
  content-visibility: auto;
  contain-intrinsic-size: 1500px;
}

.about-section:not(.is-in-view) .about-orbit,
.about-section:not(.is-in-view) .about-title strong,
.about-section:not(.is-in-view) .about-kicker i::after,
.about-section:not(.is-in-view) .about-card-image img,
.about-section:not(.is-in-view) .about-card::before,
.about-section:not(.is-in-view) .about-card > b,
.about-section:not(.is-in-view) .about-motion-track div,
.services-section:not(.is-in-view) .services-sweep,
.services-section:not(.is-in-view) .services-title strong,
.services-section:not(.is-in-view) .services-kicker i::after,
.services-section:not(.is-in-view) .service-media img,
.services-section:not(.is-in-view) .service-card::before,
.services-section:not(.is-in-view) .services-marquee div {
  animation-play-state: paused;
}

.services-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.27;
  background-image:
    linear-gradient(rgba(216, 189, 125, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 125, 0.055) 1px, transparent 1px);
  background-size: clamp(5rem, 8vw, 8.5rem) clamp(5rem, 8vw, 8.5rem);
  mask-image: linear-gradient(145deg, #000, transparent 78%);
}

.services-sweep {
  position: absolute;
  z-index: 1;
  border-top: 1px solid rgba(216, 189, 125, 0.16);
  border-radius: 50%;
  pointer-events: none;
  filter: drop-shadow(0 0 14px rgba(201, 149, 62, 0.1));
  animation: services-sweep-flow 9s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.services-sweep::after {
  content: "";
  position: absolute;
  inset: 0.85rem 8% auto;
  height: 100%;
  border-top: 1px solid rgba(216, 189, 125, 0.07);
  border-radius: 50%;
}

.services-sweep-one {
  top: 7%;
  left: -20rem;
  width: 44rem;
  height: 17rem;
  transform: rotate(-8deg);
}

.services-sweep-two {
  right: -18rem;
  bottom: 12%;
  width: 38rem;
  height: 15rem;
  transform: rotate(7deg);
  animation-delay: -4.5s;
}

.services-shell {
  position: relative;
  z-index: 3;
  width: min(100%, 78rem);
  margin: auto;
}

.services-header {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}

.services-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.3rem;
  color: rgba(243, 236, 217, 0.58);
  font-size: 0.69rem;
  font-weight: 600;
}

.services-kicker span {
  color: var(--sand);
  font-size: 0.64rem;
}

.services-kicker i {
  width: clamp(2.5rem, 4.5vw, 4.2rem);
  height: 1px;
  overflow: hidden;
  background: rgba(216, 189, 125, 0.2);
}

.services-kicker i::after {
  content: "";
  display: block;
  width: 58%;
  height: 100%;
  background: var(--sand);
  animation: about-line-flow 3.4s ease-in-out infinite;
}

.services-kicker b {
  font-weight: 500;
}

.services-title {
  margin: 0;
  font-size: clamp(2.55rem, 4vw, 4.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.services-title span,
.services-title strong {
  display: block;
}

.services-title span {
  color: var(--white);
  font-size: 0.66em;
  font-weight: 500;
}

.services-title strong {
  width: max-content;
  max-width: 100%;
  margin-top: 0.2em;
  margin-right: clamp(1.5rem, 4.4vw, 4.6rem);
  color: var(--sand);
  font-weight: 650;
  transform-origin: right center;
  animation: services-title-pulse 5.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.services-intro {
  position: relative;
  max-width: 31rem;
  padding: 0.3rem clamp(1.3rem, 2.4vw, 2.2rem) 0.35rem 0;
  border-right: 1px solid rgba(216, 189, 125, 0.22);
}

.services-intro::before {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 42%;
  background: var(--sand);
  box-shadow: 0 0 16px rgba(201, 149, 62, 0.35);
}

.services-intro p {
  margin: 0;
  color: rgba(243, 236, 217, 0.64);
  font-size: clamp(0.83rem, 1vw, 0.98rem);
  font-weight: 350;
  line-height: 2;
}

.services-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.45rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(216, 189, 125, 0.45);
  color: var(--cream);
  font-size: 0.73rem;
  font-weight: 600;
  transition: color 250ms ease, border-color 250ms ease;
}

.services-cta i {
  color: var(--sand);
  font-size: 1rem;
  font-style: normal;
  transition: transform 250ms ease;
}

.services-cta:hover {
  color: var(--sand);
  border-color: var(--sand);
}

.services-cta:hover i {
  transform: translateX(-0.25rem);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.35rem);
  margin-top: clamp(4rem, 6.5vw, 6.5rem);
}

.service-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(216, 189, 125, 0.18);
  background: var(--ink-soft);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.19);
  contain: paint;
  transition: border-color 350ms ease, box-shadow 350ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-main {
  grid-column: span 3;
  min-height: clamp(29rem, 41vw, 35rem);
}

.service-card-small {
  grid-column: span 2;
  min-height: clamp(22rem, 29vw, 27rem);
}

.service-card:nth-child(2) {
  margin-top: 1.6rem;
}

.service-card:nth-child(4) {
  margin-top: 1rem;
}

.service-card:hover {
  z-index: 2;
  border-color: rgba(216, 189, 125, 0.48);
  box-shadow: 0 30px 85px rgba(0, 0, 0, 0.32);
  transform: translateY(-0.55rem);
}

.service-media,
.service-overlay {
  position: absolute;
  inset: 0;
}

.service-media {
  z-index: -2;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: scale(1.045);
  backface-visibility: hidden;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-combat .service-media img {
  object-position: 56% center;
  animation-delay: -3s;
}

.service-card:nth-child(3) .service-media img {
  object-position: center 54%;
  animation-delay: -5s;
}

.service-card:nth-child(4) .service-media img {
  object-position: 52% center;
  animation-delay: -7s;
}

.service-card:nth-child(5) .service-media img {
  object-position: 48% center;
  animation-delay: -9s;
}

.service-card:hover .service-media img {
  transform: scale(1.105) translate3d(-0.6%, -0.45%, 0);
}

.service-overlay {
  z-index: -1;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(4, 12, 9, 0.08) 5%, rgba(4, 12, 9, 0.22) 42%, rgba(4, 12, 9, 0.96) 100%),
    linear-gradient(105deg, rgba(4, 12, 9, 0.45), transparent 57%);
  transition: opacity 280ms ease;
}

.service-card:hover .service-overlay {
  opacity: 0.88;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: -34%;
  z-index: 4;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand), transparent);
  animation: service-card-light 5.4s ease-in-out infinite;
}

.service-card:nth-child(2)::before { animation-delay: 450ms; }
.service-card:nth-child(3)::before { animation-delay: 900ms; }
.service-card:nth-child(4)::before { animation-delay: 1350ms; }
.service-card:nth-child(5)::before { animation-delay: 1800ms; }

.service-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(1.4rem, 2.8vw, 2.5rem);
}

.service-number {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.service-number span {
  color: var(--sand);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-number i {
  width: 2.8rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 189, 125, 0.5), transparent);
}

.service-card-content > p {
  margin: 0 0 0.65rem;
  color: rgba(243, 236, 217, 0.62);
  font-size: 0.68rem;
  font-weight: 400;
}

.service-card h3 {
  max-width: 28rem;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.045em;
}

.service-card-small h3 {
  max-width: 21rem;
  font-size: clamp(1.18rem, 1.8vw, 1.65rem);
}

.service-card-small .service-card-content > p {
  max-width: 22rem;
  margin-top: 0.7rem;
  margin-bottom: 0;
  color: rgba(243, 236, 217, 0.58);
  font-size: 0.72rem;
  line-height: 1.85;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-top: 1.15rem;
}

.service-tags span {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(216, 189, 125, 0.25);
  color: rgba(243, 236, 217, 0.7);
  background: rgba(7, 17, 14, 0.78);
  backdrop-filter: none;
  font-size: 0.59rem;
  font-weight: 500;
  transition: color 250ms ease, border-color 250ms ease, background 250ms ease;
}

.service-card:hover .service-tags span {
  color: var(--cream);
  border-color: rgba(216, 189, 125, 0.42);
  background: rgba(7, 17, 14, 0.5);
}

.service-arrow {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(216, 189, 125, 0.3);
  border-radius: 50%;
  color: var(--sand);
  background: rgba(7, 17, 14, 0.74);
  backdrop-filter: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 300ms ease, border-color 300ms ease, background 300ms ease, transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-arrow {
  color: var(--ink);
  border-color: var(--sand);
  background: var(--sand);
  transform: translate3d(-0.16rem, 0.16rem, 0) rotate(8deg);
}

.services-marquee {
  position: absolute;
  right: 0;
  bottom: 1.9rem;
  left: 0;
  z-index: 2;
  overflow: hidden;
  color: rgba(243, 236, 217, 0.18);
  font-size: 0.62rem;
  font-weight: 600;
  pointer-events: none;
}

.services-marquee div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(1.6rem, 3vw, 3.2rem);
  direction: ltr;
  animation: about-track-move 22s linear infinite reverse;
}

.services-marquee span {
  direction: rtl;
  white-space: nowrap;
}

.services-marquee i {
  width: 0.24rem;
  height: 0.24rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201, 149, 62, 0.45);
}

.services-index {
  z-index: 4;
  bottom: 4.15rem;
}

.services-index span::after {
  width: 100%;
}

.service-reveal {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .service-reveal {
  opacity: 0;
  transform: translateY(2.4rem);
  transition:
    opacity 840ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 960ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--service-delay, 0ms);
}

.motion-ready .service-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .service-card.is-visible:hover {
  transform: translateY(-0.55rem);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.motion-ready.is-loaded .reveal {
  animation: reveal-up 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(3.2rem, 4.6vw, 4.6rem) clamp(1.25rem, 6vw, 7rem) 1rem;
  border-top: 2px solid rgba(216, 189, 125, 0.42);
  background:
    radial-gradient(circle at 9% 18%, rgba(216, 189, 125, 0.16), transparent 27%),
    radial-gradient(circle at 88% 84%, rgba(18, 55, 67, 0.72), transparent 32%),
    linear-gradient(148deg, #081820 0%, #0b2530 52%, #123743 100%);
  box-shadow: inset 0 1px 0 rgba(243, 236, 217, 0.08);
}

.site-footer::before {
  content: "رهوان";
  position: absolute;
  right: 50%;
  bottom: clamp(3.5rem, 5vw, 5rem);
  z-index: -1;
  color: rgba(243, 236, 217, 0.075);
  font-size: clamp(5.4rem, 15vw, 14rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.075em;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(50%);
}

.footer-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(243, 236, 217, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 236, 217, 0.055) 1px, transparent 1px);
  background-size: clamp(5rem, 8vw, 8.5rem) clamp(5rem, 8vw, 8.5rem);
  mask-image: linear-gradient(115deg, transparent 4%, #000 52%, transparent 96%);
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 88rem);
  margin: 0 auto;
}

.footer-callout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(18rem, 1.15fr) auto;
  align-items: end;
  gap: clamp(1.25rem, 2.8vw, 3.2rem);
  padding-bottom: clamp(1.7rem, 2.8vw, 2.7rem);
  border-bottom: 1px solid rgba(216, 189, 125, 0.2);
}

.footer-brand-block {
  max-width: 25rem;
}

.footer-brand-link {
  justify-self: auto;
  width: max-content;
}

.footer-brand-link .brand-mark {
  width: 3.45rem;
  height: 3.45rem;
}

.footer-brand-link .brand-mark i {
  width: 2.72rem;
  border-top-width: 2px;
}

.footer-brand-link .brand-copy b {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.footer-brand-link .brand-copy small {
  font-size: 0.54rem;
}

.footer-brand-block > p {
  max-width: 23rem;
  margin: 1rem 0 0;
  color: rgba(243, 236, 217, 0.56);
  font-size: 0.78rem;
  font-weight: 350;
  line-height: 1.65;
}

.footer-callout-copy > span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(216, 189, 125, 0.82);
  font-size: 0.68rem;
  font-weight: 600;
}

.footer-callout-copy > span i {
  width: 2.8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand));
}

.footer-callout-copy h2 {
  max-width: 27rem;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.footer-callout-copy h2 strong {
  display: block;
  margin-top: 0.12em;
  color: var(--sand);
  font-weight: 700;
}

.footer-join-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.2rem;
  min-width: clamp(11.5rem, 14vw, 13.8rem);
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(255, 244, 214, 0.44);
  color: var(--ink);
  background: linear-gradient(115deg, #ead292, #c9983d);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  font-size: 0.78rem;
  font-weight: 750;
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-join-button i {
  font-style: normal;
  font-size: 1.05rem;
}

.footer-join-button:hover,
.footer-join-button:focus-visible {
  border-color: rgba(255, 253, 247, 0.86);
  box-shadow: 0 20px 52px rgba(201, 149, 62, 0.2);
  transform: translateY(-0.28rem);
}

.footer-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  padding: clamp(1rem, 1.8vw, 1.5rem) 0;
  border-bottom: 1px solid rgba(216, 189, 125, 0.2);
}

.footer-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 4.65rem;
  padding: 0.62rem 0.8rem;
  border: 1px solid rgba(216, 189, 125, 0.18);
  color: var(--white);
  background: rgba(7, 17, 14, 0.2);
  transition: border-color 240ms ease, background 240ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-option > span {
  align-self: start;
  color: rgba(216, 189, 125, 0.72);
  font-size: 0.55rem;
  font-weight: 700;
}

.footer-option > div {
  display: grid;
  gap: 0.28rem;
}

.footer-option b {
  font-size: 0.76rem;
  font-weight: 650;
}

.footer-option small {
  color: rgba(243, 236, 217, 0.5);
  font-size: 0.58rem;
  font-weight: 350;
  line-height: 1.55;
}

.footer-option > i {
  color: var(--sand);
  font-style: normal;
  font-size: 0.82rem;
}

.footer-option:hover,
.footer-option:focus-visible {
  border-color: rgba(216, 189, 125, 0.46);
  background: rgba(18, 55, 67, 0.72);
  transform: translateY(-0.24rem);
}

.footer-main {
  display: grid;
  grid-template-columns: 0.65fr 0.9fr 1.1fr minmax(16rem, 1.45fr);
  gap: clamp(1.35rem, 2.7vw, 3rem);
  padding: clamp(1.5rem, 2.4vw, 2.2rem) 0;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column > b {
  margin-bottom: 0.35rem;
  color: var(--sand);
  font-size: 0.68rem;
  font-weight: 700;
}

.footer-column > a {
  position: relative;
  color: rgba(243, 236, 217, 0.62);
  font-size: 0.74rem;
  font-weight: 400;
  transition: color 220ms ease, transform 220ms ease;
}

.footer-column > a:hover,
.footer-column > a:focus-visible {
  color: var(--white);
  transform: translateX(-0.25rem);
}

.footer-contact {
  padding-right: clamp(1.3rem, 2.5vw, 2.2rem);
  border-right: 1px solid rgba(216, 189, 125, 0.2);
}

.footer-contact p {
  max-width: 33rem;
  margin: 0;
  color: rgba(243, 236, 217, 0.54);
  font-size: 0.76rem;
  line-height: 1.6;
}

.footer-contact > a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.45rem;
  color: var(--white);
  font-weight: 650;
}

.footer-contact > a i {
  color: var(--sand);
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(216, 189, 125, 0.16);
  color: rgba(243, 236, 217, 0.4);
  font-size: 0.62rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(243, 236, 217, 0.62);
  transition: color 220ms ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--white);
}

.footer-bottom a i {
  color: var(--sand);
  font-style: normal;
}

@media (max-width: 900px) {
  .footer-callout {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

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

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.7rem clamp(2rem, 6vw, 4rem);
  }
}

@media (max-width: 720px) {
  .section-divider {
    height: 4rem;
    margin: -2rem 0;
  }

  .section-divider::before {
    right: -8%;
    left: -8%;
  }

  .site-footer {
    padding: 2.8rem 1.15rem 0.9rem;
  }

  .footer-callout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1.35rem 1.1rem;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    max-width: none;
  }

  .footer-brand-block > p {
    max-width: 17rem;
    margin: 0;
    font-size: 0.69rem;
    text-align: left;
  }

  .footer-callout-copy {
    grid-column: 1;
  }

  .footer-join-button {
    grid-column: 2;
    min-width: 10.8rem;
    padding: 1rem 1.1rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 1.45rem 1.5rem;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 1rem;
  }
}

@media (max-width: 460px) {
  .footer-callout {
    grid-template-columns: 1fr;
  }

  .footer-brand-block {
    display: block;
  }

  .footer-brand-block > p {
    max-width: 22rem;
    margin-top: 0.8rem;
    text-align: right;
  }

  .footer-callout-copy,
  .footer-join-button {
    grid-column: auto;
  }

  .footer-callout-copy h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .footer-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1rem;
  }

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

.mobile-panel {
  display: none;
}

.join-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.join-modal:target,
.join-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.join-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 7, 0.88);
  backdrop-filter: blur(14px);
}

.join-card {
  position: relative;
  z-index: 1;
  width: min(100%, 35rem);
  max-height: calc(100svh - 2.4rem);
  overflow: auto;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border: 1px solid rgba(216, 189, 125, 0.35);
  background:
    radial-gradient(circle at 15% 0%, rgba(201, 149, 62, 0.16), transparent 38%),
    linear-gradient(145deg, #10251d, #07110e 72%);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.62);
  transform: translateY(1.8rem) scale(0.97);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.join-modal:target .join-card,
.join-modal.is-open .join-card {
  transform: translateY(0) scale(1);
}

.join-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(216, 189, 125, 0.28);
  color: var(--cream);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
  transition: color 220ms ease, background 220ms ease;
}

.join-close:hover,
.join-close:focus-visible {
  color: var(--ink);
  background: var(--sand);
}

.join-heading > span {
  color: var(--sand);
  font-size: 0.7rem;
  font-weight: 700;
}

.join-heading h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.join-heading h2 b {
  color: var(--sand);
  font-weight: 700;
}

.join-heading p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.9;
}

.join-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.join-form label {
  display: grid;
  gap: 0.5rem;
}

.join-form label > span {
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
}

.join-form input,
.join-form select {
  width: 100%;
  min-height: 3.2rem;
  padding: 0 1rem;
  border: 1px solid rgba(216, 189, 125, 0.22);
  outline: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-size: 0.78rem;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.join-form input::placeholder {
  color: rgba(243, 236, 217, 0.37);
}

.join-form input:focus,
.join-form select:focus {
  border-color: var(--sand);
  background: rgba(216, 189, 125, 0.07);
  box-shadow: 0 0 0 3px rgba(216, 189, 125, 0.08);
}

.join-form select option {
  color: var(--cream);
  background: var(--ink-soft);
}

.join-form button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.35rem;
  margin-top: 0.25rem;
  padding: 0 1.15rem;
  border: 0;
  color: var(--ink);
  background: var(--sand);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}

.join-form button:hover,
.join-form button:focus-visible {
  background: var(--white);
  transform: translateY(-2px);
}

.join-form button i {
  font-style: normal;
  font-size: 1.15rem;
}

.form-success {
  margin: 0.25rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(216, 189, 125, 0.35);
  color: var(--sand);
  background: rgba(216, 189, 125, 0.08);
  font-size: 0.74rem;
  line-height: 1.75;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cta-glow {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(7, 17, 14, 0.42), 0 10px 28px rgba(201, 149, 62, 0.28);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(7, 17, 14, 0.42), 0 12px 40px rgba(216, 189, 125, 0.52);
  }
}

@keyframes cta-shine {
  0%, 42% {
    left: -45%;
  }
  72%, 100% {
    left: 125%;
  }
}

@keyframes menu-breathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201, 149, 62, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(201, 149, 62, 0.045), 0 0 18px rgba(201, 149, 62, 0.12);
  }
}

@keyframes menu-link-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes title-flow {
  0%, 100% {
    filter: brightness(1);
    text-shadow: 0 0 0 rgba(216, 189, 125, 0);
    transform: translate3d(0, 0, 0) scale(1);
  }
  24% {
    filter: brightness(1.08);
    text-shadow: 0 0 26px rgba(216, 189, 125, 0.11);
    transform: translate3d(-0.055em, 0.018em, 0) scale(1.014);
  }
  52% {
    filter: brightness(1.17);
    text-shadow: 0 0 38px rgba(216, 189, 125, 0.2);
    transform: translate3d(0.03em, 0.045em, 0) scale(1.018);
  }
  76% {
    filter: brightness(1.05);
    text-shadow: 0 0 18px rgba(216, 189, 125, 0.08);
    transform: translate3d(-0.018em, 0.015em, 0) scale(1.006);
  }
}

@keyframes discipline-wave {
  0%, 22%, 100% {
    color: rgba(243, 236, 217, 0.64);
    text-shadow: 0 0 0 rgba(216, 189, 125, 0);
    transform: translateY(var(--base-lift)) scale(1);
  }
  9% {
    color: var(--sand);
    text-shadow: 0 0 20px rgba(216, 189, 125, 0.54);
    transform: translateY(calc(var(--base-lift) - 0.24rem)) scale(1.065);
  }
  16% {
    color: rgba(243, 236, 217, 0.82);
    text-shadow: 0 0 10px rgba(216, 189, 125, 0.2);
    transform: translateY(calc(var(--base-lift) - 0.06rem)) scale(1.015);
  }
}

@keyframes discipline-hover {
  0% {
    transform: translate3d(0, var(--base-lift), 0) scale(1) rotate(0deg);
  }
  42% {
    transform: translate3d(var(--hover-x), calc(var(--base-lift) - 0.52rem + var(--hover-y)), 0) scale(1.18) rotate(-2deg);
  }
  70% {
    transform: translate3d(var(--hover-x), calc(var(--base-lift) - 0.34rem + var(--hover-y)), 0) scale(1.12) rotate(1deg);
  }
  100% {
    transform: translate3d(var(--hover-x), calc(var(--base-lift) - 0.38rem + var(--hover-y)), 0) scale(1.14) rotate(0deg);
  }
}

@keyframes discipline-dot {
  0%, 24%, 100% {
    opacity: 0.45;
    transform: scale(0.72);
  }
  11% {
    opacity: 1;
    transform: scale(1.28);
  }
}

@keyframes discipline-line {
  0%, 24%, 100% {
    opacity: 0.28;
    transform: scaleX(0.82);
  }
  12% {
    opacity: 0.72;
    transform: scaleX(1);
  }
}

@keyframes image-breathe {
  from {
    transform: scale(1.045) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.085) translate3d(-0.8%, -0.5%, 0);
  }
}

@keyframes speed-sweep {
  0% {
    opacity: 0;
    transform: translate3d(-7vw, 1.2vw, 0) rotate(var(--tilt, 0deg)) scaleX(0.84);
  }

  34% {
    opacity: 0.5;
  }

  68% {
    opacity: 0.22;
    transform: translate3d(5vw, -0.65vw, 0) rotate(var(--tilt, 0deg)) scaleX(1.04);
  }

  100% {
    opacity: 0;
    transform: translate3d(9vw, -1vw, 0) rotate(var(--tilt, 0deg)) scaleX(1.08);
  }
}

@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scroll-dot {
  0%, 100% {
    opacity: 0.3;
    transform: translate(50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(50%, 0.8rem);
  }
}

@keyframes about-orbit-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes about-line-flow {
  0%, 100% {
    opacity: 0.38;
    transform: translateX(0) scaleX(0.62);
    transform-origin: right center;
  }
  50% {
    opacity: 1;
    transform: translateX(-42%) scaleX(1);
    transform-origin: left center;
  }
}

@keyframes about-title-flow {
  0%, 100% {
    filter: brightness(1);
    transform: translate3d(0, 0, 0);
  }
  42% {
    filter: brightness(1.12);
    transform: translate3d(-0.06em, -0.025em, 0);
  }
  70% {
    filter: brightness(1.04);
    transform: translate3d(0.02em, 0, 0);
  }
}

@keyframes about-image-breathe {
  from {
    transform: scale(1.045) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.085) translate3d(-0.7%, -0.45%, 0);
  }
}

@keyframes about-card-line {
  0%, 22%, 100% {
    opacity: 0;
    transform: translateX(0);
  }
  48% {
    opacity: 0.9;
  }
  76% {
    opacity: 0;
    transform: translateX(-390%);
  }
}

@keyframes about-arrow-drift {
  0%, 100% {
    opacity: 0.42;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(-0.22rem, 0.22rem, 0);
  }
}

@keyframes about-track-move {
  to {
    transform: translateX(-50%);
  }
}

@keyframes services-sweep-flow {
  0%, 100% {
    opacity: 0.18;
    translate: -2.5rem 0;
  }
  50% {
    opacity: 0.72;
    translate: 3rem -0.65rem;
  }
}

@keyframes services-title-pulse {
  0%, 100% {
    filter: brightness(1);
    transform: translate3d(0, 0, 0);
  }
  45% {
    filter: brightness(1.12);
    transform: translate3d(-0.055em, -0.02em, 0);
  }
  74% {
    filter: brightness(1.04);
    transform: translate3d(0.018em, 0, 0);
  }
}

@keyframes service-image-drift {
  from {
    transform: scale(1.045) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.085) translate3d(-0.65%, -0.4%, 0);
  }
}

@keyframes service-card-light {
  0%, 24%, 100% {
    opacity: 0;
    transform: translateX(0);
  }
  50% {
    opacity: 0.95;
  }
  78% {
    opacity: 0;
    transform: translateX(-395%);
  }
}

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

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero-content {
    width: min(44rem, 66vw);
    margin-right: clamp(1.4rem, 6vw, 4.8rem);
  }

  .hero-image img {
    object-position: 33% center;
  }

  .hero-title {
    font-size: clamp(2.9rem, 6.8vw, 5.5rem);
  }

  .vertical-tag {
    display: none;
  }

  .mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    background: rgba(5, 14, 10, 0.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity 300ms ease, visibility 300ms ease, transform 300ms ease;
  }

  .mobile-panel nav {
    display: grid;
    gap: 1.2rem;
    text-align: center;
  }

  .mobile-panel a {
    font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
    font-size: clamp(1.7rem, 5vw, 2.6rem);
    font-weight: 600;
    letter-spacing: -0.035em;
  }

  .menu-open .mobile-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-open .menu-button span:first-child {
    width: 100%;
    background: var(--white);
    transform: translateY(0.18rem) rotate(45deg);
  }

  .menu-open .menu-button span:last-child {
    width: 100%;
    background: var(--white);
    transform: translateY(-0.18rem) rotate(-45deg);
  }

  .menu-open .menu-button {
    border-color: var(--sand);
    background: rgba(216, 189, 125, 0.14);
    box-shadow: 0 0 0 4px rgba(216, 189, 125, 0.07), 0 0 28px rgba(201, 149, 62, 0.24);
    animation-play-state: paused;
  }

  .menu-open .mobile-panel a {
    opacity: 0;
    animation: menu-link-in 520ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .menu-open .mobile-panel a:nth-child(2) {
    animation-delay: 70ms;
  }

  .menu-open .mobile-panel a:nth-child(3) {
    animation-delay: 140ms;
  }

  .menu-open .mobile-panel a:nth-child(4) {
    animation-delay: 210ms;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .hero-content {
    padding-top: 5rem;
  }

  .eyebrow {
    margin-bottom: 0.65rem;
  }

  .hero-title {
    font-size: clamp(2.35rem, 4.35vw, 4rem);
    line-height: 1;
  }

  .hero-description {
    max-width: 36rem;
    margin-top: 0.85rem;
    font-size: 0.78rem;
    line-height: 1.72;
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .discipline-strip {
    margin-top: 1rem;
  }
}

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

  .header-cta {
    display: none;
  }

  .brand-copy b {
    font-size: 1.1rem;
  }

  .hero {
    align-items: end;
  }

  .hero-image img {
    object-position: 28% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 12, 9, 0.03) 0%, rgba(4, 12, 9, 0.04) 36%, rgba(4, 12, 9, 0.24) 74%, rgba(4, 12, 9, 0.48) 100%),
      linear-gradient(90deg, rgba(4, 12, 9, 0.02), rgba(4, 12, 9, 0.08));
  }

  .hero-content {
    width: auto;
    margin: 0;
    padding: 7.5rem 1.15rem 4.8rem;
  }

  .eyebrow {
    margin-bottom: 0.85rem;
    font-size: 0.6rem;
  }

  .eyebrow-line {
    width: 1.8rem;
  }

  .hero-title {
    font-size: clamp(1.95rem, 9.2vw, 3rem);
    line-height: 1;
  }

  .title-row-accent {
    margin-top: 0.16em;
    margin-right: clamp(1.15rem, 7vw, 2.2rem);
    font-size: 0.84em;
  }

  .title-row-last {
    margin-top: 0.21em;
    margin-right: clamp(3.2rem, 17vw, 5.8rem);
    font-size: 0.61em;
  }

  .accent-stroke {
    display: none;
  }

  .hero-description {
    max-width: 31rem;
    margin-top: 1.15rem;
    font-size: 0.76rem;
    line-height: 1.85;
  }

  .hero-actions {
    gap: 0.8rem;
    margin-top: 1.35rem;
  }

  .primary-action {
    min-width: 10.8rem;
    padding: 0.9rem 1rem;
    font-size: 0.74rem;
  }

  .text-action {
    font-size: 0.7rem;
  }

  .play-dot {
    width: 2.05rem;
    height: 2.05rem;
  }

  .discipline-strip {
    margin-top: 1.35rem;
    font-size: clamp(0.71rem, 2.75vw, 0.82rem);
  }

  .scroll-cue {
    display: none;
  }

  .section-index {
    left: 1rem;
    bottom: 1rem;
  }

  .speed-line {
    width: 72vw;
  }
}

@media (max-width: 460px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 17rem);
  }

  .primary-action {
    width: 100%;
  }

  .text-action {
    padding-right: 0.1rem;
  }

  .discipline-strip {
    gap: 0.62rem;
  }
}

@media (max-width: 900px) {
  .about-section {
    padding-right: clamp(1.2rem, 5vw, 3.4rem);
    padding-left: clamp(1.2rem, 5vw, 3.4rem);
  }

  .about-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 3.6rem;
  }

  .about-title {
    font-size: clamp(4.15rem, 11.7vw, 6.8rem);
  }

  .about-copy {
    max-width: 43rem;
  }

  .about-features {
    margin-top: 4.5rem;
  }

  .about-card {
    padding: 0;
  }

  .about-card-content {
    padding-right: 1.35rem;
    padding-left: 1.35rem;
  }

  .services-section {
    padding-right: clamp(1.2rem, 5vw, 3.4rem);
    padding-left: clamp(1.2rem, 5vw, 3.4rem);
  }

  .services-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2.8rem;
  }

  .services-title {
    font-size: clamp(2.4rem, 7.5vw, 4rem);
  }

  .services-intro {
    max-width: 42rem;
  }

  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4.3rem;
  }

  .service-card-main,
  .service-card-small {
    grid-column: span 1;
  }

  .service-card-main,
  .service-card-small {
    min-height: 27rem;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(4) {
    margin-top: 0;
  }

  .service-card:nth-child(3),
  .service-card:nth-child(5) {
    transform: translateY(1rem);
  }

  .motion-ready .service-card:nth-child(3),
  .motion-ready .service-card:nth-child(5) {
    transform: translateY(3.4rem);
  }

  .motion-ready .service-card:nth-child(3).is-visible,
  .motion-ready .service-card:nth-child(5).is-visible {
    transform: translateY(1rem);
  }

  .motion-ready .service-card:nth-child(3).is-visible:hover,
  .motion-ready .service-card:nth-child(5).is-visible:hover {
    transform: translateY(0.45rem);
  }
}

@media (max-width: 720px) {
  .about-section {
    min-height: auto;
    align-items: flex-start;
    padding: 5.8rem 1.15rem 7rem;
  }

  .about-section::after {
    left: -18rem;
  }

  .about-orbit-large {
    top: -11rem;
    left: -18rem;
    width: 31rem;
    height: 31rem;
  }

  .about-orbit-small {
    right: -12rem;
    bottom: 10rem;
    width: 23rem;
    height: 23rem;
  }

  .about-intro {
    gap: 2.35rem;
  }

  .about-kicker {
    margin-bottom: 1rem;
    font-size: 0.62rem;
  }

  .about-title {
    font-size: clamp(3.45rem, 17.2vw, 5.15rem);
    line-height: 0.86;
  }

  .about-title strong {
    margin-right: clamp(1.8rem, 12vw, 4rem);
  }

  .about-tagline {
    margin-top: 1.25rem;
    font-size: 0.75rem;
  }

  .about-copy {
    padding-right: 1.2rem;
  }

  .about-copy .about-lead {
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .about-copy p {
    font-size: 0.76rem;
    line-height: 1.95;
  }

  .about-copy-mark {
    top: -2rem;
    font-size: 8rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 3rem;
  }

  .about-card,
  .about-card-raised {
    --card-lift: 0rem;
    min-height: 22.75rem;
    padding: 0;
  }

  .about-card-image {
    height: clamp(10.75rem, 48vw, 13rem);
  }

  .about-card-content {
    padding: 1.15rem 1.35rem 3.1rem;
  }

  .about-card-top {
    margin-bottom: 1.25rem;
  }

  .about-card p {
    max-width: 20rem;
  }

  .about-motion-track {
    bottom: 1.35rem;
  }

  .about-index {
    right: auto;
    left: 1rem;
    bottom: 3.8rem;
  }

  .services-section {
    min-height: auto;
    padding: 5.8rem 1.15rem 7.2rem;
  }

  .services-sweep-one {
    left: -29rem;
  }

  .services-sweep-two {
    right: -27rem;
  }

  .services-kicker {
    margin-bottom: 1rem;
    font-size: 0.62rem;
  }

  .services-title {
    font-size: clamp(2.1rem, 9.2vw, 3rem);
    line-height: 1.02;
  }

  .services-title strong {
    margin-right: clamp(1rem, 7vw, 2.4rem);
  }

  .services-intro {
    padding-right: 1.2rem;
  }

  .services-intro p {
    font-size: 0.77rem;
    line-height: 1.95;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    margin-top: 3rem;
  }

  .service-card-main,
  .service-card-small {
    grid-column: 1;
    min-height: clamp(22.5rem, 104vw, 25rem);
  }

  .service-card:nth-child(3),
  .service-card:nth-child(5),
  .motion-ready .service-card:nth-child(3),
  .motion-ready .service-card:nth-child(5),
  .motion-ready .service-card:nth-child(3).is-visible,
  .motion-ready .service-card:nth-child(5).is-visible {
    transform: translateY(0);
  }

  .motion-ready .service-card:nth-child(3).is-visible:hover,
  .motion-ready .service-card:nth-child(5).is-visible:hover {
    transform: translateY(-0.55rem);
  }

  .service-card-content {
    padding: 1.25rem;
  }

  .service-card h3,
  .service-card-small h3 {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }

  .service-tags {
    gap: 0.34rem;
    margin-top: 0.85rem;
  }

  .service-tags span {
    padding: 0.36rem 0.54rem;
    font-size: 0.56rem;
  }

  .services-marquee {
    bottom: 1.35rem;
  }

  .services-index {
    right: auto;
    left: 1rem;
    bottom: 3.8rem;
  }
}

@media (max-width: 460px) {
  .about-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .about-title {
    font-size: clamp(3.05rem, 16.2vw, 4.05rem);
  }

  .about-title strong {
    margin-right: 2.1rem;
  }

  .services-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .services-title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}

/* Lightweight motion pass: keep entrance and hover feedback, remove constant repainting. */
html {
  scroll-behavior: auto;
}

.page-noise,
.cursor-glow,
.speed-field {
  display: none;
}

.site-header {
  min-height: 7rem;
  backdrop-filter: none;
  background: linear-gradient(180deg, rgba(5, 13, 10, 0.92), rgba(5, 13, 10, 0.34));
}

.brand {
  min-width: max-content;
  gap: 0.95rem;
}

.brand-copy {
  row-gap: 0.42rem;
  line-height: 1.22;
}

.brand-copy b,
.brand-copy small {
  margin: 0;
  white-space: nowrap;
}

.hero-content {
  padding-top: clamp(8.8rem, 17vh, 10.5rem);
}

.eyebrow {
  margin-bottom: 1.55rem;
}

.title-row {
  line-height: 1.18;
}

.title-row-accent {
  margin-top: 0.2em;
}

.title-row-last {
  margin-top: 0.28em;
}

.header-cta,
.header-cta::before,
.menu-button,
.hero-image img,
.motion-ready.is-loaded .title-word,
.discipline-strip::after,
.discipline-strip span,
.discipline-strip i,
.heritage-orbit,
.scroll-cue b,
.about-orbit,
.about-kicker i::after,
.about-title strong,
.about-card::before,
.about-card-image img,
.about-card > b,
.about-motion-track div,
.services-sweep,
.services-kicker i::after,
.services-title strong,
.service-media img,
.service-card::before,
.services-marquee div {
  animation: none;
}

.title-word,
.discipline-strip span,
.speed-line {
  will-change: auto;
}

.hero-image img {
  transform: scale(1.01);
}

.hero {
  contain: layout paint style;
}

.about-section,
.services-section {
  contain: layout paint style;
}

.motion-ready .reveal {
  transform: translateY(14px);
}

.motion-ready.is-loaded .reveal {
  animation-duration: 520ms;
  animation-delay: min(var(--delay, 0ms), 280ms);
}

.motion-ready .about-reveal,
.motion-ready .service-reveal {
  transition-duration: 480ms, 560ms;
  transition-delay: min(var(--section-delay, var(--service-delay, 0ms)), 240ms);
}

.about-card,
.service-card,
.about-card-image img,
.service-media img {
  transition-duration: 280ms;
}

@media (max-height: 760px) and (min-width: 721px) {
  .hero-content {
    padding-top: 8rem;
  }

  .eyebrow {
    margin-bottom: 0.9rem;
  }

  .title-row-accent {
    margin-top: 0.16em;
  }

  .title-row-last {
    margin-top: 0.2em;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 5.5rem;
  }

  .hero-content {
    padding-top: 7.4rem;
  }

  .brand-copy {
    row-gap: 0.3rem;
  }

  .eyebrow {
    margin-bottom: 1rem;
  }
}

/* Keep every image card aligned with the cards beside it. */
.about-card-raised {
  --card-lift: 0rem;
}

.services-list > .service-card:nth-child(2),
.services-list > .service-card:nth-child(4) {
  margin-top: 0;
}

@media (min-width: 721px) and (max-width: 1050px) {
  .services-list > .service-card:nth-child(3),
  .services-list > .service-card:nth-child(5) {
    transform: translateY(0);
  }

  .motion-ready .services-list > .service-card:nth-child(3),
  .motion-ready .services-list > .service-card:nth-child(5) {
    transform: translateY(2.4rem);
  }

  .motion-ready .services-list > .service-card:nth-child(3).is-visible,
  .motion-ready .services-list > .service-card:nth-child(5).is-visible {
    transform: translateY(0);
  }

  .motion-ready .services-list > .service-card:nth-child(3).is-visible:hover,
  .motion-ready .services-list > .service-card:nth-child(5).is-visible:hover {
    transform: translateY(-0.55rem);
  }
}

/* Balanced motion: compositor-only layers, paused whenever their section is off-screen. */
html {
  scroll-behavior: smooth;
}

.cursor-glow {
  display: block;
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0;
  right: auto;
  width: 32rem;
  height: 32rem;
  margin: -16rem 0 0 -16rem;
  opacity: 0;
  background: radial-gradient(circle, rgba(244, 218, 153, 0.28) 0%, rgba(201, 149, 62, 0.14) 24%, rgba(47, 118, 90, 0.07) 46%, transparent 70%);
  transform: translate3d(72vw, 36vh, 0);
  transition: opacity 240ms ease;
  will-change: auto;
}

.hero.pointer-active .cursor-glow {
  opacity: 0.9;
  will-change: transform, opacity;
}

.speed-field {
  display: block;
  contain: strict;
  transition: none;
  will-change: auto;
}

.hero.pointer-active .speed-field {
  will-change: transform;
}

.speed-field::before,
.speed-field::after {
  content: "";
  position: absolute;
  width: 58vw;
  height: 28vw;
  min-width: 35rem;
  min-height: 17rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.28;
  background:
    radial-gradient(ellipse at 28% 48%, rgba(216, 189, 125, 0.16), transparent 29%),
    radial-gradient(ellipse at 56% 54%, rgba(47, 118, 90, 0.2), transparent 39%),
    radial-gradient(ellipse at 78% 44%, rgba(243, 236, 217, 0.06), transparent 27%);
  will-change: auto;
}

.speed-field::before {
  top: 24%;
  left: -18vw;
  animation: smoke-drift-one 16s ease-in-out infinite alternate;
}

.speed-field::after {
  right: -22vw;
  bottom: 3%;
  opacity: 0.2;
  animation: smoke-drift-two 20s ease-in-out infinite alternate;
}

.speed-line {
  display: none;
}

.speed-line.line-one,
.speed-line.line-three {
  display: block;
  opacity: 0;
  animation: speed-sweep-light 13s ease-in-out infinite;
  will-change: auto;
}

.hero.is-in-view .speed-field::before,
.hero.is-in-view .speed-field::after,
.hero.is-in-view .speed-line.line-one,
.hero.is-in-view .speed-line.line-three {
  will-change: transform, opacity;
}

.speed-line.line-three {
  animation-delay: -6.5s;
}

.hero.is-in-view .hero-image img {
  animation: hero-breathe-lite 17s ease-in-out infinite alternate;
  will-change: transform;
}

.hero.is-in-view .title-word {
  animation: hero-word-flow 7.5s ease-in-out infinite;
  will-change: transform;
}

.hero.is-in-view .title-row-accent .title-word {
  animation-delay: -2.5s;
}

.hero.is-in-view .title-row-last .title-word {
  animation-delay: -5s;
}

.hero.is-in-view .eyebrow-line {
  animation: eyebrow-flow 4.8s ease-in-out infinite;
  transform-origin: right center;
}

.orbit-two,
.about-orbit-small,
.services-sweep-two {
  display: none;
}

.hero.is-in-view .orbit-one {
  animation: orbit-turn 46s linear infinite;
}

.hero.is-in-view .scroll-cue b {
  animation: scroll-dot 2.4s ease-in-out infinite;
}

.about-section.is-in-view .about-orbit-large {
  animation: about-orbit-turn 48s linear infinite;
}

.about-section.is-in-view .about-motion-track div {
  animation: about-track-move 34s linear infinite;
}

.services-section.is-in-view .services-sweep-one {
  animation: services-sweep-flow 15s ease-in-out infinite;
}

.services-section.is-in-view .services-marquee div {
  animation: about-track-move 34s linear infinite reverse;
}

.about-section.is-in-view .about-title strong,
.services-section.is-in-view .services-title strong {
  animation: section-title-drift 8s ease-in-out infinite;
}

.hero:not(.is-in-view) .speed-field::before,
.hero:not(.is-in-view) .speed-field::after,
.hero:not(.is-in-view) .speed-line,
.hero:not(.is-in-view) .heritage-orbit,
.hero:not(.is-in-view) .scroll-cue b,
.hero:not(.is-in-view) .hero-image img,
.hero:not(.is-in-view) .title-word,
.hero:not(.is-in-view) .eyebrow-line,
.page-hidden .speed-field::before,
.page-hidden .speed-field::after,
.page-hidden .speed-line,
.page-hidden .heritage-orbit,
.page-hidden .scroll-cue b,
.page-hidden .hero-image img,
.page-hidden .title-word,
.page-hidden .eyebrow-line,
.page-hidden .about-orbit,
.page-hidden .about-motion-track div,
.page-hidden .services-sweep,
.page-hidden .services-marquee div,
.page-hidden .about-title strong,
.page-hidden .services-title strong {
  animation-play-state: paused;
}

@keyframes smoke-drift-one {
  from {
    opacity: 0.18;
    transform: translate3d(-3%, 1%, 0) scale(0.94);
  }
  to {
    opacity: 0.34;
    transform: translate3d(8%, -5%, 0) scale(1.08);
  }
}

@keyframes smoke-drift-two {
  from {
    opacity: 0.12;
    transform: translate3d(5%, 4%, 0) scale(0.96);
  }
  to {
    opacity: 0.25;
    transform: translate3d(-8%, -4%, 0) scale(1.06);
  }
}

@keyframes speed-sweep-light {
  0%, 100% {
    opacity: 0;
    transform: translate3d(-5vw, 1vw, 0) rotate(var(--tilt, 0deg)) scaleX(0.88);
  }
  35%, 65% {
    opacity: 0.38;
  }
  82% {
    opacity: 0;
    transform: translate3d(8vw, -0.7vw, 0) rotate(var(--tilt, 0deg)) scaleX(1.05);
  }
}

@keyframes section-title-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-0.025em, -0.018em, 0); }
}

@keyframes hero-breathe-lite {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.022) translate3d(-0.15%, -0.1%, 0); }
}

@keyframes hero-word-flow {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-0.035em, -0.022em, 0); }
}

@keyframes eyebrow-flow {
  0%, 100% { opacity: 0.52; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 720px), (hover: none), (pointer: coarse) {
  .cursor-glow {
    display: none;
  }

  .speed-field {
    transform: none !important;
    transition: none;
  }

  .speed-field::after,
  .speed-line.line-three {
    display: none;
  }
}

/* Responsive portrait artwork keeps the hero as one seamless scene. */
@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: clamp(0.7rem, 1.7vw, 1.35rem);
    padding-right: clamp(1.2rem, 3vw, 2.4rem);
    padding-left: clamp(1.2rem, 3vw, 2.4rem);
  }

  .desktop-nav {
    display: flex;
    justify-self: center;
    gap: clamp(0.9rem, 2vw, 1.65rem);
  }

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

  .hero {
    align-items: center;
  }

  .hero-image {
    inset: 0;
    height: auto;
    background: var(--ink);
  }

  .hero-image img,
  .hero.is-in-view .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    animation: hero-breathe-lite 17s ease-in-out infinite alternate;
    transform: scale(1.01);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 12, 9, 0.08), rgba(4, 12, 9, 0.18) 38%, rgba(4, 12, 9, 0.52) 100%),
      linear-gradient(180deg, rgba(4, 12, 9, 0.08), transparent 38%, rgba(4, 12, 9, 0.44) 100%);
  }

  .hero-content {
    width: min(44rem, 66vw);
    margin-right: clamp(1.4rem, 6vw, 4.8rem);
    padding-top: 5.8rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 5.25rem;
    gap: 0.45rem 0.7rem;
    padding: 0.85rem 0.7rem;
    border-bottom-color: rgba(216, 189, 125, 0.18);
    background: linear-gradient(180deg, rgba(5, 13, 10, 0.96), rgba(5, 13, 10, 0.74));
    backdrop-filter: blur(8px);
  }

  .brand {
    gap: 0.42rem;
  }

  .brand-mark {
    width: 2.1rem;
    height: 2.1rem;
  }

  .brand-mark i {
    width: 1.65rem;
    height: 0.5rem;
  }

  .brand-copy b {
    font-size: 0.98rem;
  }

  .brand-copy small {
    margin-top: 0.28rem;
    font-size: 0.36rem;
    letter-spacing: 0.16em;
  }

  .header-cta {
    display: inline-flex;
    min-width: auto;
    gap: 0.34rem;
    padding: 0.62rem 0.68rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .header-cta .arrow {
    font-size: 0.72rem;
  }

  .menu-button {
    width: 2.55rem;
    height: 2.55rem;
    padding: 0.68rem;
  }

  .desktop-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0.3rem 0.6rem 0;
    border-top: 1px solid rgba(216, 189, 125, 0.13);
  }

  .desktop-nav a {
    justify-self: center;
    padding: 0.45rem 0.05rem;
    font-size: 0.68rem;
  }

  .desktop-nav a::after {
    bottom: 0.18rem;
  }

  .hero {
    align-items: end;
  }

  .hero-image {
    inset: 0;
    height: auto;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 12, 9, 0.1), rgba(4, 12, 9, 0.42) 100%),
      linear-gradient(180deg, rgba(4, 12, 9, 0.06) 0%, rgba(4, 12, 9, 0.08) 34%, rgba(4, 12, 9, 0.72) 82%, rgba(4, 12, 9, 0.86) 100%);
  }

  .hero-content {
    width: auto;
    margin: 0;
    padding: 7.5rem 1.15rem 4.8rem;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 0.35rem;
    padding-right: 0.55rem;
    padding-left: 0.55rem;
  }

  .brand-mark {
    width: 1.95rem;
    height: 1.95rem;
  }

  .brand-copy b {
    font-size: 0.92rem;
  }

  .header-cta {
    padding: 0.58rem 0.6rem;
    font-size: 0.64rem;
  }

  .menu-button {
    width: 2.42rem;
    height: 2.42rem;
    padding: 0.64rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .cursor-glow,
  .speed-field {
    display: none;
  }
}

/* Page transition from the home page to programs and training. */
.programs-gateway {
  position: relative;
  display: grid;
  min-height: clamp(32rem, 60vw, 43rem);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(216, 189, 125, 0.2);
  background: #08150f;
}

.programs-gateway-image,
.programs-gateway-shade {
  position: absolute;
  inset: 0;
}

.programs-gateway-image {
  z-index: -2;
}

.programs-gateway-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.programs-gateway-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 14, 10, 0.96) 2%, rgba(5, 14, 10, 0.75) 48%, rgba(5, 14, 10, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 14, 10, 0.2), rgba(5, 14, 10, 0.84));
}

.programs-gateway::before,
.programs-gateway::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.programs-gateway::before {
  inset: 9% 4%;
  border: 1px solid rgba(216, 189, 125, 0.2);
}

.programs-gateway::after {
  right: 10%;
  bottom: 17%;
  width: clamp(8rem, 16vw, 16rem);
  height: 1px;
  background: linear-gradient(90deg, var(--sand), transparent);
}

.programs-gateway-content {
  position: relative;
  z-index: 1;
  width: min(88rem, calc(100% - 2.4rem));
  padding: clamp(4rem, 8vw, 7rem);
}

.programs-gateway-content > span,
.programs-final-content > div > span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--sand);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.programs-gateway-content > span i {
  display: block;
  width: 3.2rem;
  height: 1px;
  background: var(--sand);
}

.programs-gateway-content h2 {
  display: grid;
  max-width: 54rem;
  margin: 1.1rem 0 1.35rem;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.programs-gateway-content h2 strong {
  margin-right: clamp(2.5rem, 8vw, 8rem);
  color: var(--sand);
  font-weight: 700;
}

.programs-gateway-content p {
  max-width: 38rem;
  margin: 0 0 2rem;
  color: rgba(243, 236, 217, 0.72);
  font-size: clamp(0.88rem, 1.25vw, 1.05rem);
  line-height: 2;
}

.programs-gateway-content .primary-action {
  width: fit-content;
}

.programs-gateway:hover .programs-gateway-image img {
  transform: scale(1.045);
}

/* Programs page. */
.programs-page {
  background: var(--ink);
}

.programs-page section {
  contain: layout paint style;
}

.programs-shell {
  position: relative;
  z-index: 2;
  width: min(88rem, calc(100% - clamp(2rem, 8vw, 8rem)));
  margin-inline: auto;
}

.programs-hero {
  min-height: 100svh;
  background: #07110e;
}

.programs-hero::after {
  content: "";
  position: absolute;
  inset: 14% 4% 11%;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgba(216, 189, 125, 0.13);
  border-right-color: transparent;
}

.programs-hero-image img,
.programs-hero.is-in-view .programs-hero-image img {
  object-position: center 38%;
  filter: saturate(0.86) contrast(1.04);
}

.programs-hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 12, 9, 0.32), rgba(4, 12, 9, 0.68) 52%, rgba(4, 12, 9, 0.96) 100%),
    linear-gradient(180deg, rgba(4, 12, 9, 0.2), transparent 38%, rgba(4, 12, 9, 0.72) 100%);
}

.programs-hero-content {
  width: min(47rem, 52vw);
  margin-right: clamp(2rem, 7.5vw, 9rem);
  padding-top: clamp(8.8rem, 17vh, 11rem);
}

.programs-hero-title {
  display: grid;
  margin: 0;
  font-size: clamp(3.6rem, 7.6vw, 8rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.programs-hero-title span,
.programs-hero-title strong {
  display: block;
}

.programs-hero-title strong {
  margin-top: 0.12em;
  margin-right: clamp(2rem, 7vw, 7rem);
  color: var(--sand);
  font-weight: 700;
}

.programs-hero-description {
  max-width: 41rem;
  margin: 1.55rem 0 1.8rem;
  color: rgba(243, 236, 217, 0.74);
  font-size: clamp(0.85rem, 1.05vw, 1.02rem);
  line-height: 2.05;
}

.programs-hero-facts {
  position: absolute;
  left: clamp(2rem, 5vw, 6rem);
  bottom: clamp(5rem, 9vh, 7rem);
  z-index: 6;
  display: flex;
  border-top: 1px solid rgba(216, 189, 125, 0.3);
  border-bottom: 1px solid rgba(216, 189, 125, 0.16);
}

.programs-hero-facts > span {
  display: grid;
  min-width: clamp(7rem, 9vw, 9rem);
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-left: 1px solid rgba(216, 189, 125, 0.16);
}

.programs-hero-facts b {
  color: var(--sand);
  font-size: 1.1rem;
  font-weight: 700;
  direction: ltr;
}

.programs-hero-facts small {
  color: rgba(243, 236, 217, 0.6);
  font-size: 0.58rem;
}

.programs-intro-section,
.programs-catalog,
.training-system {
  position: relative;
  overflow: hidden;
}

.programs-intro-section {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background:
    radial-gradient(circle at 13% 20%, rgba(47, 118, 90, 0.14), transparent 30%),
    linear-gradient(135deg, #0a1712, #07110e 60%);
}

.programs-section-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(216, 189, 125, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 125, 0.07) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent);
}

.programs-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}

.programs-heading h2 {
  display: grid;
  margin: 1.25rem 0 0;
  font-size: clamp(2.7rem, 5.8vw, 6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.programs-heading h2 strong {
  margin-top: 0.18em;
  margin-right: clamp(2rem, 5vw, 5rem);
  color: var(--sand);
  font-weight: 700;
}

.programs-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--sand);
  font-size: 0.68rem;
}

.programs-kicker span {
  font-weight: 800;
  direction: ltr;
}

.programs-kicker i {
  display: block;
  width: clamp(2.6rem, 5vw, 5.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand));
}

.programs-kicker b {
  color: rgba(243, 236, 217, 0.7);
  font-weight: 500;
}

.programs-intro-copy > p,
.programs-catalog-copy,
.training-system-header > p {
  margin: 0;
  color: rgba(243, 236, 217, 0.68);
  font-size: clamp(0.88rem, 1.15vw, 1.04rem);
  line-height: 2.05;
}

.programs-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.2rem;
  border-top: 1px solid rgba(216, 189, 125, 0.22);
  border-bottom: 1px solid rgba(216, 189, 125, 0.14);
}

.programs-principles span {
  display: grid;
  min-height: 6.8rem;
  align-content: center;
  gap: 0.45rem;
  padding: 1rem;
  border-left: 1px solid rgba(216, 189, 125, 0.14);
}

.programs-principles span:last-child {
  border-left: 0;
}

.programs-principles b {
  color: var(--white);
  font-size: 1rem;
}

.programs-principles small {
  color: rgba(243, 236, 217, 0.5);
  font-size: 0.6rem;
  line-height: 1.65;
}

.programs-catalog {
  padding: clamp(6.5rem, 10vw, 10rem) 0;
  background:
    linear-gradient(115deg, rgba(16, 59, 45, 0.2), transparent 38%),
    #08130f;
}

.programs-catalog::before {
  content: "";
  position: absolute;
  top: 8rem;
  right: -14rem;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(216, 189, 125, 0.11);
  border-radius: 50%;
}

.programs-catalog-header,
.training-system-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

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

.program-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
  min-height: 31rem;
  overflow: hidden;
  border: 1px solid rgba(216, 189, 125, 0.16);
  background: linear-gradient(135deg, rgba(18, 42, 32, 0.92), rgba(8, 20, 15, 0.98));
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(216, 189, 125, 0.07), transparent 35%);
  opacity: 0;
  transition: opacity 320ms ease;
}

.program-card-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.program-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 14, 0.06), rgba(7, 17, 14, 0.66));
}

.program-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.04);
  transform: scale(1.01);
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 420ms ease;
}

.program-card-media > span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(243, 236, 217, 0.28);
  color: var(--cream);
  background: rgba(7, 17, 14, 0.62);
  font-size: 0.58rem;
  backdrop-filter: blur(6px);
}

.program-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.35rem);
}

.program-card-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--sand);
  font-size: 0.62rem;
}

.program-card-top i {
  width: 2.4rem;
  height: 1px;
  background: rgba(216, 189, 125, 0.5);
}

.program-card-top small {
  color: rgba(243, 236, 217, 0.5);
}

.program-card h3 {
  margin: 1.05rem 0 0.7rem;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.program-card-body > p {
  margin: 0;
  color: rgba(243, 236, 217, 0.62);
  font-size: 0.74rem;
  line-height: 1.9;
}

.program-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.4rem 0 1rem;
  border-top: 1px solid rgba(216, 189, 125, 0.16);
  border-bottom: 1px solid rgba(216, 189, 125, 0.12);
}

.program-meta > span {
  display: grid;
  min-height: 4rem;
  align-content: center;
  gap: 0.28rem;
  padding: 0.55rem;
  border-left: 1px solid rgba(216, 189, 125, 0.12);
}

.program-meta > span:last-child {
  border-left: 0;
}

.program-meta small {
  color: rgba(243, 236, 217, 0.42);
  font-size: 0.5rem;
}

.program-meta b {
  color: var(--cream);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.45;
}

.program-card ul {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.program-card li {
  position: relative;
  padding-right: 1rem;
  color: rgba(243, 236, 217, 0.65);
  font-size: 0.62rem;
}

.program-card li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  right: 0;
  width: 0.34rem;
  height: 0.34rem;
  border: 1px solid var(--sand);
  transform: rotate(45deg);
}

.program-card-body > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(216, 189, 125, 0.13);
  color: var(--sand);
  font-size: 0.65rem;
  font-weight: 650;
}

.program-card-body > a i {
  font-size: 1rem;
  font-style: normal;
  transition: transform 220ms ease;
}

@media (hover: hover) {
  .program-card:hover {
    z-index: 3;
    border-color: rgba(216, 189, 125, 0.42);
    box-shadow: 0 1.4rem 3.5rem rgba(0, 0, 0, 0.24);
    transform: translateY(-0.45rem);
  }

  .program-card:hover::after {
    opacity: 1;
  }

  .program-card:hover .program-card-media img {
    filter: saturate(0.96) contrast(1.04);
    transform: scale(1.055);
  }

  .program-card-body > a:hover i {
    transform: translateX(-0.3rem);
  }
}

.training-system {
  padding: clamp(6.5rem, 10vw, 10rem) 0;
  background:
    radial-gradient(circle at 83% 15%, rgba(201, 149, 62, 0.1), transparent 28%),
    #07110e;
}

.training-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(216, 189, 125, 0.25);
  border-bottom: 1px solid rgba(216, 189, 125, 0.15);
}

.training-step {
  position: relative;
  display: grid;
  min-height: 18rem;
  align-content: space-between;
  gap: 2rem;
  padding: 1.5rem;
  border-left: 1px solid rgba(216, 189, 125, 0.14);
  transition: background 260ms ease, transform 260ms ease;
}

.training-step:last-child {
  border-left: 0;
}

.training-step > span {
  color: var(--sand);
  font-size: 0.7rem;
  font-weight: 700;
}

.training-step h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-weight: 650;
}

.training-step p {
  margin: 0;
  color: rgba(243, 236, 217, 0.55);
  font-size: 0.68rem;
  line-height: 1.85;
}

.training-step > i {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  color: rgba(216, 189, 125, 0.4);
  font-size: 1.2rem;
  font-style: normal;
}

@media (hover: hover) {
  .training-step:hover {
    background: rgba(16, 59, 45, 0.36);
    transform: translateY(-0.35rem);
  }
}

.programs-final-cta {
  position: relative;
  display: grid;
  min-height: clamp(30rem, 50vw, 42rem);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid rgba(216, 189, 125, 0.2);
}

.programs-final-image,
.programs-final-shade {
  position: absolute;
  inset: 0;
}

.programs-final-image {
  z-index: -2;
}

.programs-final-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
}

.programs-final-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 13, 10, 0.95), rgba(5, 13, 10, 0.78) 52%, rgba(5, 13, 10, 0.34)),
    linear-gradient(180deg, rgba(5, 13, 10, 0.2), rgba(5, 13, 10, 0.72));
}

.programs-final-content {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.programs-final-content h2 {
  display: grid;
  margin: 1rem 0;
  font-size: clamp(2.7rem, 5.6vw, 6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.programs-final-content h2 strong {
  margin-top: 0.18em;
  margin-right: clamp(2rem, 5vw, 5rem);
  color: var(--sand);
  font-weight: 700;
}

.programs-final-content p {
  margin: 0;
  color: rgba(243, 236, 217, 0.65);
  font-size: 0.85rem;
}

.programs-final-content .primary-action {
  flex: 0 0 auto;
}

.motion-ready .program-reveal {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
  transition: opacity 520ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: min(var(--program-delay, 0ms), 260ms);
}

.motion-ready .program-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1180px) {
  .program-card {
    grid-template-columns: 1fr;
  }

  .program-card-media {
    min-height: 16rem;
  }

  .program-card-media::after {
    background: linear-gradient(180deg, rgba(7, 17, 14, 0.05), rgba(7, 17, 14, 0.65));
  }
}

@media (max-width: 1050px) {
  .programs-hero-content {
    width: min(46rem, 68vw);
    margin-right: clamp(1.5rem, 5vw, 4rem);
  }

  .programs-hero-facts {
    left: 1.5rem;
    bottom: 5rem;
  }

  .programs-hero-facts > span {
    min-width: 6.5rem;
  }

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

  .training-step:nth-child(2) {
    border-left: 0;
  }

  .training-step:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(216, 189, 125, 0.14);
  }
}

@media (max-width: 800px) {
  .programs-intro-layout,
  .programs-catalog-header,
  .training-system-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2.2rem;
  }

  .programs-catalog-copy,
  .training-system-header > p {
    max-width: 38rem;
  }

  .programs-final-content {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .programs-gateway {
    min-height: 34rem;
  }

  .programs-gateway::before {
    inset: 1rem;
  }

  .programs-gateway-image img {
    object-position: 38% center;
  }

  .programs-gateway-shade {
    background:
      linear-gradient(90deg, rgba(5, 14, 10, 0.9), rgba(5, 14, 10, 0.58)),
      linear-gradient(180deg, rgba(5, 14, 10, 0.2), rgba(5, 14, 10, 0.9));
  }

  .programs-gateway-content {
    width: 100%;
    padding: 4rem 2rem;
  }

  .programs-gateway-content h2 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .programs-gateway-content h2 strong {
    margin-right: 1.8rem;
  }

  .programs-shell {
    width: calc(100% - 2rem);
  }

  .programs-hero {
    min-height: 52rem;
    align-items: end;
  }

  .programs-hero::after {
    inset: 8.8rem 0.8rem 1rem;
  }

  .programs-hero-image img,
  .programs-hero.is-in-view .programs-hero-image img {
    object-position: 42% center;
  }

  .programs-hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 12, 9, 0.16), rgba(4, 12, 9, 0.52)),
      linear-gradient(180deg, rgba(4, 12, 9, 0.08) 5%, rgba(4, 12, 9, 0.18) 34%, rgba(4, 12, 9, 0.86) 75%, #07110e 100%);
  }

  .programs-hero-content {
    width: auto;
    margin: 0;
    padding: 9.8rem 1.15rem 9.8rem;
  }

  .programs-hero-title {
    font-size: clamp(3.2rem, 16vw, 5.1rem);
  }

  .programs-hero-title strong {
    margin-right: 1.7rem;
  }

  .programs-hero-description {
    max-width: 31rem;
    font-size: 0.78rem;
    line-height: 1.9;
  }

  .programs-hero-facts {
    right: 1.15rem;
    left: 1.15rem;
    bottom: 4.35rem;
  }

  .programs-hero-facts > span {
    min-width: 0;
    flex: 1;
    padding: 0.72rem 0.55rem;
  }

  .programs-hero-facts b {
    font-size: 0.86rem;
  }

  .programs-hero-facts small {
    font-size: 0.48rem;
  }

  .programs-hero .scroll-cue {
    display: none;
  }

  .programs-heading h2 {
    font-size: clamp(2.5rem, 12.5vw, 4rem);
  }

  .programs-heading h2 strong {
    margin-right: 1.8rem;
  }

  .programs-principles {
    grid-template-columns: 1fr;
  }

  .programs-principles span {
    min-height: 5rem;
    border-bottom: 1px solid rgba(216, 189, 125, 0.12);
    border-left: 0;
  }

  .programs-principles span:last-child {
    border-bottom: 0;
  }

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

  .program-card {
    min-height: 0;
  }

  .program-card-media {
    min-height: 15rem;
  }

  .program-card-body {
    padding: 1.3rem;
  }

  .program-card h3 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

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

  .program-meta > span {
    min-height: 3.4rem;
    border-bottom: 1px solid rgba(216, 189, 125, 0.1);
    border-left: 0;
  }

  .program-meta > span:last-child {
    border-bottom: 0;
  }

  .training-steps {
    grid-template-columns: 1fr;
  }

  .training-step {
    min-height: 13rem;
    border-bottom: 1px solid rgba(216, 189, 125, 0.14);
    border-left: 0;
  }

  .training-step:last-child {
    border-bottom: 0;
  }

  .programs-final-cta {
    min-height: 36rem;
  }

  .programs-final-image img {
    object-position: 45% center;
  }

  .programs-final-content h2 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .programs-final-content h2 strong {
    margin-right: 1.8rem;
  }
}

@media (max-width: 390px) {
  .programs-hero-content {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .programs-hero-title {
    font-size: clamp(2.85rem, 15.5vw, 4rem);
  }

  .programs-hero-facts {
    right: 1rem;
    left: 1rem;
  }

  .programs-hero-facts > span {
    padding-right: 0.35rem;
    padding-left: 0.35rem;
  }

  .programs-gateway-content {
    padding-right: 1.35rem;
    padding-left: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .program-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Final type scale and section separation for the two-page experience. */
.programs-gateway-content h2 {
  max-width: 45rem;
  margin: 1.2rem 0 1.2rem;
  font-size: clamp(2.35rem, 4.35vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.programs-gateway-content h2 strong {
  margin-top: 0.08em;
  margin-right: clamp(1.6rem, 4vw, 3.8rem);
}

.programs-gateway-content p {
  margin-bottom: 1.7rem;
  line-height: 1.9;
}

.programs-hero-title {
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.programs-hero-title strong {
  margin-top: 0.08em;
  margin-right: clamp(1.6rem, 4vw, 4rem);
}

.programs-heading h2,
.programs-final-content h2 {
  font-size: clamp(2.35rem, 4.25vw, 4.45rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.programs-heading h2 strong,
.programs-final-content h2 strong {
  margin-top: 0.1em;
  margin-right: clamp(1.5rem, 3.6vw, 3.6rem);
}

.programs-divider {
  z-index: 16;
  background: radial-gradient(ellipse at center, rgba(244, 224, 175, 0.24), rgba(216, 189, 125, 0.07) 38%, transparent 72%);
}

.programs-divider::before {
  border-top-color: rgba(244, 224, 175, 0.72);
  box-shadow: 0 -9px 28px rgba(216, 189, 125, 0.18);
}

.programs-divider span {
  width: clamp(9rem, 24vw, 19rem);
}

/* Keep the complete header in one continuous row on phones. */
@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto minmax(7.5rem, 1fr) auto auto;
    grid-template-rows: 1fr;
    min-height: 4.7rem;
    gap: 0.45rem;
    padding: 0.72rem 0.65rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    gap: 0;
  }

  .brand-mark,
  .brand-copy small {
    display: none;
  }

  .brand-copy b {
    font-size: 0.9rem;
  }

  .desktop-nav {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.18rem;
    padding: 0;
    border-top: 0;
  }

  .desktop-nav a {
    align-self: center;
    justify-self: center;
    padding: 0.52rem 0.08rem;
    font-size: 0.55rem;
    white-space: nowrap;
  }

  .desktop-nav a::after {
    bottom: 0.25rem;
  }

  .header-cta {
    grid-column: 3;
    grid-row: 1;
    min-width: auto;
    padding: 0.56rem 0.58rem;
    font-size: 0.58rem;
  }

  .header-cta .arrow {
    display: none;
  }

  .menu-button {
    grid-column: 4;
    grid-row: 1;
    width: 2.3rem;
    height: 2.3rem;
    padding: 0.58rem;
  }

  .programs-gateway-content h2,
  .programs-hero-title,
  .programs-heading h2,
  .programs-final-content h2 {
    font-size: clamp(2.15rem, 9.8vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
  }

  .programs-gateway-content h2 strong,
  .programs-hero-title strong,
  .programs-heading h2 strong,
  .programs-final-content h2 strong {
    margin-top: 0.08em;
    margin-right: 1.15rem;
  }

  .programs-gateway-content p,
  .programs-hero-description {
    margin-top: 1rem;
    line-height: 1.85;
  }
}

@media (max-width: 380px) {
  .site-header {
    grid-template-columns: auto minmax(6.7rem, 1fr) auto auto;
    gap: 0.32rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .brand-copy b {
    font-size: 0.8rem;
  }

  .desktop-nav {
    gap: 0.08rem;
  }

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

  .header-cta {
    padding-right: 0.46rem;
    padding-left: 0.46rem;
    font-size: 0.52rem;
  }

  .menu-button {
    width: 2.18rem;
    height: 2.18rem;
    padding: 0.54rem;
  }
}

/* Compact handoff to page two: the CTA and footer share the closing viewport. */
.programs-gateway {
  min-height: clamp(22rem, 31vw, 27rem);
}

.programs-gateway::before {
  inset: 7% 4%;
}

.programs-gateway-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(2.4rem, 4.4vw, 4rem);
}

.programs-gateway-copy > span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--sand);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.programs-gateway-copy > span i {
  display: block;
  width: 2.7rem;
  height: 1px;
  background: var(--sand);
}

.programs-gateway-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 3.7vw, 3.75rem);
}

.programs-gateway-action {
  display: grid;
  gap: 1.25rem;
}

.programs-gateway-action p {
  max-width: 31rem;
  margin: 0;
  color: rgba(243, 236, 217, 0.72);
  font-size: 0.78rem;
  line-height: 1.85;
}

.programs-page-cta {
  position: relative;
  display: flex;
  width: min(100%, 24rem);
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  overflow: hidden;
  isolation: isolate;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255, 247, 224, 0.82);
  color: var(--ink);
  background: linear-gradient(125deg, #f3dfa3 0%, #d8bd7d 54%, #c9953e 100%);
  box-shadow: 0 1rem 2.8rem rgba(201, 149, 62, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.programs-page-cta::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -45%;
  z-index: -1;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.66), transparent);
  transform: skewX(-20deg);
  transition: transform 520ms ease;
}

.programs-page-cta > span {
  display: grid;
  gap: 0.28rem;
}

.programs-page-cta small {
  font-size: 0.55rem;
  font-weight: 600;
  opacity: 0.68;
}

.programs-page-cta b {
  font-size: 0.88rem;
  font-weight: 800;
}

.programs-page-cta > i {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(7, 17, 14, 0.32);
  border-radius: 50%;
  font-size: 1.05rem;
  font-style: normal;
  transition: transform 280ms ease, background 280ms ease;
}

.programs-page-cta:hover,
.programs-page-cta:focus-visible {
  border-color: #fff7df;
  box-shadow: 0 1.3rem 3.4rem rgba(201, 149, 62, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform: translateY(-0.28rem);
}

.programs-page-cta:hover::before,
.programs-page-cta:focus-visible::before {
  transform: translateX(420%) skewX(-20deg);
}

.programs-page-cta:hover > i,
.programs-page-cta:focus-visible > i {
  background: rgba(7, 17, 14, 0.1);
  transform: translateX(-0.25rem);
}

/* Preserve all footer information while reducing its vertical footprint. */
.site-footer {
  padding: clamp(1.55rem, 2.4vw, 2.2rem) clamp(1.25rem, 6vw, 7rem) 0.7rem;
}

.footer-callout {
  gap: clamp(1rem, 2vw, 2rem);
  padding-bottom: clamp(0.9rem, 1.5vw, 1.25rem);
}

.footer-brand-link .brand-mark {
  width: 2.7rem;
  height: 2.7rem;
}

.footer-brand-link .brand-mark i {
  width: 2.1rem;
}

.footer-brand-link .brand-copy b {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
}

.footer-brand-link .brand-copy small {
  font-size: 0.44rem;
}

.footer-brand-block > p {
  margin-top: 0.55rem;
  font-size: 0.66rem;
  line-height: 1.55;
}

.footer-callout-copy > span {
  gap: 0.55rem;
  margin-bottom: 0.38rem;
  font-size: 0.58rem;
}

.footer-callout-copy h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.35rem);
  line-height: 1.08;
}

.footer-join-button {
  min-width: clamp(9.6rem, 12vw, 11.2rem);
  gap: 1.2rem;
  padding: 0.78rem 0.95rem;
  font-size: 0.68rem;
}

.footer-options {
  gap: 0.45rem;
  padding: 0.7rem 0;
}

.footer-option {
  min-height: 3.65rem;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
}

.footer-option b {
  font-size: 0.66rem;
}

.footer-option small {
  font-size: 0.5rem;
  line-height: 1.4;
}

.footer-main {
  gap: clamp(1rem, 2vw, 2rem);
  padding: 0.9rem 0;
}

.footer-column {
  gap: 0.34rem;
}

.footer-column > b {
  margin-bottom: 0.18rem;
  font-size: 0.6rem;
}

.footer-column > a {
  font-size: 0.62rem;
}

.footer-contact p {
  font-size: 0.63rem;
  line-height: 1.45;
}

.footer-contact > a {
  margin-top: 0.25rem;
}

.footer-bottom {
  padding-top: 0.55rem;
  font-size: 0.56rem;
}

@media (max-width: 800px) {
  .programs-gateway {
    min-height: 28rem;
  }

  .programs-gateway-content {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 3rem 2rem;
  }

  .programs-gateway-copy h2 {
    margin-top: 0.85rem;
  }

  .programs-gateway-action {
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 1.6rem 1rem 0.65rem;
  }

  .footer-callout {
    gap: 0.9rem;
  }

  .footer-brand-block > p {
    font-size: 0.6rem;
  }

  .footer-join-button {
    min-width: 9.5rem;
    padding: 0.72rem 0.82rem;
  }

  .footer-main {
    gap: 1rem;
  }
}

@media (max-width: 460px) {
  .programs-gateway {
    min-height: 27rem;
  }

  .programs-gateway-content {
    padding: 2.6rem 1.35rem;
  }

  .programs-page-cta {
    min-height: 4.5rem;
  }

  .footer-callout-copy h2 {
    font-size: 1.55rem;
  }

  .footer-options {
    gap: 0.35rem;
  }

  .footer-option {
    min-height: 3.4rem;
  }

  .footer-main {
    gap: 0.85rem 0.75rem;
  }
}

/* Closing viewport: keep the final section and the complete footer together. */
.programs-gateway,
.programs-final-cta {
  min-height: clamp(20rem, 43svh, 24rem);
}

.programs-final-content {
  gap: 2rem;
}

.programs-final-content h2 {
  font-size: clamp(2rem, 3.5vw, 3.55rem);
}

.programs-final-content p {
  font-size: 0.76rem;
}

.site-footer {
  min-height: 0;
  padding-top: clamp(1.1rem, 1.7vw, 1.55rem);
  padding-bottom: 0.45rem;
}

.footer-callout {
  grid-template-columns: minmax(14rem, 0.82fr) minmax(16rem, 1fr) auto;
  padding-bottom: 0.7rem;
}

.footer-brand-link .brand-mark {
  width: 2.35rem;
  height: 2.35rem;
}

.footer-brand-link .brand-mark i {
  width: 1.85rem;
}

.footer-brand-link .brand-copy b {
  font-size: 1.12rem;
}

.footer-brand-block > p {
  max-width: 21rem;
  margin-top: 0.35rem;
  font-size: 0.58rem;
  line-height: 1.45;
}

.footer-callout-copy > span {
  margin-bottom: 0.25rem;
  font-size: 0.52rem;
}

.footer-callout-copy h2 {
  font-size: clamp(1.25rem, 1.9vw, 1.85rem);
}

.footer-join-button {
  min-width: 8.8rem;
  padding: 0.62rem 0.78rem;
  font-size: 0.62rem;
}

.footer-options {
  padding: 0.48rem 0;
}

.footer-option {
  min-height: 3.05rem;
  padding: 0.34rem 0.48rem;
}

.footer-option b {
  font-size: 0.6rem;
}

.footer-option small {
  font-size: 0.45rem;
}

.footer-main {
  padding: 0.62rem 0;
}

.footer-column {
  gap: 0.26rem;
}

.footer-column > b {
  font-size: 0.55rem;
}

.footer-column > a,
.footer-contact p {
  font-size: 0.56rem;
}

.footer-bottom {
  gap: 1rem;
  padding-top: 0.38rem;
  font-size: 0.5rem;
}

@media (max-height: 780px) and (min-width: 901px) {
  .programs-gateway,
  .programs-final-cta {
    min-height: 19rem;
  }

  .programs-gateway-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .programs-gateway-copy h2,
  .programs-final-content h2 {
    font-size: clamp(1.9rem, 3.2vw, 3rem);
  }

  .footer-brand-block > p,
  .footer-option small {
    display: none;
  }

  .footer-option {
    min-height: 2.55rem;
  }
}

@media (max-width: 900px) {
  .programs-gateway,
  .programs-final-cta {
    min-height: clamp(19rem, 42svh, 22rem);
  }

  .footer-callout {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem 0.8rem;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    display: flex;
    max-width: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .footer-brand-block > p {
    max-width: 18rem;
    margin: 0;
  }

  .footer-options {
    gap: 0.3rem;
  }

  .footer-main {
    gap: 0.8rem 1rem;
  }
}

@media (max-width: 460px) {
  .programs-gateway,
  .programs-final-cta {
    min-height: 18.5rem;
  }

  .programs-gateway::before {
    inset: 0.65rem;
  }

  .programs-gateway-content {
    gap: 0.8rem;
    padding: 1.45rem 1.2rem;
  }

  .programs-gateway-copy > span,
  .programs-final-content > div > span {
    font-size: 0.52rem;
  }

  .programs-gateway-copy h2,
  .programs-final-content h2 {
    margin-top: 0.55rem;
    font-size: clamp(1.75rem, 8.7vw, 2.45rem);
  }

  .programs-gateway-action p,
  .programs-final-content p {
    font-size: 0.62rem;
    line-height: 1.6;
  }

  .programs-page-cta {
    min-height: 3.9rem;
    padding: 0.65rem 0.8rem;
  }

  .programs-page-cta > i {
    width: 2.2rem;
    height: 2.2rem;
  }

  .programs-final-content {
    gap: 0.9rem;
  }

  .programs-final-content .primary-action {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .site-footer {
    padding: 0.85rem 0.8rem 0.4rem;
  }

  .footer-callout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    padding-bottom: 0.5rem;
  }

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

  .footer-brand-block > p {
    display: none;
  }

  .footer-callout-copy {
    grid-column: 1;
  }

  .footer-callout-copy > span {
    display: none;
  }

  .footer-callout-copy h2 {
    font-size: 1.25rem;
  }

  .footer-join-button {
    grid-column: 2;
    min-width: 7.8rem;
    padding: 0.58rem 0.68rem;
  }

  .footer-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0.4rem 0;
  }

  .footer-option {
    display: grid;
    min-height: 2.75rem;
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.35rem;
  }

  .footer-option > span,
  .footer-option > i,
  .footer-option small {
    display: none;
  }

  .footer-option b {
    font-size: 0.47rem;
    line-height: 1.35;
  }

  .footer-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.5rem 0;
  }

  .footer-column,
  .footer-contact {
    grid-column: auto;
    gap: 0.18rem;
    padding-right: 0;
    border-right: 0;
  }

  .footer-column > b {
    font-size: 0.48rem;
  }

  .footer-column > a {
    font-size: 0.43rem;
    line-height: 1.4;
  }

  .footer-contact p,
  .footer-contact > a:nth-of-type(2) {
    display: none;
  }

  .footer-contact > a {
    margin-top: 0;
    font-size: 0.43rem;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.3rem;
    font-size: 0.42rem;
  }
}

/* Distinct divider tones help each section read as a separate chapter. */
.section-divider {
  --divider-rgb: 216, 189, 125;
  --divider-core: 255, 247, 224;
  background: radial-gradient(ellipse at center, rgba(var(--divider-rgb), 0.24), rgba(var(--divider-rgb), 0.065) 38%, transparent 72%);
}

.section-divider::before {
  border-top-color: rgba(var(--divider-core), 0.7);
  box-shadow: 0 -8px 26px rgba(var(--divider-rgb), 0.18);
}

.section-divider::after {
  background: linear-gradient(90deg, transparent, rgba(var(--divider-rgb), 0.32) 24%, rgba(var(--divider-core), 0.72) 50%, rgba(var(--divider-rgb), 0.32) 76%, transparent);
}

.section-divider span {
  background: linear-gradient(90deg, transparent, rgba(var(--divider-core), 0.95) 28% 72%, transparent);
  box-shadow: 0 0 20px rgba(var(--divider-rgb), 0.5);
}

.section-divider span::before,
.section-divider span::after {
  border-color: rgba(var(--divider-core), 0.8);
  box-shadow: 0 0 14px rgba(var(--divider-rgb), 0.44);
}

.divider-gold {
  --divider-rgb: 216, 189, 125;
  --divider-core: 255, 244, 214;
}

.divider-emerald {
  --divider-rgb: 47, 118, 90;
  --divider-core: 146, 215, 180;
}

.divider-copper {
  --divider-rgb: 184, 115, 67;
  --divider-core: 242, 187, 139;
}

.divider-blue {
  --divider-rgb: 64, 135, 154;
  --divider-core: 155, 220, 229;
}

/* Lightweight Google Maps-style location preview without a heavy embedded map. */
.footer-location-row {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(20rem, 1.2fr);
  align-items: stretch;
  min-height: 3.6rem;
  opacity: 1 !important;
  visibility: visible;
  transform: none !important;
  border-top: 1px solid rgba(216, 189, 125, 0.18);
  border-bottom: 1px solid rgba(216, 189, 125, 0.15);
}

.footer-address {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem;
}

.footer-address > span {
  flex: 0 0 auto;
  color: var(--sand);
  font-size: 0.55rem;
  font-weight: 700;
}

.footer-address address {
  overflow: hidden;
  margin: 0;
  color: rgba(243, 236, 217, 0.62);
  font-size: 0.56rem;
  font-style: normal;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-map-preview {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 3.6rem;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  isolation: isolate;
  border-right: 1px solid rgba(216, 189, 125, 0.16);
  background:
    linear-gradient(32deg, transparent 0 18%, rgba(176, 210, 160, 0.62) 18% 32%, transparent 32% 100%),
    linear-gradient(145deg, #dce5d5, #e9e5d5);
}

.footer-map-preview::before,
.footer-map-preview::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(173, 169, 145, 0.28);
}

.footer-map-preview::before {
  top: 44%;
  right: -8%;
  width: 118%;
  height: 0.55rem;
  transform: rotate(-8deg);
}

.footer-map-preview::after {
  top: -42%;
  right: 39%;
  width: 0.5rem;
  height: 190%;
  transform: rotate(24deg);
}

.map-road {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 1px rgba(173, 169, 145, 0.22);
}

.map-road-one {
  top: 20%;
  right: 6%;
  width: 48%;
  height: 0.3rem;
  transform: rotate(13deg);
}

.map-road-two {
  right: 18%;
  bottom: 17%;
  width: 58%;
  height: 0.28rem;
  transform: rotate(-16deg);
}

.map-road-three {
  top: -15%;
  left: 18%;
  width: 0.32rem;
  height: 130%;
  transform: rotate(-12deg);
}

.map-pin {
  position: absolute;
  top: 50%;
  right: 52%;
  z-index: 2;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #d64b3f;
  box-shadow: 0 0.25rem 0.7rem rgba(63, 52, 42, 0.3);
  transform: translate(50%, -62%) rotate(-45deg);
}

.map-pin b {
  position: absolute;
  inset: 0.27rem;
  border-radius: 50%;
  background: #fff;
}

.footer-map-preview em {
  position: absolute;
  left: 0.45rem;
  bottom: 0.35rem;
  z-index: 3;
  padding: 0.25rem 0.38rem;
  border-radius: 0.2rem;
  color: #26362e;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0.15rem 0.5rem rgba(48, 58, 50, 0.16);
  font-size: 0.44rem;
  font-style: normal;
  font-weight: 650;
}

.footer-map-preview:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: -2px;
}

/* Performance pass: keep pointer light, reveals and hover motion; stop large perpetual layers. */
.hero.is-in-view .hero-image img,
.hero.is-in-view .title-word,
.hero.is-in-view .title-row-accent .title-word,
.hero.is-in-view .title-row-last .title-word,
.about-section.is-in-view .about-motion-track div,
.about-section.is-in-view .about-title strong,
.services-section.is-in-view .services-sweep-one,
.services-section.is-in-view .services-marquee div,
.services-section.is-in-view .services-title strong {
  animation: none;
}

.hero-image img,
.hero.is-in-view .hero-image img {
  transform: scale(1.01);
  will-change: auto;
}

.speed-field::after,
.speed-line.line-three {
  display: none;
}

.speed-field::before {
  width: min(46rem, 52vw);
  height: min(22rem, 25vw);
  min-width: 28rem;
  min-height: 14rem;
  animation-duration: 22s;
  opacity: 0.22;
}

.hero.is-in-view .speed-field::before {
  will-change: transform, opacity;
}

.about-section,
.services-section,
.programs-gateway,
.programs-intro-section,
.programs-catalog,
.training-system,
.programs-final-cta {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

@media (max-width: 720px) {
  .site-header {
    backdrop-filter: none;
  }

  .speed-field::before {
    width: 32rem;
    height: 16rem;
    min-width: 0;
    min-height: 0;
    opacity: 0.16;
  }

  .footer-location-row {
    grid-template-columns: minmax(0, 0.85fr) minmax(9rem, 1.15fr);
    min-height: 3.15rem;
  }

  .footer-address {
    display: grid;
    gap: 0.16rem;
    padding: 0.4rem 0.5rem;
  }

  .footer-address > span {
    font-size: 0.46rem;
  }

  .footer-address address {
    font-size: 0.44rem;
  }

  .footer-map-preview {
    min-height: 3.15rem;
  }
}

@media (max-width: 460px) {
  .footer-location-row {
    min-height: 2.8rem;
  }

  .footer-address address {
    white-space: normal;
  }

  .footer-map-preview {
    min-height: 2.8rem;
  }

  .footer-map-preview em {
    font-size: 0.38rem;
  }
}

/* Memberships page — light, responsive and aligned with the Rahwan language. */
.memberships-page {
  overflow: hidden;
  background: var(--ink);
}

.memberships-page section {
  position: relative;
  isolation: isolate;
}

.memberships-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - clamp(2rem, 10vw, 9rem)), 78rem);
  margin-inline: auto;
}

.memberships-hero {
  min-height: clamp(46rem, 100svh, 61rem);
  background: #07130f;
}

.memberships-hero-image,
.memberships-hero-shade {
  position: absolute;
  inset: 0;
}

.memberships-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(0.76) contrast(1.04) brightness(0.82);
  transform: scale(1.015);
}

.memberships-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 14, 11, 0.72) 0%, rgba(4, 14, 11, 0.16) 44%, rgba(4, 14, 11, 0.88) 100%),
    linear-gradient(0deg, rgba(5, 16, 13, 0.92) 0%, rgba(5, 16, 13, 0.08) 45%, rgba(5, 16, 13, 0.46) 100%);
}

.memberships-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 7rem;
  pointer-events: none;
  background: linear-gradient(0deg, #0b2019, transparent);
}

.memberships-hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  width: min(92%, 78rem);
  min-height: inherit;
  margin-inline: auto;
  padding: clamp(8rem, 18vh, 11.5rem) 0 8.5rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.memberships-hero-title {
  display: grid;
  gap: 0.02em;
  max-width: 8ch;
  margin: 1rem 0 1.2rem;
  font-size: clamp(2.8rem, 5.3vw, 5.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.memberships-hero-title span,
.memberships-hero-title strong {
  display: block;
}

.memberships-hero-title strong {
  color: var(--sand);
  font-weight: 650;
}

.memberships-hero-description {
  max-width: 40rem;
  margin: 0 0 1.85rem;
  color: rgba(255, 253, 247, 0.76);
  font-size: clamp(0.88rem, 1.18vw, 1.04rem);
  line-height: 2;
}

.memberships-hero-facts {
  position: absolute;
  bottom: clamp(2rem, 4.5vw, 4rem);
  left: clamp(1.2rem, 4vw, 5.2rem);
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(7rem, 1fr));
  border: 1px solid rgba(216, 189, 125, 0.24);
  background: rgba(7, 17, 14, 0.76);
}

.memberships-hero-facts > span {
  display: grid;
  min-height: 5.7rem;
  padding: 0.8rem 1rem;
  align-content: center;
  border-left: 1px solid rgba(216, 189, 125, 0.18);
}

.memberships-hero-facts > span:last-child {
  border-left: 0;
}

.memberships-hero-facts b {
  color: var(--sand);
  font-size: 1.3rem;
  font-weight: 650;
  line-height: 1;
}

.memberships-hero-facts small {
  margin-top: 0.42rem;
  color: rgba(255, 253, 247, 0.64);
  font-size: 0.62rem;
}

.membership-plans-section {
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(47, 118, 90, 0.18), transparent 28rem),
    #0b2019;
}

.membership-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(216, 189, 125, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 125, 0.055) 1px, transparent 1px);
  background-size: 5rem 5rem;
}

.membership-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.68fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.7rem, 5vw, 4.5rem);
}

.membership-section-header.compact {
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}

.membership-section-header > p {
  max-width: 32rem;
  margin: 0 0 0.25rem;
  color: rgba(243, 236, 217, 0.7);
  font-size: 0.9rem;
  line-height: 1.9;
}

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

.membership-plan-card {
  position: relative;
  display: flex;
  min-height: 35rem;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(216, 189, 125, 0.2);
  background: linear-gradient(155deg, rgba(255, 253, 247, 0.055), rgba(255, 253, 247, 0.015));
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.membership-plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 7rem;
  height: 1px;
  background: var(--sand);
}

.membership-plan-card.is-featured {
  border-color: rgba(238, 209, 143, 0.68);
  background: linear-gradient(155deg, rgba(216, 189, 125, 0.15), rgba(16, 59, 45, 0.34));
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.04);
}

.membership-plan-top,
.membership-plan-name,
.membership-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.membership-plan-top {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(216, 189, 125, 0.14);
}

.membership-plan-top > span {
  color: var(--sand);
  font-size: 0.72rem;
  font-weight: 700;
}

.membership-plan-top small {
  padding: 0.35rem 0.58rem;
  border: 1px solid rgba(216, 189, 125, 0.18);
  color: rgba(243, 236, 217, 0.7);
  font-size: 0.58rem;
}

.is-featured .membership-plan-top small {
  border-color: var(--sand);
  color: var(--ink);
  background: var(--sand);
  font-weight: 750;
}

.membership-plan-name {
  margin-top: 1.45rem;
}

.membership-plan-name h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 600;
}

.membership-plan-name > span {
  color: rgba(243, 236, 217, 0.58);
  font-size: 0.66rem;
}

.membership-price {
  justify-content: flex-start;
  margin: 1.4rem 0 1.5rem;
  direction: ltr;
}

.membership-price > b {
  color: var(--sand);
  font-size: clamp(2.7rem, 4.7vw, 4.2rem);
  font-weight: 550;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.membership-price > span {
  display: grid;
  align-content: center;
  direction: rtl;
}

.membership-price strong {
  color: var(--cream);
  font-size: 0.74rem;
}

.membership-price small {
  margin-top: 0.24rem;
  color: rgba(243, 236, 217, 0.52);
  font-size: 0.58rem;
}

.membership-plan-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.membership-plan-card li {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  color: rgba(255, 253, 247, 0.72);
  font-size: 0.72rem;
  line-height: 1.7;
}

.membership-plan-card li i {
  display: inline-grid;
  width: 1.15rem;
  height: 1.15rem;
  place-items: center;
  border: 1px solid rgba(216, 189, 125, 0.34);
  border-radius: 50%;
  color: var(--sand);
  font-size: 0.58rem;
  font-style: normal;
}

.membership-plan-card > a {
  display: flex;
  min-height: 3.4rem;
  margin-top: auto;
  padding: 0.7rem 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(216, 189, 125, 0.34);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 650;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.is-featured > a {
  border-color: var(--sand);
  color: var(--ink);
  background: var(--sand);
}

.membership-plan-card > a i {
  font-style: normal;
  transition: transform 220ms ease;
}

.membership-saving {
  display: grid;
  grid-template-columns: minmax(12rem, 1.4fr) repeat(3, minmax(8rem, 1fr));
  margin-top: 1rem;
  border: 1px solid rgba(216, 189, 125, 0.18);
  background: rgba(5, 18, 14, 0.5);
}

.membership-saving > span,
.membership-saving > div {
  display: grid;
  min-height: 5rem;
  padding: 0.8rem 1rem;
  align-content: center;
}

.membership-saving > span {
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 650;
}

.membership-saving > div {
  border-right: 1px solid rgba(216, 189, 125, 0.14);
}

.membership-saving b {
  color: var(--white);
  font-size: 0.72rem;
}

.membership-saving small {
  margin-top: 0.3rem;
  color: var(--sand);
  font-size: 0.6rem;
}

.membership-comparison {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  background:
    radial-gradient(circle at 85% 72%, rgba(184, 115, 67, 0.12), transparent 25rem),
    #081812;
}

.membership-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(216, 189, 125, 0.2);
  scrollbar-width: thin;
  scrollbar-color: var(--sand) rgba(255, 255, 255, 0.05);
}

.membership-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.membership-table th,
.membership-table td {
  padding: 1.15rem 1.2rem;
  border-bottom: 1px solid rgba(216, 189, 125, 0.13);
  border-left: 1px solid rgba(216, 189, 125, 0.1);
  text-align: right;
}

.membership-table thead th {
  color: var(--sand);
  background: rgba(216, 189, 125, 0.08);
  font-size: 0.72rem;
  font-weight: 650;
}

.membership-table tbody th {
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 550;
}

.membership-table td {
  color: rgba(255, 253, 247, 0.68);
  font-size: 0.68rem;
}

.membership-table tr:last-child th,
.membership-table tr:last-child td {
  border-bottom: 0;
}

.membership-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.membership-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  min-height: 9.5rem;
  padding: 1.15rem;
  border-top: 1px solid rgba(216, 189, 125, 0.28);
  background: rgba(255, 253, 247, 0.025);
}

.membership-note > span {
  color: var(--sand);
  font-size: 0.62rem;
}

.membership-note h3 {
  margin: 0 0 0.45rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
}

.membership-note p {
  margin: 0;
  color: rgba(243, 236, 217, 0.62);
  font-size: 0.66rem;
  line-height: 1.75;
}

.membership-contact {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: #12382c;
}

.membership-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background-image: linear-gradient(115deg, transparent 0 48%, rgba(216, 189, 125, 0.12) 48.2% 48.4%, transparent 48.6%);
}

.membership-contact-glow {
  position: absolute;
  top: 12%;
  left: 9%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 189, 125, 0.13), transparent 68%);
}

.membership-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(30rem, 1.22fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.membership-contact-copy h2 {
  margin: 1.1rem 0;
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.membership-contact-copy h2 strong {
  display: block;
  margin-top: 0.15em;
  color: var(--sand);
  font-weight: 600;
}

.membership-contact-copy > p {
  max-width: 31rem;
  margin: 0 0 1.6rem;
  color: rgba(255, 253, 247, 0.7);
  font-size: 0.82rem;
  line-height: 1.9;
}

.membership-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.membership-contact-card {
  display: flex;
  min-height: 12rem;
  padding: 1.35rem;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(238, 209, 143, 0.24);
  background: rgba(5, 20, 15, 0.42);
}

.membership-contact-card:first-child {
  grid-row: span 2;
  min-height: 24.75rem;
  justify-content: center;
}

.membership-contact-card > span {
  margin-bottom: 1rem;
  color: var(--sand);
  font-size: 0.62rem;
  font-weight: 650;
}

.membership-contact-card .contact-main,
.membership-contact-card h3 {
  margin: 0 0 0.7rem;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
}

.membership-contact-card > a:not(.contact-main) {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--cream);
  font-size: 0.72rem;
  line-height: 1.7;
}

.membership-contact-card small,
.membership-contact-card address,
.membership-contact-card p {
  margin: 0.55rem 0 0;
  color: rgba(255, 253, 247, 0.62);
  font-size: 0.66rem;
  font-style: normal;
  line-height: 1.8;
}

.membership-contact-card p {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
}

.membership-contact-card p b {
  color: var(--cream);
  font-weight: 550;
}

.membership-back-link {
  display: flex;
  min-height: 5.5rem;
  padding: 1rem 5vw;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(216, 189, 125, 0.2);
  background: #0b211a;
}

.membership-back-link a {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  color: rgba(255, 253, 247, 0.72);
  font-size: 0.7rem;
  transition: color 220ms ease;
}

.membership-back-link i {
  color: var(--sand);
  font-style: normal;
}

@media (hover: hover) {
  .membership-plan-card:hover {
    border-color: rgba(216, 189, 125, 0.5);
    background: linear-gradient(155deg, rgba(216, 189, 125, 0.1), rgba(16, 59, 45, 0.22));
    transform: translateY(-0.35rem);
  }

  .membership-plan-card > a:hover,
  .membership-plan-card > a:focus-visible {
    border-color: var(--sand);
    color: var(--ink);
    background: var(--sand);
  }

  .membership-plan-card > a:hover i,
  .membership-plan-card > a:focus-visible i {
    transform: translateX(-0.3rem);
  }

  .membership-contact-card a:hover,
  .membership-contact-card a:focus-visible,
  .membership-back-link a:hover,
  .membership-back-link a:focus-visible {
    color: var(--sand);
  }
}

@media (max-width: 1050px) {
  .memberships-hero-facts {
    grid-template-columns: repeat(3, minmax(6.2rem, 1fr));
  }

  .membership-plans-grid {
    gap: 0.7rem;
  }

  .membership-plan-card {
    padding: 1.25rem;
  }

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

  .membership-contact-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(25rem, 1.22fr);
    gap: 2.4rem;
  }
}

@media (max-width: 800px) {
  .membership-section-header,
  .membership-contact-layout {
    grid-template-columns: 1fr;
  }

  .membership-section-header {
    gap: 1.35rem;
  }

  .membership-plans-grid {
    grid-template-columns: 1fr;
  }

  .membership-plan-card {
    min-height: 0;
  }

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

  .membership-saving > span {
    grid-column: 1 / -1;
    min-height: 3.8rem;
    border-bottom: 1px solid rgba(216, 189, 125, 0.14);
  }

  .membership-contact-layout {
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .memberships-shell {
    width: min(calc(100% - 2rem), 42rem);
  }

  .memberships-hero {
    min-height: max(45rem, 100svh);
  }

  .memberships-hero-image img {
    object-position: 54% center;
    filter: saturate(0.7) contrast(1.04) brightness(0.72);
    transform: none;
  }

  .memberships-hero-shade {
    background:
      linear-gradient(0deg, rgba(5, 16, 13, 0.96) 0%, rgba(5, 16, 13, 0.25) 54%, rgba(5, 16, 13, 0.76) 100%),
      linear-gradient(90deg, rgba(5, 16, 13, 0.38), rgba(5, 16, 13, 0.75));
  }

  .memberships-hero-content {
    width: calc(100% - 2rem);
    padding: 9.4rem 0 11.5rem;
    justify-content: flex-end;
  }

  .memberships-hero-title {
    max-width: none;
    font-size: clamp(2.35rem, 10.8vw, 3.5rem);
    line-height: 1.02;
  }

  .memberships-hero-description {
    max-width: 32rem;
    font-size: 0.76rem;
    line-height: 1.85;
  }

  .memberships-hero-facts {
    right: 1rem;
    bottom: 1.2rem;
    left: 1rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .memberships-hero-facts > span {
    min-height: 4.35rem;
    padding: 0.55rem;
  }

  .memberships-hero-facts b {
    font-size: 1rem;
  }

  .memberships-hero-facts small {
    font-size: 0.48rem;
    line-height: 1.4;
  }

  .memberships-hero .scroll-cue {
    display: none;
  }

  .membership-plans-section,
  .membership-comparison,
  .membership-contact {
    padding: 4.5rem 0;
  }

  .membership-section-header {
    margin-bottom: 2.2rem;
  }

  .membership-plan-card {
    padding: 1.15rem;
  }

  .membership-price > b {
    font-size: 3.15rem;
  }

  .membership-table {
    min-width: 39rem;
  }

  .membership-table th,
  .membership-table td {
    padding: 0.9rem 0.85rem;
  }

  .membership-notes {
    grid-template-columns: 1fr;
  }

  .membership-note {
    min-height: 0;
  }

  .membership-contact-cards {
    grid-template-columns: 1fr;
  }

  .membership-contact-card:first-child {
    grid-row: auto;
    min-height: 12rem;
  }
}

@media (max-width: 430px) {
  .memberships-hero-content {
    padding-top: 8.8rem;
  }

  .memberships-hero-title {
    font-size: clamp(2.15rem, 10vw, 2.85rem);
  }

  .memberships-hero-content .hero-actions {
    width: 100%;
  }

  .memberships-hero-content .primary-action {
    min-width: 0;
    flex: 1;
  }

  .membership-saving {
    grid-template-columns: 1fr;
  }

  .membership-saving > span,
  .membership-saving > div {
    grid-column: auto;
    min-height: 3.8rem;
    border-right: 0;
    border-bottom: 1px solid rgba(216, 189, 125, 0.14);
  }

  .membership-saving > div:last-child {
    border-bottom: 0;
  }

  .membership-contact-copy h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .membership-plan-card,
  .membership-plan-card > a,
  .membership-plan-card > a i {
    transition: none;
  }
}

/* Clear, prominent location card inside the footer. */
.footer-location-row {
  grid-template-columns: minmax(18rem, 0.76fr) minmax(24rem, 1.24fr);
  min-height: 5.8rem;
  margin-top: 0.2rem;
  overflow: hidden;
  border: 1px solid rgba(216, 189, 125, 0.28);
  background: rgba(4, 15, 19, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-address {
  display: grid;
  align-content: center;
  gap: 0.28rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(115deg, rgba(216, 189, 125, 0.1), rgba(7, 22, 28, 0.26));
}

.footer-location-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--sand);
}

.footer-location-heading > i {
  position: relative;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  border: 2px solid var(--sand);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.footer-location-heading > i b {
  position: absolute;
  inset: 0.3rem;
  border-radius: 50%;
  background: var(--sand);
}

.footer-location-heading > span {
  color: var(--sand);
  font-size: 0.68rem;
  font-weight: 750;
}

.footer-address address {
  color: rgba(255, 253, 247, 0.9);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 550;
  line-height: 1.55;
  white-space: normal;
}

.footer-address > small {
  color: rgba(243, 236, 217, 0.46);
  font-size: 0.5rem;
}

.footer-map-preview {
  min-height: 5.8rem;
  border-right-color: rgba(216, 189, 125, 0.25);
  background:
    linear-gradient(35deg, transparent 0 17%, rgba(142, 194, 123, 0.72) 17% 31%, transparent 31% 100%),
    linear-gradient(160deg, transparent 0 66%, rgba(132, 190, 221, 0.78) 66% 78%, transparent 78% 100%),
    linear-gradient(145deg, #d9e7d2, #f0ead7);
  transition: filter 220ms ease, transform 260ms ease;
}

.footer-map-preview::before {
  height: 0.72rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(164, 158, 132, 0.36), inset 0 -2px 0 rgba(239, 199, 73, 0.6);
}

.footer-map-preview::after {
  width: 0.66rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(164, 158, 132, 0.3);
}

.footer-map-preview .map-road-one,
.footer-map-preview .map-road-two,
.footer-map-preview .map-road-three {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 1px rgba(164, 158, 132, 0.3);
}

.footer-map-preview .map-pin {
  right: 56%;
  width: 1.55rem;
  height: 1.55rem;
  border-width: 3px;
  background: #df4c3f;
  box-shadow: 0 0.4rem 0.9rem rgba(63, 52, 42, 0.34);
}

.footer-map-preview .map-pin b {
  inset: 0.34rem;
}

.map-place-label {
  position: absolute;
  top: 50%;
  right: calc(56% + 1.05rem);
  z-index: 3;
  padding: 0.28rem 0.48rem;
  border-radius: 0.24rem;
  color: #24342d;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.2rem 0.65rem rgba(49, 58, 50, 0.2);
  font-size: 0.58rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.footer-map-preview em {
  left: 0.65rem;
  bottom: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.58rem;
  color: #172a21;
  background: #fff;
  font-size: 0.55rem;
  font-weight: 750;
}

.footer-map-preview em b {
  color: #2765ce;
  font-size: 0.72rem;
}

.footer-map-preview:hover,
.footer-map-preview:focus-visible {
  filter: saturate(1.08) contrast(1.02);
}

@media (max-width: 720px) {
  .footer-location-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(10rem, 1.1fr);
    min-height: 4.7rem;
  }

  .footer-address {
    gap: 0.18rem;
    padding: 0.55rem 0.65rem;
  }

  .footer-location-heading > i {
    width: 1rem;
    height: 1rem;
  }

  .footer-location-heading > i b {
    inset: 0.24rem;
  }

  .footer-location-heading > span {
    font-size: 0.56rem;
  }

  .footer-address address {
    font-size: 0.58rem;
  }

  .footer-map-preview {
    min-height: 4.7rem;
  }

  .footer-map-preview .map-pin {
    right: 60%;
    width: 1.3rem;
    height: 1.3rem;
  }

  .map-place-label {
    right: calc(60% + 0.85rem);
    font-size: 0.48rem;
  }

  .footer-map-preview em {
    left: 0.4rem;
    bottom: 0.35rem;
    padding: 0.32rem 0.42rem;
    font-size: 0.45rem;
  }
}

@media (max-width: 460px) {
  .footer-location-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .footer-address {
    min-height: 4.2rem;
  }

  .footer-address address {
    font-size: 0.62rem;
  }

  .footer-map-preview {
    min-height: 4.6rem;
    border-top: 1px solid rgba(216, 189, 125, 0.24);
    border-right: 0;
  }
}

/* Keep the map preview close to a square instead of a wide strip. */
.footer-location-row {
  grid-template-columns: minmax(0, 1fr) clamp(7rem, 8.5vw, 7.8rem);
  min-height: clamp(7rem, 8.5vw, 7.8rem);
}

.footer-map-preview {
  width: clamp(7rem, 8.5vw, 7.8rem);
  min-height: 0;
  aspect-ratio: 1 / 1;
  justify-self: end;
}

.footer-map-preview em {
  right: 0.35rem;
  left: 0.35rem;
  justify-content: center;
  white-space: nowrap;
}

.map-place-label {
  right: auto;
  left: 0.35rem;
  top: 0.4rem;
  transform: none;
}

@media (max-width: 720px) {
  .footer-location-row {
    grid-template-columns: minmax(0, 1fr) 6.2rem;
    min-height: 6.2rem;
  }

  .footer-map-preview {
    width: 6.2rem;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .footer-map-preview em {
    right: 0.25rem;
    left: 0.25rem;
    gap: 0.2rem;
    white-space: normal;
    text-align: center;
  }

  .map-place-label {
    right: auto;
    left: 0.25rem;
  }
}

@media (max-width: 460px) {
  .footer-location-row {
    grid-template-columns: minmax(0, 1fr) 5.7rem;
    min-height: 5.7rem;
  }

  .footer-map-preview {
    width: 5.7rem;
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-top: 0;
    border-right: 1px solid rgba(216, 189, 125, 0.24);
  }
}

/* Desktop footer split: one square map half, one information half. */
@media (min-width: 721px) {
  .footer-shell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto auto;
    align-items: stretch;
    gap: 0 1rem;
  }

  .footer-callout,
  .footer-options,
  .footer-main,
  .footer-bottom {
    grid-column: 1;
  }

  .footer-callout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem 1rem;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    display: flex;
    max-width: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .footer-brand-block > p {
    max-width: 17rem;
    margin: 0;
    text-align: left;
  }

  .footer-callout-copy {
    grid-column: 1;
  }

  .footer-join-button {
    grid-column: 2;
  }

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

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
  }

  .footer-contact {
    grid-column: auto;
    padding-right: 0;
    border-right: 0;
  }

  .footer-location-row {
    position: relative;
    grid-column: 2;
    grid-row: 1 / 5;
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    aspect-ratio: 1 / 1;
    align-self: stretch;
  }

  .footer-map-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border: 0;
  }

  .footer-address {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 7;
    min-height: 6rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 247, 224, 0.52);
    background: rgba(6, 20, 18, 0.88);
    box-shadow: 0 0.8rem 2rem rgba(20, 35, 29, 0.28);
    backdrop-filter: blur(8px);
  }

  .footer-address address {
    font-size: clamp(0.74rem, 1vw, 0.9rem);
  }

  .footer-map-preview .map-pin {
    top: 43%;
    right: 52%;
    width: 2.2rem;
    height: 2.2rem;
  }

  .footer-map-preview .map-pin b {
    inset: 0.52rem;
  }

  .map-place-label {
    top: calc(43% - 0.2rem);
    right: auto;
    left: 1.1rem;
    padding: 0.42rem 0.7rem;
    font-size: 0.72rem;
  }

  .footer-map-preview em {
    top: 1rem;
    right: 1rem;
    bottom: auto;
    left: auto;
    padding: 0.55rem 0.75rem;
    font-size: 0.62rem;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .footer-brand-block > p,
  .footer-option small,
  .footer-contact p {
    display: none;
  }

  .footer-callout-copy h2 {
    font-size: 1.25rem;
  }

  .footer-join-button {
    min-width: 7.8rem;
  }

  .footer-main {
    gap: 0.55rem;
  }

  .footer-address {
    right: 0.7rem;
    bottom: 0.7rem;
    left: 0.7rem;
  }
}

@media (max-width: 720px) {
  .footer-shell {
    display: block;
  }

  .footer-location-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    min-height: 8.5rem;
  }

  .footer-map-preview {
    width: 100%;
    height: 100%;
    min-height: 8.5rem;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 460px) {
  .footer-location-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .footer-address {
    min-height: 5.5rem;
  }

  .footer-map-preview {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}

/* Smaller, softer map composition inside the footer. */
@media (min-width: 721px) {
  .footer-shell {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
    gap: 0 1.35rem;
  }

  .footer-location-row {
    width: min(100%, 24rem);
    aspect-ratio: 1.08 / 1;
    align-self: center;
    justify-self: end;
    overflow: hidden;
    border-radius: 1.35rem;
    box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .footer-map-preview {
    border-radius: inherit;
  }

  .footer-address {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    min-height: 5.2rem;
    border-radius: 0.9rem;
    background: rgba(6, 20, 18, 0.9);
  }

  .footer-map-preview em {
    top: 0.75rem;
    right: 0.75rem;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .footer-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
    gap: 0 0.85rem;
  }

  .footer-location-row {
    width: min(100%, 19rem);
  }

  .footer-address {
    right: 0.55rem;
    bottom: 0.55rem;
    left: 0.55rem;
    min-height: 4.7rem;
    padding: 0.65rem 0.75rem;
  }
}

@media (max-width: 720px) {
  .footer-location-row {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 38%);
    min-height: 7rem;
    overflow: hidden;
    border-radius: 1rem;
  }

  .footer-map-preview {
    width: 100%;
    height: 100%;
    min-height: 7rem;
    aspect-ratio: auto;
    border-radius: 1rem 0 0 1rem;
  }
}

@media (max-width: 460px) {
  .footer-location-row {
    grid-template-columns: minmax(0, 1fr) 7.8rem;
    min-height: 6.6rem;
  }

  .footer-address {
    min-height: 6.6rem;
  }

  .footer-map-preview {
    width: 100%;
    height: 100%;
    min-height: 6.6rem;
    aspect-ratio: auto;
    border-top: 0;
  }

  .map-place-label {
    display: none;
  }
}

/* A consistent call-to-action language for booking and page transitions. */
.site-cta {
  cursor: pointer;
  transform: translateY(0);
  transition: transform 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.site-cta-gold {
  box-shadow: 0 0.7rem 1.8rem rgba(201, 149, 62, 0.2);
}

.site-cta-outline {
  display: inline-flex;
  min-height: 3.35rem;
  padding: 0.7rem 1.05rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 189, 125, 0.54);
  color: var(--cream);
  background: rgba(7, 17, 14, 0.58);
}

.site-cta-compact {
  min-width: 10rem;
  gap: 0.65rem;
}

.site-cta-page {
  min-width: 13.5rem;
  border-color: rgba(243, 217, 153, 0.78);
  box-shadow: 0 0.9rem 2.4rem rgba(0, 0, 0, 0.22);
}

.programs-final-content .site-cta-page {
  padding-inline: 1.35rem;
}

.program-card-body > a.site-cta-card,
.membership-plan-card > a.site-cta-card {
  min-height: 3.45rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(216, 189, 125, 0.5);
  color: var(--cream);
  background: rgba(216, 189, 125, 0.055);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.02);
}

.membership-plan-card.is-featured > a.site-cta-card {
  border-color: var(--sand);
  color: var(--ink);
  background: var(--sand);
}

.membership-back-link {
  min-height: 7rem;
}

.membership-back-link .site-cta-back {
  display: inline-flex;
  width: min(100%, 31rem);
  min-height: 3.7rem;
  padding: 0.8rem 1.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 1px solid rgba(216, 189, 125, 0.62);
  color: var(--cream);
  background: linear-gradient(125deg, rgba(216, 189, 125, 0.12), rgba(16, 59, 45, 0.3));
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-contact > a.site-cta-footer {
  display: flex;
  width: 100%;
  min-height: 2.2rem;
  margin-top: 0.35rem;
  padding: 0.4rem 0.6rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(216, 189, 125, 0.25);
  color: var(--cream);
  background: rgba(216, 189, 125, 0.04);
}

@media (hover: hover) {
  .site-cta:hover {
    transform: translateY(-0.18rem);
  }

  .site-cta-gold:hover {
    box-shadow: 0 1rem 2.2rem rgba(201, 149, 62, 0.3);
  }

  .site-cta-outline:hover,
  .site-cta-outline:focus-visible,
  .program-card-body > a.site-cta-card:hover,
  .program-card-body > a.site-cta-card:focus-visible,
  .membership-plan-card > a.site-cta-card:hover,
  .membership-plan-card > a.site-cta-card:focus-visible,
  .membership-back-link .site-cta-back:hover,
  .membership-back-link .site-cta-back:focus-visible,
  .footer-contact > a.site-cta-footer:hover,
  .footer-contact > a.site-cta-footer:focus-visible {
    border-color: var(--sand);
    color: var(--ink);
    background: var(--sand);
  }
}

@media (max-width: 720px) {
  .site-cta-page {
    min-width: 0;
  }

  .memberships-hero-content .hero-actions,
  .programs-hero-content .hero-actions {
    gap: 0.65rem;
  }

  .memberships-hero-content .site-cta,
  .programs-hero-content .site-cta {
    min-height: 3.05rem;
    padding-inline: 0.75rem;
  }

  .membership-back-link {
    min-height: 6.2rem;
    padding-inline: 1rem;
  }
}

@media (max-width: 430px) {
  .memberships-hero-content .hero-actions,
  .programs-hero-content .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .memberships-hero-content .site-cta,
  .programs-hero-content .site-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta {
    transition: none;
  }
}

/* More expressive CTAs at the original balanced scale. */
.site-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  letter-spacing: 0.01em;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.035), 0 0.65rem 1.65rem rgba(0, 0, 0, 0.16);
}

.site-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 5%, rgba(255, 255, 255, 0.16) 48%, transparent 82%);
  transform: translateX(115%);
  transition: transform 430ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.primary-action.site-cta,
.services-cta.site-cta {
  min-width: 11.5rem;
  min-height: 3.45rem;
  padding: 0.75rem 1.05rem;
  font-size: 0.78rem;
}

.site-cta-gold {
  border-color: #efd48d;
  background: linear-gradient(132deg, #efd99f 0%, var(--sand) 52%, #c9943d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 0.75rem 1.8rem rgba(201, 149, 62, 0.24);
}

.site-cta-outline {
  min-width: 9.6rem;
  min-height: 3.35rem;
  padding: 0.7rem 1rem;
  border-color: rgba(232, 206, 145, 0.64);
  background: linear-gradient(130deg, rgba(216, 189, 125, 0.1), rgba(7, 17, 14, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0.65rem 1.5rem rgba(0, 0, 0, 0.16);
  font-size: 0.74rem;
}

.site-cta-compact {
  min-width: 9.8rem;
}

.site-cta-page {
  min-width: 13.5rem;
  min-height: 3.9rem;
  padding: 0.78rem 1.1rem;
  border-color: rgba(239, 212, 141, 0.72);
  background: linear-gradient(132deg, rgba(216, 189, 125, 0.18), rgba(9, 36, 27, 0.76));
  box-shadow: inset 0.23rem 0 0 var(--sand), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0.8rem 2rem rgba(0, 0, 0, 0.2);
  font-size: 0.78rem;
}

.programs-page-cta.site-cta-page {
  min-height: 4.25rem;
  padding: 0.78rem 1.05rem;
}

.programs-page-cta.site-cta-page b {
  font-size: 0.82rem;
}

.programs-page-cta.site-cta-page small {
  font-size: 0.54rem;
}

.program-card-body > a.site-cta-card,
.membership-plan-card > a.site-cta-card {
  min-height: 3.45rem;
  padding: 0.72rem 0.9rem;
  border-color: rgba(232, 206, 145, 0.46);
  background: linear-gradient(120deg, rgba(216, 189, 125, 0.08), rgba(255, 253, 247, 0.018));
  box-shadow: inset 0.18rem 0 0 rgba(216, 189, 125, 0.7);
  font-size: 0.72rem;
}

.membership-plan-card.is-featured > a.site-cta-card {
  border-color: #efd48d;
  background: linear-gradient(132deg, #efd99f, var(--sand) 58%, #c9943d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 0.6rem 1.4rem rgba(201, 149, 62, 0.2);
}

.site-cta > i {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border: 1px solid rgba(216, 189, 125, 0.42);
  background: rgba(7, 17, 14, 0.16);
  font-size: 0.84rem;
  font-style: normal;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-cta-gold > i {
  border-color: rgba(7, 17, 14, 0.2);
  background: rgba(7, 17, 14, 0.12);
}

.membership-back-link .site-cta-back {
  width: min(100%, 31rem);
  min-height: 3.7rem;
  padding: 0.72rem 0.95rem;
  border-color: rgba(232, 206, 145, 0.62);
  background: linear-gradient(120deg, rgba(216, 189, 125, 0.13), rgba(16, 59, 45, 0.42));
  box-shadow: inset 0.22rem 0 0 var(--sand), 0 0.7rem 1.7rem rgba(0, 0, 0, 0.18);
  font-size: 0.76rem;
}

.footer-contact > a.site-cta-footer {
  min-height: 2.25rem;
  padding: 0.4rem 0.58rem;
  border-color: rgba(216, 189, 125, 0.34);
  background: linear-gradient(120deg, rgba(216, 189, 125, 0.08), transparent);
  box-shadow: inset 0.14rem 0 0 rgba(216, 189, 125, 0.7);
  font-size: 0.58rem;
}

.footer-contact > a.site-cta-footer > i {
  width: 1.35rem;
  height: 1.35rem;
  flex-basis: 1.35rem;
  font-size: 0.64rem;
}

@media (hover: hover) {
  .site-cta:hover::after,
  .site-cta:focus-visible::after {
    transform: translateX(-115%);
  }

  .site-cta:hover > i,
  .site-cta:focus-visible > i {
    border-color: rgba(7, 17, 14, 0.28);
    background: rgba(255, 253, 247, 0.2);
    transform: translateX(-0.24rem) rotate(-4deg);
  }

  .site-cta-outline:hover,
  .site-cta-outline:focus-visible,
  .program-card-body > a.site-cta-card:hover,
  .program-card-body > a.site-cta-card:focus-visible,
  .membership-plan-card > a.site-cta-card:hover,
  .membership-plan-card > a.site-cta-card:focus-visible,
  .membership-back-link .site-cta-back:hover,
  .membership-back-link .site-cta-back:focus-visible,
  .footer-contact > a.site-cta-footer:hover,
  .footer-contact > a.site-cta-footer:focus-visible {
    border-color: #efd48d;
    color: var(--ink);
    background: linear-gradient(132deg, #efd99f, var(--sand) 58%, #c9943d);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 0.85rem 1.9rem rgba(201, 149, 62, 0.22);
  }
}

@media (max-width: 720px) {
  .primary-action.site-cta,
  .services-cta.site-cta,
  .site-cta-outline {
    min-width: 0;
    min-height: 3.2rem;
    padding: 0.62rem 0.78rem;
    font-size: 0.7rem;
  }

  .site-cta-page,
  .programs-page-cta.site-cta-page {
    min-height: 3.65rem;
    padding: 0.65rem 0.8rem;
  }

  .program-card-body > a.site-cta-card,
  .membership-plan-card > a.site-cta-card {
    min-height: 3.25rem;
    font-size: 0.68rem;
  }

  .membership-back-link .site-cta-back {
    min-height: 3.45rem;
    font-size: 0.7rem;
  }

  .site-cta > i {
    width: 1.75rem;
    height: 1.75rem;
    flex-basis: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta::after,
  .site-cta > i {
    transition: none;
  }
}

/* Final clean CTA direction: calm, premium and easy to scan. */
.site-cta {
  overflow: hidden;
  border-radius: 0.15rem;
  letter-spacing: 0;
  box-shadow: 0 0.55rem 1.25rem rgba(0, 0, 0, 0.14);
}

.site-cta::after {
  display: none;
}

.site-cta > i {
  display: inline-block;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 200ms ease;
}

.primary-action.site-cta,
.services-cta.site-cta {
  min-width: 11.2rem;
  min-height: 3.35rem;
  padding: 0.72rem 1rem;
  font-size: 0.76rem;
}

.site-cta-gold {
  border: 1px solid #ead18f;
  color: var(--ink);
  background: var(--sand);
  box-shadow: 0 0.55rem 1.35rem rgba(201, 149, 62, 0.2);
}

.site-cta-outline {
  min-width: 9.4rem;
  min-height: 3.2rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(216, 189, 125, 0.55);
  color: var(--cream);
  background: rgba(7, 17, 14, 0.48);
  box-shadow: none;
  font-size: 0.72rem;
}

.site-cta-compact {
  min-width: 9.5rem;
}

.site-cta-page {
  min-width: 13rem;
  min-height: 3.65rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(234, 209, 143, 0.72);
  color: var(--cream);
  background: rgba(216, 189, 125, 0.08);
  box-shadow: 0 0.55rem 1.35rem rgba(0, 0, 0, 0.16);
  font-size: 0.76rem;
}

.programs-page-cta.site-cta-page {
  min-height: 4rem;
  padding: 0.72rem 1rem;
  color: var(--ink);
  background: var(--sand);
  box-shadow: 0 0.7rem 1.55rem rgba(201, 149, 62, 0.2);
}

.programs-page-cta.site-cta-page::before {
  display: none;
}

.programs-page-cta.site-cta-page b {
  color: var(--ink);
  font-size: 0.8rem;
}

.programs-page-cta.site-cta-page small {
  color: rgba(7, 17, 14, 0.62);
  font-size: 0.52rem;
}

.program-card-body > a.site-cta-card,
.membership-plan-card > a.site-cta-card {
  min-height: 3.3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(216, 189, 125, 0.42);
  color: var(--cream);
  background: transparent;
  box-shadow: none;
  font-size: 0.7rem;
}

.membership-plan-card.is-featured > a.site-cta-card {
  border-color: var(--sand);
  color: var(--ink);
  background: var(--sand);
  box-shadow: none;
}

.membership-back-link .site-cta-back {
  width: min(100%, 29rem);
  min-height: 3.5rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(216, 189, 125, 0.52);
  color: var(--cream);
  background: transparent;
  box-shadow: none;
  font-size: 0.72rem;
}

.footer-contact > a.site-cta-footer {
  min-height: 2.1rem;
  padding: 0.36rem 0.52rem;
  border: 1px solid rgba(216, 189, 125, 0.25);
  color: var(--cream);
  background: transparent;
  box-shadow: none;
  font-size: 0.56rem;
}

.footer-contact > a.site-cta-footer > i {
  width: auto;
  height: auto;
  flex-basis: auto;
  font-size: 0.64rem;
}

@media (hover: hover) {
  .site-cta:hover {
    transform: translateY(-0.12rem);
  }

  .site-cta:hover > i,
  .site-cta:focus-visible > i {
    border: 0;
    background: transparent;
    transform: translateX(-0.28rem);
  }

  .site-cta-outline:hover,
  .site-cta-outline:focus-visible,
  .site-cta-page:hover,
  .site-cta-page:focus-visible,
  .program-card-body > a.site-cta-card:hover,
  .program-card-body > a.site-cta-card:focus-visible,
  .membership-plan-card > a.site-cta-card:hover,
  .membership-plan-card > a.site-cta-card:focus-visible,
  .membership-back-link .site-cta-back:hover,
  .membership-back-link .site-cta-back:focus-visible,
  .footer-contact > a.site-cta-footer:hover,
  .footer-contact > a.site-cta-footer:focus-visible {
    border-color: var(--sand);
    color: var(--ink);
    background: var(--sand);
    box-shadow: 0 0.55rem 1.25rem rgba(201, 149, 62, 0.16);
  }
}

@media (max-width: 720px) {
  .primary-action.site-cta,
  .services-cta.site-cta,
  .site-cta-outline {
    min-width: 0;
    min-height: 3.05rem;
    padding: 0.58rem 0.72rem;
    font-size: 0.68rem;
  }

  .site-cta-page,
  .programs-page-cta.site-cta-page {
    min-height: 3.4rem;
    padding: 0.6rem 0.75rem;
  }

  .program-card-body > a.site-cta-card,
  .membership-plan-card > a.site-cta-card {
    min-height: 3.15rem;
    font-size: 0.66rem;
  }

  .membership-back-link .site-cta-back {
    min-height: 3.3rem;
    font-size: 0.68rem;
  }
}

/* Give key actions hierarchy and a restrained attention cue. */
.site-cta .cta-copy {
  display: grid;
  gap: 0.18rem;
  align-content: center;
  text-align: right;
  line-height: 1.2;
}

.site-cta .cta-copy small {
  color: inherit;
  opacity: 0.62;
  font-size: 0.5rem;
  font-weight: 500;
}

.site-cta .cta-copy b {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 750;
}

.programs-final-content .site-cta-page {
  border-color: #ead18f;
  color: var(--ink);
  background: var(--sand);
  box-shadow: 0 0.65rem 1.5rem rgba(201, 149, 62, 0.24);
}

.programs-final-content .site-cta-page::before {
  display: none;
}

.site-cta-attention {
  animation: rahwan-cta-attention 3.2s ease-in-out infinite;
}

@keyframes rahwan-cta-attention {
  0%, 100% {
    box-shadow: 0 0.55rem 1.25rem rgba(201, 149, 62, 0.18), 0 0 0 0 rgba(216, 189, 125, 0);
  }
  50% {
    box-shadow: 0 0.75rem 1.75rem rgba(201, 149, 62, 0.3), 0 0 0 0.28rem rgba(216, 189, 125, 0.08);
  }
}

body.page-hidden .site-cta-attention {
  animation-play-state: paused;
}

@media (hover: hover) {
  .site-cta-attention:hover,
  .site-cta-attention:focus-visible {
    animation-play-state: paused;
    box-shadow: 0 0.9rem 2rem rgba(201, 149, 62, 0.34);
  }
}

@media (max-width: 720px) {
  .site-cta .cta-copy small {
    font-size: 0.46rem;
  }

  .site-cta .cta-copy b {
    font-size: 0.69rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta-attention {
    animation: none;
  }
}

/* Radiant pulse using the warm-gold palette selected for Rahwan. */
.site-cta-attention {
  --cta-glow: 255, 231, 166;
  overflow: visible;
  box-shadow:
    0 0.65rem 1.5rem rgba(201, 149, 62, 0.26),
    0 0 1.15rem rgba(var(--cta-glow), 0.16);
}

.site-cta-attention::after {
  content: "";
  position: absolute;
  inset: -0.48rem;
  z-index: -2;
  display: block;
  pointer-events: none;
  border: 1px solid rgba(var(--cta-glow), 0.2);
  border-radius: 0.42rem;
  opacity: 0.38;
  background: radial-gradient(ellipse at center, rgba(var(--cta-glow), 0.24) 0%, rgba(var(--cta-glow), 0.08) 48%, transparent 74%);
  transform: scale(0.94);
  animation: rahwan-cta-radiance 2.6s ease-in-out infinite;
}

@keyframes rahwan-cta-radiance {
  0%, 100% {
    opacity: 0.28;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.04);
  }
}

body.page-hidden .site-cta-attention::after {
  animation-play-state: paused;
}

@media (hover: hover) {
  .site-cta-attention:hover::after,
  .site-cta-attention:focus-visible::after {
    animation-play-state: paused;
    opacity: 0.88;
    transform: scale(1.03);
  }
}

@media (max-width: 720px) {
  .site-cta-attention::after {
    inset: -0.34rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta-attention::after {
    opacity: 0.42;
    animation: none;
    transform: none;
  }
}

/* Header light: warm glow that stays within Rahwan's gold/emerald palette. */
.site-header {
  overflow: hidden;
  isolation: isolate;
  border-bottom-color: rgba(255, 231, 166, 0.22);
  background:
    radial-gradient(ellipse at 82% -40%, rgba(255, 231, 166, 0.2) 0%, rgba(216, 189, 125, 0.07) 28%, transparent 58%),
    radial-gradient(ellipse at 50% -65%, rgba(47, 118, 90, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(5, 16, 12, 0.96), rgba(5, 16, 12, 0.48));
  box-shadow: 0 0.75rem 2.2rem rgba(0, 0, 0, 0.14);
}

.site-header > * {
  position: relative;
  z-index: 2;
}

.site-header::before {
  content: "";
  position: absolute;
  top: -4.8rem;
  right: 54%;
  z-index: 0;
  width: 24rem;
  height: 9rem;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.42;
  background: radial-gradient(ellipse, rgba(255, 231, 166, 0.34), rgba(216, 189, 125, 0.07) 46%, transparent 72%);
  transform: translateX(50%) scale(0.96);
  animation: rahwan-header-light 4.2s ease-in-out infinite;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 0;
  left: 6%;
  z-index: 1;
  height: 1px;
  pointer-events: none;
  opacity: 0.78;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 125, 0.38) 24%, #ffe7a6 50%, rgba(216, 189, 125, 0.38) 76%, transparent);
  box-shadow: 0 0 0.8rem rgba(255, 231, 166, 0.42);
  animation: rahwan-header-line 4.2s ease-in-out infinite;
}

.site-header .brand-mark {
  filter: drop-shadow(0 0 0.5rem rgba(255, 231, 166, 0.24));
}

.site-header .desktop-nav a.is-active,
.site-header .desktop-nav a:hover,
.site-header .desktop-nav a:focus-visible {
  text-shadow: 0 0 0.8rem rgba(255, 231, 166, 0.34);
}

@keyframes rahwan-header-light {
  0%, 100% {
    opacity: 0.32;
    transform: translateX(50%) scale(0.94);
  }
  50% {
    opacity: 0.7;
    transform: translateX(50%) scale(1.08);
  }
}

@keyframes rahwan-header-line {
  0%, 100% {
    opacity: 0.44;
    transform: scaleX(0.72);
  }
  50% {
    opacity: 0.92;
    transform: scaleX(1);
  }
}

body.page-hidden .site-header::before,
body.page-hidden .site-header::after {
  animation-play-state: paused;
}

@media (max-width: 720px) {
  .site-header {
    background:
      radial-gradient(ellipse at 76% -50%, rgba(255, 231, 166, 0.17), transparent 58%),
      linear-gradient(180deg, rgba(5, 16, 12, 0.98), rgba(5, 16, 12, 0.8));
  }

  .site-header::before {
    top: -4rem;
    right: 58%;
    width: 16rem;
    height: 7rem;
  }

  .site-header::after {
    right: 3%;
    left: 3%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before,
  .site-header::after {
    animation: none;
  }
}

/* Editorial sports typography for the programs page. */
.programs-page .programs-hero-title {
  position: relative;
  width: fit-content;
  padding: 0.15em 0 0.34em clamp(2.4rem, 5vw, 5rem);
  isolation: isolate;
}

.programs-page .programs-hero-title::before {
  content: "02";
  position: absolute;
  top: -0.28em;
  left: clamp(-5.2rem, -4.3vw, -3rem);
  z-index: -1;
  color: transparent;
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.03em;
  -webkit-text-stroke: 1px rgba(216, 189, 125, 0.38);
  opacity: 0.72;
}

.programs-page .programs-hero-title > span {
  position: relative;
  width: fit-content;
  padding-right: 0.52em;
  color: var(--white);
  font-weight: 650;
  text-shadow: 0 0.55rem 1.5rem rgba(0, 0, 0, 0.28);
}

.programs-page .programs-hero-title > span::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.13em;
  height: 0.13em;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0.6rem rgba(255, 231, 166, 0.58);
  transform: translateY(-50%);
}

.programs-page .programs-hero-title > strong {
  position: relative;
  width: fit-content;
  padding-bottom: 0.16em;
  color: var(--sand);
  text-shadow: 0 0 1.15rem rgba(201, 149, 62, 0.2);
}

.programs-page .programs-hero-title > strong::after {
  content: "";
  position: absolute;
  right: 0.05em;
  bottom: 0;
  width: 72%;
  height: 2px;
  transform-origin: right center;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 125, 0.54), #ffe7a6);
  box-shadow: 0 0 0.65rem rgba(255, 231, 166, 0.32);
  transform: scaleX(0.18);
  transition: transform 780ms cubic-bezier(0.2, 0.7, 0.25, 1) 420ms;
}

body.is-loaded .programs-page .programs-hero-title > strong::after {
  transform: scaleX(1);
}

.programs-page .programs-hero-description {
  position: relative;
  padding: 0.85rem 1.05rem 0.85rem 0.4rem;
  border-right: 2px solid rgba(216, 189, 125, 0.72);
  background: linear-gradient(90deg, transparent, rgba(7, 17, 14, 0.26));
}

.programs-page .programs-heading h2,
.programs-page .programs-final-content h2 {
  position: relative;
  width: fit-content;
  padding-right: 0.42em;
}

.programs-page .programs-heading h2::before,
.programs-page .programs-final-content h2::before {
  content: "";
  position: absolute;
  top: 0.18em;
  right: 0;
  width: 0.13em;
  height: 0.62em;
  background: linear-gradient(180deg, #ffe7a6, var(--gold));
  box-shadow: 0 0 0.55rem rgba(255, 231, 166, 0.26);
  transform: skewY(-18deg);
}

.programs-page .programs-heading h2 strong,
.programs-page .programs-final-content h2 strong {
  position: relative;
  width: fit-content;
  padding-bottom: 0.16em;
}

.programs-page .programs-heading h2 strong::after,
.programs-page .programs-final-content h2 strong::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(3.8rem, 58%, 11rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand));
}

.programs-page .programs-intro-copy > p,
.programs-page .programs-catalog-copy,
.programs-page .training-system-header > p {
  padding-right: 1rem;
  border-right: 1px solid rgba(216, 189, 125, 0.44);
}

.programs-page .program-card-body h3 {
  position: relative;
  width: fit-content;
  padding-bottom: 0.7rem;
}

.programs-page .program-card-body h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2.4rem;
  height: 1px;
  background: var(--sand);
  box-shadow: 0 0 0.45rem rgba(216, 189, 125, 0.24);
  transition: width 260ms ease;
}

@media (hover: hover) {
  .programs-page .program-card:hover .program-card-body h3::after {
    width: 72%;
  }
}

@media (max-width: 720px) {
  .programs-page .programs-hero-title {
    padding-left: 1.8rem;
  }

  .programs-page .programs-hero-title::before {
    top: -0.82em;
    left: 0.15rem;
    font-size: 0.48em;
  }

  .programs-page .programs-hero-title > strong {
    margin-right: 1.65rem;
  }

  .programs-page .programs-hero-description {
    padding: 0.65rem 0.78rem 0.65rem 0.25rem;
  }

  .programs-page .programs-heading h2,
  .programs-page .programs-final-content h2 {
    padding-right: 0.34em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .programs-page .programs-hero-title > strong::after {
    transform: scaleX(1);
    transition: none;
  }
}

/* Balanced heading scale and full page-transition CTA panels. */
.programs-page .programs-hero-title {
  font-size: clamp(2.55rem, 4.45vw, 4.65rem);
}

.programs-page .programs-heading h2,
.programs-page .programs-final-content h2 {
  font-size: clamp(1.95rem, 3.45vw, 3.55rem);
  line-height: 1.12;
}

.site-cta-page,
.programs-page-cta.site-cta-page,
.programs-final-content .site-cta-page,
.membership-back-link .site-cta-back {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 26rem);
  min-width: 0;
  min-height: 5.7rem;
  padding: 0.9rem 1rem;
  align-items: center;
  gap: 1rem;
  overflow: visible;
  border: 1px solid rgba(234, 209, 143, 0.6);
  color: var(--cream);
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 189, 125, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(17, 66, 50, 0.94), rgba(7, 22, 17, 0.96));
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 253, 247, 0.07);
  font-size: 0.76rem;
}

.site-cta-page::before,
.programs-page-cta.site-cta-page::before,
.programs-final-content .site-cta-page::before,
.membership-back-link .site-cta-back::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  z-index: 1;
  display: block;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffe7a6);
  box-shadow: 0 0 0.65rem rgba(255, 231, 166, 0.36);
}

.site-cta-page .cta-copy,
.programs-page-cta.site-cta-page .cta-copy {
  display: grid;
  gap: 0.22rem;
  align-content: center;
  text-align: right;
}

.site-cta-page .cta-copy small,
.programs-page-cta.site-cta-page .cta-copy small {
  color: var(--sand);
  opacity: 1;
  font-size: 0.5rem;
  font-weight: 650;
}

.site-cta-page .cta-copy b,
.programs-page-cta.site-cta-page .cta-copy b {
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 750;
}

.site-cta-page .cta-copy em,
.programs-page-cta.site-cta-page .cta-copy em {
  color: rgba(243, 236, 217, 0.58);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 450;
  line-height: 1.5;
}

.site-cta-page > i,
.programs-page-cta.site-cta-page > i {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: none;
  place-items: center;
  border: 1px solid rgba(216, 189, 125, 0.46);
  border-radius: 50%;
  color: var(--sand);
  background: rgba(216, 189, 125, 0.08);
  font-size: 0.95rem;
}

@media (hover: hover) {
  .site-cta-page:hover,
  .site-cta-page:focus-visible,
  .programs-page-cta.site-cta-page:hover,
  .programs-page-cta.site-cta-page:focus-visible,
  .programs-final-content .site-cta-page:hover,
  .programs-final-content .site-cta-page:focus-visible,
  .membership-back-link .site-cta-back:hover,
  .membership-back-link .site-cta-back:focus-visible {
    border-color: #ffe7a6;
    color: var(--cream);
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 231, 166, 0.25), transparent 42%),
      linear-gradient(135deg, #174f3d, #0a241b);
    box-shadow: 0 1rem 2.35rem rgba(0, 0, 0, 0.26), 0 0 1.25rem rgba(216, 189, 125, 0.12);
    transform: translateY(-0.18rem);
  }

  .site-cta-page:hover > i,
  .site-cta-page:focus-visible > i,
  .programs-page-cta.site-cta-page:hover > i,
  .programs-page-cta.site-cta-page:focus-visible > i {
    border-color: var(--sand);
    color: var(--ink);
    background: var(--sand);
    transform: translateX(-0.22rem);
  }
}

@media (max-width: 720px) {
  .programs-page .programs-hero-title {
    font-size: clamp(2rem, 8.4vw, 2.75rem);
  }

  .programs-page .programs-heading h2,
  .programs-page .programs-final-content h2 {
    font-size: clamp(1.72rem, 7.3vw, 2.35rem);
  }

  .site-cta-page,
  .programs-page-cta.site-cta-page,
  .programs-final-content .site-cta-page,
  .membership-back-link .site-cta-back {
    width: 100%;
    min-height: 5.25rem;
    padding: 0.78rem 0.82rem;
    gap: 0.72rem;
  }

  .site-cta-page .cta-copy b,
  .programs-page-cta.site-cta-page .cta-copy b {
    font-size: 0.74rem;
  }

  .site-cta-page > i,
  .programs-page-cta.site-cta-page > i {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 0.82rem;
  }
}

/* Final cascade: keep the compact hero CTAs aligned with the new page panels. */
.programs-page .hero-actions .hero-panel-cta,
.memberships-page .hero-actions .hero-panel-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(100%, 19rem);
  min-width: 16.5rem;
  min-height: 4.7rem;
  padding: 0.7rem 0.78rem;
  align-items: center;
  gap: 0.8rem;
  overflow: visible;
  border: 1px solid rgba(234, 209, 143, 0.62);
  color: var(--cream);
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 189, 125, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(17, 66, 50, 0.96), rgba(7, 22, 17, 0.97));
  box-shadow: 0 0.75rem 1.8rem rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 253, 247, 0.08);
  text-decoration: none;
  isolation: isolate;
}

.programs-page .hero-actions .hero-panel-cta::before,
.memberships-page .hero-actions .hero-panel-cta::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 1rem;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.9;
}

.programs-page .hero-actions .hero-panel-cta .cta-copy,
.memberships-page .hero-actions .hero-panel-cta .cta-copy {
  display: grid;
  min-width: 0;
  gap: 0.14rem;
  text-align: right;
}

.programs-page .hero-actions .hero-panel-cta .cta-copy small,
.memberships-page .hero-actions .hero-panel-cta .cta-copy small {
  color: var(--gold);
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.programs-page .hero-actions .hero-panel-cta .cta-copy b,
.memberships-page .hero-actions .hero-panel-cta .cta-copy b {
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
}

.programs-page .hero-actions .hero-panel-cta .cta-copy em,
.memberships-page .hero-actions .hero-panel-cta .cta-copy em {
  overflow: hidden;
  color: rgba(243, 238, 224, 0.66);
  font-size: 0.54rem;
  font-style: normal;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.programs-page .hero-actions .hero-panel-cta > i,
.memberships-page .hero-actions .hero-panel-cta > i {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(234, 209, 143, 0.58);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.8rem;
  font-style: normal;
  transition: transform 220ms ease, color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.programs-page .hero-actions .hero-panel-cta:hover,
.programs-page .hero-actions .hero-panel-cta:focus-visible,
.memberships-page .hero-actions .hero-panel-cta:hover,
.memberships-page .hero-actions .hero-panel-cta:focus-visible {
  border-color: var(--gold);
  color: var(--cream);
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 209, 143, 0.3), transparent 48%),
    linear-gradient(135deg, rgba(22, 82, 61, 0.98), rgba(8, 29, 22, 0.98));
  transform: translateY(-2px);
}

.programs-page .hero-actions .hero-panel-cta:hover > i,
.programs-page .hero-actions .hero-panel-cta:focus-visible > i,
.memberships-page .hero-actions .hero-panel-cta:hover > i,
.memberships-page .hero-actions .hero-panel-cta:focus-visible > i {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
  transform: translateX(-0.18rem);
}

@media (max-width: 720px) {
  .programs-page .hero-actions .hero-panel-cta,
  .memberships-page .hero-actions .hero-panel-cta {
    width: 100%;
    min-width: 0;
    min-height: 4.4rem;
    padding: 0.65rem 0.72rem;
  }

  .programs-page .hero-actions .hero-panel-cta .cta-copy b,
  .memberships-page .hero-actions .hero-panel-cta .cta-copy b { font-size: 0.8rem; }

  .programs-page .hero-actions .hero-panel-cta > i,
  .memberships-page .hero-actions .hero-panel-cta > i { width: 2.2rem; height: 2.2rem; }
}

/* Keep the memberships hero pair visually equal in scale. */
.memberships-page .memberships-hero-content .hero-actions .hero-panel-cta {
  width: 11.2rem;
  min-width: 11.2rem;
  min-height: 3.35rem;
  padding: 0.42rem 0.52rem;
  gap: 0.5rem;
}

.memberships-page .memberships-hero-content .hero-panel-cta::before {
  right: 0.65rem;
  width: 42%;
}

.memberships-page .memberships-hero-content .hero-panel-cta .cta-copy { gap: 0.05rem; }
.memberships-page .memberships-hero-content .hero-panel-cta .cta-copy small { font-size: 0.42rem; }
.memberships-page .memberships-hero-content .hero-panel-cta .cta-copy b { font-size: 0.69rem; }
.memberships-page .memberships-hero-content .hero-panel-cta .cta-copy em { display: none; }
.memberships-page .memberships-hero-content .hero-panel-cta > i { width: 1.75rem; height: 1.75rem; font-size: 0.68rem; }

/* The call request keeps its gold CTA but with a quieter, smaller arrow disc. */
.memberships-page .membership-contact-copy .site-cta-gold > i {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.52rem;
}

@media (min-width: 721px) {
  .memberships-page .memberships-hero-content .hero-actions > .site-cta {
    box-sizing: border-box;
    flex: 0 0 11.2rem;
    width: 11.2rem;
    min-width: 11.2rem;
    min-height: 3.35rem;
  }
}

@media (max-width: 720px) {
  .memberships-page .memberships-hero-content .hero-actions .hero-panel-cta {
    width: 100%;
    min-width: 0;
    min-height: 3.35rem;
  }
}

/* Programs hero: the booking CTA is compact enough to sit cleanly beside its partner. */
@media (min-width: 721px) {
  .programs-page .programs-hero-content .hero-actions > .site-cta {
    box-sizing: border-box;
    flex: 0 0 11.2rem;
    width: 11.2rem;
    min-width: 11.2rem;
    min-height: 3.35rem;
  }

  .programs-page .programs-hero-content .hero-panel-cta {
    padding: 0.42rem 0.52rem;
    gap: 0.5rem;
  }

  .programs-page .programs-hero-content .hero-panel-cta::before {
    right: 0.65rem;
    width: 42%;
  }

  .programs-page .programs-hero-content .hero-panel-cta .cta-copy { gap: 0.05rem; }
  .programs-page .programs-hero-content .hero-panel-cta .cta-copy small { font-size: 0.42rem; }
  .programs-page .programs-hero-content .hero-panel-cta .cta-copy b { font-size: 0.69rem; }
  .programs-page .programs-hero-content .hero-panel-cta .cta-copy em { display: none; }
  .programs-page .programs-hero-content .hero-panel-cta > i { width: 1.75rem; height: 1.75rem; font-size: 0.68rem; }
}

/* A restrained breathing space keeps the two-word programs title easy to read. */
.programs-page .programs-hero-title > span,
.programs-page .programs-hero-title > strong {
  display: inline-block;
  vertical-align: baseline;
}

.programs-page .programs-hero-title > strong {
  margin-right: 0.18em;
  transition: margin 420ms cubic-bezier(0.2, 0.7, 0.25, 1), color 320ms ease, text-shadow 320ms ease;
}

@media (max-width: 720px) {
  .programs-page .programs-hero-title > strong { margin-right: 0.26em; }
}

/* Savings strip: a subtle moving highlight gives the offer more life without adding weight. */
.memberships-page .membership-saving {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.memberships-page .membership-saving::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 231, 166, 0.11) 48%, transparent 66%);
  transform: translateX(-130%);
  animation: membership-saving-sheen 5.8s cubic-bezier(0.35, 0, 0.2, 1) 1.1s infinite;
}

.memberships-page .membership-saving > span,
.memberships-page .membership-saving > div {
  position: relative;
  transition: background-color 260ms ease, transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.memberships-page .membership-saving > div::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 0.6rem;
  width: 1.7rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: 0.48;
  transform: scaleX(0.35);
  transform-origin: right;
  transition: transform 300ms ease, opacity 300ms ease;
}

.memberships-page .membership-saving > div:hover {
  z-index: 1;
  background: rgba(216, 189, 125, 0.08);
  transform: translateY(-0.22rem);
}

.memberships-page .membership-saving > div:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.memberships-page .membership-saving > div:hover small {
  animation: membership-saving-pulse 900ms ease-out both;
}

@keyframes membership-saving-sheen {
  0%, 58% { transform: translateX(-130%); opacity: 0; }
  64% { opacity: 1; }
  86%, 100% { transform: translateX(130%); opacity: 0; }
}

@keyframes membership-saving-pulse {
  0% { transform: translateX(0); text-shadow: none; }
  45% { transform: translateX(-0.16rem); text-shadow: 0 0 0.75rem rgba(255, 231, 166, 0.58); }
  100% { transform: translateX(0); text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .memberships-page .membership-saving::before,
  .memberships-page .membership-saving > div:hover small { animation: none; }

  .memberships-page .membership-saving > div { transition: none; }
}

/* Comparison table becomes its own calm, readable surface inside the section. */
.memberships-page .membership-table-wrap {
  padding: 0.55rem;
  border-color: rgba(234, 209, 143, 0.35);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 92% 7%, rgba(216, 189, 125, 0.13), transparent 20rem),
    linear-gradient(145deg, rgba(19, 55, 43, 0.78), rgba(5, 19, 14, 0.96));
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 253, 247, 0.06);
}

.memberships-page .membership-table {
  overflow: hidden;
  border: 1px solid rgba(234, 209, 143, 0.14);
  border-radius: 0.66rem;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(4, 15, 11, 0.46);
}

.memberships-page .membership-table th,
.memberships-page .membership-table td {
  padding: 1.3rem 1.35rem;
  border-color: rgba(234, 209, 143, 0.12);
  line-height: 1.55;
}

.memberships-page .membership-table thead th {
  position: relative;
  color: #ffe7a6;
  background: linear-gradient(135deg, rgba(216, 189, 125, 0.18), rgba(216, 189, 125, 0.055));
  font-size: 0.74rem;
  letter-spacing: 0.01em;
}

.memberships-page .membership-table tbody tr:nth-child(even) { background: rgba(255, 253, 247, 0.027); }

.memberships-page .membership-table tbody th {
  color: rgba(255, 253, 247, 0.9);
  font-size: 0.74rem;
  font-weight: 650;
}

.memberships-page .membership-table td {
  color: rgba(243, 236, 217, 0.74);
  font-size: 0.7rem;
}

.memberships-page .membership-table tbody tr {
  transition: background-color 220ms ease;
}

.memberships-page .membership-table tbody tr:hover { background: rgba(216, 189, 125, 0.1); }

@media (max-width: 720px) {
  .memberships-page .membership-table-wrap { padding: 0.34rem; border-radius: 0.72rem; }
  .memberships-page .membership-table th,
  .memberships-page .membership-table td { padding: 0.92rem 0.88rem; }
}

/* Preserve the page heading system after changing this semantic heading to h3. */
.memberships-page #membership-comparison-title {
  position: relative;
  display: grid;
  width: fit-content;
  margin: 1.25rem 0 0;
  padding-right: 0.42em;
  font-size: clamp(1.95rem, 3.45vw, 3.55rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.07em;
}

.memberships-page #membership-comparison-title::before {
  content: "";
  position: absolute;
  top: 0.18em;
  right: 0;
  width: 0.13em;
  height: 0.62em;
  background: linear-gradient(180deg, #ffe7a6, var(--gold));
  box-shadow: 0 0 0.55rem rgba(255, 231, 166, 0.26);
  transform: skewY(-18deg);
}

.memberships-page #membership-comparison-title strong {
  position: relative;
  width: fit-content;
  margin-top: 0.12em;
  margin-right: clamp(2rem, 5vw, 5rem);
  padding-bottom: 0.16em;
  color: var(--sand);
  font-weight: 700;
}

.memberships-page #membership-comparison-title strong::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(3.8rem, 58%, 11rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand));
}

@media (max-width: 720px) {
  .memberships-page #membership-comparison-title { font-size: clamp(1.72rem, 7.3vw, 2.35rem); }
}

/* Footer contact actions stay compact but carry the primary gold treatment. */
.footer-contact > a.site-cta-footer {
  border-color: #efd48d;
  color: var(--ink);
  background: linear-gradient(132deg, #efd99f 0%, var(--sand) 54%, #c9943d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 0.5rem 1.1rem rgba(201, 149, 62, 0.16);
}

.footer-contact > a.site-cta-footer > i {
  color: var(--ink);
  transition: transform 200ms ease;
}

.footer-contact > a.site-cta-footer:hover,
.footer-contact > a.site-cta-footer:focus-visible {
  border-color: #ffe7a6;
  color: var(--ink);
  background: linear-gradient(132deg, #ffe7a6 0%, #e3bd68 55%, #d29338 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0.72rem 1.4rem rgba(201, 149, 62, 0.25);
  transform: translateY(-0.12rem);
}

.footer-contact > a.site-cta-footer:hover > i,
.footer-contact > a.site-cta-footer:focus-visible > i { transform: translateX(-0.16rem); }

/* Final iPhone/touch pass: preserve the desktop identity while keeping controls stable. */
@media (max-width: 720px) {
  html,
  body,
  .site-shell {
    max-width: 100%;
    overflow-x: clip;
  }

  .site-footer .footer-brand-block {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-items: start;
    gap: 0.55rem;
    opacity: 1 !important;
    transform: none !important;
  }

  .site-footer .footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: max-content;
  }

  .site-footer .footer-brand-link .brand-mark {
    display: inline-block !important;
    width: 2.45rem;
    height: 2.45rem;
  }

  .site-footer .footer-brand-link .brand-mark i {
    display: block !important;
    width: 1.95rem;
  }

  .site-footer .footer-brand-link .brand-copy {
    display: grid !important;
    opacity: 1;
    visibility: visible;
  }

  .site-footer .footer-brand-link .brand-copy b {
    display: block !important;
    font-size: 1.16rem;
  }

  .site-footer .footer-brand-link .brand-copy small {
    display: block !important;
    margin-top: 0.28rem;
    font-size: 0.43rem;
    letter-spacing: 0.18em;
    white-space: nowrap;
  }

  .site-footer .footer-brand-block > p {
    max-width: 24rem;
    margin: 0;
    text-align: right;
  }

  .site-footer .footer-join-button {
    min-height: 2.75rem;
  }

  .footer-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 0.5rem;
    padding-right: 0;
    border-right: 0;
  }

  .footer-contact > b,
  .footer-contact > p {
    grid-column: 1 / -1;
  }

  .footer-contact > a.site-cta-footer {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 2.8rem;
    height: 2.8rem;
    margin: 0;
    padding: 0.55rem 0.62rem;
    justify-content: space-between;
    gap: 0.35rem;
    font-size: 0.56rem;
    line-height: 1.25;
  }

  .programs-final-content .site-cta-page,
  .programs-page-cta.site-cta-page,
  .membership-back-link .site-cta-back {
    width: 100%;
    max-width: none;
    min-height: 4.65rem;
  }

  .about-reveal,
  .service-reveal,
  .program-reveal,
  .motion-ready .about-reveal,
  .motion-ready .service-reveal,
  .motion-ready .program-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 430px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (hover: none), (pointer: coarse) {
  .cursor-glow,
  .hero .speed-field::before,
  .hero .speed-field::after,
  .service-card::before,
  .site-cta-attention::after {
    display: none !important;
  }

  .speed-field,
  .magnetic,
  .site-cta,
  .service-card,
  .about-card,
  .program-card,
  .membership-plan-card,
  .membership-saving,
  .membership-saving::before {
    animation: none !important;
    transform: none !important;
  }

  .site-cta,
  .header-cta,
  .footer-join-button,
  .site-cta-attention,
  .service-card,
  .about-card,
  .program-card,
  .membership-plan-card {
    transition-duration: 180ms !important;
  }
}

/* iPhone refinement: a calm two-row header and unmistakable directional cues. */
@media (max-width: 720px) {
  .site-cta > i,
  .footer-join-button > i {
    box-sizing: border-box;
    display: grid;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border: 1px solid rgba(255, 231, 166, 0.42);
    border-radius: 999px;
    color: var(--ink);
    background: linear-gradient(145deg, #ffe7a6, var(--sand));
    font-size: 0.95rem !important;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    opacity: 1;
    text-shadow: none;
    box-shadow: 0 0.35rem 0.9rem rgba(201, 149, 62, 0.18);
  }

  .site-cta-gold > i,
  .footer-join-button > i {
    border-color: rgba(7, 17, 14, 0.25);
    background: rgba(7, 17, 14, 0.12);
    box-shadow: none;
  }

  .about-card > b,
  .service-card .service-arrow {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border: 1px solid rgba(255, 231, 166, 0.34);
    border-radius: 999px;
    color: #ffe7a6;
    background: rgba(7, 17, 14, 0.82);
    font-size: 1rem;
    opacity: 1;
    text-shadow: 0 0 0.8rem rgba(255, 231, 166, 0.32);
  }

  .training-step > i {
    color: #ffe7a6;
    opacity: 0.9;
    text-shadow: 0 0 0.7rem rgba(255, 231, 166, 0.28);
  }

  .footer-option > i {
    color: #ffe7a6;
    font-size: 0.92rem;
    opacity: 1;
  }

  .footer-contact > a.site-cta-footer > i {
    flex-basis: 1.55rem;
    width: 1.55rem;
    min-width: 1.55rem;
    height: 1.55rem;
    font-size: 0.72rem !important;
  }

  .footer-meta a > i {
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    place-items: center;
    border: 1px solid rgba(216, 189, 125, 0.32);
    border-radius: 999px;
    color: #ffe7a6;
    font-size: 0.78rem;
    opacity: 1;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    min-height: 6.35rem;
    gap: 0.25rem 0.65rem;
    padding:
      max(0.58rem, env(safe-area-inset-top))
      max(0.75rem, env(safe-area-inset-right))
      0.34rem
      max(0.75rem, env(safe-area-inset-left));
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    gap: 0.38rem;
  }

  .brand-mark {
    display: inline-block;
    width: 1.9rem;
    height: 1.9rem;
  }

  .brand-mark i {
    display: block;
    width: 1.5rem;
  }

  .brand-copy b {
    font-size: 0.92rem;
  }

  .brand-copy small {
    display: none;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
    min-width: 6.8rem;
    padding: 0.48rem 0.58rem;
    font-size: 0.64rem;
  }

  .header-cta .arrow {
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    place-items: center;
    border-radius: 999px;
    color: var(--ink);
    background: rgba(7, 17, 14, 0.1);
    font-size: 0.82rem;
    font-weight: 900;
  }

  .menu-button {
    display: none;
  }

  .desktop-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.3rem;
    padding: 0.12rem 0 0;
    border-top: 1px solid rgba(216, 189, 125, 0.16);
  }

  .desktop-nav a {
    padding: 0.42rem 0.12rem;
    font-size: 0.67rem;
  }

  .desktop-nav a::after {
    bottom: 0.18rem;
  }

  .programs-page .programs-hero-title::before {
    top: 0.08em;
    left: clamp(-5.8rem, -23vw, -4.6rem);
  }
}
