/* Rush Mind Coaching – Reset Your Mind (original-style) */
:root {
  --color-bg: #111013;
  --color-hero-top: #1e3f48;
  --color-hero-bottom: #132e36;
  --color-overlay: #132f37;
  --color-surface: #1a222d;
  --color-text: #ffffff;
  --color-text-muted: #e5e5e5;
  --color-accent: #c9eb55;
  --color-accent-alt: #8eb800;
  --color-accent-hover: #d4f06a;
  --color-border: rgba(255, 255, 255, 0.12);
  --font-heading: 'Sora', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-tag: 'Red Hat Text', sans-serif;
  --max-width: 1100px;
  --section-padding: 5rem 1.5rem;
  --footer-bar: #3c3474;
  --glass-dark: rgba(12, 14, 18, 0.62);
  --glass-edge: rgba(255, 255, 255, 0.08);
  --glow-lime: rgba(201, 235, 85, 0.35);
  --photo-night: url('../images/Pictures/Pict_18.jpg');
  --photo-spotlight: url('../images/Pictures/Pict_11.jpg');
  --photo-city: url('../images/Pictures/Pict_21.jpg');
  --photo-sparkle: url('../images/Pictures/Pict_22.jpg');
  --photo-field: url('../images/Pictures/Pict_25.jpg');
  --photo-arch: url('../images/Pictures/Pict_40.jpg');
  --photo-train: url('../images/Pictures/Pict_50.jpg');
  /* Original photography (site owner) */
  --photo-user-night-van: url('../images/Pictures/user-bg-night-van-stars.png');
  --photo-user-pebbles: url('../images/Pictures/user-bg-pebbles.png');
  --photo-james-portrait-bw: url('../images/JAMES/james-portrait-bw.jpg');
  --photo-about-banner: url('../images/JAMES/about-block-hero-banner.jpg');
  /* Coaching steps 02–04 (same files may be swapped independently) */
  --photo-coaching-step-2: var(--photo-spotlight);
  --photo-coaching-step-3: var(--photo-field);
  --photo-coaching-step-4: var(--photo-train);
  /* Soft feather so full-bleed photos never show a hard rectangular crop */
  --photo-edge-mask: radial-gradient(
    ellipse 124% 120% at 50% 48%,
    #000 0%,
    #000 62%,
    rgba(0, 0, 0, 0.45) 80%,
    transparent 100%
  );
}

/* Ken Burns / cover plates — shared edge softening */
.hero-cinematic__photo,
.hero-strip__photo,
.section--coaching__photo,
.section--trust__photo,
.dedication-section__photo,
.cta-with-bg__photo,
.gs-hero__photo,
.gs-flow__ambient-photo,
.terms-bg__layer,
.step-card--1::before {
  -webkit-mask-image: var(--photo-edge-mask);
  mask-image: var(--photo-edge-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body > main {
  flex: 1 0 auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--color-accent-hover);
}
.footer-logo {
  color: inherit;
}
.site-footer a:hover {
  color: var(--color-accent);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 8%;
  z-index: 1001;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #333;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0.5rem;
  outline: 2px solid var(--color-accent-alt);
  outline-offset: 2px;
}

/* Header / Nav – sticky like original, follows on scroll */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: env(safe-area-inset-top) max(8%, env(safe-area-inset-right)) 0 max(8%, env(safe-area-inset-left));
  min-height: calc(60px + env(safe-area-inset-top));
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.site-header-inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  position: relative;
}
.logo {
  line-height: 0;
}
.logo-img {
  height: 23px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #333;
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 1.2px;
}
.nav-links a:hover {
  color: var(--color-accent-alt);
}

/* Client Login — same text chrome as .nav-links a; desktop order via display:contents */
.nav-portal-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-tap-highlight-color: rgba(201, 235, 85, 0.15);
}
.nav-portal-link:hover {
  color: var(--color-accent-alt);
}
.nav-portal-link:focus-visible {
  outline: 2px solid var(--color-accent-alt);
  outline-offset: 3px;
}

/* Primary CTA — beside menu on mobile; inline with links on desktop */
.nav-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #111013 !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: none;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(201, 235, 85, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  white-space: nowrap;
  -webkit-tap-highlight-color: rgba(201, 235, 85, 0.15);
}
.nav-primary-cta:hover {
  background: var(--color-accent-hover);
  color: #111013 !important;
  box-shadow: 0 4px 18px rgba(201, 235, 85, 0.45);
}
.nav-primary-cta:focus-visible {
  outline: 2px solid var(--color-accent-alt);
  outline-offset: 3px;
}

.header-nav-cluster {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.75rem;
  margin-left: auto;
  position: relative;
}

