/* =========================================================
   Dierenfield Chiropractic Health Center — Spec preview
   Woodcrest Marketing
   ========================================================= */

:root {
  /* Brand palette (scouted wellness direction) */
  --teal:        #1d5c54;
  --teal-deep:   #143f39;
  --teal-soft:   #2f7268;
  --cream:       #ece4d6;
  --cream-pale:  #f6f1e8;
  --paper:       #fbf8f2;
  --copper:      #c4763d;
  --copper-deep: #a85f2c;
  --ink:         #1b2522;
  --ink-soft:    #3c4a45;
  --line:        rgba(27, 37, 34, 0.12);

  /* Typography */
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: clamp(0.72rem, 0.66rem + 0.3vw, 0.82rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
  --fs-lead:    clamp(1.18rem, 1.06rem + 0.6vw, 1.5rem);
  --fs-h3:      clamp(1.3rem, 1.1rem + 1vw, 1.85rem);
  --fs-h2:      clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --fs-h1:      clamp(2.55rem, 1.5rem + 4vw, 5.6rem);
  --fs-mega:    clamp(3.4rem, 2rem + 6.8vw, 8rem);

  /* Spacing rhythm */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --maxw: 1340px;

  --radius: 14px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -28px rgba(20, 63, 57, 0.45);
  --shadow-soft: 0 14px 40px -22px rgba(20, 63, 57, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Unified photo grade — the scouted banner stock is washed and low-contrast, so
     this restores punch (contrast + a touch of saturation) while a LIGHT teal
     soft-light tint below nudges temperature without graying skin out. */
  --img-grade: contrast(1.13) saturate(1.06) brightness(1.02);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.012em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Unified photo treatment ----------
   The scouted photos are washed, low-contrast banner stock in mismatched
   temperatures. Three coordinated layers turn them into one intentional library:
   (1) a corrective grade, (2) a teal duotone (mix-blend color) that colorizes
   every photo onto the brand temperature, (3) a directional depth gradient. */
.hero-photo, .about-visual .frame, .gallery-grid figure { position: relative; background: var(--teal-deep); isolation: isolate; }
.hero-photo img, .about-visual .frame img, .gallery-grid img { filter: var(--img-grade); }
/* Subjects in the scouted banners sit off-centre (washed empty halves), so each
   crop is pulled to the actual people rather than the blank field/forest. */
.hero-photo--main img { object-position: 64% 28%; }
.hero-photo--inset img { object-position: 72% 32%; }
.about-visual .frame img { object-position: 26% 38%; }
/* Light teal unify — soft-light nudges the mismatched warm stock toward the brand
   temperature while PRESERVING luminance, so skin and faces stay warm and legible
   (the old color-blend duotone grayed everything into a flat green smear). */
.hero-photo::before, .about-visual .frame::before, .gallery-grid figure::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: var(--teal);
  mix-blend-mode: soft-light;
  opacity: 0.45;
  pointer-events: none;
}
/* Depth + grounding gradient: a warm catch up top, a teal anchor at the base. */
.hero-photo::after, .about-visual .frame::after, .gallery-grid figure::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(168deg, rgba(231,180,134,0.12) 0%, transparent 44%, rgba(13,42,38,0.42) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--copper);
  display: inline-block;
}
.eyebrow.on-dark { color: #e7b486; }
.eyebrow.on-dark::before { background: #e7b486; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal);
  --fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 1rem 1.6rem;
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--bg);
  cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.3s ease, color 0.3s ease;
  will-change: transform;
}
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.btn--copper { --bg: var(--copper); --fg: #fff; }
.btn--copper:hover { background: var(--copper-deep); border-color: var(--copper-deep); }

.btn--ghost {
  --bg: transparent; --fg: var(--paper);
  border-color: rgba(255,255,255,0.45);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); }

.btn--outline {
  --bg: transparent; --fg: var(--teal);
  border-color: rgba(29, 92, 84, 0.35);
}
.btn--outline:hover { background: var(--teal); color: var(--paper); border-color: var(--teal); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 1.15rem 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.scrolled {
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.7rem 0;
}

.brand { display: flex; align-items: center; gap: 0.7rem; line-height: 1; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream-pale);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  transition: background 0.4s ease, color 0.4s ease;
}
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--paper);
  transition: color 0.4s ease;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(251,248,242,0.7);
  transition: color 0.4s ease;
}
.site-header.scrolled .brand-name { color: var(--ink); }
.site-header.scrolled .brand-sub { color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.7rem; }
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(251,248,242,0.92);
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1.5px; background: var(--copper);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.site-header.scrolled .nav-links a { color: var(--ink-soft); }
.site-header.scrolled .nav-links a:hover { color: var(--ink); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.94rem;
  padding: 0.62rem 1.15rem;
  border-radius: 100px;
  border: 1.5px solid rgba(251,248,242,0.5);
  color: var(--paper);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); background: var(--copper); border-color: var(--copper); color:#fff; }
