/* ============================================
   Hair Empire Studio — Style Sheet
   Aesthetic: Luxury Refined Minimalism
   ============================================ */

:root {
  /* Colors */
  --brown: #5F4637;
  --brown-hover: #75594A;
  --brown-light: rgba(107, 66, 38, 0.08);
  --pink: #F4D5C9;
  --pink-light: #F9E5DB;
  --off-white: #F4F0EB;
  --white: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-muted: #7A6E66;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', sans-serif;

  /* Spacing (8px base) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Z-index */
  --z-base: 0;
  --z-nav-dropdown: 100;
  --z-nav: 200;
}

/* ---- Font Face ---- */

@font-face {
  font-family: 'Le Jour Serif';
  src: url('../le-jour-serif/Le Jour Serif.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Adelicia';
  src: url('../adelicia/Adelicia.otf') format('opentype'),
       url('../adelicia/AdeliciaRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset & Base ---- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  line-height: 1.6;
}

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

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

/* ---- Accessibility ---- */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--brown);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: 14px;
  text-decoration: none;
  z-index: 9999;
  border-radius: 2px;
}

.skip-link:focus {
  top: var(--space-sm);
}

/* Focus visible */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

/* ---- Keyframes ---- */

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleReveal {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---- Navbar ---- */

.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background-color: var(--white);
  border-bottom: 1px solid var(--brown-light);
  transition: background-color var(--duration-normal) var(--ease-out),
              padding var(--duration-normal) var(--ease-out),
              transform 900ms var(--ease-out);
}

.navbar.navbar-hidden {
  transform: translateY(-100%);
}

.navbar.navbar-hidden:has(.nav-links.active) {
  transform: translateY(calc(-100% - 350px));
}

.navbar:has(.nav-links.active) {
  border-bottom: none;
}

#main {
  padding-top: 0;
}

#main:not(:has(.hero)) {
  margin-top: -20px;
}

.navbar.scrolled {
  background-color: var(--white);
}

.navbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px clamp(24px, 5vw, 60px);
}

.logo {
  grid-column: 2;
  justify-self: center;
}

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

.logo img {
  height: clamp(38.7px, 4.83vw, 55.2px);
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0 var(--space-xl);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  clip-path: inset(0 -24px -24px -24px);
  border-bottom: 1px solid var(--brown-light);
  z-index: var(--z-nav-dropdown);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 400ms var(--ease-out),
              opacity 300ms var(--ease-out),
              padding 400ms var(--ease-out);
}

.nav-links.active {
  max-height: 350px;
  opacity: 1;
  padding: var(--space-lg) var(--space-xl);
}

/* Desktop: inline nav split left/right around logo */
@media (min-width: 1025px) {
  .hamburger {
    display: none !important;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    max-height: none;
    opacity: 1;
    overflow: visible;
    padding: 0;
    box-shadow: none;
    clip-path: none;
    border-bottom: none;
    background: none;
    gap: 40px;
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: auto;
  }

  .nav-left + .nav-right {
    margin-left: auto;
  }

  .logo {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    z-index: 1;
  }
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-fast) var(--ease-out);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn-book-nav {
  background: none;
  padding: 0;
  border: none;
  border-radius: 0;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--brown);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---- Hero ---- */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: calc(100dvh - 80px);
  padding: 0 clamp(24px, 5vw, 80px) 0;
  max-width: 1440px;
  margin: -20px auto 0;
  overflow: visible;
  position: relative;
}

.hero::before {
  display: none;
}

.hero-left {
  padding-right: var(--space-2xl);
  padding-left: var(--space-2xl);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-evenly;
  position: relative;
  order: 2;
}

/* ---- Hero Tagline ---- */
@keyframes quoteFade {
  from { opacity: 0; }
  to { opacity: 0.58; }
}

@keyframes wordReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wordRevealAccent {
  from {
    opacity: 0;
    transform: scaleX(1.015) scaleY(1.06) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scaleX(1.015) scaleY(1.06) translateY(0);
  }
}

