/* ============================================
   House of Corrections — Design System & Styles
   ============================================ */

/* --- Google Fonts --- */

/* --- Design Tokens --- */
:root {
  --color-cream: #F4F8FB;
  --color-blue: #7EAEC4;
  --color-blue-light: #A3C7D8;
  --color-blue-dark: #315D70;
  --color-blue-mist: rgba(126, 174, 196, 0.12);
  --color-sage: #8FAAAA;
  --color-charcoal: #2C3438;
  --color-white: #FFFFFF;
  --color-gray-100: #F0F4F6;
  --color-gray-200: #DEE6EB;
  --color-gray-300: #C3CED6;
  --color-gray-600: #56636B;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(44,44,44,0.08);
  --shadow-md: 0 4px 12px rgba(44,44,44,0.1);
  --shadow-lg: 0 8px 30px rgba(44,44,44,0.12);

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  --max-width: 1200px;
  --nav-height: 204px;
  --nav-announce-height: 44px;
}

/* --- Reset --- */
/* Keep location-filtered content hidden even when components use grid or flex. */
[hidden] {
  display: none !important;
}

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

html {
  font-size: 16px; /* lock the rem baseline so a large browser default-font setting can't inflate/break the layout */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Typography --- */
h1, h2, :is(h3,.was-h3), :is(h4,.was-h4), h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-charcoal);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
:is(h3,.was-h3) { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
:is(h4,.was-h4) { font-size: 1.25rem; }

p + p { margin-top: var(--space-md); }

.text-blue { color: var(--color-blue); }
.text-center { text-align: center; }

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-intro {
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  color: var(--color-gray-600);
  font-size: 1.05rem;
  font-weight: 300;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-3xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-blue);
  color: var(--color-white);
  border: 2px solid var(--color-blue);
}

.btn-primary:hover {
  background-color: var(--color-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--color-blue);
  color: var(--color-blue);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-blue);
  border: 2px solid var(--color-white);
}

