:root {
  --bg: #111111;
  --bg-soft: #1a1a1a;
  --panel: #202020;
  --text: #f3f3f3;
  --muted: #b9b9b9;
  --line: #2f2f2f;
  --accent: #b89b5e;
  --accent-2: #d8bf86;
  --max: 1100px;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  --anchor-offset: 100px;
  --about-bg: #161612;

  /* blend between hero and about */
  --hero-bottom-fade-height: 20px;
  --hero-bottom-fade-start: rgba(0, 0, 0, 0);
  --hero-bottom-fade-mid: rgba(10, 10, 10, 0.35);
  --hero-bottom-fade-end: rgba(22, 22, 18, 0.92);

  --about-top-blend-height: 160px;
  --about-top-blend-start: #2a2b2a;
  --about-top-blend-mid: #1d1d1a;
  --about-top-blend-end: #161612;

  /* hero values controls */
  --values-scale: 1.04;
  --values-brightness: 1.12;
  --values-contrast: 1.20;
  --values-saturate: 1.16;
  --values-shadow-dark: rgba(0, 0, 0, 0.42);
  --values-shadow-green: rgba(110, 166, 63, 0.24);
  --values-shadow-gold: rgba(216, 191, 134, 0.24);
  --values-shadow-gold-strong: rgba(216, 191, 134, 0.34);
  --values-backdrop-dark: rgba(0, 0, 0, 0.26);

  /* active nav highlight */
  --nav-current-green: #88c456;
  --nav-current-glow: rgba(136, 196, 86, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #111111 0%, #161616 100%);
  color: var(--text);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

section {
  padding: 1rem 0 2.5rem;
}

/* =========================
   HEADER / NAV
   ========================= */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 767px) {
  .header-inner {
    gap: 0.75rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo img {
    height: 36px;
    max-width: 58vw;
  }

  .menu-toggle {
    flex: 0 0 auto;
  }
}
.site-header {
  width: 100%;
  z-index: 1000;
  transition:
    background 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease;
}

.site-header .container {
  width: min(100% - 2rem, 1450px);
  margin-inline: auto;
}

/* Homepage: starts lighter / more transparent */
.has-hero-header .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: 0;
  overflow: visible;
  isolation: isolate;
}

.has-hero-header .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(136, 196, 86, 0.35);
  pointer-events: none;
  z-index: 3;
}

.has-hero-header .site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.78) 18%,
    rgba(0, 0, 0, 0.56) 40%,
    rgba(0, 0, 0, 0.28) 68%,
    rgba(0, 0, 0, 0.10) 86%,
    rgba(0, 0, 0, 0.00) 100%
  );
  pointer-events: none;
  z-index: -1;
}

/* Homepage after scroll: darker */
.has-hero-header .site-header.header-scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Inner pages */
.is-inner-page .site-header.header-scrolled {
  background: rgba(8, 8, 8, 0.97);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.is-inner-page .site-header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-top: 12px;
  margin-bottom: 15px;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 44px;
}

.menu-toggle {
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: #232323;
  border-color: #444;
  outline: none;
}

.nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  z-index: 1001;
}

