/*
 * The Fitness Lab — design system
 * 01 Tokens  02 Base  03 Type  04 Components  05 Header  06 Hero
 * 07 Sections  08 Dashboard  09 Footer  10 Motion & responsive
 */

/* ---------- 00 Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Clash Display";
  src: url("../fonts/clash-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var-latin.woff2") format("woff2-variations");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- 01 Tokens ---------- */
:root {
  --volt: #FFF829;
  --ink: #222220;
  --ink-deep: #151515;
  --card: #2B2B29;
  --line: #3A3A37;
  --body: #CFCFCF;
  --muted: #9D9D9D;
  --white: #FFFFFF;
  --gray: #E7E7E7;

  --font-display: "Clash Display", "Arial Narrow", sans-serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --h3: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
  --h2: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  --h1: clamp(2.75rem, 1.5rem + 7vw, 7rem);

  --space-section: clamp(5rem, 4rem + 6vw, 10rem);
  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 1rem;
  --radius-sm: 0.625rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.55);
  --glow-volt: 0 0 0 1px rgba(255, 248, 41, 0.45), 0 8px 40px -8px rgba(255, 248, 41, 0.28);
}

/* ---------- 02 Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--volt);
  color: var(--ink-deep);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
  position: relative;
}

.section--deep {
  background: var(--ink-deep);
}

/* ---------- 03 Type ---------- */
.h1,
.h2,
.h3,
.hero__title,
.plan__amount {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0;
  text-wrap: balance;
}

.h2 {
  font-size: var(--h2);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.h3 {
  font-size: var(--h3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 1.25rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--volt);
}

.mark {
  position: relative;
  white-space: nowrap;
}

.mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.14em;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out) 0.35s;
}

.is-inview .mark::after {
  transform: scaleX(1);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.section__sub {
  font-size: var(--text-lg);
  margin: 1.25rem 0 0;
}

/* ---------- 04 Components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.35s, color 0.35s, border-color 0.35s;
}

.btn:active {
  transform: scale(0.97);
}

.btn--volt {
  background: var(--volt);
  color: var(--ink-deep);
}

.btn--volt:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -8px rgba(255, 248, 41, 0.45), 0 0 0 1px rgba(255, 248, 41, 0.5);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--volt);
  color: var(--volt);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

.btn--sm {
  padding: 0.65rem 1.15rem;
  font-size: 0.8125rem;
  border-radius: 8px;
}

.btn.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* ---------- 05 Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.4s, border-color 0.4s, transform 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-hidden {
  transform: translateY(-102%);
}

/* Keyboard users tabbing into the nav always get the header back. */
.site-header:focus-within {
  transform: none;
}

.site-header.is-solid {
  background: rgba(21, 21, 21, 0.96);
  border-bottom-color: var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.brand__logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.site-footer .brand__logo {
  width: 5.5rem;
  height: 5.5rem;
}

.brand__word {
  white-space: nowrap;
}

.brand__the {
  color: var(--volt);
}

.nav__extra {
  display: contents;
}

.nav__phone {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  min-width: 0;
}

.nav__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  white-space: nowrap;
}

.nav__link {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.site-header__cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(21, 21, 21, 0.55);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle span:nth-child(1) { top: 1.05rem; }
.nav-toggle span:nth-child(2) { top: 1.45rem; }
.nav-toggle span:nth-child(3) { top: 1.85rem; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.4rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.4rem) rotate(-45deg); }

/* ---------- 06 Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: clip;
}

.hero__media,
.hero__media .hero__slide {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease;
}

.hero__slide.is-active {
  opacity: 1;
  animation: hero-drift 9s linear forwards;
}

@keyframes hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1.16); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.55), rgba(21, 21, 21, 0.35) 45%, var(--ink) 98%),
    radial-gradient(90rem 40rem at 18% 72%, rgba(0, 0, 0, 0.5), transparent 60%);
}

.hero__content {
  padding-block: clamp(7rem, 16vh, 10rem) clamp(4rem, 10vh, 6rem);
}

.hero__eyebrow {
  color: var(--gray);
}

.hero__title {
  font-size: var(--h1);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 12ch;
}

.hero__line {
  display: block;
  overflow: clip;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.hero__line > span {
  display: inline-block;
  transform: translateY(110%);
}

.hero__dot {
  font-style: normal;
  color: var(--volt);
}

.hero__sub {
  max-width: 34rem;
  font-size: var(--text-lg);
  color: var(--gray);
  margin: 1.5rem 0 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(231, 231, 231, 0.18);
}

.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray);
}

.hero__badges svg {
  color: var(--volt);
  flex: none;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  translate: -50% 0;
  width: 1.65rem;
  height: 2.6rem;
  border: 1.5px solid rgba(231, 231, 231, 0.4);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 0.5rem;
}

.hero__scroll span {
  width: 3px;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--volt);
  animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(0.55rem); opacity: 0.2; }
}

/* ---------- 07 Sections ---------- */
/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 2rem + 4vw, 6rem);
  align-items: center;
}

