:root {
  --void: #0A0A0F;
  --deep-void: #111118;
  --graphite: #2A2A3A;
  --smoke: #5A5A6A;
  --candlelight: #E8D5A3;
  --candlelight-dim: #B8A87A;
  --sage: #7B9E8F;
  --sage-dark: #3A5A4A;
  --ember: #C4845A;
  --violet: #8B7FA8;
  --parchment: #F7F5EF;
  --ink: #1C1C24;
}

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

html {
  scroll-behavior: smooth;
}

html {
  font-size: 20px;
}

body {
  background: var(--void);
  color: var(--candlelight);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── Noise texture overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ─── Navigation ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(2px);
}

.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--candlelight);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--candlelight);
}

/* ─── Hamburger ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--candlelight);
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── Nav overlay ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--void);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--smoke);
  font-size: 1.1rem;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.nav-close:hover {
  color: var(--candlelight);
}

.nav-overlay-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-overlay-links a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  letter-spacing: 0.08em;
  color: var(--candlelight-dim);
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  padding: 0.15rem 0;
}

.nav-overlay-links a:hover {
  color: var(--candlelight);
}

.nav-overlay-cta {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  color: var(--sage) !important;
  margin-top: 2rem;
}

/* ─── Hero video background ─── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 10, 15, 0.55) 0%,
      rgba(10, 10, 15, 0.35) 50%,
      rgba(10, 10, 15, 0.7) 100%);
  z-index: 1;
}

/* ---- Home hero video on mobile: tuck under nav, collapse to video height ---- */
@media (max-width: 640px) {
  section.hero.hero-home {
    min-height: 0;
    height: auto;
    display: block;
    /* stops the flex vertical-centering that made the gaps */
    padding-top: 64;
    /* video sits directly under the menu bar */
    padding-bottom: 0;
  }

  .hero-home .hero-video {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  /* decorative + overlay layers have no job once the hero is just the video */
  .hero-home .hero-video-overlay,
  .hero-home .hero-bg-grid,
  .hero-home .hero-orb,
  .hero-home .hero-scroll-hint {
    display: none;
  }
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 158, 143, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 158, 143, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.hero-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(123, 158, 143, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--candlelight);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-eyebrow span {
  display: inline-block;
  width: 20px;
  height: 0.5px;
  background: var(--candlelight);
  vertical-align: middle;
  margin: 0 1rem;
  opacity: 0.6;
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--candlelight);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}

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

.hero-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--candlelight), transparent);
  margin: 1.5rem auto;
  opacity: 0;
  animation: fadeIn 1s ease 0.8s forwards;
}

.hero-sub {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--candlelight-dim);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1.5s ease 1.5s forwards;
}

.scroll-label {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
}

.scroll-line {
  width: 0.5px;
  height: 32px;
  background: linear-gradient(to bottom, var(--smoke), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ---- Intro (hero text, moved below the video hero) ---- */
.hero-intro {
  background: var(--deep-void);
  border-bottom: 0.5px solid var(--graphite);
  padding: 6rem 0;
  text-align: center;
}

.hero-intro .hero-eyebrow,
.hero-intro .hero-buttons {
  justify-content: center;
}

.hero-intro .hero-divider {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Buttons ─── */
.btn-primary {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--candlelight);
  color: var(--void);
  padding: 0.9rem calc(2.4rem - 0.2em) 0.9rem 2.4rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-ghost {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  border: 0.5px solid rgba(123, 158, 143, 0.4);
  padding: 0.9rem calc(1.4rem - 0.2em) 0.9rem 1.4rem;
  border-radius: 30px;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}

.btn-ghost:hover {
  border-color: var(--sage);
  color: var(--candlelight);
}

/* ─── Section shared ─── */
section {
  position: relative;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section-label {
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.1;
  color: var(--candlelight);
  margin-bottom: 1rem;
}

.section-h2 em {
  font-style: italic;
  color: var(--candlelight-dim);
}

/* ─── Tagline strip ─── */
.tagline-strip {
  padding: 3rem 0;
  border-top: 0.5px solid var(--graphite);
  border-bottom: 0.5px solid var(--graphite);
  overflow: hidden;
}

.tagline-scroll {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: scrollLeft 20s linear infinite;
}

.tagline-item {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--candlelight-dim);
  flex-shrink: 0;
}

.tagline-dot {
  color: var(--sage);
  font-style: normal;
  margin: 0 1rem;
}

/* ─── Modalities ─── */
.modalities {
  padding: 7rem 0;
}

.modalities-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}

.modalities-intro {
  font-size: 0.9rem;
  color: var(--smoke);
  line-height: 1.8;
  max-width: 380px;
}

.modality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--graphite);
  border: 0.5px solid var(--graphite);
}

