/* ============================================================
   ATELIER DENTAL — Design System
   Premium dental clinic website styles
   ============================================================ */

/* ── CSS Reset ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

textarea {
  white-space: revert;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  /* Colors — High-Contrast Professional Luxury Medical Palette */
  --color-bg: #f8f5f0;
  --color-bg-alt: #eee8de;
  --color-surface: #ffffff;
  --color-primary: #141210;          /* Obsidian primary brand color */
  --color-text: #141210;              /* Pitch warm obsidian for commanding, sharp headlines */
  --color-text-secondary: #3e3730;    /* Rich espresso charcoal: 9.4:1 contrast ratio against #f8f5f0 (AAA rating) */
  --color-text-muted: #665b50;        /* Refined deep warm taupe: 5.3:1 contrast ratio (AA rating) */
  --color-accent: #b89355;            /* Luminous deep antique gold */
  --color-accent-dark: #7a5824;       /* Deep architectural bronze: 5.8:1 contrast on light backgrounds */
  --color-dark: #181512;              /* Deep warm noir */
  --color-dark-text: #f8f5f0;         /* Luminous crisp off-white for dark backgrounds */
  --color-border: rgba(26, 23, 20, 0.14);
  --color-overlay: rgba(20, 17, 14, 0.65);
  --color-white: #ffffff;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', serif;

  /* Type Scale — fluid */
  --text-xs: clamp(0.6875rem, 0.65rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.775rem + 0.15vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.4rem + 1.5vw, 2.75rem);
  --text-4xl: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
  --text-5xl: clamp(2.75rem, 1.5rem + 4vw, 5.5rem);
  --text-display: clamp(3.25rem, 1.5rem + 5.5vw, 7rem);

  /* Tracking */
  --tracking-tight: -0.03em;
  --tracking-normal: -0.01em;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.12em;

  /* Leading */
  --leading-none: 1;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Spacing Scale */
  --space-xs: clamp(0.5rem, 0.4rem + 0.3vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.6rem + 0.5vw, 1rem);
  --space-md: clamp(1rem, 0.8rem + 0.75vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2rem, 1.2rem + 2.5vw, 4rem);
  --space-2xl: clamp(3rem, 1.5rem + 4vw, 6rem);
  --space-3xl: clamp(4rem, 2rem + 6vw, 9rem);
  --space-section: clamp(5rem, 3rem + 8vw, 12rem);

  /* Layout */
  --container-max: 1400px;
  --container-narrow: 900px;
  --container-pad: clamp(1.5rem, 4vw, 4rem);
  --header-height: 5rem;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration-fast: 0.3s;
  --duration-base: 0.6s;
  --duration-slow: 1s;
  --duration-slower: 1.4s;

  /* Z-Index Scale */
  --z-base: 1;
  --z-header: 100;
  --z-overlay: 200;
  --z-menu: 300;
  --z-cursor: 400;
  --z-modal: 500;
}