.about__media {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: clip;
}

.about__img {
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
}

.about__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 1rem;
  background: rgba(21, 21, 21, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--gray);
}

.about__tag-label {
  color: var(--volt);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}

.about__checks {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.about__checks li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--gray);
}

.about__checks svg {
  color: var(--volt);
  flex: none;
  translate: 0 2px;
}

.about__stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.stat dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem);
  font-weight: 600;
  color: var(--volt);
  line-height: 1;
}

/* Why */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  padding: 1.9rem 1.7rem;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 248, 41, 0.55);
  box-shadow: var(--glow-volt);
}

.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 248, 41, 0.08);
  border: 1px solid rgba(255, 248, 41, 0.25);
  color: var(--volt);
  margin-bottom: 1.1rem;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.feature__text {
  margin: 0;
  font-size: var(--text-sm);
}

/* Plans */
.plans__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.4rem;
  position: relative;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s;
}

.plan:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(255, 248, 41, 0.55);
  box-shadow: var(--glow-volt);
}

.plan--featured {
  border-color: var(--volt);
  background: linear-gradient(180deg, rgba(255, 248, 41, 0.07), rgba(43, 43, 41, 1) 45%);
}

.plan__flag {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  translate: -50% 0;
  margin: 0;
  padding: 0.25rem 0.9rem;
  background: var(--volt);
  color: var(--ink-deep);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}

.plan__name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 0.9rem;
}

.plan__price {
  margin: 0 0 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.plan__amount {
  font-size: clamp(2.1rem, 1.8rem + 1vw, 2.75rem);
  color: var(--volt);
}

.plan__per {
  font-size: var(--text-xs);
  color: var(--muted);
}

.plan__note {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--muted);
}

.plan__note--save {
  color: var(--volt);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan__list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.plan__list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--body);
}

.plan__list svg {
  color: var(--volt);
  flex: none;
  translate: 0 2px;
}

.plans__reassure {
  margin: 2.25rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Join */
.join__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 2rem + 4vw, 5rem);
  align-items: start;
}

.join__steps {
  list-style: none;
  counter-reset: step;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.join__steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: baseline;
}

.join__steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / 3;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--volt);
}

.join__steps strong {
  color: var(--white);
  font-weight: 700;
}

.join__steps span {
  font-size: var(--text-sm);
  color: var(--muted);
}

.join__secure {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 2rem 0 0;
  font-size: var(--text-xs);
  color: var(--muted);
}

.join__secure svg {
  flex: none;
  color: var(--volt);
}

.join__card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.join__legend {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  margin-bottom: 0.75rem;
}

.join__plans {
  border: 0;
  padding: 0;
  margin: 0 0 1.5rem;
}

.join__plan-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill__face {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gray);
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.pill__price {
  color: var(--volt);
}

.pill input:checked + .pill__face {
  background: rgba(255, 248, 41, 0.1);
  border-color: var(--volt);
  color: var(--white);
}

.pill input:focus-visible + .pill__face {
  outline: 2px solid var(--volt);
  outline-offset: 2px;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
}

.field label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input:not([type="checkbox"]) {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--ink-deep);
  color: var(--white);
  font: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input:not([type="checkbox"]):focus {
  outline: none;
  border-color: var(--volt);
  box-shadow: 0 0 0 3px rgba(255, 248, 41, 0.18);
}

.field input:disabled {
  opacity: 0.55;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.field-hint {
  margin: -0.4rem 0 1.1rem;
  font-size: var(--text-xs);
  color: var(--muted);
}

.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem;
}

.field--check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--volt);
}

.field--check label {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--body);
}

.field--website {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.join__error {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 107, 0.09);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #FFB3B3;
  font-size: var(--text-sm);
}

.join__signin {
  margin: 1.4rem 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
  text-align: center;
}