.btn-white:hover {
  background-color: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  flex-direction: column;
  background: rgba(244, 248, 251, 0.97);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

/* Grand-opening announcement bar (top strip of the navbar) */
.navbar-announce {
  flex-shrink: 0;
  height: var(--nav-announce-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  background: transparent;
  color: var(--color-charcoal);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0 var(--space-md);
  white-space: nowrap;
  text-shadow: 0 1px 7px rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(126, 174, 196, 0.22);
  transition: color var(--transition-base);
}
.navbar-announce:hover { color: var(--color-blue-dark); }
.navbar-announce .na-cta {
  font-weight: 700;
  color: var(--color-blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* dark-themed Red Light page: light text so it still pops */
.rlp-page .navbar-announce {
  color: #f4e9e5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(232, 152, 122, 0.25);
}
.rlp-page .navbar-announce:hover { color: #fff; }
.rlp-page .navbar-announce .na-cta { color: #ff8a72; }
@media (max-width: 560px) {
  .navbar-announce { font-size: 0.74rem; gap: 0.35em; }
  .navbar-announce .na-cta { display: none; }
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

/* Homepage: transparent nav over the full-bleed hero, solidifies once content scrolls up to it */
body.home-hero .navbar {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
body.home-hero .navbar.scrolled {
  background: rgba(244, 248, 251, 0.97);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-height: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 118px;
  width: auto;
}

.footer .nav-logo img {
  height: 68px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-charcoal);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .btn {
  padding: 10px 24px;
  font-size: 0.8rem;
}

.nav-links .btn::after {
  display: none;
}

/* --- Nav dropdown (Services) --- */
.has-dropdown { position: relative; }

.nav-links .has-dropdown > a .caret {
  font-size: 0.6em;
  margin-left: 4px;
  vertical-align: middle;
}

.nav-links .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 250px;
  list-style: none;
  background: var(--color-white, #fff);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 300;
}

.nav-links .has-dropdown:hover .dropdown,
.nav-links .has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-links .dropdown a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 9px;
  font-size: 0.8rem;
  letter-spacing: 0.4px;
  text-transform: none;
  color: var(--color-charcoal, #2c3438);
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links .dropdown a::after { display: none; }

.nav-links .dropdown a:hover {
  background: var(--color-cream, #faf6f2);
  color: var(--color-blue-dark, #5b8fa8);
}

.nav-links .dropdown .dropdown-all {
  font-weight: 600;
  color: var(--color-blue-dark, #5b8fa8);
  border-top: 1px solid var(--color-gray-200, #e6ebee);
  margin-top: 0.35rem;
  padding-top: 0.7rem;
}

@media (max-width: 1100px) {
  .nav-links .dropdown { display: none; }
  .nav-links .has-dropdown > a .caret { display: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: calc(var(--nav-height) - 28px) 24px 32px;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-md);
    background: var(--color-cream);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-base);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links > li { flex-shrink: 0; }
  .nav-links > li > a { min-height: 44px; display: inline-flex; align-items: center; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 44, 44, 0.4);
    z-index: 999;
  }

  .nav-overlay.open {
    display: block;
  }
}

/* --- Hero --- */
@media (max-width: 767px) {
  :root { --nav-height: 140px; }
  .navbar .nav-logo img { height: 76px; }
}

.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-lg) var(--space-2xl);
  background: linear-gradient(135deg, var(--color-cream) 0%, #E8F0F5 50%, #DCE8EF 100%);
  overflow: hidden;
}

/* Transparent spacer that reserves the pinned hero's viewport */
.hero-spacer {
  height: 100vh;
  height: 100svh;
}

/* Content sheet that scrolls up over the pinned hero */
.scroll-layer {
  position: relative;
  z-index: 1;
  background: var(--color-cream);
}

.hero-bg-image {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  max-width: none;
  height: 110%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 0;
  will-change: transform;
  animation: heroWaterDrift 18s ease-in-out infinite;
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-video-b {
  opacity: 0;
}

@keyframes heroTest {
  0% { opacity: 0.2; }
  50% { opacity: 0.9; }
  100% { opacity: 0.2; }
}

@keyframes heroWaterDrift {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.5;
  }
  33% {
    transform: scale(1.12) translate(-2%, 1.5%);
    opacity: 0.6;
  }
  66% {
    transform: scale(1.06) translate(2%, -1%);
    opacity: 0.5;
  }
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.5;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(126,174,196,0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(143,170,170,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-shadow: 0 1px 8px rgba(255,255,255,0.6);
}

/* hero melts down into the cream Welcome section */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 42%;
  background: linear-gradient(to bottom, transparent 0%, rgba(250, 246, 242, 0.6) 55%, var(--color-cream, #faf6f2) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content .section-subtitle {
  font-size: 0.85rem;
  letter-spacing: 5px;
  margin-bottom: var(--space-md);
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  font-weight: 400;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--color-blue);
}

.hero-tagline {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 300;
  color: var(--color-gray-600);
  margin-bottom: var(--space-2xl);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: linear-gradient(135deg, var(--color-cream) 0%, #E8F0F5 50%, #DCE8EF 100%);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: var(--space-md);
}

.page-hero p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--color-gray-600);
  font-weight: 300;
  font-size: 1.05rem;
}

/* --- Intro Section --- */
.intro {
  background: var(--color-white);
}

.intro-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-gray-600);
}

/* --- Welcome (home intro) --- */
.welcome {
  background: var(--color-cream, #faf6f2);
  position: relative;
  overflow: visible;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(7.5rem, 12vw, 11rem);
}


.welcome-watermark {
  position: absolute;
  top: clamp(0.75rem, 2.5vw, 1.75rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(4.5rem, 13vw, 11rem);
  line-height: 1;
  color: rgba(126, 174, 196, 0.14);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 4;
}

@media (min-width: 860px) {
  .welcome-grid { grid-template-columns: 320px 1fr; }
}

.welcome-media { position: relative; max-width: 340px; perspective: 1000px; }

.welcome-media img {
  position: relative;
  z-index: 6;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(44, 52, 56, 0.34);
  display: block;
  transform: translate(-14px, 40px);
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}

/* soft panel behind, offset up-and-right so the photo pops out bottom-left */
.welcome-media::before {
  content: '';
  position: absolute;
  inset: -26px -26px 30px 30px;
  background: linear-gradient(155deg, #f3ddd2 0%, #dfe8ec 100%);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.welcome-badge {
  position: absolute;
  bottom: 1.3rem;
  left: 1.3rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-charcoal, #2c3438);
  box-shadow: var(--shadow-sm);
}

.welcome-intro {
  position: relative;
  z-index: 4;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.welcome-intro h2 {
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: var(--space-lg);
}
.welcome-intro h2 em { font-style: italic; color: var(--color-blue-dark, #5b8fa8); }
.welcome-intro > p {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 300;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin: 0 auto;
}

.welcome-text h2 { margin-bottom: var(--space-lg); }
.welcome-text h2 em { font-style: italic; color: var(--color-blue-dark, #5b8fa8); }

.welcome-text > p {
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.welcome-text .welcome-signature {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--color-charcoal, #2c3438);
  margin: var(--space-lg) 0 0;
  line-height: 1.1;
}

.welcome-text .welcome-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gray-600);
  margin: 0.4rem 0 0;
}

/* --- Service Cards --- */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

img.service-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.service-card:hover img.service-card-img {
  transform: scale(1.06);
}

div.service-card-img {
  width: 100%;
  height: 240px;
  background: var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-300);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-card-body {
  padding: var(--space-lg);
}

.service-card-body :is(h3,.was-h3) {
  margin-bottom: var(--space-sm);
  font-size: 1.3rem;
}

.service-card-body p {
  color: var(--color-gray-600);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: var(--space-md);
}

.service-card-body .card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.service-card-body .card-link:hover {
  color: var(--color-blue-dark);
}

.card-link .arrow {
  transition: transform var(--transition-fast);
}

.card-link:hover .arrow {
  transform: translateX(4px);
}

/* --- Testimonials --- */
.testimonials {
  background: var(--color-white);
}

.testimonial-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  min-width: 100%;
  padding: var(--space-xl);
  text-align: center;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
}

.testimonial-text::before {
  content: '\201C';
  display: block;
  font-size: 3rem;
  color: var(--color-blue);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-blue);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gray-200);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.carousel-dot.active {
  background: var(--color-blue);
}

/* --- CTA Section --- */
/* Wavy top edge that straightens as the section scrolls into view.
   The clip-path polygon is set/animated from JS (js in index.html). */
.cta-section {
  background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-blue) 100%);
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-xl);
  transition: clip-path 1.7s cubic-bezier(0.45, 0, 0.15, 1),
              -webkit-clip-path 1.7s cubic-bezier(0.45, 0, 0.15, 1);
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto var(--space-lg);
}

/* --- Footer --- */
.footer {
  background: var(--color-charcoal);
  color: var(--color-gray-300);
  padding: var(--space-2xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .nav-logo {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gray-300);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.footer-heading {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.footer-col ul li {
  margin-bottom: var(--space-sm);
}

.footer-col ul li a {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-gray-300);
}

.footer-col ul li a:hover {
  color: var(--color-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-gray-600);
}
.footer-legal { margin: 0 0 10px; }
.footer-legal a { color: var(--color-gray-600); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--color-blue-light); }

/* SMS/marketing consent checkbox on forms */
.form-consent { margin-top: 2px; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; line-height: 1.5; font-weight: 400;
  color: var(--color-gray-600); cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--color-blue); cursor: pointer;
}
.checkbox-label a { color: var(--color-blue-dark); text-decoration: underline; text-underline-offset: 2px; }

/* Legal / policy pages */
.legal { max-width: 760px; margin: 0 auto; }
.legal .legal-updated { color: var(--color-gray-600); font-size: 0.9rem; margin: 0 0 var(--space-lg); }
.legal h2 { font-size: 1.15rem; margin: var(--space-xl) 0 var(--space-xs); }
.legal p { margin: 0 0 var(--space-md); line-height: 1.75; }
.legal ul { margin: 0 0 var(--space-md) 1.25rem; line-height: 1.8; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--color-blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal .legal-contact { margin-top: var(--space-md); line-height: 1.7; }

.wp-credit {
  color: var(--color-blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.wp-credit:hover { color: #fff; }

/* "Coming Soon" location tag (Contact — Visit Us) */
.soon-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue-dark), var(--color-blue));
  color: #fff;
  vertical-align: middle;
}
.contact-info-block .soon-loc { margin-top: var(--space-md); }

/* Social Media page cards */
.social-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 760px;
  margin: var(--space-2xl) auto 0;
}
@media (min-width: 640px) { .social-cards { grid-template-columns: 1fr 1fr; } }
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-charcoal);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.social-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: var(--space-sm); }
.social-card--fb .social-icon { background: #1877F2; }
.social-card--ig .social-icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-card--tt .social-icon { background: #000; }
.social-card :is(h3,.was-h3) { font-family: var(--font-heading); font-size: 1.4rem; margin: 0; }
.social-card .handle { color: var(--color-gray-600); font-size: 0.95rem; font-weight: 300; margin: 0; }
.social-card .social-cta { margin-top: var(--space-md); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-blue-dark); }

/* Location picker built into the top announce bar (#loc-banner) */
.na-fallback { color: inherit; text-decoration: none; }
.loc-banner-lead { font-weight: 700; letter-spacing: 0.02em; }
.loc-banner-opts { display: inline-flex; align-items: center; gap: 6px; }
.loc-banner-opt {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 44px;
  border: 1px solid rgba(126, 174, 196, 0.55); background: rgba(255, 255, 255, 0.55);
  color: var(--color-charcoal); border-radius: 999px;
  padding: 4px 13px; font: 600 0.8rem/1 var(--font-body); letter-spacing: 0.01em;
  cursor: pointer; text-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.loc-banner-opt:hover { border-color: var(--color-blue); }
.loc-banner-opt.is-active { background: var(--color-blue); border-color: var(--color-blue); color: #fff; }
.loc-banner-soon {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7;
}
.loc-banner-opt.is-active .loc-banner-soon { opacity: 0.9; }
/* dark-themed Red Light page */
.rlp-page .loc-banner-opt { color: #f4e9e5; border-color: rgba(232, 152, 122, 0.4); background: rgba(255, 255, 255, 0.08); }
.rlp-page .loc-banner-opt.is-active { background: #e8987a; border-color: #e8987a; color: #3a1d16; }
@media (max-width: 560px) {
  .loc-banner-lead { display: none; }
  .loc-banner-opt { padding: 4px 11px; font-size: 0.74rem; }
}

/* Location picker modal */
.loc-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.loc-modal[hidden] { display: none; }
.loc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 26, 30, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.loc-modal-card {
  position: relative;
  z-index: 1;
  width: min(94vw, 620px);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
  animation: locPop 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes locPop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.loc-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--color-gray-600);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  transition: color var(--transition-fast);
}
.loc-modal-close:hover { color: var(--color-charcoal); }
.loc-modal-eyebrow {
  color: var(--color-blue-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}
.loc-modal-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--color-charcoal);
  margin: 0.35rem 0 1.5rem;
}
.loc-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 520px) {
  .loc-options { grid-template-columns: 1fr 1fr; }
}
.loc-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-gray-200);
  border-radius: 14px;
  padding: 1.7rem 1.25rem 1.4rem;
}
.loc-option :is(h4,.was-h4) {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--color-charcoal);
  margin: 0;
}
.loc-addr {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 0.6rem;
}
.loc-option .btn { margin-top: auto; }
.loc-option--soon { background: var(--color-cream); }
.loc-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-blue-dark);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* --- Services Page --- */
.service-category {
  margin-bottom: var(--space-3xl);
}

.service-category:last-child {
  margin-bottom: 0;
}

.category-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.category-header h2 {
  position: relative;
  display: inline-block;
}

.category-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-blue);
  margin: var(--space-md) auto 0;
}

.service-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.service-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-item :is(h4,.was-h4) {
  font-family: var(--font-heading);
  margin-bottom: var(--space-sm);
}

.service-item p {
  color: var(--color-gray-600);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: var(--space-md);
}

.service-price {
  font-weight: 600;
  color: var(--color-blue);
  font-size: 0.9rem;
}

/* --- Red Light Therapy — cinematic experience (Services page) --- */
.rlt-x {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 74% 30%, #3a181a 0%, transparent 60%),
    radial-gradient(ellipse 90% 90% at 12% 100%, #1c0e12 0%, transparent 55%),
    #0b0708;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 6vw, 5.5rem);
}

/* wavy dividers with a glowing red-light edge */
.welcome-wave,
.rlt-wave-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(56px, 6.5vw, 90px);
  display: block;
  pointer-events: none;
}

.welcome-wave { z-index: 3; }
.rlt-wave-bottom { z-index: 5; }

/* ocean-blue wavy divider — hero video → Welcome transition */
.welcome-wave-top {
  position: absolute; left: 0; right: 0; top: 1px;
  transform: translateY(-100%);
  width: 100%; height: clamp(56px, 6.5vw, 90px);
  display: block; pointer-events: none; z-index: 3;
}
.welcome-wave-top .wt-fill { fill: var(--color-cream); }

/* scroll reveal — the Red Light section comes alive as you arrive (JS-gated) */
.rlt-x.reveal-ready .rlt-x-text > *,
.rlt-x.reveal-ready .rlt-x-panel {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.rlt-x.reveal-ready.in-view .rlt-x-text > *,
.rlt-x.reveal-ready.in-view .rlt-x-panel {
  opacity: 1;
  transform: none;
}

.rlt-x.reveal-ready .rlt-x-text > *:nth-child(1) { transition-delay: 0.05s; }
.rlt-x.reveal-ready .rlt-x-text > *:nth-child(2) { transition-delay: 0.15s; }
.rlt-x.reveal-ready .rlt-x-text > *:nth-child(3) { transition-delay: 0.25s; }
.rlt-x.reveal-ready .rlt-x-text > *:nth-child(4) { transition-delay: 0.35s; }
.rlt-x.reveal-ready .rlt-x-panel { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .rlt-x.reveal-ready .rlt-x-text > *,
  .rlt-x.reveal-ready .rlt-x-panel { opacity: 1; transform: none; transition: none; }
}

.rlt-x-glow {
  position: absolute;
  top: 34%;
  right: 4%;
  width: min(46vw, 640px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(234, 52, 38, 0.5) 0%, rgba(200, 30, 22, 0.2) 38%, transparent 68%);
  filter: blur(26px);
  border-radius: 50%;
  animation: rltPulse 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes rltPulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.9; }
  50% { transform: translateY(-50%) scale(1.14); opacity: 1; }
}

.rlt-x-motes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.rlt-x-motes i {
  position: absolute;
  bottom: -14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 120, 100, 1);
  box-shadow: 0 0 4px 1px rgba(255, 195, 178, 0.95), 0 0 15px 4px rgba(242, 58, 42, 0.85);
  animation: rltRise linear infinite;
}

@keyframes rltRise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 0.5; }
  100% { transform: translateY(-108vh) scale(0.3); opacity: 0; }
}

.rlt-x-inner { position: relative; z-index: 2; }

.rlt-x .rlt-label { color: #f0563d; }

.rlt-x-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 920px) {
  .rlt-x-grid { grid-template-columns: 1.02fr 0.98fr; gap: clamp(3rem, 6vw, 6rem); }
}

.rlt-x-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.98;
  color: #fff;
  margin: 1.4rem 0 1.6rem;
  letter-spacing: -0.015em;
}

.rlt-x-title em {
  display: block;
  font-style: italic;
  line-height: 1.12;
  padding-bottom: 0.14em;
  background: linear-gradient(100deg, #ff6b52, #d31c11);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rlt-x-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.85;
  max-width: 44ch;
  margin-bottom: 2.6rem;
}

.rlt-x-btn {
  background: linear-gradient(135deg, #c81c11, #ef5138);
  color: #fff;
  border: none;
  box-shadow: 0 10px 40px rgba(212, 34, 22, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.rlt-x-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 54px rgba(212, 34, 22, 0.68);
}

.rlt-x-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.rlt-x-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.rlt-x-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

.rlt-x-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(44, 24, 26, 0.55), rgba(15, 10, 12, 0.55));
  border: 1px solid rgba(232, 152, 122, 0.22);
  border-radius: 22px;
  padding: clamp(1.8rem, 3vw, 2.7rem);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.rlt-x-list { list-style: none; display: grid; gap: 2rem; }

.rlt-x-list b {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.rlt-x-line {
  display: block;
  width: 56px;
  height: 2px;
  margin-bottom: 0.9rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff5539, #cf1508);
  box-shadow: 0 0 12px 1px rgba(233, 40, 26, 0.95), 0 0 30px 6px rgba(233, 40, 26, 0.5);
}

.rlt-x-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .rlt-x-glow, .rlt-x-motes i { animation: none; }
}

/* --- Service cards (image-forward) --- */
.svc-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.svc-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #c9a99b, #e0c4b0);
}

.svc-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.svc-card:hover .svc-card-media img {
  transform: scale(1.06);
}

.svc-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 18, 21, 0.3) 100%);
}