/* ── Global Styles ──────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  letter-spacing: var(--tracking-normal);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

body.loaded .page-loader {
  opacity: 0;
  pointer-events: none;
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-surface);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ── Skip Link ──────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-text);
  color: var(--color-surface);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform var(--duration-fast) var(--ease-out);
  z-index: var(--z-modal);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ── Typography ─────────────────────────────────────────── */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.headline-display {
  font-family: var(--font-serif);
  font-size: var(--text-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.headline-1 {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.headline-2 {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.headline-3 {
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.body-lg {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  background-color: var(--color-text);
  color: var(--color-surface);
  border-color: var(--color-text);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn--secondary:hover {
  background-color: var(--color-text);
  color: var(--color-surface);
}

.btn--ghost {
  background: rgba(20, 17, 14, 0.45);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.btn--ghost:hover {
  background: #ffffff;
  color: var(--color-text);
  border-color: #ffffff;
  text-shadow: none;
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
}

.btn--icon {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 50%;
}

/* ── Site Header ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  padding: var(--space-md) 0;
  transition: background-color var(--duration-base) var(--ease-out),
              backdrop-filter var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
  transition: color var(--duration-base) var(--ease-out);
  z-index: 2;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-header__nav a {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.site-header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width var(--duration-fast) var(--ease-out);
}

.site-header__nav a:hover {
  color: #e5ca9e;
}

.site-header__nav a:hover::after {
  width: 100%;
}

.site-header__cta {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* Header scrolled state */
.site-header--scrolled {
  background-color: rgba(253, 252, 250, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(26, 23, 20, 0.12);
  box-shadow: 0 2px 20px rgba(26, 23, 20, 0.05);
}

.site-header--scrolled .site-header__logo {
  color: var(--color-text);
  text-shadow: none;
}

.site-header--scrolled .site-header__nav a {
  color: #2e2822;
  text-shadow: none;
}

.site-header--scrolled .site-header__nav a:hover {
  color: var(--color-accent-dark);
}

.site-header--scrolled .site-header__cta {
  background-color: var(--color-text);
  color: var(--color-surface);
  border-color: var(--color-text);
}

/* Menu toggle */
.site-header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-header__menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 1.5px;
  background-color: var(--color-surface);
  transition: all var(--duration-fast) var(--ease-out);
  transform-origin: center;
}

.site-header--scrolled .site-header__menu-toggle span {
  background-color: var(--color-text);
}

.site-header__menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.site-header__menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ── Mobile Menu ────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background-color: #141210;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-out),
              visibility var(--duration-base) var(--ease-out);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Top Bar with dedicated Close button */
.mobile-menu__top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--container-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
  background: rgba(20, 18, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-menu__logo {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: #ffffff;
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.25s var(--ease-out);
}

.mobile-menu__close-text {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c8bfb4;
  transition: color 0.25s var(--ease-out);
}

.mobile-menu__close-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition: all 0.25s var(--ease-out);
}

.mobile-menu__close:hover .mobile-menu__close-text,
.mobile-menu__close:focus-visible .mobile-menu__close-text {
  color: #e5ca9e;
}

.mobile-menu__close:hover .mobile-menu__close-icon,
.mobile-menu__close:focus-visible .mobile-menu__close-icon {
  border-color: #e5ca9e;
  background: rgba(229, 202, 158, 0.18);
  color: #e5ca9e;
  transform: scale(1.06);
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--container-pad);
  max-width: 32rem;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  flex-grow: 1;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 400;
  color: var(--color-dark-text);
  letter-spacing: var(--tracking-tight);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.4s var(--ease-out),
              transform 0.4s var(--ease-out),
              color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out);
}

.mobile-menu__num {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  opacity: 0.8;
}

.mobile-menu--open .mobile-menu__nav a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu--open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu--open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu--open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu--open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.26s; }

.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible {
  color: #e5ca9e;
  border-bottom-color: rgba(229, 202, 158, 0.4);
  transform: translateX(6px);
}

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity var(--duration-base) var(--ease-out) 0.3s,
              transform var(--duration-base) var(--ease-out) 0.3s;
}

.mobile-menu--open .mobile-menu__contact {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__contact .btn {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.5rem;
}

.mobile-menu__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.mobile-menu__actions .btn {
  padding: 0.75rem 1rem;
  font-size: var(--text-xs);
}

.mobile-menu__footer {
  text-align: center;
  font-size: var(--text-xs);
  color: #9e9488;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out) 0.35s;
}

.mobile-menu--open .mobile-menu__footer {
  opacity: 1;
}

/* ── Hero Section ───────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  /* Height set by JS: viewportHeight * scrollMultiplier */
}

.hero__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: contents;
}

.hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--duration-base) var(--ease-out);
}

.hero__fallback.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Hero Overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

/* Deep cinematic scrim for pristine text legibility across all 374 light & dark frames */
.hero__overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 70%, rgba(14, 12, 10, 0.78) 0%, rgba(14, 12, 10, 0.48) 45%, transparent 75%),
    linear-gradient(to top, rgba(14, 12, 10, 0.82) 0%, rgba(14, 12, 10, 0.3) 30%, transparent 60%),
    linear-gradient(to bottom, rgba(14, 12, 10, 0.65) 0%, transparent 25%);
  z-index: -1;
  pointer-events: none;
}

