/* Auburn Chiropractic Centre — Shared Stylesheet */
/* cs-tokens: v1 */

/* ============================================================
   DESIGN SYSTEM FOUNDATION — cs-tokens v1
   ============================================================ */
:root {
  /* PALETTE — read from brand-logo-e726c1f4.png + social pool */
  --clr-bg:        #F5EFE6;   /* warm oat/ivory — 60% base */
  --clr-bg-alt:    #EFE7DA;   /* slightly deeper oat — alternate sections */
  --clr-ink:       #3A322E;   /* warm charcoal — body text */
  --clr-secondary: #8E9A80;   /* muted sage-grey-green — 30% supporting */
  --clr-accent:    #C0785C;   /* terracotta/clay — 10% CTA/emphasis */
  --clr-accent2:   #C9A66B;   /* muted gold — hairline rules, frame inner-rule */
  --accent-rgb:    192, 120, 92;
  --accent-light:  color-mix(in srgb, var(--clr-accent) 12%, var(--clr-bg));

  /* TYPOGRAPHY SCALE */
  --fs-xs:   clamp(0.75rem,   0.70rem + 0.20vw, 0.875rem);
  --fs-sm:   clamp(0.875rem,  0.80rem + 0.30vw, 1rem);
  --fs-base: clamp(1rem,      0.95rem + 0.25vw, 1.125rem);
  --fs-md:   clamp(1.125rem,  1.00rem + 0.50vw, 1.375rem);
  --fs-lg:   clamp(1.375rem,  1.20rem + 0.80vw, 1.75rem);
  --fs-xl:   clamp(1.75rem,   1.50rem + 1.20vw, 2.5rem);
  --fs-2xl:  clamp(2.5rem,    2.00rem + 2.00vw, 4rem);
  --fs-3xl:  clamp(3.5rem,    2.80rem + 2.50vw, 5.5rem);

  /* SPACING SCALE (numeric) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-7:  3rem;
  --sp-8:  4rem;
  --sp-9:  6rem;
  --sp-10: 8rem;

  /* SPACING SCALE (named aliases — cs-tokens v1 extended) */
  --sp-2xs: 0.25rem;
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2rem;
  --sp-xl:  3rem;
  --sp-2xl: 4rem;

  /* DURATION TOKENS */
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  /* EASING TOKENS */
  --ease-out:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.6, 1);
  --ease-snap:   cubic-bezier(0, 0, 0.2, 1);
}

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

html {
  font-size: 100%;
}

body {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--fs-base);
  color: var(--clr-ink);
  background: var(--clr-bg);
  line-height: 1.65;
  overflow-x: clip; /* clip instead of hidden — avoids sticky-break (lesson 24) */
}

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

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

ul {
  list-style: none;
}

/* Focus-visible — keyboard navigation ring */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-display,
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
  font-weight: 400;
}

h1 { font-size: var(--fs-3xl); font-weight: 300; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }

.section-kicker {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
  position: relative;
}

.section-kicker::after {
  content: '';
  display: block;
  height: 1px;
  width: 2rem;
  background: var(--clr-accent2);
  margin-top: var(--sp-2);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: min(90%, 1140px);
  margin-inline: auto;
}

.section {
  padding-block: var(--sp-9);
}

.section--alt {
  background: var(--clr-bg-alt);
}

.section--sage {
  background: var(--clr-secondary);
  color: #fff;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(245, 239, 230, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 166, 107, 0.20);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(245, 239, 230, 0.97);
  border-bottom-color: rgba(201, 166, 107, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: min(92%, 1200px);
  margin-inline: auto;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
}

.nav-logo {
  height: 38px;
  width: auto;
  display: block;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--clr-ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s ease;
  padding-block: var(--sp-2);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

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

.nav-cta {
  background: var(--clr-accent) !important;
  color: #fff !important;
  padding: var(--sp-2) var(--sp-5) !important;
  border-radius: 2px;
  font-weight: 500 !important;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
}

.nav-cta:hover {
  background: #a96448 !important;
  color: #fff !important;
}

/* Hamburger button */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  align-items: center;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--clr-ink);
  transition: all 0.25s ease;
  transform-origin: center;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer — ND-1 through ND-5 */
.nav-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: rgba(245, 239, 230, 0.97); /* ND-1: alpha 0.97 ≥ 0.92 */
  border-bottom: 1px solid rgba(201, 166, 107, 0.30);
  flex-direction: column;
  padding-block: var(--sp-3);
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  /* ND-2: flex is block-level; min-height + padding give ≥44px tap target */
  display: flex;
  align-items: center;
  padding: var(--sp-3) var(--sp-6);
  min-height: 44px;
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--clr-ink); /* ND-3: explicit color on <a> element */
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-bottom: 1px solid rgba(58, 50, 46, 0.07);
  transition: background 0.15s ease;
}