.svc-card-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.svc-card-body :is(h4,.was-h4) {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 var(--space-sm);
}

.svc-card-body p {
  color: var(--color-gray-600);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.65;
  margin: 0 0 var(--space-lg);
  flex: 1;
}

.svc-card-cta {
  font-weight: 600;
  color: var(--color-blue);
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc-card-cta span {
  transition: transform var(--transition-fast);
}

.svc-card:hover .svc-card-cta span {
  transform: translateX(5px);
}

/* --- About Page --- */
/* --- Founder Spotlight --- */
/* About hero — text + team photo side by side */
.page-hero--team { text-align: left; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .page-hero-grid { grid-template-columns: 0.85fr 1.15fr; }
}
.page-hero--team .section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  color: var(--color-blue-dark);
  margin-bottom: var(--space-md);
}
.page-hero--team .section-subtitle::before {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
}
.page-hero--team h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.8vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-lg);
}
.page-hero--team h1 em {
  font-style: italic;
  color: var(--color-blue-dark);
}
.page-hero--team .page-hero-text p:not(.section-subtitle) {
  margin: 0;
  max-width: 48ch;
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-gray-600);
}
.page-hero-photo {
  position: relative;
  margin: 0;
}
.page-hero-photo img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 60px rgba(44, 52, 56, 0.20);
}
.page-hero-photo figcaption {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  padding: 7px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(44, 52, 56, 0.16);
  white-space: nowrap;
}