.site-header.scrolled .nav-cta { border-color: rgba(29,92,84,0.4); color: var(--teal); }
.site-header.scrolled .nav-cta:hover { background: var(--teal); color: var(--paper); border-color: var(--teal); }

.nav-toggle { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  color: var(--paper);
  overflow: hidden;
  padding-top: clamp(7rem, 6rem + 6vw, 9.5rem);
  padding-bottom: clamp(3.5rem, 2.4rem + 4vw, 6.5rem);
  background:
    radial-gradient(115% 85% at 100% -5%, rgba(47,114,104,0.5), transparent 55%),
    radial-gradient(90% 80% at -10% 110%, rgba(13,42,38,0.7), transparent 60%),
    var(--teal-deep);
}
/* Fine engraved contour lines — a calm, wellness texture instead of flat fill */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(246,241,232,0.04) 0 1px, transparent 1px 46px);
  opacity: 0.7;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%; right: -12%;
  width: 56vw; height: 56vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(196,118,61,0.18), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-eyebrow { margin-bottom: 1.6rem; }
.hero h1 {
  font-size: var(--fs-h1);
  color: var(--cream-pale);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.hero-lead {
  font-size: var(--fs-lead);
  color: rgba(246,241,232,0.84);
  max-width: 32ch;
  margin-bottom: 2.3rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero-trust {
  margin-top: 2.6rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(246,241,232,0.16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.5rem + 1.6vw, 2rem);
}
.trust-item {
  display: flex; flex-direction: column; gap: 5px;
  position: relative;
  padding-left: clamp(1rem, 0.5rem + 1.6vw, 2rem);
}
.trust-item:first-child { padding-left: 0; }
.trust-item:not(:first-child)::before {
  content: "";
  position: absolute; left: 0; top: 2px; bottom: 2px;
  width: 1px; background: rgba(246,241,232,0.18);
}
.trust-num {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.15rem);
  color: #e7b486;
  line-height: 1;
}
.trust-label {
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(246,241,232,0.62);
}

/* Hero visual — stacked editorial photo composition */
.hero-visual { position: relative; z-index: 1; min-height: clamp(360px, 38vw, 560px); }
.hero-photo {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--main {
  inset: 0 0 12% 18%;
}
.hero-photo--inset {
  width: 42%;
  aspect-ratio: 3/4;
  left: -2.5%; bottom: -3.5%;
  border: 5px solid var(--cream-pale);
  box-shadow: 0 32px 60px -28px rgba(0,0,0,0.62);
  z-index: 2;
}
.hero-badge {
  position: absolute;
  top: 5%; right: 2%;
  z-index: 3;
  background: var(--copper);
  color: #fff;
  border-radius: 16px;
  padding: 0.85rem 1.05rem 0.9rem;
  box-shadow: var(--shadow);
  max-width: 178px;
}
.hero-badge::before {
  content: "✦";
  font-size: 0.7rem;
  opacity: 0.85;
  display: block;
  margin-bottom: 0.3rem;
}
.hero-badge strong { display: block; font-family: var(--display); font-size: 1.12rem; line-height: 1.12; }
.hero-badge span { font-size: 0.73rem; letter-spacing: 0.03em; opacity: 0.92; }

/* =========================================================
   Marquee strip
   ========================================================= */
.strip {
  background: var(--copper);
  color: #fff;
  padding: 0.95rem 0;
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.strip-track span {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 3rem;
}
.strip-track span::after { content: "✦"; opacity: 0.7; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* =========================================================
   Section scaffolding
   ========================================================= */
.section { padding-block: var(--space-section); position: relative; }
.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: 1.1rem; }
.section-head p { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 38ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { max-width: 46ch; margin-inline: auto; }

/* Split head — heading anchored left, supporting line set against it on the right
   so a wide dark band reads as a composed masthead instead of a narrow column
   stranded beside an empty void. */
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 1rem + 3vw, 4.5rem);
  align-items: end;
}
.section-head--split .eyebrow { margin-bottom: 1.1rem; }
.section-head--split h2 { margin-bottom: 0; }
.section-head--split p { max-width: 42ch; padding-bottom: 0.35rem; }
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; align-items: start; gap: 1.4rem; }
}