.hero-tagline {
  position: absolute;
  top: calc(35.9% + 79px);
  right: 57.5px;
  left: auto;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  max-width: 500px;
  overflow: visible;
}

.hero-tagline::before {
  content: '\201C';
  position: absolute;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(435.2px, 48.36vw, 628.7px);
  color: var(--white);
  line-height: 1;
  top: calc(-50% - 140px);
  left: calc(-12% - 45px);
  right: auto;
  z-index: 0;
  pointer-events: none;
  animation: quoteFade 800ms 300ms var(--ease-out) both;
}

.hero-tagline::after {
  content: '\201D';
  position: absolute;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(435.2px, 48.36vw, 628.7px);
  color: var(--white);
  line-height: 1;
  bottom: calc(-150% - 140px);
  right: calc(-12% - 45px);
  left: auto;
  z-index: 0;
  pointer-events: none;
  animation: quoteFade 800ms 300ms var(--ease-out) both;
}

.hero-tagline > * {
  position: relative;
  z-index: 1;
  animation: wordReveal 700ms var(--ease-out) both;
}

.hero-tagline-where {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.4;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-left: 35px;
  animation-delay: 100ms;
}

.hero-tagline-accent {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(61.3px, 8.1vw, 108.6px);
  font-weight: 500;
  font-style: italic;
  color: var(--text-dark);
  line-height: 0.9;
  margin: -4px 0 10px;
  position: relative;
  z-index: 1;
  transform: scaleX(1.015) scaleY(1.06);
  text-shadow: none;
  animation: wordRevealAccent 700ms var(--ease-out) 220ms both;
}

.hero-tagline-starts {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.4;
  align-self: flex-end;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-right: 20px;
  margin-top: 18px;
  animation-delay: 340ms;
}

.hero-tagline-chair {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.4;
  align-self: flex-end;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-right: 20px;
  animation-delay: 440ms;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  position: absolute;
  top: calc(30.6% + 262px);
  right: 62.5px;
  left: auto;
  width: 500px;
  justify-content: center;
  z-index: 2;
  animation: wordReveal 700ms var(--ease-out) 450ms both;
}

.hero-cta {
  position: static;
  top: auto;
  left: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 36px;
  background-color: var(--brown);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid var(--brown);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out);
}

.btn-primary:hover {
  background-color: var(--brown-hover);
  border-color: var(--brown-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 66, 38, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 52px;
  background-color: var(--off-white);
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1.5px solid var(--text-dark);
  border-radius: 2px;
  transition: color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 66, 38, 0.15);
}

/* Hero right — arch & decoration */
.hero-right {
  display: flex;
  justify-content: center;
  transform: translateX(-82px) translateY(2%);
  align-items: flex-end;
  position: relative;
  padding-top: var(--space-2xl);
  padding-bottom: 20px;
  order: 1;
}

.hero-decoration {
  position: absolute;
  width: clamp(355.35px, 44.18vw, 585.84px);
  bottom: 20px;
  top: 8%;
  left: 50%;
  right: auto;
  transform: translateX(-40%);
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  background: var(--pink-light);
  opacity: 0.4;
  z-index: 0;
}

.arch-container {
  position: relative;
  z-index: 1;
  width: clamp(307.1px, 37.93vw, 505.83px);
  aspect-ratio: 9 / 11;
  background-color: var(--pink);
  animation: cardReveal 500ms var(--ease-out) 100ms both;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  overflow: visible;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 6px 40px rgba(107, 66, 38, 0.04),
              0 4px 80px rgba(244, 213, 201, 0.12),
              0 0 120px rgba(244, 213, 201, 0.08);
  margin-top: 5.5px;
}

.arch-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(234, 217, 203, 0.075);
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
}

