/**
 * RIMISLASH STUDIO — BASE STYLESHEET
 * Editorial luxury aesthetic for mobile-first lash appointments across Nairobi.
 * Strictly adheres to tokens.css: ink, soft black, rose, blush, cream.
 * Zero hardcoded colors, 100% tokenized.
 */

/* ==========================================================================
   1. RESET & NORMALIZE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg-canvas);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  background-color: var(--color-bg-canvas);
  color: var(--color-text-main);
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

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

::selection {
  background-color: var(--color-rose);
  color: var(--color-text-selection);
}

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

/* Accessibility: Skip to Content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1.5rem;
  z-index: 1000;
  background: var(--color-rose);
  color: var(--color-text-on-accent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1.5rem;
}

/* ==========================================================================
   2. TYPOGRAPHY SYSTEM
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  color: var(--color-cream);
  letter-spacing: var(--tracking-tight);
}

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

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

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

p {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-blush);
  margin-bottom: var(--space-3);
}

.lead-text {
  font-size: var(--text-md);
  color: var(--color-cream);
  line-height: var(--leading-relaxed);
}

.script-text {
  font-family: var(--font-script);
  font-size: var(--text-2xl);
  color: var(--color-rose);
  line-height: 1.2;
}

/* ==========================================================================
   3. LAYOUT & CONTAINERS
   ========================================================================== */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  position: relative;
  width: 100%;
}

/* Hero Section */
.section-hero {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  position: relative;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--color-bg-rose-subtle) 0%, transparent 80%);
}

@media (max-width: 859px) {
  .section-hero {
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: center;
  }
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section-header p {
  margin-top: var(--space-3);
  font-size: var(--text-md);
}

/* ==========================================================================
   4. BUTTONS & INTERACTIVE ELEMENTS (WCAG AA COMPLIANT)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.625rem;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.98);
}

/* Primary Rose Button: Ink text on Rose gives 5.00:1 contrast (WCAG AA pass) */
.btn-primary {
  background-color: var(--color-rose);
  color: var(--color-text-on-accent);
  box-shadow: var(--shadow-btn-primary);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: var(--shadow-rose-glow);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  border-color: var(--color-blush);
  color: var(--color-blush);
  background-color: var(--color-bg-blush-subtle);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: var(--text-xs);
  min-height: 38px;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: var(--text-base);
  min-height: 48px;
}

/* ==========================================================================
   5. SHARED HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: var(--z-header);
  background-color: var(--color-bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.site-header.is-scrolled {
  background-color: var(--color-bg-header-scrolled);
  border-bottom-color: var(--color-border-header-scrolled);
  box-shadow: var(--shadow-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-4);
}

/* Brand Wordmark */
.site-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.brand-wordmark {
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 2.3vw, 2.25rem);
  color: var(--color-rose);
  line-height: 1;
  letter-spacing: normal;
  text-shadow: var(--shadow-wordmark);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-wordmark:hover {
  opacity: 0.9;
}

.brand-tagline-micro {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-blush);
  opacity: 0.8;
  margin-top: 2px;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

@media (min-width: 860px) {
  .desktop-nav {
    display: flex;
    align-items: center;
  }
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  letter-spacing: var(--tracking-wide);
  position: relative;
  padding-block: var(--space-1);
}

.nav-link:hover {
  color: var(--color-cream);
}

.nav-link[aria-current="page"] {
  color: var(--color-rose);
  font-weight: var(--weight-semibold);
}

.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-rose);
  border-radius: var(--radius-pill);
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  color: var(--color-cream);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.nav-toggle:hover {
  border-color: var(--color-rose);
  background-color: var(--color-bg-rose-subtle);
}

.nav-toggle-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-cream);
  border-radius: var(--radius-xs);
  transition: transform var(--transition-base), opacity var(--transition-base), background-color var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background-color: var(--color-rose);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background-color: var(--color-rose);
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }
}

/* ==========================================================================
   6. ACCESSIBLE MOBILE DRAWER NAV
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--color-bg-backdrop);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.drawer-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 380px);
  background-color: var(--color-soft-black);
  border-left: 1px solid var(--color-border-strong);
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-deliberate), visibility var(--transition-deliberate);
  box-shadow: var(--shadow-drawer);
  overflow-y: auto;
}

.nav-drawer.is-active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-cream);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.drawer-close:hover {
  border-color: var(--color-rose);
  color: var(--color-rose);
}

.drawer-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  flex: 1;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.drawer-nav-link {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-cream);
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border-subtle);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.drawer-nav-link:hover {
  color: var(--color-rose);
  padding-left: var(--space-2);
}

.drawer-nav-link[aria-current="page"] {
  color: var(--color-rose);
  border-bottom-color: var(--color-rose);
}

.drawer-meta {
  margin-top: auto;
  padding-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
}

.drawer-meta-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-blush);
}

.drawer-meta-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.45;
}

.drawer-contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.drawer-contact-link {
  font-size: var(--text-sm);
  color: var(--color-cream);
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: var(--space-2);
}

.drawer-contact-link:hover {
  color: var(--color-rose);
}

/* ==========================================================================
   7. PHASE 2: EDITORIAL SERVICES LIST (NOT A CARD GRID)
   ========================================================================== */
