/* K&Co Hair Salon — Shad Thames */

:root {
  --taupe: #84715b;
  --taupe-deep: #6b5a48;
  --beige: #f4efe6;
  --beige-deep: #e8dfd2;
  --cream: #faf8f4;
  --paper: #fffef9;
  --green: #5f7d62;
  --green-soft: #7a9a7d;
  --ink: #2a2622;
  --ink-soft: #4a4540;
  --muted: #7a746c;
  --white: #fffef9;
  --line: rgba(42, 38, 34, 0.1);
  --page-max: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --topbar-h: 4.25rem;
  --topbar-call: 48rem;
  --topbar-full: 68rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

address {
  font-style: normal;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  left: 0;
}

.hero,
.salon,
.services,
.team,
.reviews,
.gallery,
.visit {
  min-height: 100dvh;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--green);
}

.section-label--light {
  color: var(--green-soft);
}

/* ── Topbar ── */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--topbar-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.topbar.is-on-hero {
  background: rgba(42, 38, 34, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar.is-scrolled:not(.is-on-hero) {
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  height: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.topbar-logo {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: clamp(1.5rem, 0.6rem + 1.5vw, 1.85rem);
  aspect-ratio: 2048 / 932;
}

.topbar-logo-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.topbar-logo-mark--light {
  opacity: 0;
  visibility: hidden;
}

.topbar-logo-mark--dark {
  opacity: 1;
  visibility: visible;
}

.topbar.is-on-hero .topbar-logo-mark--dark {
  opacity: 0;
  visibility: hidden;
}

.topbar.is-on-hero .topbar-logo-mark--light {
  opacity: 1;
  visibility: visible;
}

.topbar-nav {
  display: none;
  flex-shrink: 1;
  min-width: 0;
  gap: clamp(0.65rem, 1.1vw, 1.25rem);
  margin-left: auto;
  font-size: clamp(0.82rem, 0.75rem + 0.2vw, 0.88rem);
  font-weight: 500;
}

.topbar.is-on-hero .topbar-nav a {
  color: rgba(255, 254, 249, 0.88);
}

.topbar.is-scrolled:not(.is-on-hero) .topbar-nav a {
  color: var(--ink-soft);
}

.topbar-nav a {
  transition: color 0.2s;
}

.topbar-nav a:hover {
  color: var(--taupe);
}

.topbar.is-on-hero .topbar-nav a:hover {
  color: var(--white);
}

.topbar-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.topbar-book {
  min-height: 2.35rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
}

.topbar-call {
  min-height: 2.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

.topbar-call-num {
  display: none;
}

.menu-btn {
  flex-shrink: 0;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
}

.topbar.is-on-hero .menu-btn span {
  background: var(--white);
}

.topbar.is-scrolled:not(.is-on-hero) .menu-btn span {
  background: var(--ink);
}

.menu-btn span {
  display: block;
  width: 1.15rem;
  height: 2px;
  transition: transform 0.2s var(--ease), background 0.2s;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(0.2rem) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-0.2rem) rotate(-45deg);
}

@media (min-width: 48rem) {
  .topbar-actions {
    display: flex;
    margin-left: auto;
  }

  .menu-btn {
    margin-left: 0;
  }
}

@media (min-width: 56rem) {
  .topbar-call-num {
    display: inline;
  }
}

@media (min-width: 68rem) {
  .topbar-nav {
    display: flex;
  }

  .topbar-actions {
    margin-left: 0;
  }
}

/* ── Mobile menu ── */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: var(--gutter);
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

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

.menu-close {
  position: absolute;
  top: 1rem;
  right: var(--gutter);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 254, 249, 0.7);
}

.mobile-menu nav {
  display: grid;
  gap: 0.85rem;
}

.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.5rem);
  transition: color 0.2s;
}

.mobile-menu nav a:hover {
  color: var(--green-soft);
}

.mobile-menu-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 254, 249, 0.12);
}

.mobile-menu-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 254, 249, 0.65);
}

.mobile-menu-social a:hover {
  color: var(--white);
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
}