/* Hero Text Phases */
.hero__text {
  position: absolute;
  left: var(--container-pad);
  bottom: 18%;
  max-width: 50rem;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 30px, 0);
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.hero__eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e5ca9e;
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: #ffffff;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hero__body {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: #f7f3ee;
  font-weight: 400;
  margin-bottom: var(--space-lg);
  max-width: 32rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.7);
}

.hero__cta {
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* Hero Progress Indicator */
.hero__progress {
  position: absolute;
  right: var(--container-pad);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.hero__progress-track {
  width: 2px;
  height: 6rem;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}

/* Hero Scroll Hint */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
  z-index: 3;
  transition: opacity var(--duration-slow) var(--ease-out);
  animation: scroll-hint-pulse 2.5s var(--ease-in-out) infinite;
}

.hero__scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scroll-hint-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.7; transform: translateX(-50%) translateY(4px); }
}

/* ── Section Base ───────────────────────────────────────── */
.section {
  position: relative;
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  overflow: hidden;
}

.section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section__eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-md);
}

.section__title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  max-width: 20ch;
}

.section__body {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 55ch;
  margin-top: var(--space-lg);
}

/* ── Philosophy Section ─────────────────────────────────── */
.section--philosophy {
  background-color: var(--color-surface);
}

.section--philosophy .section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.section--philosophy .section__content {
  padding-right: var(--space-xl);
}

.section--philosophy .section__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(26, 23, 20, 0.1);
}

.section--philosophy .section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform var(--duration-slower) var(--ease-out);
}

.section--philosophy .section__media:hover img {
  transform: scale(1.03);
}

.philosophy__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.pillar-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pillar-item__metric {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--color-accent-dark);
  line-height: 1.1;
}

.pillar-item__label {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}

.philosophy__accent {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  font-family: var(--font-serif);
  font-size: var(--text-display);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  line-height: var(--leading-none);
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s var(--ease-out);
}

.philosophy__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: rgba(253, 252, 250, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 10px 30px rgba(26, 23, 20, 0.12);
  transition: transform 0.4s var(--ease-out);
  pointer-events: none;
}

.philosophy__badge-icon {
  color: var(--color-accent-dark);
  font-size: 0.85rem;
}

.philosophy__badge-text strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.2;
}

.philosophy__badge-text small {
  display: block;
  font-size: 0.68rem;
  color: var(--color-accent-dark);
  font-weight: 600;
}

/* ── Services Section ───────────────────────────────────── */
.section--services {
  background-color: var(--color-bg);
  overflow-x: clip;
}