/* Mobile menu toggle — hidden on wide viewports; pairs with .primary-nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #333;
  flex-shrink: 0;
  -webkit-tap-highlight-color: rgba(201, 235, 85, 0.15);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent-alt);
  outline-offset: 3px;
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.site-header--nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header--nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.site-header--nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.page-home .site-header--immersive .nav-toggle {
  color: rgba(255, 255, 255, 0.95);
}

@media (min-width: 769px) {
  .header-nav-cluster {
    gap: 1.75rem;
  }
  .primary-nav {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    flex-basis: auto !important;
    order: 0 !important;
    background: transparent !important;
    border-bottom: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  /* One horizontal row: FAQ · Privacy · Get Started · Client Login (portal last) */
  .header-nav-cluster > .primary-nav {
    display: contents;
  }
  .header-nav-cluster .primary-nav > .nav-links {
    display: contents;
  }
  .header-nav-cluster .nav-links > li:nth-child(1) {
    order: 1;
  }
  .header-nav-cluster .nav-links > li:nth-child(2) {
    order: 2;
  }
  .header-nav-cluster > .nav-primary-cta {
    order: 3;
  }
  .header-nav-cluster .nav-links > li.nav-links__portal-item {
    order: 4;
  }
  .header-nav-cluster > .nav-toggle {
    order: 5;
  }
  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding: env(safe-area-inset-top) max(5%, env(safe-area-inset-right)) 0 max(5%, env(safe-area-inset-left));
    min-height: calc(50px + env(safe-area-inset-top));
  }
}
@media (max-width: 768px) {
  .site-header {
    padding: env(safe-area-inset-top) max(4%, env(safe-area-inset-right)) 0 max(4%, env(safe-area-inset-left));
    min-height: calc(48px + env(safe-area-inset-top));
  }
  .site-header-inner {
    flex-wrap: nowrap;
  }
  .header-nav-cluster {
    gap: 0.5rem;
  }
  .header-nav-cluster > .primary-nav {
    display: block;
  }
  .header-nav-cluster .primary-nav > .nav-links {
    display: flex;
  }
  .header-nav-cluster .nav-links > li {
    order: unset;
  }
  .header-nav-cluster > .nav-primary-cta {
    order: unset;
  }
  .header-nav-cluster > .nav-toggle {
    order: unset;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: 0;
  }
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1001;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 0;
    padding: 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }
  .site-header--nav-open .primary-nav {
    max-height: min(78vh, 26rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .primary-nav .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 0.15rem 0 1rem;
  }
  .primary-nav .nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }
  .primary-nav .nav-links li:last-child {
    border-bottom: none;
  }
  .primary-nav .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.65rem 0.25rem;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(201, 235, 85, 0.15);
  }
  .page-home .site-header--immersive .primary-nav {
    background: rgba(14, 15, 18, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .page-home .site-header--immersive .primary-nav .nav-links li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .logo-img {
    height: 20px;
  }
}

body.site-header-nav-open {
  overflow: hidden;
}
@media (min-width: 769px) {
  body.site-header-nav-open {
    overflow: visible;
  }
}

/* Hero – 4-block structure to match original */
.hero-block {
  color: var(--color-text);
  text-align: center;
}
.hero-block--gradient {
  width: 100%;
  max-width: none;
  background: linear-gradient(180deg, var(--color-hero-top) 69%, var(--color-hero-bottom) 21%);
  padding: 0 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
/* Stack: both images on top of each other, hero-logo-2 on top */
.hero-images-stack {
  position: relative;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  overflow: hidden;
}
.hero-images-stack .hero-block__image:first-child {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.hero-block__image--top {
  position: absolute;
  top: 0;
  left: 0%;
  width: 100%;
  z-index: 2;
  margin: 0;
  padding: 0;
}
.hero-block__image--top img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-block__image {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0;
}
.hero-block__image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Boxed sections (like original e-con-boxed + e-con-inner) */
.hero-boxed {
  width: 100%;
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.hero-boxed__inner {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 4%;
}
/* Reset Your Thinking section: gradient overlay like original 587bd58 */
.hero-boxed--reset {
  background: linear-gradient(180deg, #132F37 0%, rgba(255,255,255,0.34) 100%);
  padding: 2rem 4% 3rem;
}
.hero-boxed--reset2 {
  background: linear-gradient(180deg, #132F37 0%, rgba(255,255,255,0.34) 100%);
  padding: 2rem 4% 3rem;
}
.hero-boxed--reset .hero-boxed__inner {
  text-align: center;
}
.hero-reset-title {
  font-family: var(--font-tag);
  font-size: clamp(2.5rem, 10vw, 6.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
}
@media (max-width: 1024px) {
  .hero-block__image--top {
    left: 5%;
  }
}
@media (max-width: 767px) {
  .hero-block__image--top {
    left: 3%;
  }
}
.hero-block--main {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  background: var(--color-overlay);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 4% 4rem;
  padding-top: 22%;
  text-align: left;
  align-items: flex-end;
  box-sizing: border-box;
}
.hero-block--main .hero-main-inner {
  max-width: 50%;
  margin-left: 0;
  margin-right: 0;
}
.hero-shape {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shape--top {
  top: 0;
}
.hero-shape svg {
  width: 100%;
  height: 130px;
  display: block;
}
.hero-shape-fill {
  fill: var(--color-overlay);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 5.375rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--color-accent-alt);
  text-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
  text-shadow: 1px 2px 0 rgba(0,0,0,0.5);
}
.hero-cta-wrap {
  margin-top: 1.5rem;
}
.hero-cta-wrap .btn-outline {
  border-radius: 50px;
}
@media (max-width: 900px) {
  .hero-block--main {
    padding-top: 28%;
    align-items: center;
    text-align: center;
  }
  .hero-block--main .hero-main-inner {
    max-width: 100%;
  }
}

/* Hero animations – ping up from the bottom, longer duration */
@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-anim-slide {
  animation: heroSlideUp 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.hero-anim-fade {
  opacity: 0;
  animation: heroFadeIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.hero-block__image--top.hero-anim-fade { animation-delay: 0.4s; }
.hero-boxed--reset .hero-reset-title.hero-anim-fade { animation-delay: 0.8s; }
.hero__text .hero-tag.hero-anim-fade { animation-delay: 0.2s; }
.hero__text .hero-title.hero-anim-fade { animation-delay: 0.35s; }
.hero__text .hero-sub.hero-anim-fade { animation-delay: 0.5s; }
.hero__text .hero-cta-wrap.hero-anim-fade { animation-delay: 0.65s; }
.hero-main-inner .hero-title.hero-anim-fade { animation-delay: 0.15s; }
.hero-main-inner .hero-sub.hero-anim-fade { animation-delay: 0.35s; }
.hero-main-inner .hero-cta-wrap.hero-anim-fade { animation-delay: 0.55s; }
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-bg);
  background: var(--color-accent);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}
.btn:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-1px);
}
.btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50px;
}
.btn-outline:hover {
  background: #fff;
  color: #111013;
}

/* Sections – full width so backgrounds and colours stretch edge to edge */
.section {
  width: 100%;
  max-width: none;
  padding: var(--section-padding);
  margin: 0;
  box-sizing: border-box;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 400;
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: var(--max-width);
  padding: 0 1.5rem;
  color: var(--color-text);
}
.section--coaching {
  position: relative;
  background-color: var(--color-bg);
}
.section--coaching .coaching-steps {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section--coaching .section-title,
.section--coaching .coaching-steps,
.section--trust .section-title,
.section--trust .coaching-steps,
.section--trust .trust-section__lead {
  position: relative;
  z-index: 1;
}
#coaching .section-title {
  color: var(--color-accent);
}
#trust .section-title {
  color: var(--color-accent);
  text-align: center;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
.trust-section__lead {
  max-width: 44rem;
  margin: 0 auto 2.25rem;
  padding: 0 0.5rem;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
.section--trust .coaching-steps {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Coaching steps (01–04) */
.coaching-steps {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .coaching-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .coaching-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.75rem;
}
.step-card--1 {
  position: relative;
  border-color: rgba(255,255,255,0.15);
  overflow: hidden;
  background: linear-gradient(135deg, #54595F 0%, #e8c119 100%);
}
.step-card--1::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--photo-sparkle);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.step-card--1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(84,89,95,0.85) 0%, rgba(232,193,25,0.72) 100%);
  z-index: 1;
}
.step-card--1 .step-num,
.step-card--1 h3,
.step-card--1 p {
  position: relative;
  z-index: 2;
}
.step-card--2 {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,0.15);
  background: linear-gradient(135deg, #54595F 0%, #292DF2 100%);
}
.step-card--2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--photo-coaching-step-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.step-card--2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(84, 89, 95, 0.88) 0%, rgba(41, 45, 242, 0.76) 100%);
  z-index: 1;
}
.step-card--2 .step-num,
.step-card--2 h3,
.step-card--2 p {
  position: relative;
  z-index: 2;
}
.step-card--3 {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,0.15);
  background: linear-gradient(135deg, #54595F 0%, #0D9B00 100%);
}
.step-card--3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--photo-coaching-step-3);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.step-card--3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(84, 89, 95, 0.88) 0%, rgba(13, 155, 0, 0.72) 100%);
  z-index: 1;
}
.step-card--3 .step-num,
.step-card--3 h3,
.step-card--3 p {
  position: relative;
  z-index: 2;
}
.step-card--4 {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,0.15);
  background: linear-gradient(135deg, #54595F 0%, #d62828 100%);
}
.step-card--4::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--photo-coaching-step-4);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.step-card--4::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(84, 89, 95, 0.88) 0%, rgba(214, 40, 40, 0.74) 100%);
  z-index: 1;
}
.step-card--4 .step-num,
.step-card--4 h3,
.step-card--4 p {
  position: relative;
  z-index: 2;
}
.step-card--trust-1,
.step-card--trust-2,
.step-card--trust-3,
.step-card--trust-4 {
  border-color: rgba(255, 255, 255, 0.15);
}
.step-card--trust-1 {
  background: linear-gradient(135deg, #2a343e 0%, #1a4a58 100%);
}
.step-card--trust-2 {
  background: linear-gradient(135deg, #2c3640 0%, #243a5c 100%);
}
.step-card--trust-3 {
  background: linear-gradient(135deg, #2a3238 0%, #1d4a40 100%);
}
.step-card--trust-4 {
  background: linear-gradient(135deg, #2e3640 0%, #3a2d4a 100%);
}
.step-card--trust-1 .step-num,
.step-card--trust-2 .step-num,
.step-card--trust-3 .step-num,
.step-card--trust-4 .step-num {
  color: rgba(255, 255, 255, 0.9);
}
.step-card--trust-1 h3,
.step-card--trust-2 h3,
.step-card--trust-3 h3,
.step-card--trust-4 h3 {
  color: #fff;
}
.step-card--trust-1 p,
.step-card--trust-2 p,
.step-card--trust-3 p,
.step-card--trust-4 p {
  color: rgba(255, 255, 255, 0.9);
}
.step-card--trust-4 a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.step-card--trust-4 a:hover {
  color: var(--color-accent-hover);
}
.step-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7.8vw, 4rem);
  font-weight: 100;
  text-transform: uppercase;
  color: #e1cdff;
  margin: 0 0 0.5rem;
}
.step-card--1 .step-num,
.step-card--2 .step-num,
.step-card--3 .step-num,
.step-card--4 .step-num {
  color: rgba(255,255,255,0.9);
}
.step-card--1 h3,
.step-card--2 h3,
.step-card--3 h3,
.step-card--4 h3 {
  color: #fff;
}
.step-card--1 p,
.step-card--2 p,
.step-card--3 p,
.step-card--4 p {
  color: rgba(255,255,255,0.9);
}
.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}
.step-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* Dedication (4 steps) – list with icons like original */
.dedication-section {
  width: 100%;
  max-width: none;
  color: #fff;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}
.dedication-section .section-title {
  color: var(--color-accent);
  -webkit-text-stroke: 1px #000;
  text-shadow: -2px 0 6px #000, 0 2px 24px rgba(0, 0, 0, 0.45);
}
.dedication-list {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  max-width: 900px;
}
.dedication-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.dedication-item:last-child {
  margin-bottom: 0;
}
.dedication-icon {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
  background: linear-gradient(145deg, #1a2d35 0%, #132a32 100%);
  border: 1px solid rgba(201, 235, 85, 0.2);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.dedication-content h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: #fff;
}
.dedication-content h3 a {
  color: inherit;
}
.dedication-content p {
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

/* About block – lime heading, light text */
.about-block {
  width: 100%;
  max-width: none;
  text-align: center;
  padding: clamp(1.25rem, 3vh, 2rem) 4% clamp(2.5rem, 6vh, 4.5rem);
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-sizing: border-box;
}
.about-block .section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3.875rem);
  color: var(--color-accent);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 2px 28px rgba(0, 0, 0, 0.55);
}
.about-block p {
  max-width: 465px;
  margin: 0 auto 1rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 22px rgba(0, 0, 0, 0.55);
}
.about-block .lead {
  color: var(--color-text-muted);
  font-size: 1rem;
}
.about-block .btn-wrap {
  margin-top: 1.5rem;
}
.about-block .btn-outline {
  border-color: #fff;
  color: #fff;
}
.about-block .btn-outline:hover {
  background: #fff;
  color: #111013;
}

/* Final CTA – full-bleed background image style */
.cta-section {
  width: 100%;
  max-width: none;
  text-align: center;
  box-sizing: border-box;
}
.cta-with-bg {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 14vw, 7rem) 1.5rem;
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 5.375rem);
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--color-accent);
  text-shadow: 10px 0 10px rgba(0,0,0,0.3);
}
.cta-section .btn {
  margin-top: 0.5rem;
}
.cta-section .btn-outline {
  border-width: 3px;
  border-radius: 72px;
}