.service-editorial-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border-strong);
}

.service-editorial-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

@media (min-width: 768px) {
  .service-editorial-item {
    grid-template-columns: 220px 1fr auto;
    align-items: baseline;
    gap: var(--space-6);
    padding-block: var(--space-5);
  }
}

.service-editorial-item:hover {
  border-bottom-color: var(--color-border-accent);
}

.service-item-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-cream);
  letter-spacing: var(--tracking-tight);
}

.service-item-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

.service-item-price {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-blush);
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
}

/* ==========================================================================
   8. PHASE 2: "SHE COMES TO YOU" 3-STEP BAND
   ========================================================================== */
.band-steps {
  background-color: var(--color-soft-black);
  border-block: 1px solid var(--color-border-subtle);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

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

.step-card {
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-rose);
  line-height: 1;
  margin-bottom: var(--space-3);
  display: block;
}

.step-title {
  font-size: var(--text-lg);
  color: var(--color-cream);
  margin-bottom: var(--space-2);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

/* ==========================================================================
   9. PHASE 2: IMAGE STRIP WITH INTENTIONAL CROPS
   ========================================================================== */
.image-strip-section {
  padding-block: clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
}

.image-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 860px) {
  .image-strip-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }
}

.image-strip-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-soft-black);
  aspect-ratio: 4 / 5;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.image-strip-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-card);
}

.image-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.image-strip-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3);
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, transparent 100%);
  font-size: var(--text-xs);
  color: var(--color-cream);
  letter-spacing: var(--tracking-wide);
}

/* ==========================================================================
   10. PHASE 2: WHY RIMISLASH (CONCRETE, NO FLUFF)
   ========================================================================== */
.why-section {
  background-color: var(--color-soft-black);
  border-top: 1px solid var(--color-border-subtle);
  padding-block: clamp(4rem, 7vw, 6rem);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

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

.why-card {
  background-color: var(--color-ink);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3vw, 2.25rem);
}

.why-card-tag {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-rose);
  margin-bottom: var(--space-2);
  display: block;
}

.why-card-title {
  font-size: var(--text-lg);
  color: var(--color-cream);
  margin-bottom: var(--space-2);
}

.why-card-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   11. PHASE 2: TESTIMONIAL BLOCK (EDITORIAL)
   ========================================================================== */
.testimonial-section {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  text-align: center;
}

.testimonial-box {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  background: radial-gradient(circle at center, var(--color-bg-surface-subtle) 0%, var(--color-bg-surface) 100%);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-style: italic;
  color: var(--color-cream);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

.testimonial-author {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-blush);
  font-weight: var(--weight-semibold);
}

/* ==========================================================================
   12. PHASE 2: FINAL CTA BAND & STICKY MOBILE CTA
   ========================================================================== */
.final-cta-band {
  background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--color-bg-rose-subtle) 0%, var(--color-bg-canvas) 85%);
  border-top: 1px solid var(--color-border-subtle);
  padding-block: clamp(4rem, 7vw, 6.5rem);
  text-align: center;
}

/* Mobile Sticky Bottom CTA Bar (Mobile only, hidden on desktop >= 860px) */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-header) - 1);
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border-strong);
  padding: 0.75rem 1.25rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
}

.mobile-sticky-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-cream);
  line-height: 1.1;
}