/* ---------- About ---------- */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 1.5rem + 5vw, 6rem);
  align-items: center;
}
.about-visual { position: relative; }
.about-visual .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.about-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-card {
  position: absolute;
  right: clamp(-0.5rem, -2vw, -2.5rem);
  bottom: -1.8rem;
  background: var(--teal);
  color: var(--paper);
  padding: 1.4rem 1.7rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 250px;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--copper);
}
.about-card .sig {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--cream-pale);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}
.about-card .role { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: #e7b486; }

.about-copy h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; }
.about-copy .lead { font-size: var(--fs-lead); color: var(--ink); margin-bottom: 1.2rem; }
.about-copy p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-top: 2rem; }
.about-value { border-top: 2px solid var(--copper); padding-top: 0.9rem; }
.about-value h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; margin-bottom: 0.25rem; letter-spacing: 0; }
.about-value p { font-size: 0.92rem; margin: 0; }

/* ---------- Services (editorial photo rows) ---------- */
.services {
  color: var(--paper);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(47,114,104,0.34), transparent 58%),
    var(--teal-deep);
}
.services .section-head h2 { color: var(--cream-pale); }
.services .section-head p { color: rgba(246,241,232,0.78); }

.svc-list { display: grid; gap: 1.1rem; }
.svc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  padding: 1.6rem clamp(1.2rem, 0.6rem + 2vw, 2.4rem);
  border-radius: var(--radius);
  background: rgba(246,241,232,0.045);
  border: 1px solid rgba(246,241,232,0.12);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc-row:hover {
  background: rgba(246,241,232,0.09);
  border-color: rgba(231,180,134,0.4);
  transform: translateX(6px);
}
.svc-num {
  font-family: var(--display);
  font-size: 1.1rem;
  color: #e7b486;
  width: 2.4rem;
}
.svc-main h3 { font-size: var(--fs-h3); color: var(--cream-pale); margin-bottom: 0.35rem; }
.svc-main p { color: rgba(246,241,232,0.74); font-size: 0.96rem; max-width: 52ch; }
.svc-tag {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,241,232,0.6);
  white-space: nowrap;
}

/* Conditions chip cluster */
.conditions {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
  padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-top: 1px solid rgba(246,241,232,0.14);
}
.conditions h3 { font-size: var(--fs-h3); color: var(--cream-pale); }
.conditions p { color: rgba(246,241,232,0.74); margin-top: 0.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.05rem;
  border-radius: 100px;
  background: rgba(246,241,232,0.07);
  border: 1px solid rgba(246,241,232,0.2);
  color: var(--cream-pale);
  transition: background 0.3s ease, transform 0.3s ease;
}
.chip:hover { background: var(--copper); border-color: var(--copper); transform: translateY(-2px); }

/* ---------- Approach / process ---------- */
.approach { background: var(--cream-pale); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.3rem, 0.8rem + 2vw, 2.5rem); }
.step {
  position: relative;
  padding: 2.2rem 1.7rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-deep));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step:hover::before { transform: scaleX(1); }