.nav.open {
  display: block;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  display: grid;
  gap: 0.65rem;
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.nav a {
  position: relative;
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: #242424;
  border-color: #454545;
  transform: translateY(-1px);
  outline: none;
}

/* mobile active item */
.nav a[aria-current="page"],
.nav a.active {
  color: #f7fff2;
  border-color: rgba(136, 196, 86, 0.28);
}

/* subtle bounce */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 5;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.scroll-indicator span:first-child {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(216, 191, 134, 0.9);
}

.scroll-indicator .arrow {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(216, 191, 134, 0.95);
  border-bottom: 2px solid rgba(216, 191, 134, 0.95);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.7;
  }
  50% {
    transform: rotate(45deg) translate(6px, 6px);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .scroll-indicator {
    bottom: 22px;
  }
}

@media (max-width: 767px) {
  .scroll-indicator {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
  }
}

@media (min-width: 768px) {
  .header-inner {
    min-height: 82px;
  }

  .brand-logo img {
    height: 90px;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    display: block !important;
    position: static;
    margin-left: auto;
    flex: 0 1 auto;
  }

  .nav ul {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex-wrap: nowrap;
  }

  .nav a {
    padding: 0.45rem 0.35rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    white-space: nowrap;
    font-size: 0.98rem;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: transparent;
    transform: none;
    text-decoration: underline;
    text-underline-offset: 0.22em;
  }

  .nav a[aria-current="page"],
  .nav a.active {
    color: #f7fff2;
  }

  .nav a[aria-current="page"]::after,
  .nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.3rem;
    transform: translateX(-50%);
    width: 58%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      rgba(136, 196, 86, 0.15) 0%,
      rgba(136, 196, 86, 0.95) 20%,
      rgba(169, 230, 115, 1) 50%,
      rgba(136, 196, 86, 0.95) 80%,
      rgba(136, 196, 86, 0.15) 100%
    );
    box-shadow:
      0 0 6px rgba(136, 196, 86, 0.22),
      0 0 12px rgba(136, 196, 86, 0.10);
  }
}

/* =========================
   HERO
   ========================= */
.hero-testimonial {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(680px, calc(100% - 3rem));
  padding: 0.7rem 1.2rem 0.65rem;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(184, 155, 94, 0.35);
  border-left: 10px solid #b89b5e;
  border-radius: 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: left;
}

.hero-testimonial-text {
  margin: 0 0 0.35rem 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #f3f3f3;
}

.hero-testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-testimonial-author {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #d8bf86;
}

.hero-testimonial-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d8bf86;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  white-space: nowrap;
}

.hero-testimonial-link:hover,
.hero-testimonial-link:focus-visible {
  color: #fff3c4;
}

.scroll-indicator {
  z-index: 5;
}
.highlight {
  color: #fad071;
  font-weight: 700;
}

.highlight2 {
  color: #ffffff;
  font-weight: 700;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("/images/hero_background41.jpg") center center / cover no-repeat;
  margin: 0;
  padding: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.05) 18%,
    rgba(0, 0, 0, 0) 34%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--hero-bottom-fade-height);
  background: linear-gradient(
    to bottom,
    var(--hero-bottom-fade-start) 0%,
    var(--hero-bottom-fade-mid) 55%,
    var(--hero-bottom-fade-end) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  width: min(100% - 3rem, 1450px);
  margin-inline: auto;
}

.hero-copy {
  max-width: 600px;
  padding-top: 3.5rem;
  margin-left: 0;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: "AR One Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 3.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  text-wrap: balance;
}

.hero-copy p {
  margin: 0;
  max-width: 34ch;
  font-family: "AR One Sans", Arial, sans-serif;
  font-weight: 100;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.28;
  color: rgb(217 211 211 / 92%);
}

.hero-copy .button-row {
  margin-top: 1.75rem;
}

.hero .button-row {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

.hero .btn {
  min-height: 56px;
  padding: 0.95rem 1.7rem;
  border-radius: 6px;
  font-family: "AR One Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0;
  min-width: 220px;
  justify-content: center;
  box-shadow: none;
}

.hero .btn-primary {
  background: linear-gradient(
    90deg,
    #4f9f1f 0%,
    #67bf2f 45%,
    #86e044 100%
  );
  border: 1px solid rgba(170, 255, 120, 0.55);
  color: #ffffff;
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible {
  background: linear-gradient(
    90deg,
    #58ad24 0%,
    #72ce36 45%,
    #92ec4b 100%
  );
  color: #041000;
}

.hero .btn-secondary {
  background: rgba(24, 30, 24, 0.42);
  border: 1px solid rgba(220, 230, 220, 0.38);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
  background: rgba(32, 38, 32, 0.55);
  border-color: rgba(235, 245, 235, 0.5);
  color: #ffffff;
}

.hero-values {
  position: absolute;
  right: 2.5%;
  top: 57%;
  transform: translateY(-50%);
  z-index: 2;
  width: clamp(240px, 24vw, 360px);
  isolation: isolate;
}

.hero-values::before {
  content: "";
  position: absolute;
  inset: 4% -6%;
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 62% 50%,
      rgba(216, 191, 134, 0.10) 0%,
      rgba(216, 191, 134, 0.04) 22%,
      rgba(216, 191, 134, 0) 48%
    ),
    radial-gradient(
      ellipse at 58% 52%,
      rgba(110, 166, 63, 0.10) 0%,
      rgba(110, 166, 63, 0.04) 24%,
      rgba(110, 166, 63, 0) 52%
    ),
    radial-gradient(
      ellipse at center,
      var(--values-backdrop-dark) 0%,
      rgba(0, 0, 0, 0.14) 44%,
      rgba(0, 0, 0, 0) 78%
    );
  filter: blur(10px);
}

.hero-values img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(var(--values-scale));
  transform-origin: center center;
  filter:
    brightness(var(--values-brightness))
    contrast(var(--values-contrast))
    saturate(var(--values-saturate))
    drop-shadow(0 12px 24px var(--values-shadow-dark))
    drop-shadow(0 0 10px var(--values-shadow-green))
    drop-shadow(0 0 14px var(--values-shadow-gold))
    drop-shadow(0 0 24px var(--values-shadow-gold-strong));
}