.mobile-sticky-sub {
  font-size: 0.68rem;
  color: var(--color-blush);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.mobile-sticky-btn {
  flex-shrink: 0;
}

@media (min-width: 860px) {
  .mobile-sticky-cta {
    display: none;
  }
}

/* Hero media layout & responsive flow */
.hero-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-text-block h1 {
  margin-bottom: var(--space-3);
}

.hero-text-block .lead-text {
  margin-bottom: 0;
}

.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 10;
  background-color: var(--color-soft-black);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.hero-actions-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-cta-group {
  display: flex;
  flex-direction: row;
  gap: var(--space-2);
}

@media (max-width: 480px) {
  .hero-cta-group .btn {
    flex: 1;
    padding-inline: 0.75rem;
    font-size: var(--text-sm);
    justify-content: center;
    white-space: nowrap;
  }
}

.hero-areas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.hero-areas-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

@media (min-width: 768px) {
  .hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "text media"
      "actions media";
    gap: var(--space-4) var(--space-8);
    align-items: center;
  }

  .hero-text-block {
    grid-area: text;
    align-self: end;
  }

  .hero-media-wrapper {
    grid-area: media;
    aspect-ratio: 4 / 5;
    align-self: center;
  }

  .hero-actions-block {
    grid-area: actions;
    align-self: start;
    padding-top: var(--space-2);
  }

  .hero-cta-group {
    gap: var(--space-3);
  }
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6) var(--space-12);
  }
}

/* ==========================================================================
   13. SHARED FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-soft-black);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: calc(var(--space-8) + 4rem); /* Extra bottom padding for mobile sticky CTA */
  margin-top: auto;
  width: 100%;
}

@media (min-width: 860px) {
  .site-footer {
    padding-bottom: var(--space-8);
  }
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-10);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-brand .brand-wordmark {
  font-size: 2.3rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-cream);
}

.footer-notice {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  max-width: 380px;
}

.footer-column-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-blush);
  margin-bottom: var(--space-4);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-nav-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

.footer-nav-link:hover {
  color: var(--color-rose);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.footer-contact-value {
  font-size: var(--text-sm);
  color: var(--color-cream);
  font-weight: var(--weight-medium);
}

.footer-contact-value:hover {
  color: var(--color-rose);
}

.footer-service-box {
  background-color: var(--color-ink);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  margin-top: var(--space-3);
}

.footer-service-box p {
  font-size: var(--text-xs);
  color: var(--color-cream);
  line-height: 1.5;
}

.footer-service-box strong {
  color: var(--color-blush);
  font-weight: var(--weight-semibold);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom a {
  color: var(--color-text-muted);
}

.footer-bottom a:hover {
  color: var(--color-rose);
}

/* Generic utilities */
.pill-tag {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  padding: 0.25rem 0.75rem;
  background: var(--color-bg-pill);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  color: var(--color-cream);
}

.card-luxury {
  background-color: var(--color-soft-black);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card-luxury:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.card-callout {
  background: radial-gradient(circle at center, var(--color-bg-surface-subtle) 0%, var(--color-bg-surface) 100%);
  border: 1px solid var(--color-border-strong);
  text-align: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.house-calls-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-bg-rose-subtle);
  border: 1px solid var(--color-border-rose-subtle);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--color-blush);
  text-transform: uppercase;
}

.house-calls-badge .dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-rose);
  border-radius: 50%;
  display: inline-block;
}

/* ==========================================================================
   RESPONSIVE GRID UTILITIES
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

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

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

/* ==========================================================================
   GALLERY LOOKBOOK — MASONRY-INSPIRED GRID
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-soft-black);
  border: 1px solid var(--color-border-subtle);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-card);
}

.gallery-item-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--transition-deliberate);
}

.gallery-item:hover .gallery-item-img {
  transform: scale(1.03);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4) var(--space-3);
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.gallery-item-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--color-cream);
  line-height: var(--leading-tight);
}

.gallery-item-tag {
  font-size: var(--text-xs);
  color: var(--color-blush);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* Gallery featured (spans 2 columns on desktop) */
@media (min-width: 960px) {
  .gallery-item--featured {
    grid-column: span 2;
  }

  .gallery-item--featured .gallery-item-img {
    aspect-ratio: 16 / 9;
    object-position: center;
  }
}

/* Gallery filter pills */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: var(--color-cream);
  background: var(--color-bg-pill);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
  min-height: 36px;
}

.gallery-filter-btn:hover {
  border-color: var(--color-blush);
  color: var(--color-blush);
}

.gallery-filter-btn.is-active {
  border-color: var(--color-rose);
  color: var(--color-rose);
  background-color: var(--color-bg-rose-subtle);
}

/* ==========================================================================
   ABOUT PAGE — PORTRAIT & BIO LAYOUT
   ========================================================================== */
.about-portrait-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 4;
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ==========================================================================
   CONTACT PAGE — INFO CARDS
   ========================================================================== */
.contact-info-box {
  background: var(--color-ink);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
}

.contact-info-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  display: block;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: var(--text-lg);
  color: var(--color-cream);
  font-weight: var(--weight-semibold);
}

.contact-info-value--accent {
  color: var(--color-rose);
}