.join__signin a,
.faq__more a,
.dash__login-alt a {
  color: var(--volt);
  text-underline-offset: 3px;
}

.join__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0;
}

.join__back:hover {
  color: var(--volt);
}

.join__summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-deep);
}

.join__summary strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--volt);
}

#fl-payment-element {
  margin-bottom: 1.25rem;
  min-height: 4rem;
}

/* Gallery */
.gallery__masonry {
  columns: 3 18rem;
  column-gap: 1rem;
}

.gallery__item {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  overflow: clip;
  background: var(--card);
  break-inside: avoid;
  transition: border-color 0.35s;
}

.gallery__item:hover {
  border-color: rgba(255, 248, 41, 0.6);
}

.gallery__img {
  width: 100%;
  transition: transform 0.8s var(--ease-out);
}

.gallery__item:hover .gallery__img {
  transform: scale(1.045);
}

.gallery__masonry .gallery__item:nth-child(2) .gallery__img,
.gallery__masonry .gallery__item:nth-child(5) .gallery__img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(21, 21, 21, 0.94);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__stage {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.lightbox__img {
  max-height: 82vh;
  max-width: 100%;
  width: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.lightbox__caption {
  font-size: var(--text-sm);
  color: var(--muted);
}

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(43, 43, 41, 0.8);
  color: var(--white);
  transition: border-color 0.25s, color 0.25s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  border-color: var(--volt);
  color: var(--volt);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

/* Testimonials */
.slider {
  max-width: 46rem;
  margin-inline: auto;
}

.slider__track {
  display: grid;
}

.slide {
  grid-area: 1 / 1;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.slide__stars {
  display: flex;
  gap: 0.25rem;
  color: var(--volt);
  margin-bottom: 1.1rem;
}

.slide__quote {
  margin: 0 0 1.5rem;
}

.slide__quote p {
  margin: 0;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--gray);
}

.slide__who {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.slide__avatar {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  background: rgba(255, 248, 41, 0.12);
  border: 1px solid rgba(255, 248, 41, 0.4);
  color: var(--volt);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.slide__who strong {
  display: block;
  color: var(--white);
}

.slide__who em {
  font-style: normal;
  font-size: var(--text-xs);
  color: var(--muted);
}

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.slider__btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gray);
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.slider__btn:hover {
  border-color: var(--volt);
  color: var(--volt);
  transform: translateY(-2px);
}

.slider__dots {
  display: flex;
  gap: 0.5rem;
}

.slider__dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: var(--line);
  transition: background-color 0.25s, transform 0.25s;
}

.slider__dots button[aria-selected="true"] {
  background: var(--volt);
  transform: scale(1.25);
}

/* FAQ */
.faq__container {
  max-width: 50rem;
}

.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: clip;
  transition: border-color 0.3s;
}

.faq__item.is-open {
  border-color: rgba(255, 248, 41, 0.5);
}

.faq__q {
  margin: 0;
}

.faq__q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.2rem 1.4rem;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 700;
  text-align: left;
}

.faq__chevron {
  flex: none;
  color: var(--volt);
  transition: transform 0.35s var(--ease-out);
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

.faq__a {
  overflow: clip;
}

.faq__a p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  font-size: var(--text-sm);
}

.faq__more {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: var(--text-sm);
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.25rem;
  align-items: stretch;
}

.contact__info {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.contact__card {
  display: grid;
  gap: 0.3rem;
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.contact__card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 248, 41, 0.55);
  box-shadow: var(--glow-volt);
}

.contact__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__value {
  color: var(--white);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1.45;
}

.contact__hint {
  font-size: var(--text-xs);
  color: var(--volt);
  font-weight: 700;
}

.contact__cta {
  justify-self: start;
}

.contact__map {
  border-radius: var(--radius);
  overflow: clip;
  border: 1px solid var(--line);
  min-height: 24rem;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(1) invert(0.92) contrast(0.9) hue-rotate(180deg);
}

/* ---------- 08 Dashboard ---------- */
.dash {
  min-height: 100svh;
  padding: clamp(7rem, 15vh, 9rem) 0 var(--space-section);
  background: var(--ink-deep);
}

.dash__login {
  max-width: 26.5rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
}

.dash__login-sub {
  margin: 0.75rem 0 1.75rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

.dash__login-alt {
  margin: 1.4rem 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
  text-align: center;
}

.dash__login-help {
  font-size: var(--text-xs);
}

.dash__banner {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 248, 41, 0.09);
  border: 1px solid rgba(255, 248, 41, 0.45);
  color: var(--gray);
  font-size: var(--text-sm);
}

