/* =============================================
   TONIO COIFFURE — style.css
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --green-dark:  #1A3D2B;
  --green-mid:   #2A5C3F;
  --gold:        #C9A96E;
  --cream:       #F5F0E8;
  --charcoal:    #0D0D0D;
  --gray-soft:   #1C1C1C;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --transition-fast: 200ms ease;
  --transition-mid:  300ms ease;

  --max-content: 1200px;
  --section-pad: 100px 24px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Base Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
p  { font-size: clamp(0.95rem, 1.5vw, 1.1rem); line-height: 1.8; }

/* --- Utility: Section Label (gold small caps) --- */
.section-label {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

/* --- Utility: Gold Hairline --- */
.gold-line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
}

/* --- Utility: Section Title --- */
.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 16px;
}

/* --- Utility: Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.btn-primary {
  background: var(--green-dark);
  color: var(--cream);
  border-color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--gold);
}
.btn-light {
  background: var(--cream);
  color: var(--charcoal);
  border-color: var(--cream);
}
.btn-light:hover {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

/* --- Reveal tuning: gentled (not frozen) under reduced motion --- */
:root {
  --rv-offset: 24px;
  --rv-duration: 0.7s;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --rv-offset: 6px;
    --rv-duration: 0.3s;
  }
}

/* --- Utility: Fade-in on load (hero only — JS staggers via setTimeout) --- */
.fade-in {
  opacity: 0;
  transform: translateY(var(--rv-offset));
  transition: opacity var(--rv-duration) ease, transform var(--rv-duration) ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }

/* --- Utility: Scroll reveal (fail-open — visible by default, JS arms it) --- */
[data-rv] { opacity: 1; }
[data-rv].rv-armed {
  opacity: 0;
  transform: translateY(var(--rv-offset));
}
[data-rv].rv-armed.rv-in {
  animation: rvIn var(--rv-duration) ease-out forwards;
  animation-delay: var(--rv-delay, 0ms);
}
@keyframes rvIn {
  from { opacity: 0; transform: translateY(var(--rv-offset)); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Container --- */
.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition-mid), box-shadow var(--transition-mid);
}
#navbar.scrolled {
  background: var(--charcoal);
  box-shadow: 0 1px 0 rgba(201, 169, 110, 0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 147px;
}
.nav-logo img {
  height: 97px;
  width: 97px;
  object-fit: cover;
  border-radius: 50%;
}
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(245, 240, 232, 0.3);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  transition: border-color var(--transition-fast);
}
.lang-toggle:hover { border-color: var(--gold); }
.lang-toggle button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  padding: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}
.lang-toggle button:hover { opacity: 1; }
.lang-toggle button.lang-active { opacity: 1; color: var(--gold); font-weight: 600; }
.lang-toggle .lang-sep { opacity: 0.35; }
.nav-cta { padding: 10px 22px; font-size: 0.75rem; }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-mid);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav ul { text-align: center; }
.mobile-nav ul li { margin-bottom: 28px; }
.mobile-nav ul a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.05em;
}
.mobile-nav ul a:hover { color: var(--gold); }
.mobile-nav .lang-toggle { margin-top: 12px; }

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  /* Phone bar 20% slimmer (147 → 118), logo scaled with it */
  .nav-inner { height: 118px; }
  .nav-logo img { height: 78px; width: 78px; }
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 1;
}

/* iOS Safari tints the status-bar strip from the root background: on the
   video homepage keep it dark so it reads as part of the hero, not a cream band */
html.has-video-hero { background: #14130f; }
#navbar { padding-top: env(safe-area-inset-top, 0px); }

/* Portrait phones: run the hero behind Safari's floating bottom toolbar
   so the cream section below doesn't peek out under it */
@media (max-aspect-ratio: 1/1) {
  #hero { height: 100lvh; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}
.hero-content .gold-line { margin: 16px auto 24px; }
.hero-content h1 {
  color: var(--cream);
  margin-bottom: 16px;
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--cream);
  opacity: 0.5;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Make hero fade-ins start visible (JS will handle scroll animations for other sections) */
#hero .fade-in { opacity: 0; }
#hero .fade-in.visible { opacity: 1; transform: none; }
/* =============================================
   PHILOSOPHY
   ============================================= */
.section-philosophy {
  padding: var(--section-pad);
  background: var(--charcoal);
}
.text-center { text-align: center; }
.philosophy-body {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(245, 240, 232, 0.8);
  font-size: 1.1rem;
  line-height: 1.9;
}
.section-header { margin-bottom: 60px; }

/* =============================================
   SERVICES
   ============================================= */
.section-services {
  padding: var(--section-pad);
  background: var(--gray-soft);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 48px 36px;
  border: 1px solid rgba(26, 61, 43, 0.6);
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition-mid), border-color var(--transition-mid), box-shadow var(--transition-mid);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.1);
}
.service-card:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* Icon medallion — card-scale echo of .service-medallion on services.html */
.service-icon {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 28px;
  transition: border-color var(--transition-mid), background var(--transition-mid);
}
.service-icon::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.14);
}
.service-card:hover .service-icon {
  border-color: rgba(201, 169, 110, 0.65);
  background: rgba(201, 169, 110, 0.06);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--cream);
}
.service-card p {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.95rem;
  line-height: 1.75;
}
.service-cta {
  margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.service-cta svg { transition: transform var(--transition-mid); }
.service-card:hover .service-cta svg { transform: translateX(5px); }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; }
  .service-icon { width: 60px; height: 60px; margin-bottom: 22px; }
  .service-icon svg { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card:hover .service-cta svg { transform: translateX(2px); }
}

