/* style.css — The Healing Space Counselling
   Design tokens, layout, and component styles.
   Brand palette (locked): Paper #F5F5F5 · Warm cream #EAE6E1 ·
   Soft sage #738778 · Forest green #4D5C52 · Deep charcoal-green #20271B
*/

/* ---------------------------------- */
/* FONTS                               */
/* ---------------------------------- */
@import url('https://api.fontshare.com/v2/css?f[]=zodiak@400,500,600,700&f[]=work-sans@300,400,500,600&display=swap');

/* ---------------------------------- */
/* DESIGN TOKENS                       */
/* ---------------------------------- */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6.5vw, 7rem);

  /* Spacing (4px system) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

/* ---------------------------------- */
/* COLOR — LIGHT MODE (default)        */
/* ---------------------------------- */
:root,
[data-theme='light'] {
  --color-bg: #e7ece1; /* Light sage mist */
  --color-surface: #f0f3ea; /* Soft warm-sage white */
  --color-surface-2: #e2e8da; /* Soft sage */
  --color-surface-offset: #d6decb;
  --color-surface-dynamic: #c9d3bc;
  --color-divider: #cdd6c1;
  --color-border: #b9c5aa;

  --color-text: #20271b; /* Deep charcoal-green */
  --color-text-muted: #4d5c52; /* Forest green */
  --color-text-faint: #8a8f83;
  --color-text-inverse: #f5f5f5;

  --color-primary: #4d5c52; /* Forest green */
  --color-primary-hover: #3a4640;
  --color-primary-active: #20271b;
  --color-primary-highlight: #dbe2dc;

  --color-accent: #738778; /* Soft sage */
  --color-accent-hover: #647a69;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 140 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.2 0.02 140 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.2 0.02 140 / 0.16);
}

/* ---------------------------------- */
/* COLOR — DARK MODE                   */
/* ---------------------------------- */
[data-theme='dark'] {
  --color-bg: #171b14;
  --color-surface: #20271b; /* Deep charcoal-green */
  --color-surface-2: #262e20;
  --color-surface-offset: #2b3324;
  --color-surface-dynamic: #333c2b;
  --color-divider: #3a4433;
  --color-border: #46523c;

  --color-text: #eae6e1; /* Warm cream */
  --color-text-muted: #b7c2b3;
  --color-text-faint: #838f7d;
  --color-text-inverse: #20271b;

  --color-primary: #a9baa4; /* lightened sage for AA contrast on dark */
  --color-primary-hover: #c1cebd;
  --color-primary-active: #d8e0d5;
  --color-primary-highlight: #34402c;

  --color-accent: #93a68e;
  --color-accent-hover: #a9baa4;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.36);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #171b14;
    --color-surface: #20271b;
    --color-surface-2: #262e20;
    --color-surface-offset: #2b3324;
    --color-surface-dynamic: #333c2b;
    --color-divider: #3a4433;
    --color-border: #46523c;
    --color-text: #eae6e1;
    --color-text-muted: #b7c2b3;
    --color-text-faint: #838f7d;
    --color-text-inverse: #20271b;
    --color-primary: #a9baa4;
    --color-primary-hover: #c1cebd;
    --color-primary-active: #d8e0d5;
    --color-primary-highlight: #34402c;
    --color-accent: #93a68e;
    --color-accent-hover: #a9baa4;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 6px 16px oklch(0 0 0 / 0.36);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
  }
}

/* ---------------------------------- */
/* GLOBAL ELEMENTS                     */
/* ---------------------------------- */
body {
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}
.container--narrow {
  max-width: var(--content-narrow);
}
.container--default {
  max-width: var(--content-default);
}

h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.005em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.section--tight-top {
  padding-top: clamp(var(--space-6), 3vw, var(--space-10));
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  font-weight: 500;
}

.section-title {
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-top: var(--space-3);
}

.section-lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  max-width: 60ch;
  margin-top: var(--space-4);
}