.dash__banner strong {
  color: var(--volt);
  margin-right: 0.4rem;
}

.dash__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.dash__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.dash__card {
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
}

.dash__status {
  display: inline-block;
  margin: 0.75rem 0 1.25rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dash__status--active {
  background: rgba(255, 248, 41, 0.12);
  border: 1px solid var(--volt);
  color: var(--volt);
}

.dash__status--expired,
.dash__status--pending {
  background: rgba(157, 157, 157, 0.12);
  border: 1px solid var(--muted);
  color: var(--gray);
}

.dash__facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.5rem;
}

.dash__facts dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.dash__facts dd {
  margin: 0;
  color: var(--white);
  font-weight: 700;
  font-size: var(--text-lg);
}

.dash__nudge {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 248, 41, 0.07);
  border: 1px dashed rgba(255, 248, 41, 0.4);
  font-size: var(--text-sm);
  color: var(--gray);
}

.dash__renew-sub {
  margin: 0.5rem 0 1.25rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

.dash__ok {
  margin: 0 0 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(120, 220, 130, 0.09);
  border: 1px solid rgba(120, 220, 130, 0.4);
  color: #A9E5B0;
  font-size: var(--text-sm);
}

.dash__empty {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.dash__table-wrap {
  overflow-x: auto;
}

.dash__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.dash__table th,
.dash__table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.dash__table th {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.dash__table td {
  color: var(--gray);
}

/* ---------- 09 Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.site-footer__tagline {
  margin: 1rem 0 0;
  max-width: 22rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 1rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer__nav ul,
.site-footer__contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: var(--gray);
  text-decoration: none;
  font-size: var(--text-sm);
}

.site-footer a:hover {
  color: var(--volt);
}

.site-footer address {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

.site-footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.site-footer__social a:hover {
  border-color: var(--volt);
  transform: translateY(-2px);
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-xs);
  color: var(--muted);
}

.site-footer__legal a {
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__legal a:hover {
  color: var(--volt);
}

/* ---------- 10 Motion & responsive ---------- */
html.no-js [data-reveal],
html.no-js [data-reveal-group] > *,
html.no-js .hero__line > span {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 64rem) {
  .plans__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plan--featured {
    grid-column: span 1;
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid,
  .join__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 72rem) {
  .nav__link {
    padding: 0.55rem 0.6rem;
  }

  .brand__logo {
    width: 3.25rem;
    height: 3.25rem;
  }
}

@media (max-width: 56rem) {
  .nav,
  .site-header__cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.is-open .nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(21, 21, 21, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
  }

  .site-header.is-open .nav__list {
    flex-direction: column;
    gap: 0.1rem;
  }

  .site-header.is-open .nav__link {
    display: block;
    padding: 0.8rem 0.5rem;
    font-size: 1.05rem;
  }

  .site-header.is-open .site-header__cta {
    display: inline-flex;
    margin: 0.9rem 0.5rem 0;
  }

  .site-header.is-open .nav__extra {
    display: block;
  }

  .site-header.is-open .nav__phone {
    display: block;
    padding: 1rem 0.5rem 0.25rem;
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
    font-size: var(--text-sm);
  }

  .site-header.is-open .nav__phone:hover {
    color: var(--volt);
  }
}

@media (max-width: 44rem) {
  .plans__grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .dash__grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .dash__facts {
    grid-template-columns: 1fr;
  }

  .hero__badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
  }

  .gallery__masonry {
    columns: 2 9rem;
  }

  .lightbox {
    grid-template-columns: 1fr;
  }

  .lightbox__nav {
    position: fixed;
    bottom: 1.25rem;
    z-index: 2;
  }

  .lightbox__nav--prev { left: 1.25rem; }
  .lightbox__nav--next { right: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__slide.is-active {
    animation: none;
    transform: none;
  }
}


/* ---------- 11 Plan pages (/membership/…) ---------- */
.planpage {
  min-height: 100svh;
  padding: clamp(7rem, 15vh, 9rem) 0 var(--space-section);
  background: var(--ink-deep);
}

.planpage__crumbs {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  margin-bottom: 2rem;
  font-size: var(--text-sm);
  color: var(--muted);
}

.planpage__crumbs a {
  color: var(--gray);
  text-decoration: none;
}

.planpage__crumbs a:hover {
  color: var(--volt);
}

.planpage__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 2rem + 4vw, 5rem);
  align-items: start;
}

.planpage__title {
  margin-bottom: 0.75rem;
}

.planpage__price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}

.planpage__amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  color: var(--volt);
  line-height: 1;
}