.modality-card {
  background: var(--deep-void);
  padding: 2.5rem;
  transition: background 0.4s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.modality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0;
  transition: opacity 0.4s;
}

.modality-card:hover {
  background: #13131C;
}

.modality-card:hover::before {
  opacity: 1;
}

.modality-card.pranayama::before {
  background: var(--sage);
}

.modality-card.yoga::before {
  background: var(--candlelight);
}

.modality-card.meditation::before {
  background: var(--ember);
}

.modality-card.reiki::before {
  background: var(--violet);
}

.modality-number {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--graphite);
  margin-bottom: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.modality-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.modality-card.pranayama .modality-name {
  color: var(--sage);
}

.modality-card.yoga .modality-name {
  color: var(--candlelight);
}

.modality-card.meditation .modality-name {
  color: var(--ember);
}

.modality-card.reiki .modality-name {
  color: var(--violet);
}

.modality-desc {
  font-size: 0.82rem;
  color: var(--smoke);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.modality-link {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  text-decoration: none;
  transition: color 0.3s;
}

.modality-card:hover .modality-link {
  color: var(--candlelight);
}

/* ─── Classes ─── */
.classes-section {
  padding: 7rem 0;
  background: var(--deep-void);
  border-top: 0.5px solid var(--graphite);
}

.classes-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.class-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid var(--graphite);
}

.class-row {
  display: grid;
  grid-template-columns: 1fr 180px 160px 140px;
  align-items: center;
  padding: 1.75rem 2rem;
  border-bottom: 0.5px solid var(--graphite);
  transition: background 0.3s;
  cursor: pointer;
  gap: 1rem;
}

.class-row:last-child {
  border-bottom: none;
}

.class-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.class-row-header {
  display: grid;
  grid-template-columns: 1fr 180px 160px 140px;
  padding: 0.75rem 2rem;
  gap: 1rem;
  border-bottom: 0.5px solid var(--graphite);
}

.class-row-header span {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--candlelight-dim);
}

.class-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--candlelight);
}

.class-tag {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  width: fit-content;
}

.tag-pranayama {
  background: rgba(123, 158, 143, 0.1);
  color: var(--sage);
  border: 0.5px solid rgba(123, 158, 143, 0.25);
}

.tag-yoga {
  background: rgba(232, 213, 163, 0.08);
  color: var(--candlelight);
  border: 0.5px solid rgba(232, 213, 163, 0.2);
}

.tag-meditation {
  background: rgba(196, 132, 90, 0.1);
  color: var(--ember);
  border: 0.5px solid rgba(196, 132, 90, 0.25);
}

.tag-reiki {
  background: rgba(139, 127, 168, 0.1);
  color: var(--violet);
  border: 0.5px solid rgba(139, 127, 168, 0.25);
}

.tag-fusion {
  background: rgba(232, 213, 163, 0.05);
  color: var(--candlelight-dim);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.class-time {
  font-size: 0.78rem;
  color: var(--candlelight-dim);
  letter-spacing: 0.04em;
}

.class-location {
  font-size: 0.75rem;
  color: var(--candlelight-dim);
}

.class-cta {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke);
  text-align: right;
  transition: color 0.3s;
  text-decoration: none;
}

.class-row:hover .class-cta {
  color: var(--ember);
}

a.class-row {
  display: grid;
  text-decoration: none;
  color: inherit;
}

/* ─── Philosophy ─── */
.philosophy {
  padding: 9rem 0;
  text-align: center;
}