.btn-icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}

.btn-book {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(95, 125, 98, 0.28);
}

.btn-book:hover {
  background: var(--green-soft);
}

.btn-call {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(42, 38, 34, 0.12);
}

.btn-call:hover {
  background: var(--white);
}

.btn-line {
  color: inherit;
  box-shadow: inset 0 0 0 1px currentColor;
}

.btn-line:hover {
  background: rgba(255, 254, 249, 0.08);
}

/* ── Hero ── */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-top: var(--topbar-h);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(42, 38, 34, 0.75) 0%, rgba(42, 38, 34, 0.2) 45%, rgba(42, 38, 34, 0.35) 100%),
    linear-gradient(90deg, rgba(42, 38, 34, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gutter);
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 254, 249, 0.75);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-lede {
  max-width: 38ch;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: rgba(255, 254, 249, 0.88);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 254, 249, 0.6);
}

.hero-social a:hover {
  color: var(--white);
}

@media (max-width: 767px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: auto;
    padding-top: 0;
    background: var(--beige);
  }

  .hero-media {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: calc(44dvh + var(--topbar-h));
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 28%;
  }

  .hero-content {
    flex: 0 0 auto;
    max-width: none;
    padding: 1.35rem var(--gutter) 1.6rem;
    background: var(--beige);
  }

  .hero-kicker {
    color: var(--muted);
  }

  .hero h1 {
    max-width: none;
    color: var(--ink);
  }

  .hero-lede {
    color: var(--ink-soft);
  }

  .hero-social {
    color: var(--muted);
  }

  .hero-social a:hover {
    color: var(--taupe);
  }

  .hero-content .btn-call {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(42, 38, 34, 0.22);
  }

  .hero-content .btn-call:hover {
    background: rgba(42, 38, 34, 0.05);
  }
}

/* ── Salon / store ── */

.salon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(3rem, 8vh, 5rem);
  background: var(--beige);
}

.salon-layout {
  display: grid;
  gap: 2.5rem;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.salon-copy h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.salon-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.salon-note {
  padding-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--taupe);
}

/* Salon image carousel */

.salon-carousel {
  width: 100%;
}

.salon-carousel-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.salon-carousel-slides {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(42, 38, 34, 0.12);
}

.salon-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.65s var(--ease);
  pointer-events: none;
}

.salon-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.salon-carousel-expand {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.salon-carousel-expand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(42, 38, 34, 0.1);
  transition: transform 0.2s var(--ease), background 0.2s;
}

.carousel-arrow:hover {
  transform: scale(1.06);
  background: var(--white);
}

@media (max-width: 767px) {
  .salon-carousel {
    margin-inline: calc(-1 * var(--gutter));
    width: calc(100% + 2 * var(--gutter));
  }

  .salon-carousel-stage {
    display: block;
  }

  .salon-carousel-slides {
    aspect-ratio: 5 / 4;
    border-radius: 0;
    box-shadow: none;
  }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    background: rgba(255, 254, 249, 0.92);
    box-shadow: 0 4px 16px rgba(42, 38, 34, 0.15);
  }

  .carousel-arrow:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .carousel-prev {
    left: 0.65rem;
  }

  .carousel-next {
    right: 0.65rem;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.carousel-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(42, 38, 34, 0.2);
  transition: transform 0.2s, background 0.2s;
}

.carousel-dot.is-active {
  background: var(--taupe);
  transform: scale(1.2);
}

/* Partner logo strip */

.partner-strip {
  width: 100%;
  margin-top: clamp(2rem, 5vh, 3rem);
  padding-block: 1.35rem;
  --logo-row-h: clamp(1.35rem, 2.1vw, 1.85rem);
}

.partner-strip-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.partner-strip-set {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5%;
  width: 100%;
  min-height: var(--logo-row-h);
}

.partner-strip-set[aria-hidden="true"] {
  display: none;
}

.partner-logo {
  flex: 1 1 0;
  min-width: 0;
  max-width: 19%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--logo-row-h);
  overflow: visible;
}