.arch-container img {
  width: 87%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.hero-portrait {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 50%;
  width: clamp(252px, 31.5vw, 433px);
  max-width: none;
  height: auto;
  pointer-events: none;
  animation: portraitReveal 700ms 200ms var(--ease-out) both;
}

@keyframes portraitReveal {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.arch-img-left {
  width: 74.5% !important;
  height: auto !important;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(calc(-50% + 20px));
  z-index: 1;
}

.arch-img-right {
  width: 63.5% !important;
  transform: translateX(-80px);
}

/* ---- Section Divider ---- */

.section-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}

.section-divider svg {
  width: 100%;
  height: clamp(60px, 8vw, 120px);
  display: block;
}

/* ---- Reviews Carousel ---- */

.reviews {
  padding: var(--space-3xl) clamp(24px, 5vw, 80px) var(--space-4xl);
  max-width: 100%;
  background: var(--white);
}

.reviews-inner {
  max-width: 1440px;
  margin: 0 auto;
}

/* ---- Heading accent word ---- */
.heading-accent {
  color: var(--brown);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05em;
}

.reviews-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  font-style: normal;
  color: var(--text-dark);
  text-align: center;
  text-transform: none;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: var(--space-3xl);
  padding-left: clamp(40px, 10vw, 120px);
  padding-right: clamp(40px, 10vw, 120px);
  position: relative;
  padding-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reviews.visible .reviews-heading {
  opacity: 1;
  transform: translateY(0);
}

.reviews-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brown);
  transition: width 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 200ms;
}

.reviews.visible .reviews-heading::after {
  width: 100px;
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out) 90ms, transform 600ms var(--ease-out) 90ms;
}

.reviews.visible .reviews-carousel {
  opacity: 1;
  transform: translateY(0);
}

.reviews-track-wrapper {
  overflow: hidden;
  flex: 1;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 400ms var(--ease-out);
}

.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--white);
  border-radius: 12px;
  padding: var(--space-xl);
  box-shadow: 0 4px 20px rgba(107, 66, 38, 0.06);
  transition: box-shadow var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.review-card:hover {
  box-shadow: 0 8px 32px rgba(107, 66, 38, 0.12);
  transform: translateY(-2px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.reviewer-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

.reviewer-date {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.google-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.review-stars {
  color: #F4B400;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.review-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--brown);
  background: var(--white);
  color: var(--brown);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.carousel-btn:hover {
  background-color: var(--brown);
  color: var(--white);
}

/* ---- Page Content (sub-pages) ---- */

.page-content {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 40px;
  text-align: center;
}

.page-content h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 20px;
}

.page-content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.back-home {
  display: inline-block;
  color: var(--brown);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--brown);
  padding-bottom: 2px;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.back-home:hover {
  opacity: 0.7;
}

/* ---- Our Salon ---- */

.our-salon {
  padding: var(--space-2xl) clamp(24px, 5vw, 80px) var(--space-4xl);
  max-width: 100%;
  background: var(--off-white);
}

.our-salon-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.our-salon-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  font-style: normal;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: var(--space-3xl);
  position: relative;
  padding-bottom: var(--space-xl);
}

.our-salon-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brown);
  transition: width 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 200ms;
}

.our-salon.visible .our-salon-heading::after {
  width: 100px;
}

.our-salon-video {
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--brown-light);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  object-fit: contain;
  outline: none;
}

.our-salon-video::-webkit-media-controls-volume-slider,
.our-salon-video::-webkit-media-controls-mute-button {
  display: none !important;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--white);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--brown-light);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px clamp(24px, 5vw, 80px) 64px;
  display: grid;
  grid-template-columns: auto auto auto auto;
  align-items: start;
  gap: var(--space-2xl);
  justify-content: center;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-location-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--brown);
  margin-bottom: 4px;
}

.footer-address {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
}

.footer-phone {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-phone:hover {
  color: var(--brown);
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-hours-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--brown);
  margin-bottom: 4px;
}

.footer-hours p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-self: center;
}

.footer-logo {
  width: 110px;
  height: auto;
  border-radius: 50%;
  margin-left: 12.75px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
  margin-left: -36px;
  align-self: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pink);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 66, 38, 0.15);
}

/* ---- Services Page ---- */

.services-hero {
  background: var(--off-white);
  padding: var(--space-4xl) clamp(24px, 5vw, 80px) var(--space-2xl);
  text-align: center;
}