.nav-drawer a:last-child {
  border-bottom: none;
}

.nav-drawer a:hover {
  background: rgba(192, 120, 92, 0.07);
  color: var(--clr-accent);
}

.nav-drawer .drawer-cta {
  color: var(--clr-accent) !important; /* ND-3 */
  font-weight: 600;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Hero canvas (scrub animation) */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(30, 22, 18, 0.88) 0%,
    rgba(30, 22, 18, 0.55) 40%,
    rgba(30, 22, 18, 0.25) 70%,
    rgba(30, 22, 18, 0.12) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--sp-6) var(--sp-9);
  text-align: left;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 860px) {
  .hero-content {
    padding-bottom: var(--sp-10);
  }
}

.hero-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--clr-accent2);
  margin-bottom: var(--sp-4);
  text-shadow: 0 4px 30px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.7);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: #F5EFE6;
  line-height: 1.05;
  margin-bottom: var(--sp-5);
  text-shadow: 0 4px 30px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.7);
}

.hero-sub {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-md);
  font-weight: 300;
  color: rgba(245, 239, 230, 0.88);
  margin-bottom: var(--sp-7);
  max-width: 520px;
  text-shadow: 0 4px 30px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.7);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
}

.hero-scroll {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.65);
  text-shadow: 0 4px 30px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.7);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--sp-3) var(--sp-6);
  border-radius: 2px;
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-accent);
  color: #fff;
  border: 1.5px solid var(--clr-accent);
}

.btn-primary:hover {
  background: #a96448;
  border-color: #a96448;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #F5EFE6;
  border: 1.5px solid rgba(245, 239, 230, 0.65);
}

.btn-secondary:hover {
  background: rgba(245, 239, 230, 0.12);
  border-color: rgba(245, 239, 230, 0.9);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--clr-accent);
  border: 1.5px solid var(--clr-accent);
}

.btn-outline:hover {
  background: var(--clr-accent);
  color: #fff;
}

.btn-ink {
  background: var(--clr-ink);
  color: var(--clr-bg);
  border: 1.5px solid var(--clr-ink);
}

.btn-ink:hover {
  background: #2a2420;
  border-color: #2a2420;
  color: var(--clr-bg);
}

/* ============================================================
   BRAND STATEMENT
   ============================================================ */
.brand-statement {
  background: var(--clr-bg);
  padding-block: var(--sp-10);
  text-align: center;
}

.brand-statement .section-kicker {
  margin-bottom: var(--sp-5);
}

.brand-statement h2 {
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: var(--clr-ink);
  margin-bottom: var(--sp-6);
  max-width: 700px;
  margin-inline: auto;
  font-style: italic;
}

.brand-statement p {
  font-size: var(--fs-md);
  color: var(--clr-ink);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
  line-height: 1.75;
}

/* Signature SVG moment — hands-cradle */
.hands-cradle-wrap {
  display: flex;
  justify-content: center;
  margin-block: var(--sp-7);
}

.hands-cradle-svg {
  width: min(420px, 90%);
  height: auto;
  overflow: visible;
}

.cradle-arc {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.gold-rule-line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.7s;
}

.hands-cradle-wrap.revealed .cradle-arc {
  stroke-dashoffset: 0;
}

.hands-cradle-wrap.revealed .gold-rule-line {
  stroke-dashoffset: 0;
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--clr-ink);
  padding-block: var(--sp-8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  text-align: center;
}

.stat-item {
  padding: var(--sp-5);
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-2xl);
  font-weight: 300;
  color: var(--clr-accent2);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-label {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.75);
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding-block: var(--sp-9);
  background: var(--clr-bg-alt);
}