/* =============================================
   PRODUCTS (KEUNE)
   ============================================= */
.section-products {
  padding: var(--section-pad);
  background: var(--charcoal);
}
.products-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.products-text p {
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.85;
}
.products-tagline { margin-top: 12px; }
/* One line: the text eases down a little when the column is too narrow for it
   (the French sentence is ~25.6em long). Small phones wrap instead of shrinking further. */
@media (min-width: 420px) {
  .products-text { container-type: inline-size; }
  .products-tagline {
    white-space: nowrap;
    font-size: min(clamp(0.95rem, 1.5vw, 1.1rem), 100cqi / 26.5); /* same size as the paragraph above, when it fits */
  }
}
.keune-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 280px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin: 0 auto;
}
.keune-logo-img {
  width: 70%;
  height: auto;
}

@media (max-width: 768px) {
  .products-inner { grid-template-columns: 1fr; gap: 48px; }
  .products-visual { order: -1; }
}

/* =============================================
   SOCIAL PROOF
   ============================================= */
.section-social {
  padding: var(--section-pad);
  background: var(--gray-soft);
}
.rating-block {
  margin-bottom: 60px;
}
.rating-number {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.rating-scale {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: rgba(201, 169, 110, 0.5);
  margin-left: 8px;
}
.rating-sub {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  margin-top: 8px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.testimonial-card {
  padding: 36px 28px;
  border: 1px solid rgba(26, 61, 43, 0.5);
  position: relative;
}
.testimonial-card:hover { border-color: var(--green-mid); }
.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.4;
  display: block;
  margin-bottom: 16px;
}
.testimonial-card p {
  color: rgba(245, 240, 232, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* =============================================
   BOOKING
   ============================================= */
.section-booking {
  padding: var(--section-pad);
  background: var(--charcoal);
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  box-shadow: inset 0 0 140px rgba(201, 169, 110, 0.07);
  scroll-margin-top: 147px;
}
/* Escalation dose 2 — the single dominant action gets a louder gold line
   than the hero's, without going as far as the footer's full wash */
.section-booking .gold-line {
  width: 100px;
  height: 2px;
}
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 135px;
  align-items: center;
}
.booking-contact { display: flex; flex-direction: column; gap: 36px; max-width: 380px; justify-self: end; }
.booking-map {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.booking-map iframe {
  width: 80%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(201, 169, 110, 0.2);
  filter: grayscale(0.4) contrast(1.05) brightness(0.9);
}
.map-link {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}
.map-link:hover { opacity: 1; }
.contact-block { display: flex; flex-direction: column; gap: 8px; }
.contact-phone {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--cream);
  transition: color var(--transition-fast);
}
.contact-phone:hover { color: var(--gold); }
.contact-email {
  display: block;
  margin-top: 6px;
  color: rgba(245, 240, 232, 0.7);
  transition: color var(--transition-fast);
}
.contact-email:hover { color: var(--gold); }
address {
  font-style: normal;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
}
.hours-table {
  border-collapse: collapse;
  width: 100%;
}
.hours-table td {
  padding: 6px 0;
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.9rem;
}
.hours-table td:last-child { text-align: right; }
.hours-table tr.closed td { color: rgba(245, 240, 232, 0.35); }
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: opacity var(--transition-fast);
}
.instagram-link:hover { opacity: 0.7; }

/* Booking text +15% (title excluded — .section-title untouched) */
.section-booking .section-label { font-size: 0.8625rem; }
.section-booking .contact-phone { font-size: 2.07rem; }
.section-booking address,
.section-booking .contact-email { font-size: 1.15rem; }
.section-booking .hours-table td { font-size: 1.035rem; }
.section-booking .instagram-link { font-size: 0.9775rem; }
.section-booking .map-link { font-size: 0.8625rem; }

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(201, 169, 110, 0.25);
  padding: 60px 24px 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.footer-logo img {
  width: 129px;
  height: 129px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  transition: color var(--transition-fast);
}
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.3);
  letter-spacing: 0.08em;
  text-align: center;
}
.footer-sep { margin: 0 0.6em; }
.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-credit a:hover,
.footer-credit a:focus-visible { color: var(--gold); }
@media (max-width: 600px) {
  .footer-sep { display: none; }
  .footer-credit { display: block; margin-top: 6px; }
}