/* ===== Services page ===== */
/* slim Red Light bar — RLT lives on its own page now */
.rlt-bar {
  display: block;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, #140a0b 0%, #3a1210 52%, #7d1c14 100%);
  position: relative;
  overflow: hidden;
}
.rlt-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 50%, rgba(240, 84, 66, 0.42), transparent 46%);
  pointer-events: none;
}
.rlt-bar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}
.rlt-bar-text {
  display: flex;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  flex-wrap: wrap;
}
.rlt-bar-eyebrow {
  font: 600 0.68rem/1 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff9d8a;
}
.rlt-bar-text strong {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}
.rlt-bar-desc {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  font-size: 0.95rem;
}
.rlt-bar-cta {
  flex-shrink: 0;
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.42);
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background var(--transition-base), border-color var(--transition-base);
}
.rlt-bar:hover .rlt-bar-cta {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
}

/* editorial service rows (each anchor-linkable) */
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.75rem, 6vw, 5rem) 0;
  scroll-margin-top: calc(var(--nav-height) + 12px);
}
.svc-row + .svc-row {
  border-top: 1px solid var(--color-gray-200);
}
@media (min-width: 860px) {
  .svc-row { grid-template-columns: 1fr 1fr; }
  .svc-row.rev .svc-row-media { order: 2; }
}
.svc-row-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 44px rgba(44, 52, 56, 0.16);
}
.svc-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-row-media--grad {
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--g1), var(--g2));
}
.svc-row-media--grad span {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: rgba(255, 255, 255, 0.26);
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 1rem;
}
.svc-row-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font: 600 0.72rem/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-blue-dark);
  margin-bottom: var(--space-sm);
}
.svc-row-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
}
.svc-row-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--color-charcoal);
  margin: 0 0 var(--space-md);
}
.svc-row-content p {
  color: var(--color-gray-600);
  font-weight: 300;
  line-height: 1.8;
  margin: 0 0 var(--space-lg);
  max-width: 46ch;
}
.svc-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.svc-row-cta span { transition: transform var(--transition-base); }
.svc-row-cta:hover span { transform: translateX(4px); }