.section--services .section__header {
  margin-bottom: var(--space-2xl);
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.section--services .section__eyebrow {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section--services .section__title {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section--services .section__body {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.services__filter {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

.services-filter__btn {
  background: rgba(26, 23, 20, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.28s var(--ease-out);
  font-family: inherit;
}

.services-filter__btn:hover {
  background: rgba(26, 23, 20, 0.07);
  color: var(--color-text);
  border-color: rgba(26, 23, 20, 0.25);
  transform: translateY(-1px);
}

.services-filter__btn.active {
  background: var(--color-text);
  color: #ffffff;
  border-color: var(--color-text);
  box-shadow: 0 4px 16px rgba(20, 18, 16, 0.2);
}

.services__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s var(--ease-out),
              opacity 0.3s var(--ease-out);
}

.service-item:hover {
  background-color: #ffffff;
  border-color: rgba(122, 88, 36, 0.45);
  box-shadow: 0 20px 48px rgba(26, 23, 20, 0.08);
}

.service-item:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}

.service-item__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(184, 147, 85, 0.14), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.service-item:hover .service-item__glow {
  opacity: 1;
}

.service-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.service-item__number {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-accent-dark);
}

.service-item__arrow {
  font-size: 1.15rem;
  color: var(--color-accent-dark);
  transition: transform 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.service-item:hover .service-item__arrow {
  transform: translate(3px, -3px);
  color: var(--color-accent);
}

.service-item__title {
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  transition: color var(--duration-fast) var(--ease-out);
}

.service-item:hover .service-item__title {
  color: var(--color-accent-dark);
}

.service-item__body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

.service-item__action {
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(26, 23, 20, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  opacity: 0.65;
  transition: opacity 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.service-item:hover .service-item__action {
  opacity: 1;
  color: var(--color-text);
}

.service-item.is-hidden {
  opacity: 0;
  transform: scale(0.95) translateY(12px);
  pointer-events: none;
}

@keyframes cardPulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

.service-item--selected {
  animation: cardPulse 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-color: var(--color-accent-dark);
}

/* ── Experience Section ─────────────────────────────────── */
.section--experience {
  position: relative;
  padding: 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--color-dark);
  overflow: hidden;
}

.section--experience .section__media {
  position: absolute;
  inset: 0;
}

.section--experience .section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.72;
}

.section--experience::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14, 12, 10, 0.88) 0%, rgba(14, 12, 10, 0.55) 48%, rgba(14, 12, 10, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}

.section--experience .section__inner {
  position: relative;
  z-index: 2;
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  max-width: 45rem;
}

.section--experience .section__eyebrow {
  color: #e5ca9e;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.section--experience .section__title {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.85);
}

.section--experience .section__body {
  color: #f7f3ee;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

.experience__highlights {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.experience-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.15rem;
  background: rgba(20, 17, 14, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #f7f3ee;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.experience-pill:hover {
  background: rgba(30, 25, 20, 0.85);
  border-color: rgba(229, 202, 158, 0.65);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  color: #ffffff;
}

.experience-pill__icon {
  color: #e5ca9e;
  font-size: 0.75rem;
  transition: transform 0.3s var(--ease-out);
}

.experience-pill:hover .experience-pill__icon {
  transform: scale(1.25) rotate(15deg);
}

/* ── Transformation / Closing Visual ─────────────────────── */
.section--transformation {
  padding: 0;
  background-color: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.transformation__banner {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transformation__banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.75);
  transition: transform var(--duration-slower) var(--ease-out);
}

.transformation__banner:hover img {
  transform: scale(1.02);
}

.transformation__overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-3xl) var(--container-pad);
  background: radial-gradient(circle at center, rgba(14, 12, 10, 0.4) 0%, rgba(14, 12, 10, 0.78) 100%);
  text-align: center;
}

/* ── Process Section ────────────────────────────────────── */
.section--process {
  background-color: var(--color-surface);
}

.section--process .section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section--process .section__header .section__title {
  margin-left: auto;
  margin-right: auto;
}

.process__timeline {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(var(--container-pad) + 1rem);
  right: calc(var(--container-pad) + 1rem);
  height: 1px;
  background: var(--color-border);
}

.process__step {
  position: relative;
  padding-top: var(--space-xl);
}

.process__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid rgba(122, 88, 36, 0.35);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-lg);
  background: var(--color-surface);
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 10px rgba(26, 23, 20, 0.05);
}

.process__step-title {
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.process__step-body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

/* ── Contact Section ────────────────────────────────────── */
.section--contact {
  background-color: var(--color-bg);
  position: relative;
  overflow-x: clip;
}

.contact__layout {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  min-width: 0;
  box-sizing: border-box;
}

.contact__info {
  padding-right: var(--space-xl);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.contact__status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.95rem;
  background: rgba(122, 88, 36, 0.08);
  border: 1px solid rgba(122, 88, 36, 0.22);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-xl);
  max-width: 100%;
  box-sizing: border-box;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: #27ae60;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.status-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: rgba(39, 174, 96, 0.45);
  animation: statusPulseAnim 2s infinite ease-out;
}

@keyframes statusPulseAnim {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.contact__closing {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-xl);
}

.contact__subtitle {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 35ch;
}

.contact__actions {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.25rem;
}

.contact__detail-value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}

.contact__detail-value a {
  transition: color var(--duration-fast) var(--ease-out);
}

.contact__detail-value a:hover {
  color: var(--color-accent-dark);
}