/* ==========================================================================
   PLACEHOLDER BLOCKS (Phase-gated stubs)
   ========================================================================== */
.placeholder-block {
  background-color: var(--color-soft-black);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8);
  gap: var(--space-2);
  min-height: 200px;
}

.placeholder-block.aspect-portrait {
  aspect-ratio: 3 / 4;
}

.placeholder-badge {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-rose);
  background-color: var(--color-bg-rose-badge);
  border: 1px solid var(--color-border-rose-badge);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.placeholder-label {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--color-cream);
}

.placeholder-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 280px;
}

/* ==========================================================================
   TEXT UTILITIES
   ========================================================================== */
.text-center {
  text-align: center;
}

/* ==========================================================================
   PHASE 3: EDITORIAL SERVICE MENU LIST
   ========================================================================== */
.service-menu-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 860px;
  margin-inline: auto;
}

.service-menu-item {
  background-color: var(--color-soft-black);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.service-menu-item:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-card);
}

.service-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.service-menu-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-cream);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
}

.service-menu-price {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--color-rose);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
}

.service-menu-desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.service-menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-subtle);
}

.service-menu-duration {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

/* ==========================================================================
   PHASE 3: ACCORDION COMPONENT (<details> & <summary>)
   ========================================================================== */
.accordion-wrapper {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.accordion-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-group-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-cream);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.accordion-group-title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 2px;
  background-color: var(--color-rose);
}

.accordion-item {
  background-color: var(--color-soft-black);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.accordion-item[open] {
  border-color: var(--color-border-accent);
}

.accordion-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-base);
  color: var(--color-cream);
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: color var(--transition-fast);
}

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

.accordion-summary:hover {
  color: var(--color-rose);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blush);
  transition: transform var(--transition-base);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: 1;
}

.accordion-item[open] .accordion-icon {
  transform: rotate(45deg);
  color: var(--color-rose);
}

.accordion-body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-4);
}

.accordion-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-body li {
  position: relative;
  padding-left: 1.5rem;
}

.accordion-body li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--color-rose);
  font-weight: bold;
}

/* ==========================================================================
   PHASE 3: LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-modal);
}

.lightbox-caption {
  margin-top: var(--space-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-cream);
}

.lightbox-tag {
  font-size: var(--text-xs);
  color: var(--color-blush);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.lightbox-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  background: var(--color-bg-pill);
  border: 1px solid var(--color-border-strong);
  color: var(--color-cream);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.lightbox-close-btn:hover {
  border-color: var(--color-rose);
  color: var(--color-rose);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-bg-pill);
  border: 1px solid var(--color-border-strong);
  color: var(--color-cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  border-color: var(--color-rose);
  color: var(--color-rose);
}

.lightbox-prev {
  left: -56px;
}

.lightbox-next {
  right: -56px;
}

@media (max-width: 680px) {
  .lightbox-prev {
    left: 8px;
    top: auto;
    bottom: -52px;
    transform: none;
  }
  .lightbox-next {
    right: 8px;
    top: auto;
    bottom: -52px;
    transform: none;
  }
}

/* ==========================================================================
   PHASE 3: BOOKING HELPER COMPONENT (CONTACT PAGE)
   ========================================================================== */
.booking-helper-card {
  background-color: var(--color-soft-black);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  max-width: 720px;
  margin-inline: auto;
}

.booking-helper-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.booking-helper-header h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

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

@media (min-width: 600px) {
  .booking-helper-form {
    grid-template-columns: 1fr 1fr;
  }
  .booking-helper-form .form-group-full {
    grid-column: span 2;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-xs);
  color: var(--color-cream);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.form-select,
.form-input {
  background-color: var(--color-ink);
  color: var(--color-cream);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: var(--color-rose);
  box-shadow: 0 0 0 2px var(--color-bg-rose-subtle);
}

.form-select option {
  background-color: var(--color-ink);
  color: var(--color-cream);
}

.booking-helper-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  margin-top: var(--space-3);
}

/* ==========================================================================
   PHASE 4: SIGNATURE LASH-STROKE & MOTION STYLES
   ========================================================================== */
.signature-lash-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-8) 0;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  pointer-events: none;
}

.lash-stroke-svg {
  width: 100%;
  height: auto;
  max-height: 50px;
  overflow: visible;
}

.lash-stroke-path {
  fill: none;
  stroke: var(--color-rose);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(224, 69, 123, 0.45));
}

/* Image reveal container */
.reveal-mask {
  overflow: hidden;
  position: relative;
}

/* Full reduced motion support */
@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;
  }
}