/* =============================================
   TEAM PAGE — team.html
   ============================================= */

/* Navbar is always solid on team page (no hero video behind it) */
#navbar.scrolled { background: var(--charcoal); }
.nav-active { color: var(--gold) !important; opacity: 1 !important; }

/* Team Hero */
.team-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--charcoal) 0%, #0f2a1a 100%);
  padding-top: 181px; /* offset fixed navbar */
}
.team-hero-content { padding: 0 24px; }
.team-hero-content .section-label { margin-bottom: 16px; }
.team-hero-content h1 { color: var(--cream); margin-bottom: 8px; }
.team-hero-content p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.65);
  font-style: italic;
  margin-top: 8px;
}

/* Team Members */
.section-team-members { padding: 0; }

.member-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.member-row:nth-child(odd)  { background: var(--charcoal); }
.member-row:nth-child(even) { background: var(--gray-soft); }

.member-row--reverse .member-photo { order: 2; }
.member-row--reverse .member-info  { order: 1; }

.member-photo {
  position: relative;
  overflow: hidden;
}
.photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
}
.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s ease;
}

/* Placeholder when no photo provided */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.2);
}

/* Photo hover overlay */

/* Member info */
.member-info {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.member-info h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--cream);
}
.member-info .member-cert {
  font-size: 12px;
  letter-spacing: 0.1em;
  margin: 8px 0 0;
  opacity: 0.8;
}
.member-info > p {
  color: rgba(245, 240, 232, 0.72);
  margin-bottom: 28px;
  white-space: pre-line;   /* bios carry newlines (&#10;) — the language switcher sets textContent, so <br> can't survive it */
}
.member-specialities {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member-specialities li {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.6);
  letter-spacing: 0.05em;
  padding-left: 16px;
  position: relative;
}
.member-specialities li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* Team CTA */
.section-team-cta {
  padding: var(--section-pad);
  background: var(--green-dark);
}
.section-team-cta .section-title { color: var(--cream); }
.section-team-cta p {
  max-width: 560px;
  margin: 0 auto 36px;
  color: rgba(245, 240, 232, 0.75);
  font-size: 1.05rem;
}

/* Responsive — Team Page */
@media (max-width: 1024px) {
  .member-info { padding: 48px 40px; }
}
@media (max-width: 768px) {
  .member-row,
  .member-row--reverse { grid-template-columns: 1fr; min-height: unset; }
  .member-row--reverse .member-photo { order: unset; }
  .member-row--reverse .member-info  { order: unset; }
  .photo-wrap, .photo-placeholder { min-height: 320px; }
  .member-info { padding: 40px 24px; }
}

/* =============================================
   SERVICES DETAIL PAGE — services.html
   ============================================= */

.section-services-detail { padding: 0; }

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  min-height: 480px;
  scroll-margin-top: 147px;
}
.service-detail-row:nth-child(odd)  { background: var(--charcoal); }
.service-detail-row:nth-child(even) { background: var(--gray-soft); }

.service-detail-row--reverse .service-detail-visual  { order: 2; }
.service-detail-row--reverse .service-detail-content { order: 1; }

.service-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.service-medallion {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-medallion::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 50%;
}
.service-medallion svg { width: 96px; height: 96px; color: var(--gold); }

