/* ============================================================
   ELEVATED BEAUTY MEDSPA — Miami Lakes
   "Warm boutique" identity — soft serif, oat + bronzed-clay +
   warm dark-brown, arched imagery. Tokens first, components after.
   Shared across all pages (home, services, about, contact, 404).
   ============================================================ */
:root {
  --bg:        #f6efe2;   /* page — warm oat */
  --bg-elev:   #ece0cd;   /* warm sand bands */
  --brown:     #33271c;   /* warm dark-brown — dark sections */
  --brown-deep:#231a12;   /* footer */
  --ink:       #2c241c;   /* primary text — warm near-black */
  --ink-soft:  #695b4d;   /* secondary text */
  --ink-mute:  #6e6357;   /* tertiary text — darkened from #9a8a76 to pass WCAG AA 4.5:1 on the oat bg */
  --line:      #e3d7c1;   /* hairlines */
  --clay:      #b07a5a;   /* bronzed-clay accent */
  --clay-deep: #8f5e42;   /* clay on light */
  --clay-soft: #e6d0b9;   /* clay tint */
  --cream:     #f6efe2;   /* text/surfaces on dark */
  --field:     #fffdf8;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
  --pad: clamp(1.3rem, 4.5vw, 3rem);
  --r:   4px;
  --r-lg: 16px;
  --arch: 50% 50% var(--r) var(--r) / 33% 33% var(--r) var(--r);
  --ease: cubic-bezier(.22,.61,.36,1);
  --t-quick: 220ms;
  --t-slow: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
::selection { background: var(--clay-soft); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

/* eyebrow — clay spaced caps with a small diamond mark */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .73rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--clay-deep); margin: 0 0 1.4rem;
}
.eyebrow::before { content: "\25C6"; font-size: .5rem; color: var(--clay); }

/* headings */
.h-display { font-size: clamp(2.8rem, 6vw, 4.9rem); line-height: 1.03; letter-spacing: -.012em; }
.h-section { font-size: clamp(2.1rem, 4.3vw, 3.4rem); letter-spacing: -.012em; }
.h-display em, .h-section em { font-style: italic; color: var(--clay-deep); }
.lede { font-size: clamp(1.07rem, 1.5vw, 1.2rem); color: var(--ink-soft); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-size: .77rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 1.05rem 1.95rem; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; transition: background var(--t-quick) var(--ease), color var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease);
}
.btn--solid { background: var(--clay-deep); color: var(--cream); border-color: var(--clay-deep); }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(44,36,28,.3); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--cream); color: var(--brown); border-color: var(--cream); }
.btn--light:hover { background: var(--clay-soft); border-color: var(--clay-soft); }
.btn--on-dark.btn--ghost { color: var(--cream); border-color: rgba(246,239,226,.42); }
.btn--on-dark.btn--ghost:hover { border-color: var(--cream); }

/* arched image frame — padding-top technique (no CSS aspect-ratio) */
.arch {
  position: relative; overflow: hidden;
  padding-top: 125%;                 /* 4:5 portrait slot */
  border-radius: var(--arch);
  background: var(--bg-elev);
}
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--arch);
  border: 1px solid rgba(176,122,90,.3); pointer-events: none;
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  /* Solid (opaque) on purpose: backdrop-filter here triggered a WebKit/iOS repaint
     bug that left the revealed Services dropdown links unpainted until a repaint
     (focus/scroll) forced them in. Dropping it fixes that with no visual loss. */
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-quick) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { margin-right: auto; display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; letter-spacing: .005em; }
.brand span { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; }

.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; font-size: .82rem; letter-spacing: .03em; }
.nav__item { position: relative; }
.nav__item > a { color: var(--ink-soft); transition: color var(--t-quick) var(--ease); display: inline-block; }
.nav__item > a:hover, .nav__link--current { color: var(--ink); }
.nav__link--current { font-weight: 600; }

/* services dropdown (desktop: hover/focus reveal) */
.nav__sub-toggle { display: none; }
.nav__sub {
  list-style: none; margin: 0; padding: .5rem 0;
  display: none;   /* display-toggle reveal: forces a clean paint. (An opacity/visibility
                      transition left the links interactive-but-unpainted on WebKit until a repaint.) */
  position: absolute; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%);
  min-width: 248px; background: var(--field); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 28px 50px -34px rgba(44,36,28,.45);
}
/* invisible bridge so the cursor can cross the gap without the panel closing */
.nav__item--has-sub::after { content: ""; position: absolute; left: -1rem; right: -1rem; top: 100%; height: .9rem; }
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub { display: block; }
.nav__sub li a { display: block; padding: .6rem 1.4rem; color: var(--ink); font-size: .86rem; letter-spacing: .01em; transition: background var(--t-quick) var(--ease), color var(--t-quick) var(--ease); }
.nav__sub li a:hover { background: var(--bg-elev); color: var(--clay-deep); }
.nav__cta { padding: .78rem 1.4rem; font-size: .67rem; }

