/* ============================================================
   Ability First Care, LLC — ability1stcare.com
   Design system v2
   Brand: teal #113A45 · gold #C0892A · sage #A9BFAE · cream #F9F5F2
   Display: Cormorant Garamond · Text: Inter
   ============================================================ */

:root {
  --teal: #113a45;
  --teal-deep: #0a2831;
  --teal-ink: #16323c;
  --gold: #c0892a;
  --gold-soft: #d9a44b;
  --gold-pale: #f3e4c8;
  --sage: #a9bfae;
  --sage-tint: #eef2ec;
  --cream: #faf7f3;
  --cream-deep: #f4ede4;
  --white: #ffffff;
  --ink: #2a3b41;
  --muted: #64777d;
  --line: #e7dfd3;
  --line-dark: rgba(255, 255, 255, 0.12);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --shadow-lg: 0 30px 60px -20px rgba(10, 40, 49, 0.25);
  --shadow-md: 0 16px 40px -16px rgba(10, 40, 49, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold-pale); color: var(--teal); }

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--teal);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }

section { padding: 110px 0; position: relative; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
/* Wavy line with a heart at the end (brand flourish) */
:root {
  --squiggle-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 14'%3E%3Cpath d='M2 8q4-5 8 0t8 0t8 0t8 0' fill='none' stroke='%23c0892a' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath transform='translate(37.5 1.5) scale(0.46)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23c0892a'/%3E%3C/svg%3E");
  --squiggle-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 14'%3E%3Cpath d='M2 8q4-5 8 0t8 0t8 0t8 0' fill='none' stroke='%23d9a44b' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath transform='translate(37.5 1.5) scale(0.46)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23d9a44b'/%3E%3C/svg%3E");
}
.eyebrow::before {
  content: "";
  width: 50px;
  height: 14px;
  background: var(--squiggle-gold) no-repeat center / contain;
}
.center .eyebrow::after {
  content: "";
  width: 50px;
  height: 14px;
  background: var(--squiggle-gold) no-repeat center / contain;
  transform: scaleX(-1);
}

.section-intro { max-width: 640px; margin-bottom: 64px; }
.section-intro p { color: var(--muted); font-size: 1.06rem; margin-top: 18px; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform 0.35s var(--ease); display: inline-flex; }
.btn:hover .arr { transform: translateX(5px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a97622; box-shadow: 0 12px 28px -10px rgba(192, 137, 42, 0.55); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); box-shadow: 0 12px 28px -10px rgba(17, 58, 69, 0.45); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; background: rgba(255,255,255,0.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.7); }
.btn-ghost-teal { border-color: rgba(17,58,69,0.25); color: var(--teal); background: transparent; }
.btn-ghost-teal:hover { border-color: var(--teal); background: var(--teal); color: #fff; }

/* Text link with animated underline */
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}
.textlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.textlink:hover::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(250, 247, 243, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(17, 58, 69, 0.08), 0 10px 30px -18px rgba(10, 40, 49, 0.2);
  padding: 10px 0;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 64px; width: auto; transition: height 0.4s var(--ease); }
.site-header.scrolled .brand img { height: 52px; }

/* On dark hero pages the logo needs a light plate until scroll */
.header-dark:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.header-dark:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.85); }
.header-dark:not(.scrolled) .nav-links a:hover,
.header-dark:not(.scrolled) .nav-links a.active { color: #fff; }
.header-dark:not(.scrolled) .nav-phone { color: rgba(255,255,255,0.9); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--teal);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.nav-phone svg { width: 15px; height: 15px; color: var(--gold); }
.nav-cta .btn { padding: 12px 24px; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--teal);
  margin: 6px 0;
  transition: 0.35s var(--ease);
}
.header-dark:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 160px 0 120px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(78deg, rgba(7, 32, 40, 0.92) 0%, rgba(10, 40, 49, 0.78) 38%, rgba(10, 40, 49, 0.35) 68%, rgba(10, 40, 49, 0.45) 100%);
}
.hero .container { width: 100%; }
.hero-inner { max-width: 660px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 28px;
}
.hero-kicker::before { content: ""; width: 50px; height: 14px; background: var(--squiggle-soft) no-repeat center / contain; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}
.hero .lede {
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.hero-card {
  position: absolute;
  right: 48px;
  bottom: 48px;
  background: rgba(250, 247, 243, 0.96);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: none;
}
.hero-card .pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(192, 137, 42, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(192, 137, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(192, 137, 42, 0); }
}
.hero-card strong { display: block; color: var(--teal); font-size: 0.88rem; line-height: 1.4; white-space: nowrap; }
@media (max-width: 1024px) { .hero-card { max-width: 320px; } .hero-card strong { white-space: normal; } }
.hero-card span { font-size: 0.8rem; color: var(--muted); }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 38px;
  background: linear-gradient(rgba(255,255,255,0.7), transparent);
  animation: drip 2s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Values band ---------- */
.values-ribbon {
  background:
    radial-gradient(900px 380px at 15% -20%, rgba(192, 137, 42, 0.16), transparent 60%),
    radial-gradient(700px 340px at 90% 120%, rgba(169, 191, 174, 0.12), transparent 60%),
    var(--teal-deep);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.values-ribbon::before {
  content: "";
  position: absolute;
  left: 50%; top: -190px;
  transform: translateX(-50%);
  width: 520px; height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}
.vb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.vb-item {
  text-align: center;
  padding: 10px 36px;
  position: relative;
  transition: transform 0.45s var(--ease);
}
.vb-item + .vb-item { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.vb-item:hover { transform: translateY(-5px); }
.vb-orn {
  width: 54px; height: 15px;
  margin: 0 auto 16px;
  background: var(--squiggle-soft) no-repeat center / contain;
  transition: transform 0.45s var(--ease);
}
.vb-item:hover .vb-orn { transform: scale(1.12); }
.vb-item .vb-word {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-style: italic;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.vb-item p {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
  transition: color 0.4s;
}
.vb-item:hover p { color: var(--gold-soft); }

/* ---------- Photo treatments ---------- */
.photo-frame {
  position: relative;
  border-radius: var(--r-lg);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  opacity: 0.55;
  z-index: -1;
}
.photo-frame.frame-right::before { inset: -18px -18px 18px 18px; }
.photo-frame.landscape img { aspect-ratio: 5 / 3.4; }

.float-badge {
  position: absolute;
  left: -26px;
  bottom: 34px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 270px;
}
.float-badge .fb-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-badge .fb-icon svg { width: 20px; height: 20px; }
.float-badge strong { display: block; font-size: 0.88rem; color: var(--teal); line-height: 1.35; }
.float-badge span { font-size: 0.76rem; color: var(--muted); }

.h2-fit { font-size: clamp(1.8rem, 2.75vw, 2.4rem); white-space: nowrap; }
@media (max-width: 700px) { .h2-fit { white-space: normal; font-size: clamp(1.7rem, 6.5vw, 2rem); } }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.split .lead-para {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--teal-ink);
}

/* ---------- Services (editorial cards) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.svc {
  background: var(--white);
  padding: 44px 38px 40px;
  position: relative;
  transition: background 0.4s var(--ease);
}
.svc:hover { background: var(--cream); }
.svc .num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 22px;
}
.svc h3 { margin-bottom: 12px; transition: color 0.3s; }
.svc p { color: var(--muted); font-size: 0.94rem; line-height: 1.7; }
.svc .svc-icon {
  position: absolute;
  top: 40px; right: 34px;
  width: 26px; height: 26px;
  color: var(--sage);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.svc:hover .svc-icon { color: var(--gold); transform: translateY(-3px); }
.svc .svc-icon svg { width: 100%; height: 100%; }
.svc::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.svc:hover::after { transform: scaleX(1); }

/* ---------- Dark band ---------- */
.band-dark {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(192, 137, 42, 0.14), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(169, 191, 174, 0.1), transparent 60%),
    var(--teal-deep);
  color: rgba(255, 255, 255, 0.82);
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .section-intro p { color: rgba(255, 255, 255, 0.72); }
.band-dark .eyebrow { color: var(--gold-soft); }
.band-dark .eyebrow::before, .band-dark .center .eyebrow::after { background-image: var(--squiggle-soft); }

.refer-rows { border-top: 1px solid var(--line-dark); }
.refer-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.35s var(--ease), padding-left 0.35s var(--ease);
}
.refer-row:hover { background: rgba(255,255,255,0.04); padding-left: 18px; }
.refer-row .rr-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
}
.refer-row .rr-icon svg { width: 22px; height: 22px; }
.refer-row h3 { font-size: 1.25rem; margin-bottom: 3px; }
.refer-row p { font-size: 0.9rem; color: rgba(255,255,255,0.72); margin: 0; }
.refer-row .rr-arr { color: rgba(255,255,255,0.35); transition: color 0.3s, transform 0.3s var(--ease); }
.refer-row:hover .rr-arr { color: var(--gold-soft); transform: translateX(4px); }

/* ---------- Editorial "why" list ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(48px, 6vw, 90px);
}
.why-item {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.why-item .num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  padding-top: 3px;
}
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.stat .big {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
}
.stat .big em { color: var(--gold); font-style: normal; }
.stat p { color: var(--muted); font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 130px 0;
  overflow: hidden;
}
.cta-band .cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(7, 32, 40, 0.88), rgba(10, 40, 49, 0.82));
}
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band h2 em { color: var(--gold-soft); font-style: italic; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  padding: 170px 0 96px;
  background:
    radial-gradient(900px 420px at 88% 20%, rgba(192, 137, 42, 0.16), transparent 55%),
    radial-gradient(700px 400px at 5% 90%, rgba(169, 191, 174, 0.12), transparent 55%),
    var(--teal-deep);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 8%; top: -220px;
  width: 560px; height: 560px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.ph-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(48px, 6vw, 90px);
  align-items: center;
}
.page-hero h1 { color: #fff; max-width: 720px; }
.page-hero h1 em { color: var(--gold-soft); font-style: italic; }
.page-hero .sub { color: rgba(255,255,255,0.75); max-width: 560px; margin-top: 22px; font-size: 1.05rem; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background-image: var(--squiggle-soft); }
.ph-media {
  position: relative;
  justify-self: end;
  width: min(360px, 100%);
}
.ph-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 190px 190px 24px 24px;
  box-shadow: var(--shadow-lg);
}
.ph-media::before {
  content: "";
  position: absolute;
  inset: -16px -16px 14px 16px;
  border: 1px solid var(--gold-soft);
  border-radius: 190px 190px 24px 24px;
  opacity: 0.45;
}
.ph-media .ph-chip {
  position: absolute;
  left: -22px; bottom: 26px;
  background: rgba(250, 247, 243, 0.97);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  padding: 10px 20px 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}
.ph-media .ph-chip .chip-sub {
  font-weight: 400;
  color: var(--muted);
}
.ph-media .ph-chip .chip-heart {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 22px 0; }
.checklist li {
  padding: 13px 0 13px 40px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage-tint);
  border: 1px solid var(--sage);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px; top: 23px;
  width: 10px; height: 6px;
  border-left: 1.8px solid var(--gold);
  border-bottom: 1.8px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Notice ---------- */
.notice {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 34px;
  font-size: 0.94rem;
  color: var(--muted);
  position: relative;
  box-shadow: var(--shadow-md);
}
.notice::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
}
.notice strong { color: var(--teal); display: block; margin-bottom: 6px; font-size: 1rem; }