/* Footer – two rows like original: white logo strip + purple copyright */
.site-footer {
  width: 100%;
  max-width: none;
  flex-shrink: 0;
  text-align: center;
  font-family: var(--font-body);
  box-sizing: border-box;
}
.footer-top {
  background: #fff;
  padding: 2rem 1.5rem;
}
.footer-top .footer-logo {
  display: inline-block;
  color: inherit;
}
.footer-logo img {
  height: 45px;
  width: auto;
  margin: 0 auto;
}
.footer-bottom {
  background: var(--footer-bar);
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 300;
  color: #c8d5dc;
}
.site-footer p {
  margin: 0;
}
.site-footer p a {
  color: #c8d5dc;
}
.site-footer p a:hover {
  color: var(--color-accent);
}

/* Cookie consent banner & preferences (rushmind.co.uk) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  padding: 1rem 1.25rem 1.25rem;
  background: rgba(26, 34, 45, 0.97);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
}
.cookie-banner__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}
.cookie-banner__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
}

.cookie-dialog {
  max-width: 520px;
  width: calc(100vw - 2rem);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
}
.cookie-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}
.cookie-dialog__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
}
.cookie-dialog__fieldset {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem;
  margin: 0 0 1rem;
}
.cookie-dialog__legend {
  padding: 0 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.cookie-dialog__desc {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.cookie-dialog__row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  cursor: default;
}
.cookie-dialog__row--muted {
  opacity: 0.75;
}
.cookie-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.cookie-dialog__fineprint {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.link-button {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--color-accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-button:hover {
  color: var(--color-accent-hover);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  align-items: center;
  margin: 1.25rem auto 0;
  max-width: 900px;
  font-size: 0.875rem;
}
.footer-legal a {
  color: #333;
  font-weight: 500;
}
.footer-legal a:hover {
  color: var(--color-accent-alt);
}
.footer-company {
  margin: 1.5rem auto 0;
  max-width: 720px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #555;
}
.footer-company p {
  margin: 0 0 0.5rem;
}
.footer-company a {
  color: #333;
}
.footer-top .link-button {
  color: var(--color-accent-alt);
  font-weight: 500;
}
.footer-top .link-button:hover {
  color: var(--color-accent);
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
}
.legal-table code {
  font-size: 0.8rem;
}

.form-group--consent {
  margin-top: 1.5rem;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
}
.checkbox-label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--color-accent-alt);
}
.checkbox-label a {
  font-weight: 500;
}

/* Form page */
.page-header {
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.page-header p {
  color: var(--color-text-muted);
  max-width: 42ch;
  margin: 0 auto;
}
.form-section {
  max-width: 560px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}
.form-data-notice {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-section .btn {
  width: 100%;
  padding: 0.9rem;
}
.form-message {
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}
.form-message--success {
  background: rgba(0, 128, 0, 0.15);
  border: 1px solid rgba(0, 128, 0, 0.4);
  color: var(--color-accent);
}
.form-message--error {
  background: rgba(180, 60, 60, 0.15);
  border: 1px solid rgba(180, 60, 60, 0.4);
  color: #e88;
}
.form-group--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* About James page */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about-content {
  max-width: 640px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}
.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.page-about-james {
  background: var(--color-bg);
}

.page-about-james .about-page-hero {
  position: relative;
  min-height: min(48vh, 520px);
  max-height: 720px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.about-page-hero__media {
  position: absolute;
  inset: 0;
}

.about-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* Alley portrait — subject camera-left; align to top of frame (not vertically centered) */
.page-about-james .about-page-hero__media img {
  object-position: 36% top;
}

.about-page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.25) 0%,
    rgba(8, 10, 14, 0.55) 45%,
    rgba(8, 10, 14, 0.88) 100%
  );
  pointer-events: none;
}

.about-page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  padding: 2rem max(1.25rem, env(safe-area-inset-left)) 2.25rem max(1.25rem, env(safe-area-inset-right));
  text-align: center;
}

.about-page-hero__eyebrow {
  font-family: var(--font-tag);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 235, 85, 0.95);
  margin: 0 0 0.5rem;
}

.about-page-hero__inner h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.1;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

.about-page-hero__tagline {
  margin: 0;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: rgba(230, 238, 245, 0.92);
  letter-spacing: 0.03em;
}

.about-page-wrap {
  padding: clamp(2.5rem, 7vw, 4rem) max(1.25rem, env(safe-area-inset-left)) clamp(3rem, 10vw, 5rem)
    max(1.25rem, env(safe-area-inset-right));
}

.about-page-profile__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .about-page-profile__grid {
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: 3rem;
  }
}

.about-page-profile__figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

.about-page-profile__figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Tall on-set photo — crop to a stable square like the previous profile shot */
.about-page-profile__figure--color img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 28%;
}

.about-page-profile__body p {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.about-page-lead {
  font-size: 1.0625rem !important;
  color: rgba(240, 242, 246, 0.96) !important;
}

.about-page-blurb {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 0 1rem 1.1rem;
  border-left: 3px solid rgba(201, 235, 85, 0.35);
}

.about-page-blurb p {
  margin: 0 0 0.85rem;
  color: rgba(220, 226, 234, 0.94);
  font-size: 0.98rem;
  line-height: 1.68;
}

.about-page-blurb p:last-child {
  margin-bottom: 0;
}

.about-page-blurb cite {
  font-style: normal;
  color: rgba(240, 244, 250, 0.98);
}

.about-page-quals {
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid rgba(201, 235, 85, 0.22);
  background: rgba(201, 235, 85, 0.06);
  margin-bottom: 1rem !important;
}

.about-page-quals strong {
  color: var(--color-accent);
  font-weight: 600;
}

.about-social__list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.about-social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text) !important;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.about-social__link:hover {
  border-color: rgba(201, 235, 85, 0.45);
  background: rgba(201, 235, 85, 0.09);
  color: var(--color-accent-hover) !important;
}

.about-social__icon {
  font-size: 1.1rem;
  color: var(--color-accent);
}

.about-page-cta {
  margin-top: 1.75rem !important;
  margin-bottom: 0 !important;
}

.about-page-profile__secondary {
  margin: clamp(2.5rem, 6vw, 3.5rem) auto 0;
  max-width: 560px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.about-page-profile__secondary:not(.about-page-profile__slideshow) img {
  width: 100%;
  height: auto;
  display: block;
}

/* Profile rolling slideshow (about-james) */
.about-page-profile__slideshow .about-page-profile__slideshow-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(6, 8, 12, 0.45);
}

.about-page-profile__slideshow-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(8, 10, 14, 0.55);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(201, 235, 85, 0.15);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.about-page-profile__slideshow-btn:hover {
  background: rgba(12, 14, 20, 0.75);
  border-color: rgba(201, 235, 85, 0.45);
  color: var(--color-accent-hover);
}

.about-page-profile__slideshow-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.about-page-profile__slideshow-btn--prev {
  left: max(0.5rem, env(safe-area-inset-left));
}