/* expandable "full details" accordion */
.svc-row-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  cursor: pointer;
  padding: 12px 24px;
  margin-bottom: var(--space-md);
  border: 1.5px solid var(--color-blue);
  border-radius: 999px;
  background: transparent;
  color: var(--color-blue-dark);
  font: 600 0.9rem/1 var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}
.svc-row-toggle:hover {
  background: var(--color-blue);
  color: #fff;
  border-color: var(--color-blue);
}
.svc-row-toggle[aria-expanded="true"] {
  background: var(--color-blue);
  color: #fff;
  border-color: var(--color-blue);
}
.svc-row-toggle .tog-ic {
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition-base);
}
.svc-row-toggle[aria-expanded="true"] .tog-ic {
  transform: translateY(2px) rotate(-135deg);
}

.svc-row-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}
.svc-row-detail.open { grid-template-rows: 1fr; }
.svc-row-detail-inner { overflow: hidden; }
.svc-row-detail :is(h4,.was-h4) {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-blue-dark);
  margin: var(--space-lg) 0 var(--space-sm);
}
.svc-row-detail :is(h4,.was-h4):first-child { margin-top: 0; }
.svc-row-detail p {
  color: var(--color-gray-600);
  font-weight: 300;
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0;
  max-width: none;
}
.svc-row-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.svc-row-detail li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--color-gray-600);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.55;
}
.svc-row-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
}
.svc-row-detail .svc-row-detail-pad { padding-bottom: var(--space-lg); }

/* Services hero */
.svc-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: calc(var(--nav-height) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(160deg, #f4f8fb 0%, #e7f0f4 55%, #dbe8ef 100%);
}
.svc-hero::before,
.svc-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.svc-hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -90px;
  background: radial-gradient(circle, rgba(126, 174, 196, 0.55), transparent 70%);
}
.svc-hero::after {
  width: 360px;
  height: 360px;
  bottom: -150px;
  left: -80px;
  background: radial-gradient(circle, rgba(143, 170, 170, 0.45), transparent 70%);
}
.svc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.svc-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: var(--space-sm) 0 var(--space-lg);
  color: var(--color-charcoal);
}
.svc-hero h1 em {
  font-style: italic;
  color: var(--color-blue-dark);
}
.svc-hero-lead {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-gray-600);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.8;
}
.svc-hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}
.svc-chip {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(126, 174, 196, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--color-charcoal);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base),
              border-color var(--transition-base), transform var(--transition-base);
}
.svc-chip:hover {
  background: var(--color-blue);
  color: #fff;
  border-color: var(--color-blue);
  transform: translateY(-2px);
}
.svc-chip--feat {
  background: linear-gradient(135deg, #c81c11, #ef5138);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(212, 34, 22, 0.32);
}
.svc-chip--feat:hover {
  background: linear-gradient(135deg, #b01810, #e5442c);
  border-color: transparent;
}

.founder {
  background: var(--color-cream);
  overflow: hidden;
}

.founder-content {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.founder-photo {
  align-self: start;
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.founder-photo-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 8px 24px rgba(44, 52, 56, 0.18), 0 20px 50px rgba(44, 52, 56, 0.1);
  display: block;
}

.founder-text .section-subtitle {
  color: var(--color-blue-dark);
}

.founder-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-xs);
}

.founder-role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 var(--space-xl);
}

.founder-text p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-gray-600);
  line-height: 1.75;
}

.founder-text p + p {
  margin-top: var(--space-md);
}