/* ---------- Quote ---------- */
.founder-block {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 52px 56px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.founder-block::before {
  content: "\201C";
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 7rem;
  color: var(--gold-pale);
  position: absolute;
  top: 6px; left: 34px;
  line-height: 1;
}
.founder-block blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-style: italic;
  color: var(--teal-ink);
  line-height: 1.55;
  position: relative;
  margin-bottom: 28px;
}
.founder-sig { display: flex; align-items: center; gap: 16px; }
.founder-sig .sig-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--gold-soft);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.founder-sig strong { color: var(--teal); display: block; font-size: 0.95rem; }
.founder-sig span { color: var(--muted); font-size: 0.82rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 52px;
  box-shadow: var(--shadow-lg);
}
.form-card > h3 { font-size: 1.7rem; margin-bottom: 8px; }
.form-card .form-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.field label .req { color: var(--gold); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(192, 137, 42, 0.12);
}
.field textarea { min-height: 140px; resize: vertical; }

fieldset.services-set {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 24px 26px 20px;
}
fieldset.services-set legend {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0 10px;
}
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.check-grid label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}
.check-grid input { accent-color: var(--gold); margin-top: 4px; }

.upload-box {
  border: 1.5px dashed var(--sage);
  border-radius: var(--r-sm);
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--sage-tint);
  transition: border-color 0.3s, background 0.3s;
}
.upload-box:hover { border-color: var(--gold); }
.upload-box input[type="file"] { margin-top: 12px; font-size: 0.84rem; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 18px; line-height: 1.6; }