.about-page-profile__slideshow-btn--next {
  right: max(0.5rem, env(safe-area-inset-right));
}

.about-page-profile__slideshow .about-page-profile__slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.75s ease;
  pointer-events: none;
}

.about-page-profile__slideshow .about-page-profile__slide--active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .about-page-profile__slideshow .about-page-profile__slide {
    transition: none;
  }

  .about-page-profile__slideshow .about-page-profile__slide:not(.about-page-profile__slide--active) {
    opacity: 0;
    visibility: hidden;
  }

  .about-page-profile__slideshow .about-page-profile__slide--active {
    opacity: 1;
    visibility: visible;
  }
}

.about-page-profile__slideshow-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  align-items: center;
  padding: 0.65rem 0 0;
}

.about-page-profile__slideshow-dot {
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.about-page-profile__slideshow-dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.about-page-profile__slideshow-dot--active {
  background: rgba(201, 235, 85, 0.95);
  transform: scale(1.15);
}

#about-profile-slideshow:focus-visible {
  outline: none;
}

#about-profile-slideshow:focus-visible .about-page-profile__slideshow-viewport {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 10px;
}

.about-page-awards {
  max-width: 920px;
  margin: clamp(2.5rem, 7vw, 4rem) auto 0;
  padding-top: clamp(2rem, 5vw, 2.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-page-awards__title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 1rem;
  text-align: center;
}

.about-page-awards__lead {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.about-page-awards__lead strong {
  color: rgba(240, 242, 246, 0.96);
}

.about-page-awards__lead cite {
  font-style: normal;
}

.about-awards-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about-awards-list__item {
  padding: 1rem 1.15rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid rgba(201, 235, 85, 0.65);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about-awards-list__fest {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: rgba(248, 250, 252, 0.98);
}

.about-awards-list__meta {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(200, 208, 218, 0.92);
}

.about-awards-list__meta cite {
  font-style: normal;
  color: rgba(230, 236, 244, 0.95);
}

.about-page-credits {
  max-width: 1100px;
  margin: clamp(2.5rem, 7vw, 4rem) auto 0;
  padding-top: clamp(2rem, 5vw, 2.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-page-credits__title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 0.65rem;
  text-align: center;
}

.about-page-credits__intro {
  margin: 0 auto 1.75rem;
  max-width: 48rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.about-credits-subheading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.96);
  margin: 0 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(201, 235, 85, 0.22);
}

.about-credits-upcoming {
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.about-credits-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-credits-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1rem;
  border-left: 3px solid rgba(201, 235, 85, 0.45);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(210, 218, 228, 0.94);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 8px 8px 0;
}

.about-credits-list--upcoming li {
  border-left-color: rgba(201, 235, 85, 0.75);
}

.about-credits__title {
  font-weight: 600;
  color: rgba(252, 252, 255, 0.98);
}

.about-credits__type {
  font-size: 0.82em;
  color: rgba(180, 190, 200, 0.92);
  font-weight: 400;
}

.about-credits__year {
  font-size: 0.88em;
  color: rgba(160, 172, 186, 0.95);
  font-weight: 400;
}

.about-credits-by-role {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: start;
}

.about-credits-role {
  margin: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.about-credits-role__name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
}

.about-credits-role .about-credits-list li {
  border-left: none;
  padding-left: 0;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  margin-bottom: 0;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
}

.about-credits-role .about-credits-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .about-page-credits__intro {
    text-align: left;
  }

  .about-page-credits__title {
    text-align: left;
  }

  .about-credits-subheading {
    font-size: 1rem;
  }
}

.about-page-external {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.about-page-external a {
  font-weight: 500;
}

@media (max-width: 768px) {
  .page-about-james .about-page-hero {
    min-height: min(42vh, 440px);
  }

  .about-social__list {
    flex-direction: column;
    align-items: stretch;
  }

  .about-social__link {
    justify-content: center;
    width: 100%;
  }
}
.legal-content {
  max-width: 720px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  overflow-x: auto;
}
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
}
.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
}
.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 1.75rem 0 0.5rem;
}
.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.legal-content ul {
  margin: 0.5rem 0 1.25rem 1.25rem;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}
.legal-content li {
  margin-bottom: 0.5rem;
}
.legal-content .change-log {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.legal-content .change-log li {
  margin-bottom: 0.75rem;
  padding-left: 0;
}
.legal-content a {
  color: var(--color-accent);
}

/* FAQ (faq.html) — native disclosure widgets */
.faq-page .faq-page__h2 {
  margin: 2.25rem 0 1rem;
  padding-top: 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-page .faq-page__h2:first-of-type {
  margin-top: 1.5rem;
  padding-top: 0;
  border-top: none;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  margin-left: 0.75rem;
  font-weight: 400;
  color: var(--color-accent);
  opacity: 0.9;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.faq-item p:last-child {
  padding-bottom: 1.15rem;
}

/* -------------------------------------------------------------------------
   Home page – immersive layers, motion, scroll reveals (index.html)
   Backgrounds from images/Pictures; references: cinematic hero, depth, polish.
   ------------------------------------------------------------------------- */

.page-home .site-header--immersive {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-dark);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-edge);
  box-shadow: none;
}
.page-home .site-header--immersive.site-header--scrolled {
  background: rgba(10, 11, 14, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.page-home .site-header--immersive .logo-img {
  filter: brightness(0) invert(1);
}
.page-home .site-header--immersive .nav-links a {
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.06em;
  font-size: 12px;
}
.page-home .site-header--immersive .nav-primary-cta {
  color: #111013 !important;
  font-size: 12px;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}
.page-home .site-header--immersive .nav-links a:hover {
  color: var(--color-accent-hover);
}
.page-home .site-header--immersive .nav-primary-cta:hover {
  color: #111013 !important;
  background: var(--color-accent-hover);
}

.page-home #content {
  padding-top: calc(60px + env(safe-area-inset-top));
}

/* Home – soft fades between major sections (only index layout) */
.page-home .hero-cinematic::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(48px, 12vmin, 140px);
  background: linear-gradient(to bottom, transparent, rgba(17, 16, 19, 0.96));
  z-index: 3;
  pointer-events: none;
}

.page-home .hero-strip--night::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(40px, 10vmin, 120px);
  background: linear-gradient(to bottom, rgba(17, 16, 19, 0.48), transparent);
  z-index: 2;
  pointer-events: none;
}

.page-home .hero-strip--night::after {
  background: linear-gradient(
    180deg,
    rgba(10, 15, 26, 0.52) 0%,
    rgba(17, 16, 19, 0.34) 36%,
    rgba(17, 16, 19, 0.55) 68%,
    rgba(17, 16, 19, 0.78) 88%,
    #111013 100%
  );
}

.page-home .section--coaching::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(44px, 10vmin, 130px);
  background: linear-gradient(to bottom, transparent, #111013);
  z-index: 2;
  pointer-events: none;
}

.page-home .section--trust::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(44px, 10vmin, 130px);
  background: linear-gradient(to bottom, transparent, rgba(17, 16, 19, 0.96));
  z-index: 2;
  pointer-events: none;
}

.page-home .dedication-section::before {
  background: linear-gradient(to bottom, rgba(17, 16, 19, 0.55) 0%, transparent min(18%, 160px)),
    linear-gradient(
      180deg,
      rgba(12, 22, 28, 0.78) 0%,
      rgba(19, 47, 55, 0.55) 38%,
      rgba(17, 16, 19, 0.88) 100%
    );
}

.page-home .dedication-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(44px, 10vmin, 130px);
  background: linear-gradient(to bottom, transparent, rgba(17, 16, 19, 0.94));
  z-index: 2;
  pointer-events: none;
}

.page-home .about-block::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(48px, 11vmin, 140px);
  background: linear-gradient(to bottom, transparent, rgba(17, 16, 19, 0.97));
  z-index: 1;
  pointer-events: none;
}

.page-home .cta-with-bg::before {
  background: linear-gradient(
    180deg,
    rgba(17, 16, 19, 0.96) 0%,
    rgba(17, 16, 19, 0.52) min(32%, 340px),
    rgba(17, 16, 19, 0.52) 42%,
    rgba(10, 11, 14, 0.94) 100%
  );
}

.hero-cinematic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(88vh, 920px);
  padding: 2rem 4% 3rem;
  overflow: hidden;
  color: var(--color-text);
  text-align: center;
}