@media (max-width: 767px) {
  .hero {
    min-height: 92vh;
    background-position: center top;
  }

  .hero-inner {
    min-height: 92vh;
    align-items: flex-start;
    width: min(100% - 1.5rem, 1450px);
    padding-top: 8.5rem;
    padding-bottom: 3rem;
  }

  .hero-copy {
    max-width: 92%;
    padding-top: 10rem;
    margin: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 2.6rem);
    line-height: 0.96;
  }

  .hero-copy p {
    max-width: 28ch;
    font-size: 1rem;
  }

  .hero-values {
    display: none;
  }

  .hero .button-row {
    flex-direction: column;
  }

  .hero .btn {
    min-width: 0;
    width: 100%;
    max-width: 280px;
  }
}

/* =========================
   ABOUT
   ========================= */


.testimonial-toggle {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
  background: none;
  color: #d8bf86;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  align-self: flex-start;
}

.testimonial-toggle:hover,
.testimonial-toggle:focus-visible {
  color: #fff3c4;
  outline: none;
}

.testimonial-toggle[hidden] {
  display: none;
}
.about-story {
  position: relative;
  padding: clamp(9rem, 12vw, 11rem) 0 clamp(1.25rem, 2vw, 1.75rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(184, 155, 94, 0.11), transparent 28%),
    linear-gradient(180deg, #090a09 0%, #11130f 48%, #080908 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-values-trigger {
  position: absolute;
  z-index: 3;
  top: 24%;
  right: 0;
  width: 68%;
  height: 54%;
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.hero-values-trigger:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 5px; }

/* Hide the retired label if older cached homepage markup is served. */
.hero-values-hint { display: none !important; }

.values-modal[hidden] { display: none; }
.values-modal { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; padding: 1.25rem; pointer-events: none; }
.values-modal-backdrop { display: none; }
.values-modal-panel { position: relative; z-index: 1; width: min(520px, 100%); max-height: calc(100dvh - 2.5rem); overflow-y: auto; padding: clamp(1.35rem, 3vw, 1.8rem); border: 1px solid rgba(184, 155, 94, 0.5); border-radius: 14px; background: rgba(15, 18, 15, 0.96); backdrop-filter: blur(10px); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.68); pointer-events: auto; }
.values-modal-close { position: absolute; top: 1rem; right: 1.15rem; border: 0; background: transparent; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }
.values-modal-kicker { color: var(--accent-2); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.values-modal-panel h2 { margin: 0.4rem 0 0.45rem; font-size: clamp(1.55rem, 3vw, 2rem); }
.values-modal-intro { margin: 0; max-width: 58ch; color: var(--muted); font-size: 0.9rem; }
.values-modal-grid { display: grid; grid-template-columns: 1fr; gap: 0.55rem; margin-top: 1.25rem; }
.values-modal-grid article { display: grid; grid-template-columns: 1.7rem 5.5rem 1fr; align-items: start; gap: 0.65rem; padding: 0.85rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.025); }
.values-modal-grid article > span { color: var(--accent-2); font-size: 0.78rem; font-weight: 700; }
.values-modal-grid h3 { margin: 0; font-size: 1rem; }
.values-modal-grid p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.values-modal-note { margin: 0.85rem 0 0; color: rgba(255, 255, 255, 0.44); font-size: 0.72rem; }
@media (max-width: 700px) {
  .values-modal-grid article { grid-template-columns: 1.5rem 1fr; }
  .values-modal-grid article p { grid-column: 2; }
}