/* ---------- Contact layout ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 54px;
  align-items: start;
}
.contact-side { display: grid; gap: 16px; }
.info-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.info-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.info-tile .it-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sage-tint);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-tile .it-icon svg { width: 20px; height: 20px; }
.info-tile strong { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info-tile a, .info-tile p { color: var(--teal); font-weight: 600; text-decoration: none; font-size: 1rem; margin: 0; }
.info-tile a:hover { color: var(--gold); }
.contact-photo { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-photo img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.68);
  padding: 0;
  font-size: 0.92rem;
}
.footer-cta {
  border-bottom: 1px solid var(--line-dark);
  padding: 72px 0;
}
.footer-cta .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-cta h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: none;
}
.footer-cta h2 em { color: var(--gold-soft); font-style: italic; }
.footer-main { padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand img { height: 46px; margin-bottom: 22px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.site-footer .heart { color: var(--gold-soft); font-style: normal; }
.footer-brand p:not(.footer-tagline) { font-size: 0.88rem; line-height: 1.8; }
.site-footer .fh {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
  font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,0.68); text-decoration: none; transition: color 0.25s, padding-left 0.25s; }
.site-footer a:hover { color: #fff; }
.footer-links a { position: relative; }
.footer-links a::before {
  content: "→";
  position: absolute;
  left: -18px;
  opacity: 0;
  transition: opacity 0.25s, left 0.25s;
  color: var(--gold-soft);
}
.footer-links a:hover { padding-left: 22px; }
.footer-links a:hover::before { opacity: 1; left: 0; }
.footer-disclaimer {
  border-top: 1px solid var(--line-dark);
  padding: 28px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  max-width: 980px;
}
.footer-disclaimer .dis-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(217, 164, 75, 0.7);
  margin-bottom: 7px;
}
.footer-copy {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0 28px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid var(--line-dark);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.d1 { --d: 0.08s; } .d2 { --d: 0.16s; } .d3 { --d: 0.24s; }
.d4 { --d: 0.32s; } .d5 { --d: 0.4s; } .d6 { --d: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Thank you ---------- */
.thanks-wrap { min-height: 68vh; display: flex; align-items: center; padding: 180px 0 100px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-card { display: none; }
}
@media (max-width: 960px) {
  section { padding: 84px 0; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.flip .photo-col { order: -1; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--teal-deep);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
    z-index: 105;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { color: #fff !important; font-size: 1.4rem; font-family: 'Cormorant Garamond', Georgia, serif; }
  .float-badge { left: 12px; }
  .ph-grid { grid-template-columns: 1fr; gap: 44px; }
  .ph-media { justify-self: center; width: min(300px, 80%); }
  .page-hero { padding: 150px 0 80px; }
}
@media (max-width: 720px) {
  section { padding: 68px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .check-grid, .form-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 32px 24px; }
  .founder-block { padding: 40px 28px; }
  .hero { min-height: auto; padding: 150px 0 90px; }
  .page-hero { padding: 140px 0 70px; }
  .vb-grid { grid-template-columns: 1fr; }
  .vb-item { padding: 26px 20px; }
  .vb-item + .vb-item { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .ph-media .ph-chip { left: 50%; transform: translateX(-50%); }
  .refer-row { grid-template-columns: 48px 1fr; }
  .refer-row .rr-arr { display: none; }
}


/* ---------- Accessibility & SEO helpers ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  background: var(--gold);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Legal pages ---------- */
.legal h2 {
  font-size: 1.5rem;
  margin: 36px 0 10px;
}
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); }
.legal a { color: var(--teal); font-weight: 600; }

/* Make <picture> transparent to layout so img sizes against its real container */
picture { display: contents; }


/* v12 additions */
.h1-fit { white-space: nowrap; font-size: clamp(2rem, 3.4vw, 2.9rem); }
@media (max-width: 800px) { .h1-fit { white-space: normal; font-size: clamp(1.9rem, 8vw, 2.4rem); } }
.vp-link { background: none; border: none; padding: 0; margin-top: 10px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.vp-link:hover { color: var(--teal); }
.vp-body { margin-top: 8px; }
.vp-body[hidden] { display: none; }

/* v13 additions */
.ph-media img { height: auto; }

/* v14 additions */
@media (max-width: 800px) { .h1-snug { font-size: clamp(1.6rem, 8.9vw, 2.6rem); } }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
/* mobile overflow guards */
.split > *, .contact-layout > * { min-width: 0; }
.form-grid .field, .form-grid .full { min-width: 0; }
select { max-width: 100%; min-width: 0; }
.check-grid label { min-width: 0; }