.philosophy-pull {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.3;
  color: var(--candlelight);
  max-width: 800px;
  margin: 0 auto 2rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.philosophy-body {
  font-size: 0.85rem;
  color: var(--smoke);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.philosophy-stats {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 0.5px solid var(--graphite);
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 3rem;
  color: var(--candlelight);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 0.5rem;
}

/* ─── About ─── */
.about {
  padding: 7rem 0;
  background: var(--deep-void);
  border-top: 0.5px solid var(--graphite);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.about-credentials {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0.5px solid var(--graphite);
}

.credential {
  padding: 1rem 1.5rem;
  border-bottom: 0.5px solid var(--graphite);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.credential:last-child {
  border-bottom: none;
}

.credential-title {
  font-size: 0.78rem;
  color: var(--candlelight-dim);
  letter-spacing: 0.04em;
}

.credential-badge {
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.about-body {
  font-size: 0.9rem;
  color: var(--smoke);
  line-height: 1.9;
}

.about-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--candlelight);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.about-name span {
  font-style: italic;
}

/* ─── CTA Section ─── */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(123, 158, 143, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.1;
  color: var(--candlelight);
  margin-bottom: 1rem;
}

.cta-sub {
  font-size: 0.82rem;
  color: var(--smoke);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

/* ─── Footer ─── */
footer {
  padding: 3rem;
  border-top: 0.5px solid var(--graphite);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.24em;
  color: var(--candlelight-dim);
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 0.3rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--candlelight);
}

.footer-copy {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--smoke);
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ─── Mobile ─── */
@media (max-width: 1024px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  nav {
    padding: 1.25rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .container {
    padding: 0 1.5rem;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
    justify-content: center;
  }

  .modalities-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .modality-grid {
    grid-template-columns: 1fr;
  }

  .class-row,
  .class-row-header {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  /* Scoped to the homepage's class list only — Pranayama's schedule
     section keeps its CTA visible on mobile (see override below) */
  .classes-section .class-cta,
  .classes-section .class-row-header span:nth-child(4) {
    display: none;
  }

  /* Pranayama's schedule keeps a 4th column so "Reserve →" stays visible */
  .pranayama-schedule .class-row,
  .pranayama-schedule .class-row-header {
    grid-template-columns: 1fr 1fr 1fr 90px;
  }

  .philosophy-stats {
    gap: 2.5rem;
  }


}

/* On narrow phones, 4 columns is too tight even with the fixed CTA width —
   stack the row instead and show Reserve as its own line at the bottom */
@media (max-width: 480px) {
  .pranayama-schedule .class-row-header {
    display: none;
  }

  .pranayama-schedule .class-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 2rem 1.75rem;
  }

  .pranayama-schedule .class-name {
    margin-bottom: 0.1rem;
  }

  .pranayama-schedule .class-tag {
    margin-bottom: 0.35rem;
  }

  .pranayama-schedule .class-time {
    font-size: 0.8rem;
    color: var(--candlelight);
    letter-spacing: 0.03em;
  }

  .pranayama-schedule .class-location {
    font-size: 0.76rem;
    color: var(--smoke);
    line-height: 1.6;
  }

  .pranayama-schedule .class-cta {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin-top: 0.5rem;
    padding: 0.6rem 1.5rem;
    border: 0.5px solid var(--page-accent-border, rgba(123, 158, 143, 0.3));
    border-radius: 30px;
    color: var(--sage);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-align: center;
  }
}

footer {
  padding: 2.5rem 3rem;
  border-top: 0.5px solid var(--graphite);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1.5rem;
}

/* brand block (wordmark + tagline) → left */
footer>*:first-child {
  justify-self: start;
  text-align: left;
}

/* links → centered, two rows of three */
.footer-links {
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(3, 11rem);
  justify-items: center;
  align-items: center;
  gap: 1rem 0;
  list-style: none;
}

/* copyright → right */
.footer-copy {
  justify-self: end;
  text-align: right;
}

/* ─── Footer: centered, two-row links when space is tight ─── */
@media (max-width: 600px) {
  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 1.75rem;
  }
  footer > *:first-child { justify-self: center; text-align: center; }
  .footer-copy { justify-self: center; text-align: center; }

  /* reset the rigid desktop columns so links fit the phone */
   .footer-links {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.9rem;
  }
}
/* ─── Hero intro (h1 + subhead below hero), shared across service pages ─── */
.hero-intro {
  padding: 8rem 2rem 7rem;
  text-align: center;
}
.hero-intro-eyebrow {
  text-transform: uppercase;
  margin-bottom: 2.75rem;
}
.eyebrow-cred {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--page-accent);
  margin-bottom: 1rem;
}
.eyebrow-cred::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  margin: 0.9rem auto 0;
  background: linear-gradient(to right, transparent, var(--page-accent), transparent);
}
.eyebrow-lineage {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: var(--smoke);
  line-height: 1.9;
  max-width: 420px;
  margin: 0 auto;
}
.hero-intro-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--candlelight);
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero-intro-h1 em { font-style: italic; color: var(--page-accent); }
.hero-intro-sub {
  font-size: 0.92rem;
  color: var(--smoke);
  line-height: 1.9;
  font-weight: 200;
  max-width: 440px;
  margin: 0 auto;
}