.about-story .container {
  position: relative;
  z-index: 1;
}

.about-coach {
  padding: clamp(2.25rem, 3vw, 3rem) 0 clamp(2.25rem, 3vw, 3.25rem);
  background: #0b0d0b;
  border-bottom: 1px solid var(--line);
}

.about-coach-opener {
  padding-top: clamp(9rem, 12vw, 11rem);
}

.about-coach-opener + .about-story {
  padding-top: clamp(2.5rem, 3vw, 3.5rem);
}

.about-coach-intro {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(320px, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about-coach-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 0.4rem;
  overflow: hidden;
  border: 1px solid rgba(184, 155, 94, 0.38);
  border-radius: 18px;
  background: #171917;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.about-coach-portrait::after {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border-radius: 12px;
  box-shadow: inset 0 -55px 70px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.about-coach-portrait img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 42%;
}

.about-coach-profile {
  max-width: 700px;
}

.about-coach-copy {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.about-coach-intro h2 {
  margin: 0.45rem 0 0.7rem;
}

.about-coach-lead {
  max-width: 24ch;
  color: var(--accent-2);
  font-size: 1.05rem;
}

.about-coach-copy p:last-child {
  margin-bottom: 0;
}

.about-coach-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: clamp(2.25rem, 3vw, 3rem);
}

.about-detail-card {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.about-detail-number {
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.about-detail-card h3 {
  margin: 0.65rem 0 0.85rem;
}

.about-detail-card p {
  margin: 0;
  color: var(--muted);
}

.about-detail-card p + p {
  margin-top: 0.8rem;
}

.qualification-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qualification-list li {
  display: grid;
  gap: 0.18rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.qualification-list strong { color: var(--accent-2); }
.qualification-list span { color: var(--muted); }

@media (max-width: 850px) {
  .about-coach-intro { grid-template-columns: 1fr; }
  .about-coach-portrait { width: min(100%, 360px); }
  .about-coach-details { grid-template-columns: 1fr 1fr; }
  .about-form-card { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .about-coach-details { grid-template-columns: 1fr; }
  .about-form-card { grid-column: auto; }
}

.about-story-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 5vw, 4.5rem);
  align-items: start;
}

.about-story-heading {
  position: static;
  align-self: start;
}

.about-story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: #d8bf86;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-story-kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: #b89b5e;
}

.about-story-heading h2 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 2.7vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.about-story-lead {
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.96rem, 1.05vw, 1.03rem);
  line-height: 1.72;
}

.brand-meaning {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.brand-meaning-item {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(184, 155, 94, 0.2);
  border-left: 3px solid #b89b5e;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
}

.brand-meaning-item strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #d8bf86;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-meaning-item span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  line-height: 1.5;
}

.about-story-copy {
  align-self: start;
  max-width: 720px;
  padding-top: 0;
}

.about-story-copy-left {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.about-story-copy-right {
  padding-top: clamp(5.5rem, 6vw, 6.25rem);
}

.about-story-copy p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.96rem, 1.05vw, 1.03rem);
  line-height: 1.72;
}

.about-story-copy p:first-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.96rem, 1.05vw, 1.03rem);
  font-weight: 400;
}

.about-story-copy p:last-child {
  margin-bottom: 0;
}

.about-story-closing {
  display: block;
  margin-top: 0.85rem;
  color: #d8bf86;
  font-size: 1.02em;
  font-weight: 600;
  letter-spacing: 0.01em;
}



.testimonials-section {
  padding: 4rem 0 5rem;
  background: #000000;
}