.services-intro {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.services-intro h2 {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
  color: var(--clr-ink);
}

.services-intro p {
  max-width: 580px;
  margin-inline: auto;
  color: var(--clr-ink);
  opacity: 0.8;
  font-size: var(--fs-md);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.service-card {
  background: var(--clr-bg);
  border: 1px solid rgba(201, 166, 107, 0.25);
  border-radius: 2px;
  padding: var(--sp-7) var(--sp-6);
  position: relative;
}

.service-card::before {
  content: '';
  display: block;
  height: 2px;
  width: 2.5rem;
  background: var(--clr-accent);
  margin-bottom: var(--sp-5);
}

.service-card h3 {
  font-size: var(--fs-lg);
  font-style: italic;
  margin-bottom: var(--sp-4);
  color: var(--clr-ink);
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--clr-ink);
  opacity: 0.82;
  line-height: 1.70;
  margin-bottom: var(--sp-4);
}

.service-detail-list {
  list-style: none;
  margin-top: var(--sp-4);
}

.service-detail-list li {
  font-size: var(--fs-xs);
  color: var(--clr-ink);
  opacity: 0.75;
  padding: var(--sp-1) 0;
  padding-left: var(--sp-4);
  position: relative;
}

.service-detail-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--clr-accent2);
  font-size: var(--fs-xs);
}

@media (max-width: 860px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
}

/* ============================================================
   GALLERY FILMSTRIP
   ============================================================ */
.gallery-section {
  background: var(--clr-bg);
  padding-block: var(--sp-9);
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  margin-bottom: var(--sp-7);
}

.gallery-header h2 {
  max-width: 560px;
  margin-inline: auto;
}

.filmstrip-outer {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-block: var(--sp-3);
  padding-inline: var(--sp-6);
  cursor: grab;
}

.filmstrip-outer:active {
  cursor: grabbing;
}

.filmstrip-outer::-webkit-scrollbar {
  height: 3px;
}

.filmstrip-outer::-webkit-scrollbar-track {
  background: var(--clr-bg-alt);
}

.filmstrip-outer::-webkit-scrollbar-thumb {
  background: var(--clr-accent2);
  border-radius: 2px;
}

.filmstrip {
  display: flex;
  gap: var(--sp-5);
  width: max-content;
  padding-block: var(--sp-2);
}

/* mat+inner-rule frame — echoing the logo's gold hairline */
.film-frame {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: clamp(260px, 32vw, 420px);
  aspect-ratio: 3/4;
  background: var(--clr-bg-alt);
  padding: 10px;
  border: 1px solid rgba(201, 166, 107, 0.30);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inner gold rule as frame detail */
.film-frame::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 166, 107, 0.45);
  pointer-events: none;
}

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

/* ============================================================
   TEAM PREVIEW
   ============================================================ */
.team-preview {
  padding-block: var(--sp-9);
  background: var(--clr-bg-alt);
}

.team-preview-inner {
  text-align: center;
  margin-bottom: var(--sp-7);
}

.team-preview-inner h2 {
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}

.team-preview-inner p {
  max-width: 560px;
  margin-inline: auto;
  font-size: var(--fs-md);
  opacity: 0.82;
  margin-bottom: var(--sp-6);
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
}

.team-member-card {
  background: var(--clr-bg);
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 2px;
  padding: var(--sp-5) var(--sp-4);
  text-align: left;
  transition: border-color 0.2s ease;
}

.team-member-card:hover {
  border-color: rgba(192, 120, 92, 0.35);
}

.team-member-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--clr-ink);
  margin-bottom: var(--sp-1);
  display: block;
}

.team-member-role {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  color: var(--clr-secondary);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.team-preview-cta {
  text-align: center;
}

/* ============================================================
   ROOMS FOR RENT
   ============================================================ */
.rooms-section {
  padding-block: var(--sp-9);
  background: var(--clr-secondary);
}

.rooms-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.rooms-card-text {
  color: #fff;
}

.rooms-card-text .section-kicker {
  color: var(--clr-accent2);
}

.rooms-card-text .section-kicker::after {
  background: var(--clr-accent2);
}

.rooms-card-text h2 {
  color: #fff;
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-5);
}

.rooms-card-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-sm);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}

.rooms-card-highlights {
  list-style: none;
  margin-bottom: var(--sp-6);
}