.partner-logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.84;
  transform: scale(var(--optical-scale, 1));
  transform-origin: center center;
}

/* Optical scale compensates for whitespace inside image files (measured content bounds). */
.partner-logo[data-logo="olaplex"] { --optical-scale: 1.5; }
.partner-logo[data-logo="ghd"] { --optical-scale: 1.65; }
.partner-logo[data-logo="redken"] { --optical-scale: 1; }
.partner-logo[data-logo="beautyworks"] { --optical-scale: 2.15; }
.partner-logo[data-logo="loreal"] { --optical-scale: 1.55; }

@media (min-width: 769px) {
  .partner-strip-set {
    max-width: 58rem;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .partner-strip {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    --logo-row-h: clamp(1.2rem, 3.8vw, 1.55rem);
    --logo-slot-w: 6.75rem;
    --logo-gap: 1.35rem;
  }

  .partner-strip-track {
    justify-content: flex-start;
    max-width: none;
    width: max-content;
    gap: var(--logo-gap);
    padding-inline: 0;
    animation: partner-marquee 36s linear infinite;
  }

  .partner-strip-set {
    flex: 0 0 auto;
    width: max-content;
    justify-content: flex-start;
    gap: var(--logo-gap);
    padding: 0;
  }

  .partner-logo {
    flex: 0 0 var(--logo-slot-w);
    width: var(--logo-slot-w);
    min-width: var(--logo-slot-w);
    max-width: var(--logo-slot-w);
    height: var(--logo-row-h);
    overflow: visible;
  }

  .partner-logo img {
    max-width: 92%;
    margin-inline: auto;
  }

  .partner-strip:hover .partner-strip-track {
    animation-play-state: paused;
  }

  .partner-strip-set[aria-hidden="true"] {
    display: flex;
  }
}

@keyframes partner-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 900px) {
  .salon-layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 3rem;
  }

  .salon-carousel-slides {
    aspect-ratio: 5 / 6;
    max-height: min(38rem, 68vh);
  }
}

/* ── Services ── */

.services {
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 8vh, 5rem);
  background: var(--cream);
}

.services-inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.services-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.services-head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.75rem;
}

.services-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 0.5rem;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
  background: linear-gradient(0deg, rgba(42, 38, 34, 0.72) 0%, transparent 55%);
  color: var(--white);
}

.service-card-overlay h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.service-card-overlay p {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  opacity: 0.8;
}

.service-card::after {
  content: "+";
  position: absolute;
  z-index: 3;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white);
}

.services-foot {
  margin: 1.5rem 0 0;
  text-align: center;
}

.services-foot a {
  font-weight: 600;
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

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

  .service-card {
    aspect-ratio: 3 / 4;
  }
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.14);
    pointer-events: none;
    transition: opacity 0.45s var(--ease);
  }

  .service-card:hover::before {
    opacity: 0;
  }
}

/* ── Service modal ── */

.service-modal {
  width: min(56rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.service-modal::backdrop {
  background: rgba(42, 38, 34, 0.55);
  backdrop-filter: blur(4px);
}

.service-modal-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 2rem);
}

.service-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  background: var(--beige);
  color: var(--ink);
}

.service-modal-head {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
}

.service-modal-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.service-modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 52ch;
}

.service-modal-grid {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.service-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--cream);
}

.service-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.service-item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.service-item-price {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--taupe);
}

.service-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.service-modal-foot {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-modal-note {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.78rem;
  color: var(--muted);
}

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

/* ── Team ── */

.team {
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 8vh, 5rem);
  background: var(--beige-deep);
}

.team-inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.team-head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.5rem;
  background: var(--paper);
  border-radius: 0.65rem;
  box-shadow: 0 8px 24px rgba(42, 38, 34, 0.06);
}

.team-card-content {
  flex: 1 1 auto;
}

.team-card-top h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.team-role {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--taupe);
}