.testimonials-grid {
  align-items: stretch;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(184, 155, 94, 0.22);
  border-left: 3px solid #b89b5e;
}

.testimonial-quote {
  margin: 0 0 1rem;
  color: #f3f3f3;
  line-height: 1.65;
  font-size: 0.98rem;
  padding: 0.7rem 1.2rem 0.65rem;
  background: rgba(0, 0, 0, 0.38);
  border: 3px solid rgba(184, 155, 94, 0.35);
  border-left: 10px solid #b89b5e;
  border-radius: 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.testimonial-quote p {
  margin: 0 0 0.9rem;
}

.testimonial-quote p:last-child {
  margin-bottom: 0;
}

.testimonial-quote.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 12;
  overflow: hidden;
}
.testimonial-name {
  margin: 0;
  color: #d8bf86;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .about-story-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-story-heading {
    position: static;
    max-width: 680px;
  }

  .about-story-copy-right { padding-top: 0; }

  .about-story-heading h2 {
    max-width: none;
  }

  .about-story-lead {
    max-width: 48ch;
  }

  .brand-meaning {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .testimonials-section {
    padding: 3rem 0 4rem;
  }
  .about-story-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-story-heading {
    position: static;
  }

  .brand-meaning {
    grid-template-columns: 1fr;
  }

}
#why {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
background: linear-gradient(
  to bottom,
  var(--about-top-blend-start) 0,
  var(--about-top-blend-mid) calc(var(--about-top-blend-height) * 0.45),
  #000 var(--about-top-blend-height),
  #000 100%
);
}

@media (max-width: 767px) {
  .hero-testimonial {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin: 1rem 0 1.4rem;
    padding: 0.9rem 1rem;
  }

  .hero-testimonial-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hero-testimonial-text {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .hero-testimonial-author,
  .hero-testimonial-link {
    font-size: 0.92rem;
  }
}

@media (max-height: 680px) {
  .hero-testimonial {
    display: none;
  }
}
#about, #gallery, #merch, #plans, #contact, #members, #footer {
  position: relative;
  z-index: 1;
  padding: rem 0;
  background: black;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(184, 155, 94, 0.35);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 6vw, 4.3rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 40ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: #111111;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-2);
}

.btn-secondary {
  border-color: var(--line);
  background: gray;
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.03);
  border-color: #474747;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.stat {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--accent-2);
}

/* =========================
   SECTIONS / CARDS
   ========================= */

.section-head {
  margin-bottom: 1.1rem;
  margin-top: 0;
}