/* ── Contact Form ───────────────────────────────────────── */
.contact-form {
  padding: var(--space-2xl);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 10px 36px rgba(26, 23, 20, 0.05);
}

.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.form-field__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38322c;
  margin-bottom: 0.5rem;
  transition: color 0.25s var(--ease-out);
}

.form-field--focused .form-field__label {
  color: var(--color-accent-dark);
}

.treatment-pills {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.treatment-pill {
  background: rgba(26, 23, 20, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  font-family: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.treatment-pill:hover {
  border-color: var(--color-accent-dark);
  color: var(--color-text);
  transform: translateY(-1px);
}

.treatment-pill.active {
  background: var(--color-accent-dark);
  color: #ffffff;
  border-color: var(--color-accent-dark);
  box-shadow: 0 3px 10px rgba(122, 88, 36, 0.3);
}

.form-field__input,
.form-field__select,
.form-field__textarea {
  width: 100%;
  padding: 0.875rem 0;
  font-size: max(16px, var(--text-base));
  font-weight: 500;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(26, 23, 20, 0.22);
  color: var(--color-text);
  transition: border-color 0.25s var(--ease-out);
  appearance: none;
  font-family: inherit;
}

.form-field__input:focus,
.form-field__select:focus,
.form-field__textarea:focus {
  outline: none;
  border-bottom-color: var(--color-accent-dark);
}

.form-field--highlight {
  animation: fieldHighlightAnim 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fieldHighlightAnim {
  0% { transform: scale(1.02); filter: brightness(1.1); }
  100% { transform: scale(1); filter: brightness(1); }
}

.form-field__textarea {
  resize: vertical;
  min-height: 5rem;
}

.form-field__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='%237a5824' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}

.form-field--error .form-field__input,
.form-field--error .form-field__select,
.form-field--error .form-field__textarea {
  border-bottom-color: #c44040;
}

.form-field__error {
  font-size: var(--text-xs);
  font-weight: 500;
  color: #c44040;
  margin-top: 0.375rem;
  display: none;
}

.form-field--error .form-field__error {
  display: block;
}

.contact-form__submit {
  margin-top: var(--space-lg);
  width: 100%;
}

.contact-form__submit.loading {
  opacity: 0.6;
  pointer-events: none;
}

.contact-form__success {
  display: none;
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.contact-form__success.visible {
  display: block;
}

.contact-form__success-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.contact-form__success-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.contact-form__success-body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-dark);
  color: var(--color-dark-text);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(248, 245, 240, 0.12);
}

.site-footer__brand {
  max-width: 20rem;
}

.site-footer__logo {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: var(--space-md);
  display: block;
}

.site-footer__tagline {
  font-size: var(--text-sm);
  color: #c8bfb4;
  line-height: var(--leading-relaxed);
}

.site-footer__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5ca9e;
  margin-bottom: var(--space-md);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.site-footer__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: #dcd4cb;
  transition: color var(--duration-fast) var(--ease-out);
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
}

.site-footer__copyright {
  font-size: var(--text-xs);
  color: #9c9184;
}

.site-footer__social {
  display: flex;
  gap: var(--space-sm);
}

.site-footer__social a {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dcd4cb;
  transition: color var(--duration-fast) var(--ease-out);
}

.site-footer__social a:hover {
  color: #ffffff;
}

/* ── Custom Cursor ──────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  background-color: var(--color-text);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: difference;
  opacity: 0;
  transition: width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              margin 0.3s var(--ease-out),
              opacity 0.3s var(--ease-out),
              background-color 0.3s var(--ease-out);
  will-change: transform;
}

.cursor-dot--hover {
  width: 2.5rem;
  height: 2.5rem;
  margin-left: -1.25rem;
  margin-top: -1.25rem;
  background-color: var(--color-accent);
  mix-blend-mode: normal;
  opacity: 0.3;
}

.cursor-dot--hidden {
  opacity: 0;
}

/* ── Smooth In & Out Scroll Reveal Engine ───────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

[data-reveal="fade-up"] {
  transform: translateY(2.5rem);
  filter: blur(4px);
}

[data-reveal="fade-in"] {
  filter: blur(3px);
}

[data-reveal="slide-left"] {
  transform: translateX(2.5rem);
  filter: blur(3px);
}

[data-reveal="slide-right"] {
  transform: translateX(-2.5rem);
  filter: blur(3px);
}

[data-reveal="scale"] {
  transform: scale(0.94) translateY(1.5rem);
  filter: blur(4px);
}

/* In View State (Smooth In) */
[data-reveal].is-in-view,
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  filter: blur(0);
}