.planpage__cadence {
  color: var(--muted);
  font-size: var(--text-sm);
}

.planpage__save {
  padding: 0.25rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 248, 41, 0.1);
  border: 1px solid rgba(255, 248, 41, 0.45);
  color: var(--volt);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.planpage__blurb {
  font-size: var(--text-lg);
  color: var(--gray);
  max-width: 30rem;
}

.planpage__subhead {
  margin-top: 2rem;
  margin-bottom: 0.9rem;
}

.planpage__list {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.planpage__list li {
  font-size: var(--text-sm);
}

.planpage__switch {
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.planpage__switch-label {
  margin: 0 0 0.75rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

a.pill__face {
  text-decoration: none;
}

a.pill__face:hover {
  border-color: var(--volt);
  color: var(--white);
}

.pill__face.is-current {
  background: rgba(255, 248, 41, 0.1);
  border-color: var(--volt);
  color: var(--white);
  cursor: default;
}

.planpage .join__secure {
  margin-top: 1.75rem;
}

.planpage__summary {
  margin-bottom: 1.5rem;
}

.planpage__form-title {
  margin-bottom: 1rem;
}

/* ---------- 12 Auth extras ---------- */
.dash__forgot {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.dash__forgot .h3 {
  margin-bottom: 0.25rem;
}

.dash__linklike {
  background: none;
  border: 0;
  padding: 0;
  color: var(--volt);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.dash__receipt-link {
  color: var(--volt);
  font-weight: 700;
  text-underline-offset: 3px;
}

.dash__renew-model {
  margin: 0 0 1.25rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(231, 231, 231, 0.04);
  border: 1px solid var(--line);
  font-size: var(--text-xs);
  color: var(--muted);
}

/* ---------- 13 Receipt ---------- */
.receipt {
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
}

.receipt__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.receipt__logo {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
}

.receipt__facts {
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.receipt__facts dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.receipt__facts dd {
  margin: 0;
  color: var(--gray);
  font-weight: 600;
  font-size: var(--text-sm);
}

.receipt__ref {
  word-break: break-all;
}

.receipt__total td {
  color: var(--volt);
  font-weight: 800;
}

.receipt__biz {
  margin: 1.25rem 0 1.75rem;
  font-size: var(--text-xs);
  color: var(--muted);
}

.receipt__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media print {
  .site-header,
  .site-footer,
  .receipt__actions,
  .skip-link {
    display: none !important;
  }

  body,
  .dash {
    background: #fff !important;
    color: #111 !important;
    padding: 0 !important;
  }

  .receipt {
    max-width: none;
    border: 0;
    box-shadow: none;
    background: #fff;
    color: #111;
  }

  .receipt__facts dd,
  .dash__table td,
  .receipt h1 {
    color: #111 !important;
  }

  .receipt__total td {
    color: #111 !important;
  }
}

/* ---------- 14 Generic page shell ---------- */
.page-shell {
  min-height: 70svh;
  padding: clamp(7rem, 15vh, 9rem) 0 var(--space-section);
}

.page-shell__title {
  font-family: var(--font-display);
  font-size: var(--h2);
  color: var(--white);
  margin: 0 0 1.5rem;
}

.page-shell__content {
  max-width: 44rem;
}

@media (max-width: 64rem) {
  .planpage__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 44rem) {
  .receipt__facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- 15 Light cutout ---------- */
.cutout {
  background: var(--gray);
  color: var(--ink-deep);
}

.cutout__edge {
  display: block;
  width: 100%;
  height: clamp(3.5rem, 9vw, 7.5rem);
}

.cutout__edge--top {
  color: var(--ink-deep); /* matches the Why Choose Us section above */
  margin-top: -2px; /* overlap the section seam so no light hairline shows at any DPR */
}

.cutout__edge--bottom {
  color: var(--ink); /* matches the Membership Plans section below */
  margin-bottom: -2px; /* overlap the section seam so no light hairline shows at any DPR */
}

.cutout__body {
  padding: clamp(2rem, 1rem + 4vw, 5rem) 0 clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
}

.cutout__kicker {
  margin: 0 0 1.5rem;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b6b67;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.cutout__kicker::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  background: var(--volt);
}

.cutout__statement {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 1.2rem + 6.5vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink-deep);
}

.cutout__line {
  display: block;
}

.cutout__line:nth-child(2) {
  margin-left: clamp(1.25rem, 6vw, 6rem);
}

.cutout__line:nth-child(3) {
  margin-left: clamp(2.5rem, 12vw, 12rem);
}

.cutout__statement .mark::after {
  height: 0.16em;
  bottom: 0.04em;
}

.cutout__support {
  margin: 2rem 0 0 auto;
  max-width: 26rem;
  font-size: var(--text-md);
  color: #454542;
  text-align: right;
}

@media (max-width: 44rem) {
  .cutout__support {
    margin-left: 0;
    text-align: left;
    max-width: 100%;
  }
}

/* Account-mode extras */
.dash__remember label {
  font-size: var(--text-sm);
}

.join__prelaunch {
  margin-top: 0.9rem;
  text-align: center;
}

.planpage__billing {
  margin: 0.25rem 0 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray);
}

.planpage__terms {
  margin: 1.5rem 0 0;
  font-size: var(--text-xs);
  color: var(--muted);
}

.planpage__terms a {
  color: var(--volt);
  text-underline-offset: 3px;
}


/* ---------- 16 Member stories: white cutout ---------- */
.testimonials--light {
  background: var(--white);
  color: var(--ink-deep);
}

.testimonials__edge {
  color: var(--ink); /* gallery above, FAQ below are both charcoal */
}

.testimonials__body {
  padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.testimonials--light .h2 {
  color: var(--ink-deep);
}

.testimonials--light .eyebrow {
  color: #6b6b67;
}

.testimonials--light .slide {
  box-shadow: 0 24px 60px -24px rgba(21, 21, 21, 0.35);
}

.testimonials--light .slider__btn {
  border-color: #cfcfcb;
  color: #454542;
}

.testimonials--light .slider__btn:hover {
  border-color: var(--ink-deep);
  color: var(--ink-deep);
}

.testimonials--light .slider__dots button {
  background: #d4d4d0;
}

.testimonials--light .slider__dots button[aria-selected="true"] {
  background: var(--ink-deep);
}

/* ---------- 17 Account menu (auth-aware header) ---------- */
.account {
  position: relative;
}

.account__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.05rem;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: rgba(21, 21, 21, 0.55);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.account__toggle:hover {
  border-color: var(--volt);
  color: var(--volt);
  transform: translateY(-1px);
}

.account__caret {
  transition: transform 0.25s var(--ease-out);
}

.account__toggle[aria-expanded="true"] .account__caret {
  transform: rotate(180deg);
}

.account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  min-width: 13.5rem;
  padding: 0.4rem;
  background: var(--ink-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  z-index: 130;
}

.account__who {
  margin: 0 0 0.3rem;
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-weight: 800;
  font-size: var(--text-sm);
}

.account__menu a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 7px;
  color: var(--gray);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.account__menu a:hover {
  background: rgba(255, 248, 41, 0.08);
  color: var(--white);
}

.account__logout {
  margin-top: 0.3rem;
  border-top: 1px solid var(--line);
  border-radius: 0 0 7px 7px;
  color: var(--muted);
}

/* Inside the mobile drawer the menu flows inline instead of floating. */
@media (max-width: 56rem) {
  .site-header.is-open .account {
    display: block;
    margin: 0.9rem 0.5rem 0;
  }

  .site-header.is-open .account__toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
  }

  .site-header.is-open .account__menu {
    position: static;
    box-shadow: none;
    margin-top: 0.5rem;
    min-width: 0;
  }
}


/* ---------- 18 Password visibility toggle ---------- */
.field.has-pw-toggle {
  position: relative;
}

.field.has-pw-toggle input[type="password"],
.field.has-pw-toggle input[type="text"] {
  padding-right: 3rem;
}

.pw-toggle {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}

.pw-toggle:hover {
  color: var(--white);
  background: rgba(231, 231, 231, 0.06);
}

.pw-toggle .pw-toggle__off,
.pw-toggle.is-visible .pw-toggle__on {
  display: none;
}

.pw-toggle.is-visible .pw-toggle__off {
  display: block;
}


/* Duplicate-account error: inline recovery actions */
.join__error-actions {
  display: inline-block;
  font-weight: 800;
  white-space: nowrap;
}

.join__error-actions a {
  color: var(--volt);
  text-underline-offset: 3px;
}