.section-head p {
  color: var(--muted);
  max-width: 58ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card p {
  
  margin-bottom: 7px;
}

/* =========================
   GALLERY
   ========================= */

.gallery-library { padding: clamp(9rem, 12vw, 11rem) 0 clamp(3.5rem, 7vw, 6rem); }
.gallery-library-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.gallery-library-head h2 { margin-bottom: 0; }
.gallery-kicker { display: block; margin-bottom: 0.4rem; color: var(--accent-2); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.thumbnail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.gallery-thumbnail { aspect-ratio: 1 / 1; padding: 0.4rem; overflow: hidden; border: 1px solid rgba(184, 155, 94, 0.28); border-radius: 16px; background: #171717; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24); cursor: zoom-in; transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease; }
.gallery-thumbnail img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; transition: transform 220ms ease, opacity 220ms ease; }
.gallery-thumbnail:hover, .gallery-thumbnail:focus-visible { border-color: rgba(184, 155, 94, 0.72); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34); }
.gallery-thumbnail:hover img, .gallery-thumbnail:focus-visible img { transform: scale(1.04); opacity: 0.82; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 1rem; overflow: hidden; }
.gallery-lightbox-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(5px); }
.gallery-lightbox-panel { position: relative; z-index: 1; display: grid; place-items: center; box-sizing: border-box; width: min(1200px, 100%); height: 100%; padding: 4rem 4rem 1rem; }
.gallery-lightbox-image { display: block; width: auto; height: auto; max-width: min(100%, 1100px); max-height: calc(100dvh - 7rem); border-radius: 10px; object-fit: contain; box-shadow: 0 20px 65px rgba(0, 0, 0, 0.55); }
.gallery-lightbox-toolbar { position: absolute; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; color: #fff; }
.gallery-lightbox-toolbar [data-gallery-counter] { margin-right: auto; }
.gallery-lightbox-action, .gallery-lightbox-close { border: 0; background: transparent; color: #fff; cursor: pointer; }
.gallery-lightbox-action { font: inherit; }
.gallery-lightbox-action:hover { color: var(--accent-2); }
.gallery-lightbox-close { font-size: 2.35rem; line-height: 1; }
.gallery-lightbox-nav { position: absolute; z-index: 2; top: 50%; width: 2.6rem; height: 2.6rem; transform: translateY(-50%); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.gallery-lightbox-prev { left: 0; }
.gallery-lightbox-next { right: 0; }
html.gallery-lightbox-open, body.gallery-lightbox-open { overflow: hidden; }

@media (min-width: 760px) { .thumbnail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .gallery-library-head { align-items: flex-start; flex-direction: column; }
  .gallery-lightbox-panel { padding: 3.5rem 0 0; }
  .gallery-lightbox-image { max-width: calc(100vw - 2rem); max-height: calc(100dvh - 6rem); }
  .gallery-lightbox-prev { left: 0.35rem; }
  .gallery-lightbox-next { right: 0.35rem; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gallery-item {
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #2a2a2a, #1b1b1b);
  display: grid;
  place-items: center;
  color: #9d9d9d;
  font-size: 0.95rem;
  text-align: center;
  padding: 0.75rem;
}
.gallery-preview-item {
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #9d9d9d;
  font-size: 0.95rem;
  text-align: center;
  padding: 0.75rem;
  overflow: hidden;
}
.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   PLANS / CTA
   ========================= */

.plans .card strong {
  color: var(--accent-2);
  font-size: 1.1rem;
}

.image-carousel {
  position: relative;
  padding-inline: 2.75rem;
}

.carousel-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #171717;
  scroll-snap-align: start;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide-merch img {
  object-fit: contain;
}

.carousel-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0 0 0.18rem;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.9);
  color: #fff;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  border-color: var(--accent-2);
  background: var(--accent-2);
  color: #111;
}

.carousel-control:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }

/* Workout plans page */
.page-workout-plans .plans-hero {
  overflow: hidden;
  background-position: center center;
}

.page-workout-plans .plans-hero::before {
  background:
    radial-gradient(circle at 76% 48%, rgba(105, 168, 60, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(4, 7, 4, 0.72) 0%, rgba(4, 7, 4, 0.36) 48%, rgba(4, 7, 4, 0.22) 100%);
}

.plans-hero-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(480px, 1.18fr);
  gap: clamp(2rem, 5vw, 6rem);
}

.plans-hero-copy {
  position: relative;
  z-index: 8;
  max-width: 620px;
}

.plans-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: #b9e999;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plans-kicker::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: #75ca3b;
}

.page-workout-plans .plans-hero-copy h1 {
  font-size: clamp(2.8rem, 4.7vw, 5.2rem);
  line-height: 0.98;
}

.page-workout-plans .plans-hero-copy p {
  max-width: 44ch;
  line-height: 1.55;
}

.page-workout-plans .plans-hero-copy .button-row {
  align-items: center;
}

.plans-text-link {
  padding: 0.65rem 0;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.92rem;
}

.plans-text-link:hover,
.plans-text-link:focus-visible {
  color: #b9e999;
  border-color: #75ca3b;
}

.plan-showcase {
  position: relative;
  width: 100%;
  height: min(72vh, 690px);
  min-height: 530px;
  isolation: isolate;
}

.plan-glow {
  position: absolute;
  inset: 15% 4% 5%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(101, 185, 48, 0.16);
  filter: blur(65px);
}

.plan-sheet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(250px, 23vw, 350px);
  margin: 0;
  aspect-ratio: 1056 / 1493;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  background: #f4f4f2;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.55);
  transform-origin: 50% 94%;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.plan-sheet img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-sheet figcaption {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(7, 9, 7, 0.84);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.plan-sheet-bronze {
  z-index: 1;
  transform: translate(-99%, -45%) rotate(-11deg);
  filter: brightness(0.76);
}

.plan-sheet-gold {
  z-index: 2;
  transform: translate(-1%, -45%) rotate(11deg);
  filter: brightness(0.84);
}

.plan-sheet-silver {
  z-index: 3;
  transform: translate(-50%, -50%) rotate(-1deg);
}

.plan-showcase:hover .plan-sheet-bronze {
  transform: translate(-106%, -47%) rotate(-14deg);
  filter: brightness(0.9);
}

.plan-showcase:hover .plan-sheet-gold {
  transform: translate(6%, -47%) rotate(14deg);
  filter: brightness(0.94);
}

.plan-showcase:hover .plan-sheet-silver {
  transform: translate(-50%, -52%) rotate(0deg);
}

.plan-sample-note {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 0;
  width: max-content;
  max-width: 90%;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .page-workout-plans .plans-hero {
    min-height: auto;
  }

  .plans-hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 9rem;
    padding-bottom: 5rem;
  }

  .page-workout-plans .plans-hero-copy {
    max-width: 650px;
    padding-top: 0;
    margin: 0 auto;
    text-align: center;
  }

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

  .page-workout-plans .plans-hero-copy p {
    margin-inline: auto;
  }

  .page-workout-plans .plans-hero-copy .button-row {
    justify-content: center;
  }

  .plan-showcase {
    height: min(65vh, 560px);
    min-height: 430px;
  }

  .plan-sheet {
    width: clamp(210px, 38vw, 300px);
  }
}

@media (max-width: 560px) {
  .plans-hero-inner {
    padding-top: 7.5rem;
  }

  .page-workout-plans .plans-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .page-workout-plans .plans-hero-copy .button-row {
    flex-direction: column;
  }

  .page-workout-plans .plans-hero .btn {
    max-width: none;
  }

  .plan-showcase {
    width: calc(100% + 1.5rem);
    height: 430px;
    min-height: 0;
    margin-left: -0.75rem;
  }

  .plan-sheet {
    width: min(64vw, 255px);
  }

  .plan-sheet-bronze {
    transform: translate(-94%, -43%) rotate(-10deg);
  }

  .plan-sheet-gold {
    transform: translate(-6%, -43%) rotate(10deg);
  }

  .plan-showcase:hover .plan-sheet-bronze {
    transform: translate(-94%, -43%) rotate(-10deg);
  }

  .plan-showcase:hover .plan-sheet-gold {
    transform: translate(-6%, -43%) rotate(10deg);
  }

  .plan-showcase:hover .plan-sheet-silver {
    transform: translate(-50%, -50%) rotate(-1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-sheet {
    transition: none;
  }
}

.plans-library {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 8vw, 8rem) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(107, 179, 59, 0.1), transparent 34%),
    #0b0d0b;
}

.plans-library::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 46px;
}