/* ---------------------------------- */
/* SKIP LINK                           */
/* ---------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  z-index: 200;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ---------------------------------- */
/* HEADER / NAV                        */
/* ---------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.header__logo {
  display: block;
  height: clamp(32px, 4vw, 42px);
  width: auto;
}
.header__logo img {
  height: 100%;
  width: auto;
  display: block;
}

.header__logo img.header__logo-dark {
  display: none;
}
[data-theme='dark'] .header__logo img.header__logo-light {
  display: none;
}
[data-theme='dark'] .header__logo img.header__logo-dark {
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-4), 2vw, var(--space-8));
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-4), 2.5vw, var(--space-8));
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  position: relative;
}
.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-text);
}
.nav__link[aria-current='page'] {
  color: var(--color-primary);
}
.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header__actions--nav {
  display: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-divider);
}
.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-border);
  background: var(--color-surface-2);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

/* ---------------------------------- */
/* BUTTONS                             */
/* ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  white-space: nowrap;
  min-height: 44px;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}

[data-theme='dark'] .btn--primary {
  color: #171b14;
}

.btn--outline {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--color-primary-highlight);
}

.btn--ghost {
  color: var(--color-text);
  background: var(--color-surface-2);
}
.btn--ghost:hover {
  background: var(--color-surface-offset);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  min-height: 36px;
}

/* Sticky book-a-session floating button (mobile) */
.book-fab {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 90;
  display: none;
}

/* ---------------------------------- */
/* HERO — VIDEO (Welcome)              */
/* ---------------------------------- */
.hero-video {
  position: relative;
  height: 100vh;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #10140d;
}

.hero-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(0.1 0.02 140 / 0.35) 0%,
    oklch(0.1 0.02 140 / 0.28) 45%,
    oklch(0.08 0.02 140 / 0.6) 100%
  );
}

.hero-video__content {
  position: absolute;
  left: 50%;
  bottom: clamp(var(--space-16), 18vh, var(--space-32));
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  padding-inline: var(--space-6);
  max-width: 900px;
  width: 100%;
}

.hero-video__quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.2;
  font-weight: 500;
  font-style: italic;
  color: #cddbc9;
  white-space: nowrap;
  text-shadow: 0 2px 16px oklch(0.05 0 0 / 0.45);
}

.hero-video__scrolldown {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: #f5f5f5;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-video__scrolldown svg {
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ---------------------------------- */
/* PAGE HERO (interior pages)          */
/* ---------------------------------- */
.page-hero {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24)) clamp(var(--space-10), 6vw, var(--space-16));
  text-align: center;
}
.page-hero__title {
  font-size: var(--text-3xl);
}
.page-hero__lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  max-width: 56ch;
  margin: var(--space-4) auto 0;
}

/* Compact hero variant — used where the section below must stay visible without scrolling */
.page-hero--compact {
  padding-block: clamp(var(--space-8), 4vw, var(--space-10)) clamp(var(--space-4), 3vw, var(--space-6));
}
.page-hero--compact .page-hero__title {
  font-size: var(--text-xl);
}
.page-hero--compact .page-hero__lede {
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

/* Small title/lede modifiers — halve size so content below is visible without scrolling */
.page-hero__title--sm {
  font-size: var(--text-xl);
}
.page-hero__lede--sm {
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

/* Stacked hero title — three short lines (Meet page) */
.page-hero__title--stacked {
  font-size: var(--text-2xl);
  line-height: 1.35;
}

/* ---------------------------------- */
/* LEAF PATTERN BACKGROUND             */
/* ---------------------------------- */
.pattern-bg {
  position: relative;
  background-color: var(--color-surface-2);
  background-image: url('./assets/images/leaf-pattern-sage.png');
  background-size: 420px 420px;
  background-repeat: repeat;
}
.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-surface-2);
  opacity: 0.55;
  pointer-events: none;
}
.pattern-bg > .container {
  position: relative;
  z-index: 1;
}