.services-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  font-style: normal;
  color: var(--text-dark);
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: 0;
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-xl);
}

.services-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brown);
  transition: width 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 200ms;
}

.services-hero.visible .services-heading::after {
  width: 100px;
}

.services-grid-section {
  background: var(--off-white);
  padding: var(--space-xl) clamp(24px, 5vw, 80px) var(--space-4xl);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  position: relative;
  display: block;
  height: 220px;
  background: var(--pink);
  border-radius: 0;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  animation: cardReveal 500ms var(--ease-out) both;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.service-card:nth-child(1) { animation-delay:   0ms; }
.service-card:nth-child(2) { animation-delay:  42ms; }
.service-card:nth-child(2) .service-card-img { bottom: -14px; }
.service-card:nth-child(3) { animation-delay:  84ms; }
.service-card:nth-child(3) .service-card-img { bottom: -26px; }
.service-card:nth-child(4) { animation-delay: 126ms; }
.service-card:nth-child(4) .service-card-img { bottom: -19px; right: 3px; }
.service-card:nth-child(5) .service-card-img { height: 99.28%; }
.service-card:nth-child(5) {
  animation-delay: 168ms;
  grid-column: 1 / -1;
  max-width: 540px;
  justify-self: center;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(107, 66, 38, 0.18);
}

.service-card:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(234, 217, 203, 0.075);
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
}

.service-card-text {
  position: absolute;
  top: 0;
  left: 0;
  padding: var(--space-xl);
  z-index: 2;
}

.service-card-name {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  font-style: normal;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 6px;
}

.service-card-cta {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brown);
}

.service-card-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 104.5%;
  width: auto;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

/* ---- Service Detail Pages (stubs) ---- */

.service-detail-section {
  background: var(--off-white);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-4xl) clamp(24px, 5vw, 80px) var(--space-2xl);
}

.service-detail-inner {
  text-align: center;
  max-width: 600px;
}

.service-detail-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  font-style: normal;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: var(--space-2xl);
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-xl);
}

.service-detail-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brown);
  transition: width 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 200ms;
}

.service-detail-section.visible .service-detail-heading::after {
  width: 100px;
}

.service-detail-coming {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.service-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brown);
  text-decoration: none;
  transition: opacity 200ms var(--ease-out);
}

.service-detail-back:hover {
  opacity: 0.7;
}

/* ---- Service Detail Page (Full Layout) ---- */

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: var(--space-3xl);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.service-detail-arch {
  display: flex;
  justify-content: center;
  position: relative;
  transform: translateX(-82px) translateY(2%);
  margin-top: -39px;
}

.sd-arch-decoration {
  position: absolute;
  width: clamp(355.35px, 44.18vw, 585.84px);
  bottom: 0;
  top: 1%;
  left: 50%;
  transform: translateX(-40%);
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  background: var(--pink-light);
  opacity: 0.4;
  z-index: 0;
}

.sd-arch-container {
  position: relative;
  z-index: 1;
  width: clamp(307.1px, 37.93vw, 505.83px);
  aspect-ratio: 9 / 11;
  background-color: var(--pink);
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 4px 32px rgba(107, 66, 38, 0.12),
              0 0 40px rgba(244, 213, 201, 0.3);
  animation: cardReveal 500ms var(--ease-out) 100ms both;
}

.sd-arch-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(234, 217, 203, 0.075);
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
}

.sd-arch-container img {
  width: 90.48%;
  height: auto;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  animation: fadeSlideUp 500ms var(--ease-out) both;
  padding-left: 45px;
}

.service-detail-grid .service-detail-heading {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.service-detail-grid .service-detail-heading::after {
  left: 50%;
  transform: translateX(-50%);
}

.service-detail-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 400px;
}

.service-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--brown);
  border-radius: 2px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brown);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.service-option-btn:hover {
  background-color: var(--brown-light);
  transform: translateY(-1px);
}

.service-option-btn:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

.service-option-chevron {
  width: 16px;
  height: 16px;
  stroke: var(--brown);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--duration-fast) var(--ease-out);
}