/* hamburger */
.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 40px; padding: 0 9px; background: transparent; border: 0; cursor: pointer;
}
.nav__toggle span { display: block; height: 1.6px; width: 100%; background: var(--ink); transition: transform var(--t-quick) var(--ease), opacity var(--t-quick) var(--ease); }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.6rem;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height var(--t-quick) var(--ease), visibility var(--t-quick) var(--ease);
  }
  .nav.open .nav__menu { max-height: 80vh; overflow: auto; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__item { border-top: 1px solid var(--line); }
  .nav__item > a { padding: 1rem 0; font-size: 1rem; color: var(--ink); }
  .nav__item--has-sub > a { display: inline-block; }
  .nav__sub-toggle {
    display: block; position: absolute; top: .55rem; right: 0;
    width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer;
  }
  .nav__sub-toggle::after { content: "+"; font-size: 1.5rem; color: var(--clay-deep); }
  .nav__item.sub-open .nav__sub-toggle::after { content: "\2013"; }
  .nav__sub {
    display: none;
    position: static; transform: none;
    min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 0 0 .6rem;
  }
  .nav__item.sub-open .nav__sub { display: block; }
  .nav__sub li a { padding: .55rem 0 .55rem 1rem; }
  .nav__cta { width: 100%; margin-top: 1.2rem; }
}

/* ---------- HERO — full-bleed (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-elev); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; z-index: 0; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(246,239,226,.975) 0%, rgba(246,239,226,.9) 40%, rgba(246,239,226,.5) 68%, rgba(246,239,226,.12) 100%),
    linear-gradient(180deg, rgba(246,239,226,.1) 0%, transparent 26%, transparent 74%, rgba(51,39,28,.16) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-top: clamp(4.5rem, 11vw, 8.5rem); padding-bottom: clamp(4.5rem, 11vw, 8.5rem); }
.hero__title { max-width: 15ch; margin-bottom: 1.6rem; }
.hero__lede { max-width: 44ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem;
  margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-soft);
}
.hero__trust b { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.stars { color: var(--clay); letter-spacing: .14em; }
@media (max-width: 880px) {
  .hero__bg { object-position: 62% center; }
  .hero__veil { background: linear-gradient(180deg, rgba(246,239,226,.93) 0%, rgba(246,239,226,.86) 55%, rgba(246,239,226,.9) 100%); }
}

/* ---------- PAGE HERO — inner pages (services/about/contact) ---------- */
.phero { background: var(--bg-elev); border-bottom: 1px solid var(--line); }
.phero__inner { padding-top: clamp(2.8rem, 6vw, 4.6rem); padding-bottom: clamp(3rem, 6vw, 4.6rem); }
.phero__title { max-width: 18ch; margin-bottom: 1.3rem; }
.phero__lede { max-width: 56ch; }
.phero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* breadcrumb */
.crumb { font-size: .76rem; letter-spacing: .04em; color: var(--ink-mute); margin: 0 0 1.4rem; }
.crumb a { color: var(--ink-soft); border-bottom: 1px solid transparent; }
.crumb a:hover { border-bottom-color: var(--clay); }
.crumb span { color: var(--ink); }

/* ---------- SPLIT sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.8rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media .arch { box-shadow: 0 36px 64px -46px rgba(44,36,28,.5); }
.split__copy .lede { margin-top: 1.2rem; max-width: 46ch; }

.pillars { list-style: none; margin: 1.9rem 0 0; padding: 0; }
.pillars li { padding: 1.05rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.1rem; }
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars .p-num { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--clay-deep); grid-row: span 2; }
.pillars .p-title { font-family: var(--serif); font-size: 1.35rem; }
.pillars .p-text { color: var(--ink-soft); font-size: .93rem; grid-column: 2; }

.signature { margin-top: 1.7rem; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--clay-deep); }

/* prose — long-form body copy on service/about pages */
.prose { max-width: 64ch; }
.prose p { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 1.2rem; }
.prose h3 { font-size: 1.7rem; margin: 2.2rem 0 .8rem; }
.prose h3:first-child { margin-top: 0; }