.founder-book {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}
.founder-book-media {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.founder-book-frame { position: relative; display: inline-block; border-radius: 6px; }
.founder-book-img {
  position: relative; z-index: 2;
  display: block; width: 200px; border-radius: 6px;
  box-shadow: 3px 8px 20px rgba(0, 0, 0, 0.45);
}
.founder-book-media .founder-book-btn { white-space: nowrap; }
.founder-book-copy { flex: 1; }

/* book glow: steady halo + a one-time bright edge sweep (triggered via .book-lit) */
.about-dark .founder-book-frame::before {
  content: ''; position: absolute; inset: -14px; z-index: 0; border-radius: 16px;
  background: radial-gradient(closest-side, rgba(232, 60, 42, 0.45), transparent 76%);
  filter: blur(16px);
}
.about-dark .founder-book-img {
  box-shadow: 3px 8px 20px rgba(0, 0, 0, 0.5), 0 0 34px rgba(232, 60, 42, 0.32);
}
/* one-time bright red bloom when it scrolls into view, then settles to the steady glow */
.about-dark .book-lit .founder-book-frame::before { animation: bookBloom 2.1s ease-out; }
.about-dark .book-lit .founder-book-img { animation: bookRim 2.1s ease-out; }
@keyframes bookBloom {
  0% { transform: scale(0.92); opacity: 0.35; }
  22% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes bookRim {
  0% { box-shadow: 3px 8px 20px rgba(0,0,0,0.5), 0 0 0 0 rgba(232,60,42,0); }
  22% { box-shadow: 3px 8px 20px rgba(0,0,0,0.5), 0 0 85px 10px rgba(255,90,70,0.75); }
  100% { box-shadow: 3px 8px 20px rgba(0,0,0,0.5), 0 0 34px rgba(232,60,42,0.32); }
}
@media (max-width: 640px) {
  .founder-book { flex-direction: column; align-items: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .about-dark .book-lit .founder-book-frame::before,
  .about-dark .book-lit .founder-book-img { animation: none; }
}

.founder-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  clear: both;
}

.founder-book-btn {
  font-size: 0.7rem;
  padding: 6px 16px;
  background: transparent;
  color: var(--color-blue-dark);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.founder-book-btn:hover {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}

.founder-book-btn.added {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}

@media (max-width: 800px) {
  .founder-content {
    grid-template-columns: 260px 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 600px) {
  .founder-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-photo {
    max-width: 280px;
    height: 340px;
    margin: 0 auto;
  }

  .founder-text h2 {
    font-size: 1.8rem;
  }

  .founder-book-img {
    float: none;
    display: block;
    margin: 0 auto var(--space-sm);
  }

  .founder-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* --- Philosophy --- */
.philosophy {
  background: var(--color-white);
}

/* --- Team --- */
.team-card {
  text-align: left;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 0 var(--space-lg) var(--space-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(44, 52, 56, 0.18);
}

/* Full-bleed headshot across the top of the card */
.team-photo-img {
  width: calc(100% + 2 * var(--space-lg));
  margin: 0 calc(-1 * var(--space-lg)) var(--space-lg);
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.team-card:hover .team-photo-img { transform: scale(1.05); }

/* "Maybe You" recruiting card */
.team-card-join {
  background: linear-gradient(180deg, var(--color-cream) 0%, #ffffff 100%);
  border: 1px solid rgba(126, 174, 196, 0.35);
  display: flex;
  flex-direction: column;
}
.team-join-photo {
  width: calc(100% + 2 * var(--space-lg));
  margin: 0 calc(-1 * var(--space-lg)) var(--space-lg);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  color: var(--color-blue-dark);
  background: radial-gradient(circle at 50% 40%, rgba(126, 174, 196, 0.20), rgba(126, 174, 196, 0.05));
  border-bottom: 2px dashed rgba(126, 174, 196, 0.5);
}
.team-card-join:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(44, 52, 56, 0.14); }
.team-join-btn {
  margin-top: auto;
  align-self: flex-start;
}

.team-card :is(h3,.was-h3) {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.team-card .team-role {
  font-size: 0.82rem;
  color: var(--color-blue);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.team-card p:not(.team-role) {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.team-card p:not(.team-role):last-child { margin-bottom: 0; }

/* Let team cards size to their own content (no stretched gaps under short bios) */
.grid-3:has(.team-card) { align-items: start; }

/* ===== Team — editorial alternating rows ===== */
.tm-rows { display: flex; flex-direction: column; gap: clamp(2.75rem, 6vw, 5rem); max-width: 1000px; margin: 0 auto; }
.tm-row { display: flex; align-items: center; gap: clamp(1.75rem, 5vw, 4.5rem); }
.tm-row:nth-of-type(even) { flex-direction: row-reverse; }
.tm-row-photo { flex: 0 0 40%; max-width: 380px; }
.tm-row-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  border-radius: 20px; box-shadow: 0 20px 48px rgba(44, 52, 56, 0.18); display: block;
}
.tm-row-text { flex: 1; }
.tm-row-name {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; margin: 0 0 4px;
  color: var(--color-charcoal);
}
.tm-row-role {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-blue); font-weight: 600; margin: 0 0 var(--space-md);
}
.tm-row-text p:not(.tm-row-role) {
  color: var(--color-gray-600); font-weight: 300; line-height: 1.75; margin: 0 0 var(--space-md);
}
.tm-row-text p:not(.tm-row-role):last-child { margin-bottom: 0; }

.tm-hiring { text-align: center; max-width: 600px; margin: clamp(3rem, 7vw, 5.5rem) auto 0; }
.tm-hiring :is(h3,.was-h3) { font-family: var(--font-heading); font-weight: 500; font-size: 1.6rem; margin-bottom: var(--space-xs); }
.tm-hiring p { color: var(--color-gray-600); font-weight: 300; margin-bottom: var(--space-lg); }

@media (max-width: 768px) {
  .tm-row, .tm-row:nth-of-type(even) { flex-direction: column; text-align: center; gap: 1.25rem; }
  .tm-row-photo { flex: none; width: 100%; max-width: 300px; margin: 0 auto; }
}

/* ===== About page — Red Light-inspired dark theme ===== */
body.about-dark { background: #0a0607; color: #efe4e0; }
.about-dark main > section, .about-dark > footer { position: relative; z-index: 2; }

/* floating light motes (matches the Red Light page) */
.tm-field { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.tm-field i {
  position: absolute; bottom: -30px; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(245, 104, 84, 0.95);
  box-shadow: 0 0 9px 2px rgba(233, 40, 26, 0.7), 0 0 3px 1px rgba(255, 200, 182, 0.95);
  animation: tmFloat linear infinite;
}
@keyframes tmFloat {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  8% { opacity: 1; } 85% { opacity: 0.7; }
  100% { transform: translateY(-106vh) scale(0.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .tm-field { display: none; } }

/* nav — dark, fades into the hero (no white header) */
.about-dark .navbar { background: linear-gradient(to bottom, rgba(10,6,7,0.92) 0%, rgba(10,6,7,0.45) 60%, transparent 100%); }
.about-dark .navbar.scrolled { box-shadow: none; background: rgba(10,6,7,0.93); }
.about-dark .nav-links a { color: #f0e6e2; }
.about-dark .nav-links a::after { background: #ff6b52; }
.about-dark .nav-links a.active { color: #ff8a72; }
.about-dark .nav-toggle span { background: #f0e6e2; }
.about-dark .nav-links .btn-primary { background: linear-gradient(135deg, #c81c11, #ef5138); color: #fff; }
/* all primary buttons on this page are red (no blue fill or blue border) */
.about-dark .btn-primary {
  background: linear-gradient(135deg, #c81c11, #ef5138);
  border-color: transparent;
  color: #fff;
}
.about-dark .btn-primary:hover {
  background: linear-gradient(135deg, #d4160b, #ff5a3c);
  border-color: transparent;
  transform: translateY(-2px);
}
.about-dark .nav-links .dropdown { background: #140b0d; border: 1px solid rgba(232,152,122,0.18); box-shadow: 0 24px 60px rgba(0,0,0,0.6); }
.about-dark .nav-links .dropdown a { color: rgba(240,230,226,0.85); }
.about-dark .nav-links .dropdown a:hover { background: rgba(255,120,100,0.12); color: #fff; }
.about-dark .nav-links .dropdown .dropdown-all { color: #ff8a72; border-top-color: rgba(232,152,122,0.22); }
@media (max-width: 1100px) { .about-dark .nav-links { background: #0d0708; } }
/* location pills + announce on the dark nav */
.about-dark .loc-banner-lead, .about-dark .na-fallback { color: #f0e6e2; }
.about-dark .loc-banner-opt { color: #f4e9e5; border-color: rgba(232,152,122,0.4); background: rgba(255,255,255,0.08); }
.about-dark .loc-banner-opt.is-active { background: #e8987a; border-color: #e8987a; color: #3a1d16; }

/* sections transparent so the bg + motes show through */
.about-dark .page-hero,
.about-dark .founder,
.about-dark .philosophy,
.about-dark .credentials { background: transparent; }

/* headings + warm gradient emphasis */
.about-dark h1, .about-dark h2, .about-dark :is(h3,.was-h3), .about-dark :is(h4,.was-h4),
.about-dark .section-title, .about-dark .tm-row-name { color: #fff; }
.about-dark h1 em, .about-dark h2 em {
  font-style: italic;
  background: linear-gradient(100deg, #ff8a72, #d31c11);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* eyebrows / roles — warm accent */
.about-dark .section-subtitle,
.about-dark .tm-row-role,
.about-dark .founder-role { color: #ff6b52; }

/* body copy */
.about-dark .page-hero p,
.about-dark .section-intro,
.about-dark .founder-text p:not(.founder-role),
.about-dark .tm-row-text p:not(.tm-row-role),
.about-dark .tm-hiring p,
.about-dark .credential-item p {
  color: rgba(245, 239, 236, 0.92);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* portraits — warm halo + subtle frame so they glow on the dark bg */
.about-dark .tm-row-photo, .about-dark .founder-photo { position: relative; }
.about-dark .tm-row-photo::before, .about-dark .founder-photo::before {
  content: ''; position: absolute; inset: -24%;
  background: radial-gradient(closest-side, rgba(232, 60, 42, 0.65), transparent 72%);
  filter: blur(48px); z-index: 0; pointer-events: none;
}
.about-dark .tm-row-photo img,
.about-dark .founder-photo-img {
  position: relative; z-index: 1;
  box-shadow: 0 0 0 1px rgba(255, 180, 160, 0.18), 0 0 48px 2px rgba(232, 60, 42, 0.34), 0 30px 74px rgba(0, 0, 0, 0.72);
}

/* credentials + buttons on dark */
.about-dark .credential-icon { background: rgba(255, 120, 100, 0.12); color: #ff8a72; }
.about-dark .founder-book-btn {
  background: linear-gradient(135deg, #c81c11, #ef5138);
  border-color: transparent; color: #fff;
}
.about-dark .founder-book-btn:hover {
  background: linear-gradient(135deg, #d4160b, #ff5a3c);
  border-color: transparent; color: #fff;
}
.about-dark .cta-section {
  background: radial-gradient(circle at 50% 125%, rgba(226, 52, 38, 0.32), transparent 60%), linear-gradient(135deg, #1a0e0c 0%, #0a0607 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.about-dark .cta-section h2 { color: #fff; }
.about-dark .cta-section p { color: rgba(245, 239, 236, 0.9); }
.about-dark .cta-section .btn-white {
  background: linear-gradient(135deg, #c81c11, #ef5138); color: #fff; border-color: transparent;
}
.about-dark .cta-section .btn-white:hover {
  background: linear-gradient(135deg, #d4160b, #ff5a3c); color: #fff; transform: translateY(-2px);
}

/* scroll-reactive glow — each profile dims by default and lights up as it reaches view */
.about-dark .tm-row-photo::before,
.about-dark .founder-photo::before { opacity: 0.5; transition: opacity 0.9s ease; }
.about-dark .tm-row-photo img,
.about-dark .founder-photo-img { transition: box-shadow 0.9s ease; }
.about-dark .tm-row.is-lit .tm-row-photo::before,
.about-dark .founder.is-lit .founder-photo::before { opacity: 1; animation: tmGlow 3.8s ease-in-out infinite; }
.about-dark .tm-row.is-lit .tm-row-photo img,
.about-dark .founder.is-lit .founder-photo-img {
  box-shadow: 0 0 0 1px rgba(255, 150, 130, 0.4), 0 0 100px 10px rgba(232, 60, 42, 0.6), 0 30px 74px rgba(0, 0, 0, 0.72);
}
@keyframes tmGlow {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .about-dark .tm-row.is-lit .tm-row-photo::before,
  .about-dark .founder.is-lit .founder-photo::before { animation: none; opacity: 1; }
}

/* let Joelle's glow bleed instead of being clipped by the section box */
.about-dark .founder { overflow: visible; }

/* bigger "Meet the Team" hero that lifts/tilts away as you scroll into the founder */
.about-dark .page-hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-2xl);
  perspective: 1100px;
  position: relative;
}
.about-dark .page-hero .container { transform-origin: center 45%; will-change: transform, opacity; }

/* bottom scroll cue — "Meet the Team" + arrow */
.about-hero-cue {
  position: absolute; bottom: clamp(1.5rem, 4vh, 2.75rem); left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.7rem;
  color: #ff6b52; text-decoration: none; z-index: 3;
  font: 600 1.15rem/1.2 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.2s ease;
}
.about-hero-cue:hover { color: #ff8a72; }
.about-hero-cue svg { width: 38px; height: 38px; animation: aboutCue 1.9s ease-in-out infinite; }
@keyframes aboutCue { 0%, 100% { transform: translateY(0); opacity: 0.8; } 50% { transform: translateY(7px); opacity: 1; } }
#meet-the-team { scroll-margin-top: var(--nav-height); }
@media (prefers-reduced-motion: reduce) { .about-hero-cue svg { animation: none; } }

/* --- Credentials --- */
.credentials {
  background: var(--color-white);
}

.credential-item {
  text-align: center;
  padding: var(--space-xl);
}

.credential-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-cream);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-blue);
}

.credential-item :is(h4,.was-h4) {
  font-family: var(--font-heading);
  margin-bottom: var(--space-sm);
}

.credential-item p {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  font-weight: 300;
}

/* --- Gallery --- */
.footer-location + .footer-location {
  margin-top: var(--space-md);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.gallery-results-note {
  max-width: 75ch;
  margin: 0 auto var(--space-xl);
  color: var(--color-gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .gallery-grid--comparisons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gallery-comparison-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: var(--space-sm);
  text-align: center;
  color: var(--color-blue-dark);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-comparison-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: var(--color-gray-100);
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gallery-before,
.gallery-after {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-before {
  background: var(--color-gray-200);
  color: var(--color-gray-600);
}

.gallery-after {
  background: var(--color-gray-100);
  color: var(--color-gray-600);
}

.gallery-before span,
.gallery-after span {
  margin-top: var(--space-sm);
  font-size: 0.7rem;
  font-weight: 500;
}

.gallery-card-body {
  padding: var(--space-md) var(--space-lg);
}

.gallery-card-body :is(h4,.was-h4) {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.gallery-card-body p {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  font-weight: 300;
}

/* --- Contact & Forms --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
  color: var(--color-charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-info-block {
  margin-bottom: var(--space-xl);
}

.contact-info-block :is(h3,.was-h3) {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.contact-info-block p {
  color: var(--color-gray-600);
  font-size: 0.95rem;
  font-weight: 300;
}

.map-placeholder {
  width: 100%;
  height: 260px;
  background: var(--color-gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-300);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Booking Page --- */
.booking-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.booking-form-wrapper :is(h3,.was-h3) {
  text-align: center;
  margin-bottom: var(--space-xs);
}

.booking-form-wrapper > p {
  text-align: center;
  color: var(--color-gray-600);
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-submit {
  text-align: center;
  margin-top: var(--space-md);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
}

.form-success.show {
  display: block;
}

.form-success :is(h3,.was-h3) {
  color: var(--color-sage);
  margin-bottom: var(--space-sm);
}

/* --- Scroll Animations --- */
/* --- Red Light Therapy Banner --- */
.rlt-banner {
  position: relative;
  background: #1a1215;
  overflow: hidden;
  padding: var(--space-3xl) 0;
}

.rlt-glow {
  position: absolute;
  top: -40%;
  left: -10%;
  width: 50%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(180, 60, 50, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.rlt-glow-2 {
  left: auto;
  right: -10%;
  top: -30%;
  background: radial-gradient(ellipse, rgba(200, 100, 60, 0.1) 0%, transparent 70%);
}

.rlt-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
}

.rlt-text {
  max-width: 600px;
}

.rlt-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #c4756a;
  display: block;
  margin-bottom: var(--space-md);
}

.rlt-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  color: #f5ebe8;
  margin: 0 0 var(--space-lg);
  line-height: 1.2;
}

.rlt-title em {
  font-style: italic;
  color: #d4887c;
}

.rlt-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(245, 235, 232, 0.65);
  line-height: 1.7;
  margin: 0;
}

.rlt-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex-shrink: 0;
}

.rlt-btn {
  background: linear-gradient(135deg, #b5534a, #c4756a);
  color: #fff;
  border: none;
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.rlt-btn:hover {
  background: linear-gradient(135deg, #a04840, #b5634a);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180, 80, 70, 0.3);
}

.rlt-btn-outline {
  background: transparent;
  color: #c4756a;
  border: 1px solid rgba(196, 117, 106, 0.4);
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.rlt-btn-outline:hover {
  border-color: #c4756a;
  background: rgba(196, 117, 106, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .rlt-content {
    flex-direction: column;
    text-align: center;
  }

  .rlt-title {
    font-size: 1.8rem;
  }

  .rlt-cta {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Divider --- */
.gold-divider,
.divider {
  width: 60px;
  height: 2px;
  background: var(--color-blue);
  margin: 0 auto var(--space-xl);
}

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

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.pt-0 { padding-top: 0; }

/* --- Spacer for fixed nav --- */
.nav-spacer {
  height: var(--nav-height);
}

/* The public site has appointment booking, not a shopping cart. */
.booking-link { position: relative; display: inline-flex; align-items: center; padding: 4px; }
.booking-link:hover { opacity: .7; }

/* Preserve decorative layers without letting portrait halos widen mobile pages. */
body.about-dark { overflow-x: clip; }
main { min-width: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 10001; padding: 12px 20px; background: #fff; color: #2C3438; border: 2px solid #2C3438; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #315D70; outline-offset: 4px; }
.about-dark :focus-visible, .footer :focus-visible { outline-color: #fff; }
.loc-banner-opt.is-active { color: #243A44; }
.footer-bottom, .footer-bottom p, .footer-legal, .footer-legal a { color: #CDD7DC; }
.btn-white { color: #315D70; }
.contact-grid > *, .contact-info-block { min-width: 0; }
a[href^="mailto:"] { overflow-wrap: anywhere; }

@media (max-width: 767px) {
  .about-dark .tm-row-photo::before, .about-dark .founder-photo::before { left: 0; right: 0; }
}

/* Dark text on pale brand surfaces retains the palette and improves readability. */
.btn-primary { color: #243A44; }
.btn-primary:hover { color: #fff; }
.section-subtitle { color: var(--color-blue-dark); }

.service-card-body .card-link { color: var(--color-blue-dark); }

/* Sudbury arrival guide: shared popup and direct-link page. */
.directions-link { display: inline-block; padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; }
.directions-page { padding: calc(var(--nav-height) + 48px) 0 48px; }
.directions-page .container { max-width: 900px; }
.directions-page h1 { margin-bottom: 12px; }
.directions-image { display: block; width: 100%; height: auto; margin: 24px auto; }
.directions-instructions { padding: 16px 0; }
.directions-instructions ol { padding-left: 24px; margin: 16px 0; }
.directions-instructions li { margin: 8px 0; }
.directions-dialog { width: min(900px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 12px; color: #243A44; background: white; overflow: auto; }
.directions-dialog::backdrop { background: rgba(0,0,0,.7); }
.directions-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; background: white; padding: 12px 16px; border-bottom: 1px solid #ddd; }
.directions-dialog-bar h2 { font-size: 1.15rem; margin: 0; }
.directions-dialog-close { min-width: 44px; min-height: 44px; border: 1px solid #ccc; border-radius: 6px; background: white; color: #243A44; cursor: pointer; }
.directions-dialog .directions-image { margin: 0; }
.directions-dialog-links { padding: 16px; }
.directions-dialog { margin: auto; }

/* A quiet, distinct invitation below Sudbury's contact details. */
.footer-col ul li a.directions-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 6px 0;
  color: #d4e8f2;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: #89adbd;
  text-underline-offset: 5px;
}
.footer-col ul li a.directions-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}