.service-option-btn.is-open .service-option-chevron {
  transform: rotate(180deg);
}

/* ---- Service Dropdown Panel ---- */

.service-option-item {
  width: 100%;
}

.service-option-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out),
              padding var(--duration-normal) var(--ease-out);
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  border-left: 1.5px solid var(--brown);
  border-right: 1.5px solid var(--brown);
  border-bottom: 1.5px solid transparent;
  margin-top: -1.5px;
}

.service-option-item.is-open .service-option-dropdown {
  max-height: 300px;
  padding: 16px 20px;
  border-bottom-color: var(--brown);
}

.service-option-dropdown p {
  margin-bottom: var(--space-sm);
}

.service-option-dropdown p:last-child {
  margin-bottom: 0;
}

.service-option-price {
  font-weight: 600;
  color: var(--brown);
}

.service-detail-cta {
  margin-top: var(--space-md);
}


/* ---- About Page ---- */

.about-body {
  text-align: left;
  max-width: 400px;
}

.about-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  font-style: normal;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.about-role {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brown);
  margin-bottom: var(--space-lg);
}

.about-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.about-text:last-of-type {
  margin-bottom: 0;
}

/* ---- Responsive (Mobile-First overrides) ---- */

@media (max-width: 1024px) {
  .logo img {
    height: auto !important;
    width: clamp(230px, 55vw, 290px) !important;
    max-width: none;
  }

  .navbar-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 16px clamp(20px, 4vw, 40px);
    gap: 0;
  }

  .logo {
    position: static;
    transform: none;
  }

  .nav-links {
    flex-direction: column;
    gap: var(--space-lg);
    padding: 0 var(--space-lg);
  }

  .nav-links.active {
    padding: var(--space-xl) var(--space-lg);
  }

  .hamburger {
    order: 1;
    margin-left: auto;
    grid-column: auto;
    justify-self: auto;
  }
}

.mobile-break {
  display: none;
}