.rooms-card-highlights li {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.80);
  padding: var(--sp-1) 0;
  padding-left: var(--sp-4);
  position: relative;
}

.rooms-card-highlights li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--clr-accent2);
}

.rooms-card-visual {
  background: rgba(58, 50, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  padding: var(--sp-8) var(--sp-7);
  text-align: center;
  color: rgba(255, 255, 255, 0.80);
}

.rooms-card-visual .rooms-icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
  opacity: 0.7;
}

.rooms-card-visual p {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-lg);
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

@media (max-width: 860px) {
  .rooms-card {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTACT BAND
   ============================================================ */
.contact-band {
  padding-block: var(--sp-9);
  background: var(--clr-bg);
}

.contact-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.contact-info h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-6);
  color: var(--clr-ink);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 20px;
  color: var(--clr-accent);
  margin-top: 2px;
}

.contact-detail-text {
  font-size: var(--fs-sm);
  color: var(--clr-ink);
  line-height: 1.65;
}

.contact-detail-text strong {
  display: block;
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--clr-ink);
  opacity: 0.65;
  margin-bottom: var(--sp-1);
}

.contact-detail-text a {
  color: var(--clr-accent);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.contact-map {
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, 0.25);
  height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

@media (max-width: 860px) {
  .contact-band-inner {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 300px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-ink);
  color: rgba(245, 239, 230, 0.75);
  padding-block: var(--sp-8) var(--sp-6);
}

.footer-inner {
  width: min(92%, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-7);
}

.footer-brand {}

.footer-logo {
  height: 48px; /* explicit height 24–96px per logo-render-bounds gate */
  width: auto;
  display: block;
  margin-bottom: var(--sp-4);
  opacity: 0.90;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-sm);
  font-style: italic;
  color: rgba(245, 239, 230, 0.60);
  line-height: 1.55;
  margin-bottom: var(--sp-5);
}

.footer-socials {
  display: flex;
  gap: var(--sp-4);
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 239, 230, 0.20);
  border-radius: 50%;
  color: rgba(245, 239, 230, 0.70);
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.footer-nav h4 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.90);
  margin-bottom: var(--sp-4);
}

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

.footer-nav ul a {
  font-size: var(--fs-sm);
  color: rgba(245, 239, 230, 0.65);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: var(--sp-1);
  transition: color 0.2s ease;
}

.footer-nav ul a:hover {
  color: var(--clr-accent2);
}

.footer-contact h4 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.90);
  margin-bottom: var(--sp-4);
}

.footer-contact p, .footer-contact address {
  font-style: normal;
  font-size: var(--fs-sm);
  color: rgba(245, 239, 230, 0.65);
  line-height: 1.70;
}

.footer-contact a {
  color: rgba(245, 239, 230, 0.65);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--clr-accent2);
}

.footer-bottom {
  width: min(92%, 1200px);
  margin-inline: auto;
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(245, 239, 230, 0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.footer-legal {
  font-size: var(--fs-xs);
  color: rgba(245, 239, 230, 0.40);
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
  padding-top: 68px; /* nav height */
  position: relative;
  background: var(--clr-bg-alt);
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  padding: var(--sp-9) var(--sp-6);
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.page-banner h1 {
  font-size: var(--fs-2xl);
  color: var(--clr-ink);
  margin-bottom: var(--sp-4);
}

.page-banner p {
  font-size: var(--fs-md);
  color: var(--clr-ink);
  opacity: 0.75;
  max-width: 520px;
  margin-inline: auto;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-section {
  padding-block: var(--sp-9);
}

.team-member {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-8);
  align-items: start;
  margin-bottom: var(--sp-9);
  padding-bottom: var(--sp-9);
  border-bottom: 1px solid rgba(201, 166, 107, 0.20);
  scroll-margin-top: 100px;
}

.team-member:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.team-member-photo-slot {
  background: var(--clr-bg-alt);
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 2px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-member-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-photo-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-2xl);
  font-weight: 300;
  color: var(--clr-accent);
  background: var(--clr-bg-alt);
}

.team-member-bio {}

.team-member-title-line {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-secondary);
  margin-bottom: var(--sp-3);
}

.team-member-bio h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-5);
  color: var(--clr-ink);
}