.hero-cinematic__pan {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-cinematic__photo {
  position: absolute;
  inset: -12% -8%;
  background-image: var(--photo-user-night-van);
  background-size: cover;
  background-position: center 48%;
  animation: rmKenBurns 26s ease-in-out infinite alternate;
}

.hero-cinematic__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
      ellipse 85% 70% at 50% 55%,
      rgba(19, 47, 55, 0.28) 0%,
      rgba(10, 11, 14, 0.72) 68%,
      rgba(5, 6, 8, 0.94) 100%
    ),
    linear-gradient(180deg, rgba(30, 63, 72, 0.35) 0%, rgba(17, 16, 19, 0.85) 100%);
  pointer-events: none;
}

.hero-cinematic__glow {
  position: absolute;
  inset: auto 10% -20%;
  z-index: 1;
  height: 55%;
  background: radial-gradient(ellipse at 50% 0%, var(--glow-lime) 0%, transparent 62%);
  opacity: 0.45;
  filter: blur(8px);
  pointer-events: none;
}

.hero-cinematic .hero-images-stack {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.55));
}

@keyframes rmKenBurns {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.12);
  }
}

.hero-strip {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 12vw, 7rem) 4%;
}

.hero-strip__pan {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-strip__photo {
  position: absolute;
  inset: -10% -6%;
  background-image: var(--photo-night);
  background-size: cover;
  background-position: center 30%;
  animation: rmKenBurns 34s ease-in-out infinite alternate-reverse;
}

.hero-strip--night::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Lighter scrim so the night plate reads more clearly */
  background: linear-gradient(
    180deg,
    rgba(10, 15, 26, 0.58) 0%,
    rgba(17, 16, 19, 0.36) 45%,
    rgba(17, 16, 19, 0.68) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-strip__inner {
  position: relative;
  z-index: 2;
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
}

.hero-strip .hero-reset-title {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65), 0 4px 48px rgba(0, 0, 0, 0.45);
}

.hero-strip__tagline {
  margin: 1.25rem 0 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(230, 238, 245, 0.88);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.hero-reset-title__line {
  display: inline-block;
}

.section--coaching {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding-top: clamp(4rem, 10vw, 6rem);
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.section--coaching__pan {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.section--coaching__photo {
  position: absolute;
  inset: -8% -4%;
  background-image: var(--photo-user-pebbles);
  background-size: cover;
  background-position: center center;
  opacity: 0.52;
  filter: saturate(0.92) contrast(1.06);
  animation: rmKenBurns 40s ease-in-out infinite alternate;
}

.section--coaching::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 16, 19, 0.72) 0%,
    rgba(17, 16, 19, 0.52) 42%,
    rgba(17, 16, 19, 0.78) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.section--coaching__inner {
  position: relative;
  z-index: 2;
  max-width: none;
}

.section--trust {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding-top: clamp(4rem, 10vw, 6rem);
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.section--trust__pan {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.section--trust__photo {
  position: absolute;
  inset: -8% -4%;
  background-image: var(--photo-arch);
  background-size: cover;
  background-position: center 38%;
  opacity: 0.48;
  filter: saturate(0.9) contrast(1.06);
  animation: rmKenBurns 38s ease-in-out infinite alternate-reverse;
}

.section--trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 16, 19, 0.7) 0%,
    rgba(12, 22, 28, 0.58) 45%,
    rgba(17, 16, 19, 0.76) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.section--trust__inner {
  position: relative;
  z-index: 2;
  max-width: none;
}

.dedication-section__pan {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.dedication-section__photo {
  position: absolute;
  /* Extra bleed so cover + Ken Burns never show a hard edge */
  inset: -22%;
  background-image: var(--photo-field);
  background-size: cover;
  background-position: center 42%;
  animation: rmKenBurns 32s ease-in-out infinite alternate;
}

.dedication-section::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Teal–charcoal wash (site palette), not purple/magenta */
  background: linear-gradient(
    180deg,
    rgba(12, 22, 28, 0.78) 0%,
    rgba(19, 47, 55, 0.55) 38%,
    rgba(17, 16, 19, 0.88) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.dedication-section__inner {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 10vw, 5rem) 4%;
}

.dedication-item:hover .dedication-icon {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.about-block__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* Sharp photo fills the band (cover); scrim fades only the lower area into copy — no extra blur layer */
  background-image: linear-gradient(
      180deg,
      rgba(8, 10, 14, 0) 0,
      rgba(8, 10, 14, 0) calc(100% - min(260px, 44%)),
      rgba(10, 11, 14, 0.22) calc(100% - min(190px, 32%)),
      rgba(14, 15, 18, 0.55) calc(100% - min(110px, 18%)),
      rgba(17, 16, 19, 0.82) calc(100% - min(48px, 8%)),
      rgba(17, 16, 19, 0.93) 100%
    ),
    var(--photo-james-portrait-bw);
  background-size: cover, cover;
  /* Photo anchor nudged right so left-column copy sits on darker scrim, not the face */
  background-position: center top, 74% 24%;
  background-repeat: no-repeat;
  opacity: 0;
  animation: aboutBlockBgReveal 1.15s ease-out 0.08s forwards;
  filter: saturate(0.96) contrast(1.06);
}

@keyframes aboutBlockBgReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.about-block::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Light teal wash; strongest only low so the portrait stays visible and text still reads */
  background: linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(100% - min(240px, 38%)),
      rgba(19, 47, 55, 0.08) calc(100% - min(160px, 26%)),
      rgba(14, 16, 20, 0.28) calc(100% - min(72px, 12%)),
      rgba(8, 9, 12, 0.62) 100%
    ),
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 42%,
      rgba(10, 11, 14, 0.08) 62%,
      rgba(6, 8, 14, 0.22) 100%
    );
  z-index: 1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .about-block__bg {
    animation: none;
    opacity: 1;
  }
}

.about-block__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  /* Narrower window → more padding-top so copy clears the portrait (stepped + fluid) */
  padding-top: clamp(13rem, 40vh, 28rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
  padding-left: 0;
  padding-right: 0;
  max-width: min(42rem, 100%);
  width: 100%;
  color: rgba(255, 255, 255, 1);
  /* No “card” chrome — large radius + shadow drew a visible seam / line over the photo when resized */
  border-radius: 0;
  box-shadow: none;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: none;
  background-clip: unset;
  -webkit-background-clip: unset;
}

@media (max-width: 1199px) {
  .about-block__inner {
    padding-top: clamp(15rem, 44vh, 31rem);
  }
}

@media (max-width: 1023px) {
  .about-block__inner {
    padding-top: clamp(17rem, 48vh, 33rem);
  }
}

@media (max-width: 899px) {
  .about-block__inner {
    padding-top: clamp(19rem, 52vh, 35rem);
  }
}

/* Wide screens: sit copy in the darker left band so it clears the face in the plate */
@media (min-width: 768px) {
  .about-block__inner {
    margin-left: max(5%, env(safe-area-inset-left));
    margin-right: auto;
    align-items: flex-start;
    text-align: left;
  }

  .about-block__inner p {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Split-screen / tablet widths (~half window): pin copy to the right */
@media (min-width: 641px) and (max-width: 1199px) {
  .page-home .about-block {
    text-align: right;
  }

  .page-home .about-block .about-block__inner {
    margin-top: clamp(25px, 4.5vmin, 50px);
    margin-left: auto;
    margin-right: max(5%, env(safe-area-inset-right));
    align-items: flex-end;
    text-align: right;
  }

  .page-home .about-block .section-title {
    text-align: right;
    align-self: flex-end;
  }

  .page-home .about-block .about-block__inner p {
    margin-left: auto;
    margin-right: 0;
  }

  .page-home .about-block .btn-wrap {
    align-self: flex-end;
  }
}

@media (min-width: 641px) and (max-width: 767px) {
  .page-home .about-block .about-block__inner {
    background: linear-gradient(
      270deg,
      rgba(5, 6, 9, 0.88) 0%,
      rgba(5, 6, 9, 0.42) 55%,
      transparent 88%
    );
  }
}

/* Phones & narrow tablets: copy band + scrim; padding-top reset on .page-home (flex-anchored below) */
@media (max-width: 767px) {
  .about-block__bg {
    background-size: cover, cover;
    /* Lower anchor so more of the portrait sits above the copy */
    background-position: center top, 88% 32%;
  }

  .about-block {
    text-align: left;
  }

  .about-block__inner {
    align-items: flex-start;
    text-align: left;
    margin-left: max(0.75rem, env(safe-area-inset-left));
    margin-right: auto;
    max-width: min(40rem, calc(100vw - 1.5rem - env(safe-area-inset-left)));
    padding-top: 0;
    padding-bottom: clamp(1.25rem, 4vw, 2.5rem);
    padding-left: max(0.5rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    /* Horizontal fade only — avoids a vertical seam */
    background: linear-gradient(
      90deg,
      rgba(5, 6, 9, 0.88) 0%,
      rgba(5, 6, 9, 0.45) 52%,
      transparent 88%
    );
  }

  .about-block .section-title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .about-block p {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .about-block .btn-wrap {
    align-self: flex-start;
  }

  /* Tall portrait band; copy sits low — overlaps dark scrim at bottom of plate, not the face */
  .page-home .about-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    min-height: clamp(33rem, 88vh, 54rem);
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: clamp(1rem, 5vh, 2.5rem);
    padding-left: max(4%, env(safe-area-inset-left));
    padding-right: max(4%, env(safe-area-inset-right));
  }
}

/* Narrow phones: portrait fills a fixed top band; copy sits fully below (no overlap on the face) */
@media (max-width: 640px) {
  .page-home .about-block {
    --about-hero-h: clamp(15.5rem, 46vh, 21rem);
    display: block;
    min-height: 0;
    justify-content: unset;
    align-items: unset;
    padding-top: max(0.5rem, env(safe-area-inset-top));
    padding-bottom: clamp(1.25rem, 6vw, 2.5rem);
    padding-left: max(4%, env(safe-area-inset-left));
    padding-right: max(4%, env(safe-area-inset-right));
  }

  .page-home .about-block__bg {
    inset: unset;
    top: 0;
    left: 0;
    right: 0;
    height: var(--about-hero-h);
    background-position: center top, 88% 28%;
  }

  .page-home .about-block::before {
    inset: unset;
    top: 0;
    left: 0;
    right: 0;
    height: var(--about-hero-h);
  }

  .page-home .about-block .about-block__inner {
    margin-top: var(--about-hero-h);
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    width: 100%;
    padding-top: clamp(1.25rem, 4.5vw, 1.75rem);
    padding-bottom: clamp(1rem, 4vw, 1.5rem);
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    background: var(--color-bg);
    box-shadow: none;
    text-align: left;
  }
}

/* Between phone-stack and tablet overlay: extra vertical room pushes copy further down */
@media (min-width: 641px) and (max-width: 767px) {
  .page-home .about-block {
    min-height: clamp(38rem, 92vh, 58rem);
  }
}

/* Small tablets in portrait: intermediate crop */
@media (min-width: 768px) and (max-width: 1023px) {
  .about-block__bg {
    background-position: center top, 82% 25%;
  }

  .about-block__inner {
    max-width: min(40rem, calc(100% - 2.5rem));
  }
}

.cta-with-bg__pan {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cta-with-bg__photo {
  position: absolute;
  /* Overscan so cover + scroll never reveals letterboxing at edges */
  inset: -22%;
  background-image: var(--photo-city);
  background-size: cover;
  background-repeat: no-repeat;
  /* Night-city plate has dark sky — bias crop down so the band isn’t empty black */
  background-position: center 54%;
  animation: none;
}

.cta-with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.92) 0%,
    rgba(17, 16, 19, 0.52) 42%,
    rgba(10, 11, 14, 0.94) 100%
  );
  z-index: 1;
}

.cta-section__inner {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}

.cta-section .btn-outline {
  border-width: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.06);
}

.cta-section .btn-outline:hover {
  background: #fff;
  color: #111013;
}

.step-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.section--coaching .step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.js-reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.coaching-steps .js-reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.coaching-steps .js-reveal:nth-child(2) {
  transition-delay: 0.14s;
}
.coaching-steps .js-reveal:nth-child(3) {
  transition-delay: 0.23s;
}
.coaching-steps .js-reveal:nth-child(4) {
  transition-delay: 0.32s;
}

.dedication-list .js-reveal:nth-child(1) {
  transition-delay: 0.04s;
}
.dedication-list .js-reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.dedication-list .js-reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.dedication-list .js-reveal:nth-child(4) {
  transition-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic__photo,
  .hero-strip__photo,
  .section--coaching__photo,
  .section--trust__photo,
  .dedication-section__photo,
  .cta-with-bg__photo,
  .gs-hero__photo,
  .gs-flow__ambient-photo {
    animation: none !important;
  }
  .primary-nav {
    transition: none !important;
  }
  .nav-toggle__bar {
    transition: none !important;
  }
  .js-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .step-card {
    transition: none !important;
  }
  .dedication-item:hover .dedication-icon {
    transform: none;
  }
  .gs-hero__scroll-icon {
    animation: none !important;
  }
  .gs-step:hover {
    transform: none;
  }
  .gs-form__submit:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 1rem;
  }

  .page-home #content {
    padding-top: calc(52px + env(safe-area-inset-top));
  }

  /* Static backgrounds on small screens — avoids fighting layers with JS parallax (disabled in home.js). */
  .hero-cinematic__pan,
  .hero-strip__pan,
  .section--coaching__pan,
  .section--trust__pan,
  .dedication-section__pan,
  .cta-with-bg__pan,
  .gs-hero__pan,
  .gs-flow__ambient {
    will-change: auto;
  }

  .hero-cinematic__photo,
  .hero-strip__photo,
  .section--coaching__photo,
  .section--trust__photo,
  .dedication-section__photo,
  .cta-with-bg__photo,
  .gs-hero__photo,
  .gs-flow__ambient-photo {
    animation: none !important;
  }

  .hero-cinematic {
    min-height: min(78vh, 680px);
    padding: 1.25rem max(4%, env(safe-area-inset-left)) 2rem max(4%, env(safe-area-inset-right));
  }

  .hero-strip {
    padding: clamp(2.5rem, 10vw, 5rem) max(4%, env(safe-area-inset-left)) clamp(2.5rem, 10vw, 5rem) max(4%, env(safe-area-inset-right));
  }

  .hero-reset-title {
    font-size: clamp(1.85rem, 11vw, 4rem);
    word-break: break-word;
  }

  .section {
    padding: clamp(2.25rem, 8vw, 4rem) max(1rem, env(safe-area-inset-left)) clamp(2.25rem, 8vw, 4rem) max(1rem, env(safe-area-inset-right));
  }

  .section--coaching {
    padding-top: clamp(2.75rem, 9vw, 5rem);
    padding-bottom: clamp(2.75rem, 9vw, 5rem);
  }

  .section--trust {
    padding-top: clamp(2.75rem, 9vw, 5rem);
    padding-bottom: clamp(2.75rem, 9vw, 5rem);
  }

  .section-title {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    margin-bottom: 1.75rem;
  }

  .step-card {
    padding: 1.35rem 1.25rem;
  }

  .dedication-section__inner {
    padding: clamp(2.5rem, 8vw, 4rem) max(4%, env(safe-area-inset-left)) clamp(2.5rem, 8vw, 4rem) max(4%, env(safe-area-inset-right));
  }

  .dedication-icon {
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
  }

  .dedication-item {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .about-block {
    padding: clamp(2.5rem, 8vw, 4rem) max(4%, env(safe-area-inset-left)) clamp(2.5rem, 8vw, 4rem) max(4%, env(safe-area-inset-right));
  }

  .cta-with-bg {
    padding: clamp(3rem, 12vw, 5.5rem) max(1rem, env(safe-area-inset-left)) clamp(3rem, 12vw, 5.5rem) max(1rem, env(safe-area-inset-right));
  }

  .cta-section h2 {
    line-height: 1.08;
    padding: 0 0.25rem;
  }

  .footer-top {
    padding: 1.5rem max(1rem, env(safe-area-inset-left)) 1.5rem max(1rem, env(safe-area-inset-right));
  }

  .footer-legal {
    gap: 0.65rem 1rem;
  }

  .footer-legal a,
  .footer-top .link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.35rem 0.25rem;
    -webkit-tap-highlight-color: rgba(142, 184, 0, 0.12);
  }

  .footer-bottom {
    padding: 1rem max(1rem, env(safe-area-inset-left)) calc(1rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  }

  .cookie-banner {
    padding: 1rem max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  }

  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions .btn,
  .cookie-banner__actions .btn--ghost {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .form-group input,
  .form-group textarea,
  .page-get-started .gs-form input,
  .page-get-started .gs-form textarea {
    font-size: 16px;
  }

  .legal-content {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .page-terms-of-use .page-header {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }

  .page-terms-of-use .legal-content {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }

  .legal-table {
    font-size: 0.8125rem;
  }

  .legal-table th,
  .legal-table td {
    padding: 0.5rem 0.55rem;
  }

  .page-get-started .gs-main {
    overflow-x: clip;
  }

  .page-get-started .gs-form-zone {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .page-get-started .gs-flow__inner {
    padding-left: max(4%, env(safe-area-inset-left));
    padding-right: max(4%, env(safe-area-inset-right));
  }

  .page-get-started .gs-hero {
    padding-left: max(6%, env(safe-area-inset-left));
    padding-right: max(6%, env(safe-area-inset-right));
  }

  .about-content {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }

  .page-header {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }

  .form-section {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }

  .btn,
  .btn-outline,
  .nav-primary-cta,
  .nav-links a,
  .nav-portal-link,
  .cookie-banner__actions .btn {
    touch-action: manipulation;
  }

  .page-home .site-header--immersive .nav-links a,
  .page-home .site-header--immersive .nav-primary-cta {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.08);
  }
}

/* -------------------------------------------------------------------------
   Get Started page (getting-started.html)
   ------------------------------------------------------------------------- */

.page-get-started .gs-main {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.page-get-started #contact-form {
  scroll-margin-top: 2.5rem;
}

/* One centered column — hero, form, flow, onboarding share the same visual rail */
.page-get-started .gs-hero,
.page-get-started .gs-form-zone,
.page-get-started .gs-flow,
.page-get-started .gs-onboarding {
  width: 100%;
  box-sizing: border-box;
}

.page-get-started .gs-hero {
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.page-get-started .gs-hero__inner {
  max-width: 40rem;
}

.page-get-started .gs-hero__lead {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.page-get-started .gs-form-zone {
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.page-get-started .gs-form-layout {
  max-width: 40rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
}

.page-get-started .gs-form-intro {
  text-align: center;
  width: 100%;
}

.page-get-started .gs-form-intro__title {
  margin-left: auto;
  margin-right: auto;
}

.page-get-started .gs-form-intro__text {
  margin-left: auto;
  margin-right: auto;
}

.page-get-started .gs-form-card {
  width: 100%;
}

.page-get-started .gs-form-legend {
  text-align: center;
}

.page-get-started .gs-form-popovers {
  text-align: center;
}

.page-get-started .gs-flow {
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.page-get-started .gs-flow__inner {
  max-width: 40rem;
}

.page-get-started .gs-step {
  text-align: center;
}

.page-get-started .gs-step__head,
.page-get-started .gs-step__text {
  text-align: center;
}

.page-get-started .gs-onboarding {
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.page-get-started .gs-onboarding__inner {
  max-width: 40rem;
}

.page-get-started .gs-onboarding__lead,
.page-get-started .gs-onboarding__fineprint {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 38rem;
}

@media (min-width: 880px) {
  .page-get-started .gs-form-layout {
    gap: 1.75rem;
  }
}

.gs-hero {
  position: relative;
  min-height: min(58vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 12vw, 6rem) 6% 3rem;
  text-align: center;
  overflow: hidden;
}

.gs-hero__pan {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.gs-hero__photo {
  position: absolute;
  inset: -14% -10%;
  background-image: var(--photo-city);
  background-size: cover;
  background-position: center 22%;
  animation: rmKenBurns 32s ease-in-out infinite alternate-reverse;
}

.gs-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      165deg,
      rgba(8, 10, 18, 0.88) 0%,
      rgba(17, 16, 19, 0.72) 45%,
      rgba(19, 47, 55, 0.55) 100%
    ),
    radial-gradient(ellipse 90% 80% at 50% 100%, rgba(201, 235, 85, 0.09) 0%, transparent 55%);
  pointer-events: none;
}

.gs-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.gs-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  margin: 0 auto;
}

.gs-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.gs-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.45);
}

.gs-hero__lead {
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.65;
  color: rgba(235, 240, 245, 0.92);
  max-width: 38ch;
}

.gs-hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.gs-hero__scroll:hover {
  color: var(--color-accent-hover);
  transform: translateY(2px);
}

.gs-hero__scroll-icon {
  display: block;
  width: 22px;
  height: 22px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: 0.15rem;
  animation: gsScrollNudge 2.4s ease-in-out infinite;
}

@keyframes gsScrollNudge {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 1;
  }
  50% {
    transform: rotate(45deg) translate(4px, 4px);
    opacity: 0.75;
  }
}

.gs-flow {
  position: relative;
  padding: clamp(3.5rem, 10vw, 5.5rem) 5%;
  overflow: hidden;
}

.gs-flow__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.gs-flow__ambient-photo {
  position: absolute;
  inset: -10% -6%;
  background-image: var(--photo-sparkle);
  background-size: cover;
  background-position: center 35%;
  opacity: 0.35;
  filter: saturate(1.1);
  animation: rmKenBurns 38s ease-in-out infinite alternate;
}

.gs-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(17, 16, 19, 0.97) 0%,
    rgba(17, 16, 19, 0.88) 50%,
    rgba(17, 16, 19, 0.96) 100%
  );
  pointer-events: none;
}

.gs-flow__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.gs-flow__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 2.5rem;
  color: var(--color-accent);
}