.step-num {
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 0.9rem;
  display: block;
}
.step h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Gallery band ---------- */
.gallery { background: var(--paper); padding-bottom: 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 18vw, 240px);
  gap: clamp(0.75rem, 0.4rem + 1.2vw, 1.2rem);
  margin-top: clamp(2rem, 1rem + 3vw, 3.5rem);
}
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Locations / contact ---------- */
.contact {
  color: var(--paper);
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(47,114,104,0.3), transparent 55%),
    var(--teal-deep);
}
.contact .section-head h2 { color: var(--cream-pale); }
.contact .section-head p { color: rgba(246,241,232,0.78); }
.loc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.3rem, 0.8rem + 2vw, 2.2rem);
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
}
.loc-card {
  background: rgba(246,241,232,0.05);
  border: 1px solid rgba(246,241,232,0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1rem + 2vw, 2.5rem);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.loc-card:hover { border-color: rgba(231,180,134,0.45); transform: translateY(-4px); }
.loc-card .loc-tag { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: #e7b486; }
.loc-card h3 { font-size: var(--fs-h3); color: var(--cream-pale); margin: 0.6rem 0 1rem; }
.loc-row { display: flex; gap: 0.7rem; align-items: flex-start; color: rgba(246,241,232,0.82); margin-bottom: 0.7rem; font-size: 0.97rem; }
.loc-row svg { flex: none; margin-top: 3px; opacity: 0.8; }
.loc-row a:hover { color: #e7b486; }
.loc-phone { font-family: var(--display); font-size: 1.5rem; color: var(--cream-pale); }
.loc-phone:hover { color: #e7b486; }
.loc-hours { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(246,241,232,0.14); display: grid; gap: 0.3rem; font-size: 0.9rem; color: rgba(246,241,232,0.78); }
.loc-hours div { display: flex; justify-content: space-between; gap: 1rem; }
.loc-hours .closed { color: rgba(246,241,232,0.5); }

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--teal), var(--teal-soft));
}
.contact-cta h3 { font-size: var(--fs-h3); color: var(--cream-pale); max-width: 22ch; }
.contact-cta p { color: rgba(246,241,232,0.8); margin-top: 0.4rem; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(246,241,232,0.72); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 1.5rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246,241,232,0.12);
}
.footer-brand .brand-name { color: var(--cream-pale); font-size: 1.3rem; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-size: 0.94rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #e7b486; margin: 0 0 1rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.94rem; margin-bottom: 0.55rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--cream-pale); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem;
  padding-top: 1.5rem; font-size: 0.82rem; color: rgba(246,241,232,0.5);
}

/* Spec footer (required) */
.spec-footer {
  background: #11100e;
  color: rgba(246,241,232,0.62);
  text-align: center;
  font-size: 0.84rem;
  padding: 1.3rem var(--gutter);
  line-height: 1.6;
}
.spec-footer a { color: #e7b486; text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* No-JS safety: the inline script swaps no-js->js; if JS is off entirely, never
   leave reveal content stranded at opacity 0. */
.no-js .reveal { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* On-load hero stagger.
   Only hide when JS is present (.js); without JS the content stays fully
   visible. Kept short + snappy so the hero is filled in well under a second. */
.hero-anim { opacity: 1; transform: none; }
.js .hero-anim { opacity: 0; transform: translateY(16px); animation: heroIn 0.6s var(--ease) forwards; }
.js .hero-anim.h1 { animation-delay: 0.05s; }
.js .hero-anim.h2 { animation-delay: 0.12s; }
.js .hero-anim.h3 { animation-delay: 0.19s; }
.js .hero-anim.h4 { animation-delay: 0.26s; }
.js .hero-anim.h5 { animation-delay: 0.33s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-anim, .js .hero-anim { opacity: 1 !important; transform: none !important; animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: clamp(340px, 70vw, 460px); margin-top: 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-card { position: static; margin-top: 1.5rem; max-width: none; }
  .conditions { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; border: 1.5px solid currentColor;
    color: var(--paper); padding: 0.5rem 0.9rem; border-radius: 100px;
    font-family: var(--sans); font-weight: 600; font-size: 0.85rem; cursor: pointer;
  }
  .site-header.scrolled .nav-toggle { color: var(--ink); }
  .approach-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 36vw, 200px); }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .svc-row { grid-template-columns: auto 1fr; }
  .svc-tag { display: none; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-badge { display: none; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .g-wide { grid-column: span 1; }
  .hero-visual { min-height: clamp(300px, 86vw, 420px); }
}