.team-bio {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.team-lang {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.team-book {
  display: inline-block;
  margin-top: auto;
  padding-top: 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.team-book:hover {
  color: var(--taupe-deep);
}

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

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

/* ── Reviews ── */

.reviews {
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 8vh, 5rem);
  background: var(--cream);
}

.reviews-inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.reviews-head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 2rem;
}

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

.review-card {
  margin: 0;
  padding: 1.35rem 1.5rem;
  background: var(--paper);
  border-radius: 0.65rem;
  border: 1px solid var(--line);
}

.review-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}

.review-card footer {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--taupe);
}

.review-card--feature {
  background: var(--beige);
  border-color: transparent;
}

.review-card--feature p {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}

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

  .review-card--feature {
    grid-column: span 2;
  }
}

/* ── Gallery ── */

.gallery {
  display: flex;
  align-items: center;
  padding-block: clamp(3rem, 8vh, 5rem);
  background: var(--beige);
}

.gallery-inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.gallery-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.gallery-head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.75rem;
}

.gallery-head p {
  margin: 0;
  color: var(--ink-soft);
}

.gallery-head a {
  color: var(--green);
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

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

.gallery-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(42, 38, 34, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.gallery-item--cta {
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
}

.gallery-cta-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
}

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

/* ── Visit ── */

.visit {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(3rem, 8vh, 4rem);
  background: var(--ink);
  color: rgba(255, 254, 249, 0.85);
}

.visit-layout {
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
  flex: 1;
}

.visit-info h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.visit-info address {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.visit-phone a,
.visit-wa {
  font-weight: 600;
  color: var(--green-soft);
}

.visit-wa {
  display: inline-block;
  margin-top: 0.35rem;
}

.hours {
  margin: 1.5rem 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 16rem;
}

.hours dt {
  font-weight: 500;
  color: rgba(255, 254, 249, 0.55);
}

.hours dd {
  margin: 0;
}

.visit-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.visit .btn-line {
  color: var(--white);
}

.visit-map {
  min-height: 14rem;
  border-radius: 0.65rem;
  overflow: hidden;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  border: 0;
}

@media (min-width: 900px) {
  .visit-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .visit-map {
    min-height: 22rem;
  }

  .visit-map iframe {
    min-height: 22rem;
  }
}

/* ── Policies ── */

.policies {
  width: 100%;
  max-width: var(--page-max);
  margin: 2rem auto 0;
  padding-inline: var(--gutter);
  color: rgba(255, 254, 249, 0.65);
  font-size: 0.88rem;
}

.policies summary {
  cursor: pointer;
  font-weight: 600;
  color: rgba(255, 254, 249, 0.85);
  list-style: none;
}

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

.policies-body {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.75rem;
}

.policies-body p {
  margin: 0;
  max-width: 60ch;
}

/* ── Footer ── */

.site-footer {
  padding: 2rem var(--gutter) 2.5rem;
  border-top: 1px solid rgba(255, 254, 249, 0.08);
  color: rgba(255, 254, 249, 0.55);
  font-size: 0.88rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.75rem;
  background: var(--cream);
  border-radius: 0.5rem;
}

.footer-logo img {
  height: 1.65rem;
  width: auto;
  max-width: none;
  aspect-ratio: 1011 / 268;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0.75rem 0;
  font-weight: 600;
  color: var(--white);
}

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

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .partner-strip-track {
    animation: none;
  }

  .salon-carousel-slide {
    transition: none;
  }

  .btn:hover,
  .service-card:hover {
    transform: none;
  }
}

/* ── Salon lightbox ── */

.salon-lightbox {
  width: min(56rem, calc(100% - 2rem));
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.salon-lightbox::backdrop {
  background: rgba(42, 38, 34, 0.72);
  backdrop-filter: blur(4px);
}

.salon-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  background: rgba(255, 254, 249, 0.15);
  color: var(--white);
}

.salon-lightbox figure {
  margin: 0;
}

.salon-lightbox img {
  width: 100%;
  max-height: calc(100dvh - 6rem);
  object-fit: contain;
}

.salon-lightbox figcaption {
  padding: 0.85rem 1rem 1.1rem;
  font-size: 0.88rem;
  color: rgba(255, 254, 249, 0.75);
  text-align: center;
}