.gs-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .gs-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.gs-step {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(155deg, rgba(35, 42, 58, 0.65) 0%, rgba(20, 24, 32, 0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.gs-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.38);
  border-color: rgba(201, 235, 85, 0.22);
}

.gs-step__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 300;
  color: rgba(201, 235, 85, 0.55);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.gs-step__head {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #fff;
}

.gs-step__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.gs-steps .js-reveal:nth-child(1) {
  transition-delay: 0.06s;
}
.gs-steps .js-reveal:nth-child(2) {
  transition-delay: 0.14s;
}
.gs-steps .js-reveal:nth-child(3) {
  transition-delay: 0.22s;
}

/* Get Started — optional private onboarding CTA (below “What happens next”) */
.gs-onboarding {
  position: relative;
  padding: clamp(2.75rem, 8vw, 4rem) 5% clamp(3.5rem, 10vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(17, 16, 19, 0.5) 0%, #111013 100%);
}
.gs-onboarding__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.gs-onboarding__title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--color-accent);
}
.gs-onboarding__lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  text-align: left;
}
.gs-onboarding__cta-wrap {
  margin: 0 0 1.25rem;
}
.gs-onboarding__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--color-accent);
  color: #111013;
  box-shadow: 0 4px 20px rgba(201, 235, 85, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.gs-onboarding__btn:hover,
.gs-onboarding__btn:focus-visible {
  background: var(--color-accent-hover);
  color: #111013;
  box-shadow: 0 6px 28px rgba(201, 235, 85, 0.45);
  transform: translateY(-2px);
}
.gs-onboarding__fineprint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(229, 229, 229, 0.65);
  text-align: left;
}