.service-detail-content {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-detail-content .section-title { margin-bottom: 0; }
.service-detail-content > p {
  color: rgba(245, 240, 232, 0.72);
  max-width: 520px;
  margin-top: 20px;
  margin-bottom: 32px;
}

.service-price-list { display: flex; flex-direction: column; max-width: 480px; }
.service-price-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}
.service-price-list li:last-child { border-bottom: none; }
.service-price-list .item-name {
  color: rgba(245, 240, 232, 0.85);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.service-price-list .item-leader {
  flex: 1;
  align-self: center;
  border-bottom: 1px dotted rgba(245, 240, 232, 0.25);
}
.service-price-list .item-price {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  white-space: nowrap;
}

/* Responsive — Services Detail Page */
@media (max-width: 1024px) {
  .service-detail-content { padding: 48px 40px; }
}
@media (max-width: 768px) {
  .service-detail-row,
  .service-detail-row--reverse { grid-template-columns: 1fr; min-height: unset; }
  .service-detail-row--reverse .service-detail-visual  { order: unset; }
  .service-detail-row--reverse .service-detail-content { order: unset; }
  .service-detail-visual { padding: 40px 24px; }
  .service-medallion { width: 200px; height: 200px; }
  .service-medallion svg { width: 72px; height: 72px; }
  .service-detail-content { padding: 40px 24px; }
  .service-price-list .item-name { white-space: normal; }
}

/* =============================================
   RESPONSIVE — GLOBAL OVERRIDES
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-pad: 80px 24px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }

  /* Hero */
  .hero-content h1 { font-size: 2.2rem; }

  /* Philosophy */
  .philosophy-body { font-size: 1rem; }

  /* Products */
  .products-inner { grid-template-columns: 1fr; gap: 48px; }
  .keune-badge { width: 200px; height: 200px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Booking */
  .booking-inner { grid-template-columns: 1fr; gap: 40px; }
  .booking-contact { justify-self: stretch; max-width: none; }

  /* Footer */
  .footer-nav { gap: 16px; }
  .footer-nav a { font-size: 0.72rem; }
}

/* =============================================
   GALLERY (NOS REALISATIONS)
   ============================================= */
.section-gallery {
  padding: var(--section-pad);
  background: var(--charcoal);
}
/* Editorial header, ported from alternative 06 "Écrin signature": title on the
   left, the small gold label pushed to the far right on the same baseline, and
   no hairline underneath. Scoped to this section — the other section headers
   stay centred. */
.section-gallery .section-header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: baseline;
  text-align: left;
  margin-bottom: 42px;
}
.section-gallery .section-header .gold-line { display: none; }
.section-gallery .section-label { margin-bottom: 0; }
.section-gallery .section-title {
  font-size: clamp(2.2rem, 4.2vw, 3.625rem);   /* 58px at the top end */
  letter-spacing: -0.035em;
  margin-bottom: 0;
}
.gallery-track-wrap {
  position: relative;
  container-type: inline-size;   /* lets the arrows find the photo's centre (cqw) */
}
.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 4px 24px;
}
.gallery-track::-webkit-scrollbar { display: none; }
/* Arched cards: the "écrin" shape from alternative 06. The radius is larger
   than half the card width, so the top reads as a full arch rather than two
   rounded corners; `overflow: hidden` clips the photo to it. */
/* Each post = arched photo + its Instagram caption underneath */
.gallery-item {
  flex: 0 0 27%;
  margin: 0;
  scroll-snap-align: start;
}
.gallery-caption {
  margin-top: 16px;
  padding: 0 6px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.gallery-card {
  border-radius: 150px 150px 0 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(26, 61, 43, 0.6);
  transition: border-color var(--transition-mid), box-shadow var(--transition-mid);
}
.gallery-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.15);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-arrow {
  position: absolute;
  top: calc(8px + 18cqw);   /* centre of the photo: 27% card width x 4/3 / 2 */
  transform: translateY(-50%);
  background: rgba(13, 13, 13, 0.7);
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  z-index: 2;
}
.gallery-arrow:hover {
  background: var(--gold);
  color: var(--charcoal);
}
.gallery-instagram {
  margin-top: -8px;   /* tucks into the track's 24px bottom padding; still clears the tallest caption */
  padding-left: 5px;   /* icon lines up with the caption text */
}
.gallery-instagram .instagram-link { font-size: 0.95rem; }
.gallery-arrow--prev { left: 8px; }
.gallery-arrow--next { right: 8px; }

@media (max-width: 1024px) {
  .gallery-arrow { display: none; }
  .gallery-item { flex-basis: 38%; }
}
@media (max-width: 768px) {
  /* Stacked header on narrow screens: the label sits above the title again,
     since side-by-side leaves neither enough room. */
  .section-gallery .section-header { display: block; }
  .section-gallery .section-label { margin-bottom: 15px; }
  .gallery-item { flex-basis: 75%; }
  .gallery-card { border-radius: 110px 110px 0 0; }
}

/* Reduce motion for accessibility — reveal gentling handled via --rv-* vars above */
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator { animation: none; }
}

/* Anchor offsets follow the slimmer phone navbar (see NAVBAR) */
@media (max-width: 768px) {
  .section-booking, .service-detail-row { scroll-margin-top: 118px; }
}