.plans-library .container {
  position: relative;
}

.plans-library-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.plans-library-head h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  letter-spacing: -0.04em;
}

.plans-library-head p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.plan-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: start;
}

.plan-gallery-card {
  --tier-color: #b7b7b7;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(20, 23, 20, 0.88);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.plan-gallery-bronze {
  --tier-color: #ba794b;
}

.plan-gallery-silver {
  --tier-color: #c4c9cc;
  border-color: rgba(196, 201, 204, 0.28);
}

.plan-gallery-gold {
  --tier-color: #e4b23f;
}

.plan-gallery-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
  padding: 0.15rem 0.2rem 0.9rem;
}

.plan-tier {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--tier-color);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-gallery-meta h3 {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.plan-duration {
  flex: 0 0 auto;
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.plan-gallery-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1056 / 1493;
  border-radius: 3px;
  background: #f1f1ef;
}

.plan-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.plan-gallery-image > span {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  background: rgba(7, 9, 7, 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, color 0.2s ease;
}

.plan-gallery-image:hover img,
.plan-gallery-image:focus-visible img {
  transform: scale(1.018);
  filter: brightness(0.9);
}

.plan-gallery-image:hover > span,
.plan-gallery-image:focus-visible > span {
  background: var(--tier-color);
  color: #111;
}

.plan-gallery-image:focus-visible {
  outline: 2px solid var(--tier-color);
  outline-offset: 4px;
}

.plan-sample-page {
  min-height: 100vh;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 50% 0, rgba(107, 179, 59, 0.1), transparent 28rem),
    #0b0d0b;
}

.plan-sample-container {
  width: min(100% - 1.5rem, 900px);
}

.plan-sample-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plan-sample-back:hover,
.plan-sample-back:focus-visible {
  color: var(--nav-current-green);
}

.plan-sample-header {
  margin: clamp(1.25rem, 3vw, 2rem) 0 2rem;
}

.plan-sample-header h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

.plan-sample-header p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.plan-sample-sheet {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #f1f1ef;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.plan-sample-sheet img {
  width: 100%;
}

.plan-sample-back-bottom {
  margin-top: 2rem;
}

.plans-comparison {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.plans-comparison-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.plans-comparison-head h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.035em;
}

.plans-comparison-head p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.plans-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(13, 15, 13, 0.94);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
  scrollbar-color: #6bb33b #171a17;
}