.page-private-intake {
  min-height: 100vh;
  margin: 0;
  padding: clamp(1.5rem, 5vw, 2.75rem) max(1rem, env(safe-area-inset-left)) clamp(2rem, 6vw, 3rem)
    max(1rem, env(safe-area-inset-right));
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(25, 32, 42, 0.9) 0%, #111013 45%);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.private-intake {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  box-sizing: border-box;
}
.private-intake__shell {
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.35rem, 4vw, 2rem) clamp(1rem, 3.5vw, 1.75rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(22, 26, 34, 0.97) 0%, rgba(14, 15, 18, 0.99) 100%);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}
.private-intake__accidental {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  margin: 0 auto 1.35rem;
  padding: 1rem 1rem;
  max-width: 36rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(229, 229, 229, 0.88);
}
.private-intake__accidental-text {
  max-width: 28rem;
}
.private-intake__accidental-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #111013;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}
.private-intake__accidental-back:hover {
  background: var(--color-accent);
  color: #111013;
}
.private-intake__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
  text-align: center;
  letter-spacing: -0.02em;
}
.private-intake__intro {
  margin: 0 auto 1.5rem;
  max-width: 38rem;
  line-height: 1.65;
  font-size: 0.9375rem;
  text-align: center;
}
.private-intake__msg {
  padding: 1rem 1.15rem;
  border-radius: 10px;
  margin: 0 auto 1.5rem;
  max-width: 38rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  text-align: center;
}
.private-intake__msg--success {
  background: rgba(201, 235, 85, 0.14);
  border: 1px solid rgba(201, 235, 85, 0.35);
  color: rgba(235, 245, 220, 0.98);
}
.private-intake__msg--error {
  background: rgba(214, 40, 40, 0.18);
  border: 1px solid rgba(214, 40, 40, 0.45);
  color: rgba(255, 230, 230, 0.95);
}
.private-intake__intro a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.private-intake__intro a:hover {
  color: var(--color-accent-hover);
}
.private-intake-form {
  margin-bottom: 1.75rem;
}
.private-intake-form__fieldset {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.35rem clamp(0.85rem, 2.5vw, 1.25rem) 1.5rem;
  margin: 0 0 1.15rem;
  background: rgba(8, 10, 14, 0.45);
}
.private-intake-form__fieldset--agreements .checkbox-label {
  margin-bottom: 0.85rem;
}
.private-intake-form__fieldset--agreements .checkbox-label:last-of-type {
  margin-bottom: 0;
}
.page-private-intake .private-intake-form__fieldset--agreements .checkbox-label span {
  color: rgba(229, 229, 229, 0.9);
  font-size: 0.875rem;
  line-height: 1.45;
}
.private-intake-form__legend {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  padding: 0 0.35rem 0.65rem;
  width: 100%;
  text-align: center;
}
.private-intake-form__hint {
  margin: 0 auto 1rem;
  max-width: 38rem;
  font-size: 0.8125rem;
  color: rgba(229, 229, 229, 0.65);
  text-align: center;
}
.private-intake-form__hint--tight {
  margin-top: -0.35rem;
  margin-bottom: 0.65rem;
}
.private-intake-form__fieldset .private-intake-form__hint--tight {
  margin-left: auto;
  margin-right: auto;
}
.private-intake-form__optional {
  font-weight: 400;
  color: rgba(229, 229, 229, 0.55);
  font-size: 0.8125rem;
}
.private-intake-form__datetime {
  color-scheme: dark;
}
.private-intake-form__datetime-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .private-intake-form__datetime-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}
.private-intake-form__agreement-intro {
  margin: 0 auto 1rem;
  max-width: 38rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(229, 229, 229, 0.88);
  text-align: center;
}
.private-intake-form__agreement-intro a {
  color: var(--color-accent);
}