/* ---------------------------------- */
/* WELCOME SECTION (split)             */
/* ---------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split__text .eyebrow {
  display: block;
  margin-bottom: var(--space-3);
}
.split__text h2 {
  font-size: var(--text-2xl);
}
.split__text p {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.split__text .btn {
  margin-top: var(--space-8);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
}

/* ---------------------------------- */
/* QUOTE-OVER-IMAGE BANNER             */
/* ---------------------------------- */
.quote-banner {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: 0;
}
.quote-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.quote-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.12 0.02 140 / 0.45), oklch(0.1 0.02 140 / 0.55));
  z-index: 1;
}
.quote-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #f5f5f5;
  max-width: 780px;
  padding-inline: var(--space-6);
}
.quote-banner__mark {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.4;
  font-style: italic;
}
.quote-banner__cite {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------------------------------- */
/* IMAGE WITH CAPTION (services/meet)  */
/* ---------------------------------- */
.captioned-figure {
  text-align: center;
}
.captioned-figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.captioned-figure figcaption {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  max-width: 40ch;
  margin-inline: auto;
}

/* ---------------------------------- */
/* TESTIMONIALS (placeholder)          */
/* ---------------------------------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.testimonial-skeleton {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.skeleton-quote-icon {
  color: var(--color-accent);
  opacity: 0.5;
}
.skeleton-line {
  height: 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    var(--color-surface-2) 25%,
    var(--color-surface-offset) 37%,
    var(--color-surface-2) 63%
  );
  background-size: 400% 100%;
  animation: shimmer 2.4s ease-in-out infinite;
}
.skeleton-line--80 {
  width: 80%;
}
.skeleton-line--60 {
  width: 60%;
}
.skeleton-line--90 {
  width: 90%;
}
@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.testimonial-skeleton__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  flex-shrink: 0;
}
.testimonials__note {
  text-align: center;
  margin-top: var(--space-8);
  color: var(--color-text-faint);
  font-size: var(--text-sm);
  font-style: italic;
}

@media (max-width: 860px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------- */
/* MEET PAGE — credentials             */
/* ---------------------------------- */
.credentials-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
}
.credentials-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.credentials-card p {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
}
.credentials-list {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-6);
}
.credentials-list h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.credentials-list ul {
  display: grid;
  gap: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  padding-left: var(--space-5);
}
.credentials-list ul li {
  list-style: disc;
}
.credentials-list .plain {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ---------------------------------- */
/* SERVICES — cards                    */
/* ---------------------------------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
  border-bottom: 1px solid var(--color-divider);
}
.service-block:last-child {
  border-bottom: none;
}
.service-block__media {
  position: relative;
}
.service-block__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.service-block__media figcaption {
  margin-top: var(--space-3);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.service-block__text h3 {
  font-size: var(--text-xl);
}
.service-block__text p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
}
.service-block__text .btn {
  margin-top: var(--space-6);
}
.service-block--reverse .service-block__media {
  order: 2;
}

@media (max-width: 860px) {
  .service-block,
  .service-block--reverse .service-block__media {
    grid-template-columns: 1fr;
    order: 0;
  }
}

/* Workshop interest buttons */
.workshop-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.workshop-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.workshop-btn {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
  font-size: var(--text-base);
}
.workshop-btn:hover,
.workshop-btn:focus-visible {
  border-color: var(--color-primary);
  background: var(--color-primary-highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.workshop-btn svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Interest form (modal) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: oklch(0.1 0.02 140 / 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}
.modal-overlay.is-open {
  display: flex;
}
.modal {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-10));
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.modal__close:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}
.modal h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.modal p.modal__lede {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}
.form-field {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.form-field label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}
.form-field input {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  font-size: var(--text-base);
}
.form-field input:focus-visible {
  border-color: var(--color-primary);
}
.form-field--workshop {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.modal .btn {
  width: 100%;
  margin-top: var(--space-2);
}
.modal__success {
  display: none;
  text-align: center;
  padding-block: var(--space-6);
}
.modal__success.is-visible {
  display: block;
}
.modal__success svg {
  margin: 0 auto var(--space-4);
  color: var(--color-primary);
}

/* ---------------------------------- */
/* FEE TABLE                            */
/* ---------------------------------- */
.fee-table-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.fee-table {
  width: 100%;
  font-size: var(--text-sm);
}
.fee-table th,
.fee-table td {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  border-bottom: 1px solid var(--color-divider);
}
.fee-table thead th {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface-2);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fee-table tbody td {
  color: var(--color-text-muted);
}
.fee-table tbody td:first-child {
  color: var(--color-text);
  font-weight: 500;
}
.fee-table tbody tr:last-child td {
  border-bottom: none;
}
.fee-table td.price {
  color: var(--color-primary);
  font-weight: 600;
  font-family: var(--font-body);
}
.fee-note {
  padding: var(--space-5) var(--space-6);
  background: var(--color-primary-highlight);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ---------------------------------- */
/* ACCORDION (policies)                */
/* ---------------------------------- */
.accordion {
  border-top: 1px solid var(--color-divider);
}
.accordion-item {
  border-bottom: 1px solid var(--color-divider);
}
.accordion-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  text-align: left;
}
.accordion-item__header:hover {
  color: var(--color-primary);
}
.accordion-item__icon {
  flex-shrink: 0;
  transition: transform var(--transition-interactive);
  color: var(--color-accent);
}
.accordion-item[data-open='true'] .accordion-item__icon {
  transform: rotate(45deg);
}
.accordion-item__panel {
  height: 0;
  overflow: hidden;
  transition: height var(--transition-interactive);
}
.accordion-item__panel-inner {
  padding-bottom: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.accordion-item__panel-inner p {
  margin-bottom: var(--space-4);
}
.accordion-item__panel-inner ul {
  padding-left: var(--space-5);
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.accordion-item__panel-inner ul li {
  list-style: disc;
}

/* ---------------------------------- */
/* GALLERY (My Office)                 */
/* ---------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 720px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery img {
    aspect-ratio: 4/3;
  }
}

/* ---------------------------------- */
/* CONTACT PAGE                        */
/* ---------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  min-width: 0;
}
.contact-grid > * {
  min-width: 0;
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-10));
  display: grid;
  gap: var(--space-6);
  min-width: 0;
}
.contact-item {
  display: flex;
  min-width: 0;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-item > div {
  min-width: 0;
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}
.contact-item p,
.contact-item a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.contact-item a:hover {
  color: var(--color-primary);
}
.hours-table {
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
}
.hours-table__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-1);
  color: var(--color-text-muted);
}
.hours-table__row strong {
  color: var(--color-text);
  font-weight: 500;
}

.consult-card {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-10));
  display: grid;
  gap: var(--space-4);
}
[data-theme='dark'] .consult-card {
  color: #171b14;
}
.consult-card h2 {
  font-size: var(--text-xl);
}
.consult-card p {
  opacity: 0.9;
}
.consult-card .btn--primary {
  background: var(--color-text-inverse);
  color: var(--color-primary);
}
[data-theme='dark'] .consult-card .btn--primary {
  background: #171b14;
  color: var(--color-text-inverse);
}
.consult-card .btn--primary:hover {
  opacity: 0.9;
}

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

/* ---------------------------------- */
/* FOOTER                              */
/* ---------------------------------- */
.footer {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  padding-block: clamp(var(--space-12), 6vw, var(--space-16));
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
}
.footer__brand img {
  height: 34px;
  width: auto;
  margin-bottom: var(--space-4);
}
.footer__brand img.footer__brand-dark {
  display: none;
}
[data-theme='dark'] .footer__brand img.footer__brand-light {
  display: none;
}
[data-theme='dark'] .footer__brand img.footer__brand-dark {
  display: block;
}
.footer__brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 32ch;
}
.footer__heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer__list {
  display: grid;
  gap: var(--space-3);
}
.footer__list a,
.footer__list span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer__list a:hover {
  color: var(--color-primary);
}
.footer__acknowledgement {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-8);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  align-items: center;
}
.footer__acknowledgement p {
  order: 1;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.7;
  max-width: 68ch;
}
.footer__seal {
  order: 2;
  display: inline-flex;
  flex-shrink: 0;
}
.footer__seal img {
  width: 64px;
  height: 64px;
}
.footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

@media (max-width: 860px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer__acknowledgement {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* ---------------------------------- */
/* MOBILE NAV                          */
/* ---------------------------------- */
@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
  }
  .header__nav {
    position: fixed;
    inset: 0;
    top: 64px;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-8) var(--space-6);
    transform: translateX(100%);
    transition: transform var(--transition-interactive);
    z-index: 99;
  }
  .header__nav.is-open {
    transform: translateX(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: var(--space-6);
  }
  .nav__link {
    font-size: var(--text-lg);
  }
  .header__actions--nav {
    display: block;
    margin-top: var(--space-8);
    width: 100%;
  }
  .header__actions--nav .btn {
    width: 100%;
  }
  .header__actions > .btn--primary {
    display: none;
  }
  .book-fab {
    display: inline-flex;
  }
}

/* ---------------------------------- */
/* RESPONSIVE — general                */
/* ---------------------------------- */
@media (max-width: 720px) {
  .hero-video__quote {
    font-size: clamp(1.15rem, 1rem + 2.4vw, 1.45rem);
  }
  .hero-video__content {
    bottom: clamp(var(--space-16), 24vh, 12rem);
  }
  .hero-video__scrolldown {
    bottom: var(--space-4);
  }
  .footer__acknowledgement {
    text-align: center;
  }
}

/* ---------------------------------- */
/* SCROLL REVEAL                       */
/* ---------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