.team-member-bio p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--clr-ink);
  opacity: 0.88;
  margin-bottom: var(--sp-4);
}

.team-bio-details {
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.team-bio-detail-group h4 {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-ink);
  opacity: 0.65;
  margin-bottom: var(--sp-3);
}

.team-bio-detail-group p {
  font-size: var(--fs-xs);
  line-height: 1.65;
  opacity: 0.80;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .team-member {
    grid-template-columns: 1fr;
  }

  .team-member-photo-slot {
    aspect-ratio: 16/9;
    max-height: 280px;
  }

  .team-bio-details {
    grid-template-columns: 1fr;
  }
}

/* Small team cards (no bio page) */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

.team-card-small {
  background: var(--clr-bg-alt);
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 2px;
  padding: var(--sp-5);
}

.team-card-small .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--clr-ink);
  margin-bottom: var(--sp-1);
  display: block;
}

.team-card-small .role {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  color: var(--clr-secondary);
  letter-spacing: 0.04em;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

.faq-card {
  background: var(--clr-bg-alt);
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 2px;
  padding: var(--sp-6) var(--sp-6);
}

.faq-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-2xl);
  font-weight: 300;
  color: var(--clr-accent2);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.faq-card h3 {
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--clr-ink);
  margin-bottom: var(--sp-4);
}

.faq-card p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--clr-ink);
  opacity: 0.85;
}

@media (max-width: 680px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ROOMS PAGE
   ============================================================ */
.rooms-page-section {
  padding-block: var(--sp-9);
}

.rooms-page-intro {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--sp-9);
}

.rooms-page-intro h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-5);
}

.rooms-page-intro p {
  font-size: var(--fs-md);
  line-height: 1.75;
  opacity: 0.85;
  margin-bottom: var(--sp-4);
}

.rooms-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-9);
}

.rooms-feature {
  background: var(--clr-bg-alt);
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 2px;
  padding: var(--sp-6) var(--sp-5);
}

.rooms-feature::before {
  content: '';
  display: block;
  height: 2px;
  width: 2rem;
  background: var(--clr-accent2);
  margin-bottom: var(--sp-4);
}

.rooms-feature h3 {
  font-size: var(--fs-md);
  font-style: italic;
  margin-bottom: var(--sp-3);
  color: var(--clr-ink);
}

.rooms-feature p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  opacity: 0.82;
}

.rooms-ideal-for {
  background: var(--clr-bg-alt);
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-radius: 2px;
  padding: var(--sp-7);
  margin-bottom: var(--sp-9);
}

.rooms-ideal-for h3 {
  font-size: var(--fs-lg);
  font-style: italic;
  margin-bottom: var(--sp-5);
  color: var(--clr-ink);
  text-align: center;
}

.ideal-for-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}

.ideal-for-tag {
  display: inline-block;
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid rgba(142, 154, 128, 0.50);
  border-radius: 2px;
  font-size: var(--fs-xs);
  color: var(--clr-secondary);
  letter-spacing: 0.05em;
  background: var(--clr-bg);
}

.rooms-cta-box {
  text-align: center;
  background: var(--clr-ink);
  border-radius: 2px;
  padding: var(--sp-8) var(--sp-6);
  color: #fff;
}

.rooms-cta-box h3 {
  font-size: var(--fs-xl);
  color: #fff;
  margin-bottom: var(--sp-4);
}

.rooms-cta-box p {
  font-size: var(--fs-md);
  color: rgba(245, 239, 230, 0.80);
  margin-bottom: var(--sp-6);
}

.rooms-cta-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .rooms-features {
    grid-template-columns: 1fr;
  }
}

/* Gallery team row — team-context sub-section in gallery */
.gallery-team-row {
  margin-top: var(--sp-7);
}

.gallery-row-label {
  font-family: 'Poppins', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-secondary);
  padding-inline: var(--sp-6);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.gallery-row-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201, 166, 107, 0.35);
  max-width: 8rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }

/* ============================================================
   DIVIDER / GOLD RULE
   ============================================================ */
.gold-divider {
  width: 3rem;
  height: 1px;
  background: var(--clr-accent2);
  margin: var(--sp-5) auto;
  display: block;
}

/* ============================================================
   BODY PUSH — offset fixed nav
   ============================================================ */
.body-pad {
  padding-top: 68px;
}