/* Past Top State (Smooth Out When Scrolled Past) */
[data-reveal].is-past-top {
  opacity: 0.18;
  transform: translateY(-2rem) scale(0.98);
  filter: blur(3px);
  pointer-events: none;
}

/* Staggered reveals */
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }

/* ── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero__text {
    filter: none;
  }

  .hero__scroll-hint {
    animation: none;
  }
}

/* ── Responsive ─────────────────────────────────────────── */

/* ── Responsive & Device Adaptations ────────────────────── */

/* Touch Device Ergonomics (Eliminates sticky hover states) */
@media (hover: none) {
  .service-item:hover {
    transform: none !important;
    box-shadow: none;
    background-color: var(--color-surface);
  }

  .service-item:hover .service-item__glow {
    opacity: 0 !important;
  }

  .section--philosophy .section__media:hover img {
    transform: none;
  }

  .transformation__banner:hover img {
    transform: none;
  }
}

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .site-header__nav {
    display: none;
  }

  .site-header__cta {
    display: none;
  }

  .site-header__menu-toggle {
    display: flex;
  }

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

  .section--philosophy .section__content {
    padding-right: 0;
  }

  .section--philosophy .section__media {
    aspect-ratio: 4 / 3;
    max-height: 520px;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .process__timeline::before {
    display: none;
  }

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

  .contact__info {
    padding-right: 0;
  }

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

/* Tablet View Specific (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .section--services .section__header {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }

  .section--services .section__eyebrow {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .section--services .section__title {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .section--services .section__body {
    text-align: center;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
  }

  .services__filter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.65rem;
    margin-top: var(--space-xl);
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    overflow: visible;
    max-width: 100%;
  }

  .services-filter__btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.6rem 1.15rem;
    font-size: var(--text-xs);
  }

  .services-filter__btn.active {
    background: var(--color-text);
    color: #ffffff !important;
    border-color: var(--color-text);
    box-shadow: 0 4px 16px rgba(20, 18, 16, 0.2);
  }
}

/* Standard Mobile Devices Only (<= 767px) */
@media (max-width: 767px) {
  .hero__overlay::before {
    background:
      linear-gradient(to top, rgba(14, 12, 10, 0.94) 0%, rgba(14, 12, 10, 0.68) 48%, rgba(14, 12, 10, 0.28) 82%, transparent 100%),
      radial-gradient(ellipse at 50% 75%, rgba(14, 12, 10, 0.8) 0%, transparent 85%);
  }

  .hero__text {
    bottom: clamp(10%, 7vh + 2vw, 15%);
    left: var(--container-pad);
    right: var(--container-pad);
    max-width: 100%;
  }

  .hero__headline {
    font-size: var(--text-4xl);
  }

  .hero__progress {
    display: none;
  }

  /* Services Section Header on Mobile */
  .section--services .section__header {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-xl);
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }

  .section--services .section__eyebrow {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem;
  }

  .section--services .section__title {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 8vw, 2.6rem);
    margin-bottom: 0.75rem;
  }

  .section--services .section__body {
    text-align: center;
    font-size: var(--text-base);
    line-height: 1.6;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
  }

  /* Services Filter Pills on Mobile — Clean Centered Wrap, Zero Clipping */
  .services__filter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--space-lg);
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    overflow: visible;
    width: 100%;
    max-width: 100%;
  }

  .services-filter__btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 0.95rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .services-filter__btn.active {
    background: var(--color-text);
    color: #ffffff !important;
    border-color: var(--color-text);
    box-shadow: 0 3px 12px rgba(20, 18, 16, 0.2);
  }

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

  .service-item {
    padding: var(--space-lg) var(--space-md);
  }

  .section--experience {
    min-height: 80vh;
    min-height: 80dvh;
  }

  .section--experience::before {
    background: linear-gradient(to top, rgba(14, 12, 10, 0.95) 0%, rgba(14, 12, 10, 0.76) 55%, rgba(14, 12, 10, 0.38) 100%);
  }

  .section--experience .section__inner {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }

  .experience__highlights {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .experience-pill {
    width: 100%;
    justify-content: flex-start;
    padding: 0.65rem 1rem;
  }

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

  .transformation__banner {
    min-height: 60vh;
    min-height: 60dvh;
  }

  .contact__layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .contact__layout > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .contact__info {
    padding-right: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .contact__status {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    font-size: 0.72rem;
    padding: 0.4rem 0.8rem;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
    box-sizing: border-box;
  }

  .contact__status span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact__closing {
    font-size: clamp(2.25rem, 8vw, 3rem);
    margin-bottom: var(--space-md);
    word-break: break-word;
  }

  .contact__subtitle {
    max-width: 100%;
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    word-break: break-word;
  }

  .contact__actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0.75rem;
    margin-bottom: var(--space-xl);
    box-sizing: border-box;
  }

  .contact__actions .btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    justify-content: center;
    text-align: center;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .contact-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 2rem 1.5rem;
  }

  .philosophy__pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .pillar-item__metric {
    font-size: 1.35rem;
  }

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

  .site-footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
  .hero__headline {
    font-size: var(--text-3xl);
    line-height: 1.15;
  }

  .hero__body {
    font-size: var(--text-base);
    line-height: 1.5;
  }

  .hero__cta {
    width: 100%;
    text-align: center;
  }

  .section__title {
    font-size: var(--text-3xl);
  }

  .section--philosophy .section__media {
    aspect-ratio: 1 / 1;
    max-height: 380px;
  }

  .philosophy__badge {
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 0.45rem 0.85rem;
    gap: 0.45rem;
  }

  .philosophy__badge-icon {
    font-size: 0.75rem;
  }

  .philosophy__badge-text strong {
    font-size: 0.65rem;
  }

  .philosophy__badge-text small {
    font-size: 0.6rem;
  }

  .philosophy__pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }

  .pillar-item__metric {
    font-size: 1.25rem;
  }

  .pillar-item__label {
    font-size: 0.625rem;
    letter-spacing: 0.05em;
  }

  .transformation__overlay {
    padding: var(--space-2xl) var(--container-pad);
  }

  .transformation__overlay .btn {
    width: 100%;
  }

  .contact__status {
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
    gap: 0.45rem;
  }

  .contact__closing {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    margin-bottom: var(--space-sm);
  }

  .contact__subtitle {
    font-size: var(--text-sm);
    line-height: 1.55;
    margin-bottom: var(--space-lg);
  }

  .contact-form {
    padding: 1.5rem 1.15rem;
  }

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

  .section--services .section__body {
    font-size: var(--text-sm);
    line-height: 1.55;
    max-width: 22rem;
  }

  .services__filter {
    gap: 0.4rem;
    margin-top: var(--space-md);
  }

  .services-filter__btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.68rem;
  }

  .treatment-pills {
    gap: 0.35rem;
  }

  .treatment-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.6875rem;
  }
}

/* Landscape / Short Viewport Ergonomics (e.g. mobile rotated horizontally) */
@media (max-height: 640px) {
  .hero__text {
    bottom: 5%;
    max-width: 88%;
  }

  .hero__headline {
    font-size: clamp(1.5rem, 5vh, 2.25rem);
    margin-bottom: 0.25rem;
    line-height: 1.1;
  }

  .hero__eyebrow {
    margin-bottom: 0.25rem;
  }

  .hero__body {
    font-size: var(--text-sm);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero__cta {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-xs);
  }

  .hero__progress {
    display: none;
  }
}

/* Large & Ultra-Wide Screens (>= 1600px) */
@media (min-width: 1600px) {
  :root {
    --container-pad: 6rem;
  }
}