/* ---------- SERVICES — dark-brown band ---------- */
.services { background: var(--brown); color: var(--cream); }
.services .eyebrow { color: #d8c1a6; }
.services .eyebrow::before { color: var(--clay); }
.services .lede { color: #cdc4b4; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-top: 3rem; }
.service {
  background: rgba(246,239,226,.05);
  border: 1px solid rgba(246,239,226,.15);
  border-radius: var(--r-lg);
  padding: clamp(1.7rem, 3vw, 2.6rem);
  transition: background var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease);
}
a.service:hover { background: rgba(246,239,226,.09); border-color: rgba(246,239,226,.3); transform: translateY(-3px); }
.service__no { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--clay); }
.service__name { font-size: 1.8rem; margin: .5rem 0 .65rem; color: #fbf5e9; }
.service__desc { color: #c8bfae; font-size: .96rem; }
.service__kw { margin-top: 1.05rem; font-size: .73rem; letter-spacing: .04em; color: #948876; }
.service__kw::before { content: "\2014\00a0"; }
.service__more { margin-top: 1.1rem; font-size: .73rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); display: inline-flex; align-items: center; gap: .45rem; }
a.service:hover .service__more { color: #fbf5e9; }

/* ---------- INFO GRID — "what to expect" style cards on light ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; }
.info {
  background: var(--field); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.info__no { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--clay-deep); }
.info__title { font-family: var(--serif); font-size: 1.35rem; margin: .35rem 0 .55rem; }
.info__text { color: var(--ink-soft); font-size: .94rem; }
@media (max-width: 880px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- FEATURE REVIEW — single quote below the fold on service pages ---------- */
.feature-review {
  background: var(--field); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 3rem); max-width: 780px;
  box-shadow: 0 30px 56px -46px rgba(44,36,28,.4);
}
.feature-review .stars { font-size: 1rem; }
.feature-review blockquote {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.42;
  color: var(--ink); margin: .8rem 0 1.4rem;
}
.feature-review blockquote::before { content: "\201C"; color: var(--clay); }
.feature-review blockquote::after { content: "\201D"; color: var(--clay); }
.feature-review figcaption { font-size: .82rem; color: var(--ink-mute); letter-spacing: .03em; }
.feature-review figcaption b { color: var(--ink); font-weight: 600; }
.feature-review figcaption a { color: var(--clay-deep); border-bottom: 1px solid var(--line); }
.feature-review figcaption a:hover { border-bottom-color: var(--clay); }

/* single-review "proof" block right under a service hero — rating + home-style card */
.reviews__proof { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.reviews__proof .rating-block { text-align: center; }
.reviews__proof .review { max-width: none; }
.reviews__proof .review__by a { color: var(--clay-deep); border-bottom: 1px solid var(--line); }
.reviews__proof .review__by a:hover { border-bottom-color: var(--clay); }
@media (max-width: 760px) { .reviews__proof { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ---------- CALLOUT — soft clay band ---------- */
.callout { background: var(--clay-soft); }
.callout__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.callout__inner .lede { color: var(--ink-soft); margin-top: 1rem; }
.callout__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (max-width: 880px) { .callout__inner { grid-template-columns: 1fr; } }

/* ---------- REVIEWS ---------- */
.reviews { background: var(--bg-elev); }
.reviews__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: 3rem; }
.rating-block { text-align: center; }
.rating-block .num { font-family: var(--serif); font-size: 5.6rem; line-height: .85; color: var(--ink); }
.rating-block .stars { font-size: 1.1rem; display: block; margin: .55rem 0 .35rem; }
.rating-block .count { font-size: .79rem; color: var(--ink-mute); letter-spacing: .04em; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.review {
  background: var(--field); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.9rem; display: flex; flex-direction: column;
}
.review__quote { font-family: var(--serif); font-size: 1.34rem; line-height: 1.42; color: var(--ink); margin: 0 0 1.2rem; }
.review__quote::before { content: "\201C"; color: var(--clay); }
.review__quote::after { content: "\201D"; color: var(--clay); }
.review__by { margin-top: auto; font-size: .8rem; color: var(--ink-mute); letter-spacing: .03em; }
.review__by b { color: var(--ink); font-weight: 600; }
.reviews__cta { margin-top: 2.4rem; text-align: center; }

/* ---------- FAQ ---------- */
.faq__grid { margin-top: 2.5rem; max-width: 800px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.35rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-family: var(--serif); font-size: 1.42rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.4rem; color: var(--clay-deep); transition: transform var(--t-quick) var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--ink-soft); font-size: .98rem; padding: 0 0 1.35rem; max-width: 70ch; }

/* ---------- CONSULT — dark-brown band ---------- */
.consult { background: var(--brown); color: var(--cream); }
.consult .eyebrow { color: #d8c1a6; }
.consult .eyebrow::before { color: var(--clay); }
.consult__grid { display: grid; grid-template-columns: 1fr 420px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.consult__copy .lede { color: #cdc4b4; max-width: 44ch; }
.consult__contact { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.consult__note { margin-top: 1.8rem; font-size: .82rem; color: #b8ad99; max-width: 44ch; }
.form-card { background: var(--bg); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.form-card h3 { font-size: 1.75rem; margin-bottom: .35rem; }
.form-card__sub { font-size: .88rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .67rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.field input, .field select {
  font: inherit; font-size: .95rem; padding: .85rem .95rem;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--field); color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(176,122,90,.18); }
.form-card .btn { width: 100%; margin-top: .4rem; }
.form-card__fine { font-size: .76rem; color: var(--ink-mute); margin-top: .9rem; text-align: center; }
.form-card__result { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.form-card__result-lead { font-size: .9rem; color: var(--ink-soft); margin: 0 0 .6rem; }
.form-card__msg { font-family: var(--serif); font-style: italic; font-size: 1.04rem; line-height: 1.4; color: var(--ink); background: var(--clay-soft); border-radius: var(--r); padding: .9rem 1rem; margin: 0 0 1rem; }
.form-card__result-actions { display: grid; gap: .6rem; }
.form-card__result-actions .btn { width: 100%; margin: 0; }

/* ---------- CONTACT page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info dt { font-size: .67rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--clay-deep); margin-top: 1.6rem; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: .35rem 0 0; font-size: 1.05rem; color: var(--ink); }
.contact-info dd a { border-bottom: 1px solid var(--line); }
.contact-info dd a:hover { border-bottom-color: var(--clay); }
.hours { list-style: none; margin: .35rem 0 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; max-width: 22rem; padding: .25rem 0; color: var(--ink-soft); font-size: .96rem; border-bottom: 1px dashed var(--line); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 56px -44px rgba(44,36,28,.45); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- VALUES (about) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; }
.value { padding: 1.6rem 0 0; border-top: 2px solid var(--clay); }
.value h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.value p { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 880px) { .values { grid-template-columns: 1fr; } }

/* gallery (about) — three arched photos */
.gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); margin-top: 2.8rem; }
.gallery3 .arch { padding-top: 118%; box-shadow: 0 30px 56px -46px rgba(44,36,28,.5); }
@media (max-width: 720px) { .gallery3 { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; } }

/* ---------- FOOTER ---------- */
.foot { background: var(--brown-deep); color: #cabfae; padding: clamp(3rem, 6vw, 5rem) 0 3rem; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.foot__brand b { font-family: var(--serif); font-size: 1.5rem; color: #fbf5e9; }
.foot__brand p { margin: .6rem 0 0; font-size: .9rem; }
.foot__nav { display: flex; gap: 3.2rem; flex-wrap: wrap; }
.foot__col h4 { font-family: var(--sans); font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; color: #b8ad99; margin: 0 0 .9rem; font-weight: 600; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { margin-bottom: .5rem; }
.foot__col a { font-size: .9rem; color: #cabfae; border-bottom: 1px solid transparent; }
.foot__col a:hover { border-bottom-color: var(--clay); color: #fbf5e9; }
.foot__contact { font-size: .9rem; }
.foot__contact a { border-bottom: 1px solid rgba(246,239,226,.25); }
.foot__contact a:hover { border-bottom-color: var(--clay); }
.foot__disclaimer { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(246,239,226,.13); font-size: .76rem; color: #b8ad99; max-width: 70ch; }
.foot__meta { margin-top: 1.4rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #a89b87; }

/* ---------- 404 ---------- */
.nf { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.nf__num { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 12vw, 8rem); color: var(--clay-deep); line-height: 1; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { order: -1; }
  .service-grid { grid-template-columns: 1fr; }
  .reviews__head { grid-template-columns: 1fr; text-align: center; }
  .review-grid { grid-template-columns: 1fr; }
  .consult__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ACCESSIBILITY (WCAG 2.1 AA + 2.2 AA stretches)
   ============================================================ */
/* visually hidden but reachable to assistive tech */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* skip to main content — keyboard-only escape past the nav */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--clay-deep); color: var(--cream);
  padding: .85rem 1.3rem;
  font: 600 .82rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  border-radius: 0 0 var(--r-lg) 0;
}
.skip-link:focus { left: 0; outline: 2px solid var(--clay); outline-offset: 2px; }

/* visible focus — keyboard only (clicks don't trigger :focus-visible) */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn:focus-visible { outline-offset: 3px; }
.nav__sub li a:focus-visible { outline-offset: -2px; background: var(--bg-elev); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--clay-deep); outline-offset: 0;
}

/* respect OS-level "more contrast" requests (Windows/macOS/iOS High Contrast) */
@media (prefers-contrast: more) {
  :root {
    --ink-mute:   #4f4639;
    --ink-soft:   #3d342c;
    --clay-deep:  #6e3f24;
    --line:       #c5b59a;
  }
  :focus-visible { outline-width: 3px; }
  .foot__col h4, .foot__disclaimer { color: #e6dac3; }
  .foot__meta { color: #d0c4ad; }
  .consult__note { color: #e6dac3; }
}