.private-intake-form__doc-downloads {
  margin: 0 auto 1.25rem;
  max-width: 38rem;
  padding: 1.05rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 235, 85, 0.22);
  background: rgba(201, 235, 85, 0.06);
}
.private-intake-form__doc-downloads-intro {
  margin: 0 auto 0.85rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(229, 229, 229, 0.92);
  text-align: center;
}
.private-intake-form__doc-downloads-intro strong {
  color: #fff;
  font-weight: 600;
}
.private-intake-form__doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.private-intake-form__doc-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  text-align: center;
}
.private-intake-form__doc-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.private-intake-form__doc-link:hover {
  color: var(--color-accent-hover);
}
.private-intake-form__doc-meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(229, 229, 229, 0.45);
}
.private-intake-form .form-group {
  margin-bottom: 1.15rem;
}
.private-intake-form .form-group:last-child {
  margin-bottom: 0;
}
.private-intake-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.4rem;
}
.private-intake-form input[type="text"],
.private-intake-form input[type="email"],
.private-intake-form input[type="tel"],
.private-intake-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 11, 14, 0.65);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 1rem;
}
.private-intake-form textarea {
  min-height: 6rem;
  resize: vertical;
  line-height: 1.5;
}
.private-intake-form__submit {
  width: 100%;
  margin-top: 0.5rem;
}
.private-intake__embed {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 2rem;
}
.private-intake__placeholder {
  margin: 0;
  min-height: 8rem;
  font-size: 0.875rem;
  color: rgba(229, 229, 229, 0.55);
}
.private-intake__back {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  text-align: center;
}
.private-intake__link {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.private-intake__link:hover {
  color: var(--color-accent-hover);
}

.gs-form-zone {
  position: relative;
  padding: clamp(3rem, 12vw, 6rem) 5% 5rem;
}

.gs-form-zone__glow {
  position: absolute;
  inset: auto 15% -30%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 235, 85, 0.14) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none;
  opacity: 0.9;
}

.gs-form-layout {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 880px) {
  .gs-form-layout {
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 2.5rem 3rem;
  }
}

.gs-form-intro__title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-accent);
}

.gs-form-intro__text {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.gs-form-intro__text a {
  font-weight: 500;
}

.gs-form-card {
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    165deg,
    rgba(32, 40, 54, 0.75) 0%,
    rgba(17, 18, 24, 0.88) 100%
  );
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-get-started .gs-form .form-group label {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(230, 235, 240, 0.85);
}

.page-get-started .gs-form input,
.page-get-started .gs-form textarea {
  border-radius: 10px;
  background: rgba(8, 10, 14, 0.55);
  border-color: rgba(255, 255, 255, 0.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-get-started .gs-form input::placeholder,
.page-get-started .gs-form textarea::placeholder {
  color: rgba(200, 206, 214, 0.45);
}

.page-get-started .gs-form input:focus,
.page-get-started .gs-form textarea:focus {
  border-color: rgba(201, 235, 85, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 235, 85, 0.12);
  background: rgba(8, 10, 14, 0.72);
}

.gs-form__submit {
  margin-top: 0.25rem;
  width: 100%;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 32px rgba(201, 235, 85, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gs-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(201, 235, 85, 0.28);
}

.gs-form-msg {
  margin-bottom: 1rem;
}

.gs-form-optional {
  font-weight: 400;
  color: rgba(200, 206, 214, 0.65);
  font-size: 0.85em;
}

.gs-form-legend {
  font-size: 0.82rem;
  color: rgba(200, 206, 214, 0.85);
  margin: 0 0 1rem;
}

.gs-form-legend abbr {
  text-decoration: none;
  color: var(--color-accent);
  font-weight: 700;
}

.gs-form-popovers {
  margin: 0 0 1.15rem;
}

.gs-form-popover {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 235, 85, 0.28);
  background: rgba(201, 235, 85, 0.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: gs-form-popover-in 0.28s ease;
}

@media (prefers-reduced-motion: reduce) {
  .gs-form-popover {
    animation: none;
  }
}

@keyframes gs-form-popover-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gs-form-popover__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(228, 234, 242, 0.95);
}

.gs-form-popover__text strong {
  color: var(--color-accent);
  font-weight: 600;
}

.gs-form-popover--optional {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.gs-form-popover--optional .gs-form-popover__text strong {
  color: rgba(210, 218, 230, 0.98);
}

.req-mark {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
}

.field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(180, 190, 202, 0.85);
}

.how-help-meta {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: rgba(200, 206, 214, 0.75);
}

.how-help-meta--short strong {
  color: #e8a045;
}

.how-help-meta--ok {
  color: rgba(140, 200, 160, 0.95);
}

.gs-form-layout .gs-form-intro.js-reveal {
  transition-delay: 0.04s;
}

.gs-form-layout .gs-form-card.js-reveal {
  transition-delay: 0.12s;
}

/* -------------------------------------------------------------------------
   Terms of Use — scroll crossfade backgrounds (terms-of-use.html)
   ------------------------------------------------------------------------- */

.page-terms-of-use {
  min-height: 100%;
}

.terms-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.terms-bg__layer {
  position: absolute;
  inset: -6% -4%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: saturate(0.72) brightness(0.62);
  transition: opacity 1.15s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.terms-bg__layer--0 {
  background-image: var(--photo-arch);
}

.terms-bg__layer--1 {
  background-image: var(--photo-night);
}

.terms-bg__layer--2 {
  background-image: var(--photo-sparkle);
}

.terms-bg__layer--3 {
  background-image: var(--photo-field);
}

.terms-bg__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(10, 11, 14, 0.88) 0%,
    rgba(17, 16, 19, 0.82) 38%,
    rgba(12, 14, 22, 0.9) 100%
  );
  pointer-events: none;
}

.terms-page-front {
  position: relative;
  z-index: 1;
}

.page-terms-of-use .page-header {
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.25rem);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin: 0 auto 0;
  max-width: 760px;
  border-radius: 0 0 18px 18px;
  background: rgba(14, 15, 19, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.page-terms-of-use .page-header h1 {
  color: #fff;
}

.page-terms-of-use .page-header p {
  color: rgba(220, 228, 236, 0.88);
  max-width: 48ch;
}

.page-terms-of-use .legal-content {
  margin-top: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
  border-radius: 18px;
  background: rgba(14, 15, 19, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.page-terms-of-use .legal-content a {
  color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .terms-bg__layer {
    transition: none !important;
  }
}