.plans-table-wrap:focus-visible {
  outline: 2px solid #75ca3b;
  outline-offset: 4px;
}

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

.plans-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.plans-table th,
.plans-table td {
  padding: 1rem clamp(0.75rem, 1.5vw, 1.35rem);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  vertical-align: middle;
}

.plans-table th:last-child,
.plans-table td:last-child {
  border-right: 0;
}

.plans-table tbody tr:last-child th,
.plans-table tbody tr:last-child td {
  border-bottom: 0;
}

.plans-table thead th {
  padding-block: 1.15rem;
  background: #181b18;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plans-table thead th:first-child,
.plans-table tbody th {
  width: 34%;
  text-align: left;
}

.plans-table thead .tier-bronze {
  color: #cf8b5b;
  box-shadow: inset 0 3px #a96235;
}

.plans-table thead .tier-silver {
  color: #d5dade;
  box-shadow: inset 0 3px #aeb5ba;
}

.plans-table thead .tier-gold {
  color: #edc35d;
  box-shadow: inset 0 3px #d29b19;
}

.plans-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #121512;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.35;
}

.plans-table tbody td {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  line-height: 1.4;
}

.plans-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.018);
}

.plans-table tbody tr:hover th,
.plans-table tbody tr:hover td {
  background: rgba(110, 190, 56, 0.07);
}

.table-check {
  color: #82d34b;
  font-size: 1.05rem;
  font-weight: 700;
}

.table-none {
  color: rgba(255, 255, 255, 0.27);
}

.plans-table-hint {
  display: none;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-align: right;
}

.plans-library-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.plans-library-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .plans-library-head {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .plan-gallery {
    grid-template-columns: 1fr;
    width: min(100%, 580px);
    margin-inline: auto;
    gap: 2rem;
  }

  .plan-gallery-card {
    padding: clamp(0.75rem, 3vw, 1.25rem);
  }
}

@media (max-width: 560px) {
  .plans-table {
    min-width: 680px;
  }

  .plans-table th,
  .plans-table td {
    padding: 0.85rem 0.7rem;
  }

  .plans-table thead th:first-child,
  .plans-table tbody th {
    width: 31%;
  }

  .plans-table-hint {
    display: block;
  }

  .plans-library-cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-gallery-image img {
    transition: none;
  }
}

.cta {
  padding-bottom: 3.5rem;
}

.cta-panel {
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(184, 155, 94, 0.14),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(184, 155, 94, 0.25);
  box-shadow: var(--shadow);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.7rem;
}

/* =========================
   DESKTOP LAYOUT
   ========================= */

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .carousel-slide {
    flex-basis: calc((100% - 1.7rem) / 3);
  }

  .cta-panel {
    padding: 2rem;
  }
}

@media (min-width: 1100px) {
  .carousel-slide {
    flex-basis: calc((100% - 2.55rem) / 4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    scroll-behavior: auto;
  }
}