@media (max-width: 768px) {
  #main:not(:has(.hero)) {
    margin-top: 0;
  }

  .mobile-break {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 31px clamp(20px, 5vw, 40px) 0;
    min-height: auto;
    margin-top: 41px;
  }

  .hero-left {
    display: contents;
  }

  .hero-buttons {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    align-self: center;
    justify-content: center;
    margin-top: 0;
    order: 2;
  }

  .hero-tagline {
    position: absolute;
    top: calc(42px + 3.375%);
    left: calc(48% + 4px);
    right: auto;
    transform: translateX(-50%) scale(1.125);
    animation: none;
    max-width: 85%;
  }

  .hero-tagline::before {
    font-size: clamp(333px, 85.8vw, 524.3px);
    left: calc(-15% + 4px);
    right: auto;
    top: calc(-35% - 97px);
  }

  .hero-tagline::after {
    font-size: clamp(333px, 85.8vw, 524.3px);
    right: calc(-15% + 4px);
    left: auto;
    bottom: calc(-115% - 97px);
  }

  .hero-tagline-where {
    margin-left: 20px;
    margin-bottom: 8px;
  }

  .hero-tagline-where,
  .hero-tagline-starts,
  .hero-tagline-chair {
    font-size: clamp(10.5px, 1.22vw, 13.9px);
  }

  .hero-tagline-accent {
    font-size: clamp(46.6px, 13.13vw, 66.1px);
  }

  .hero-buttons {
    justify-content: center;
    margin-top: 4%;
    margin-bottom: var(--space-2xl);
    transform: none;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    padding-left: 48px;
    padding-right: 48px;
  }

  .hero-right {
    justify-content: center;
    transform: none;
    padding-top: 250px;
    order: 1;
  }


  .hero-portrait {
    width: clamp(246px, 67.3vw, 381px);
    left: 50%;
    bottom: 20px;
    animation-name: portraitRevealMobile;
  }

  @keyframes portraitRevealMobile {
    from {
      opacity: 0;
      transform: translateX(-51.5%) translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateX(-51.5%) translateY(0);
    }
  }

  .hero-decoration {
    width: clamp(300px, 75vw, 420px);
    top: calc(250px + 5% - 20px);
    bottom: 20px;
    transform: translateX(-40%);
  }

  .arch-container {
    width: clamp(440.23px, 110.07vw, 586.97px);
    margin-top: -42px;
  }

  .arch-container img {
    width: 90%;
  }

  .arch-img-left {
    width: 76% !important;
    margin-left: 0 !important;
  }

  .arch-img-right {
    width: 69.3% !important;
    transform: translateX(-60px) !important;
  }

  .review-card {
    flex: 0 0 100%;
  }

  .reviews {
    padding: var(--space-3xl) clamp(20px, 5vw, 40px);
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .reviews-carousel {
    gap: var(--space-sm);
    transition: opacity 600ms var(--ease-out) 140ms, transform 600ms var(--ease-out) 140ms;
  }

  .site-footer {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
    padding: var(--space-3xl) 24px;
  }

  .footer-info {
    align-items: center;
  }

  .footer-hours {
    align-items: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
    margin-left: 0;
    transform: none;
  }

  .reviews.visible .reviews-heading::after,
  .our-salon.visible .our-salon-heading::after,
  .services-hero.visible .services-heading::after,
  .service-detail-section.visible .service-detail-heading::after {
    width: 90px;
  }

  .services-hero {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-lg);
  }

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

  .service-card {
    height: 160px;
  }

  .service-card:nth-child(2) .service-card-img {
    right: calc(5% - 11px) !important;
  }

  .service-card:nth-child(3) .service-card-img {
    bottom: -20px;
    right: calc(7.5% - 3px) !important;
  }
  .service-card:nth-child(4) .service-card-name {
    width: 200px;
  }
  .service-card:nth-child(4) .service-card-img {
    height: 106.23%;
    bottom: -23px;
    right: 8px;
  }

  .service-card:nth-child(5) .service-card-img {
    height: 98%;
    right: 8px;
  }

  .service-card:nth-child(5) .service-card-text {
    max-width: 55%;
  }

  .service-card:nth-child(5) {
    grid-column: auto;
    max-width: 100%;
    justify-self: auto;
  }

  .service-card-name {
    font-size: 22px;
  }

  .service-card-cta {
    font-size: 11px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 38px;
  }

  .service-detail-content {
    align-items: center;
    order: 1;
    padding-left: 0;
  }

  .about-body {
    text-align: center;
    max-width: 100%;
  }

  .service-detail-arch {
    order: 2;
    transform: none;
    margin-top: 0;
  }

  .service-detail-grid .service-detail-heading {
    text-align: center;
  }

  .service-detail-grid .service-detail-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .sd-arch-container {
    width: clamp(440.23px, 110.07vw, 586.97px);
  }

  .sd-arch-container img {
    width: 93.6%;
  }

  .sd-arch-decoration {
    width: clamp(300px, 75vw, 420px);
    top: 5%;
  }

  .service-detail-options {
    max-width: 100%;
  }

  .service-detail-section {
    padding: var(--space-2xl) clamp(20px, 5vw, 40px) var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-buttons {
    padding: 0 16px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    min-height: 44.57px;
    padding: 11.76px 25.64px;
    font-size: 11.76px;
  }

  .arch-container {
    width: clamp(268px, 78.16vw, 335.2px);
  }



  .page-content {
    padding: 0 20px;
    margin: 60px auto;
  }

  .page-content h1 {
    font-size: 36px;
  }

  .sd-arch-container {
    width: clamp(268px, 78.16vw, 335.2px);
  }

  .service-option-btn {
    padding: 12px 16px;
    font-size: 12px;
  }

  .service-option-dropdown {
    padding: 0 16px;
    font-size: 14px;
  }

  .service-option-item.is-open .service-option-dropdown {
    padding: 14px 16px;
  }

  .service-detail-cta {
    width: 100%;
    text-align: center;
  }
}

/* ---- Reduced Motion ---- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .service-card {
    animation: none;
    opacity: 1;
  }
}
