/* Layout concept: an editorial, home-like residency site. Arched "doorway" photo frames
   (casa = home) are the one signature move; everything else is quiet paper, sage ink and type. */
:root {
  --paper: #FBF8F3;
  --linen: #F2EBE2;
  --blush: #EDD5CB;
  --blush-deep: #B9786A;
  --tan: #B08D6E;
  --sage: #A9B9A4;
  --sage-deep: #3E5446;
  --ink: #2A2521;
  --muted: #675D55;
  --line: rgba(42, 37, 33, 0.14);
  --monarch: #D17A2A;
  --on-dark: #F7F2EB;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.5rem + 2vw, 2.8rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 4.4rem);

  --radius: 6px;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blush-deep); }
:focus-visible { outline: 2px solid var(--monarch); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--sage-deep); }
p { margin: 0; max-width: 64ch; }
.prose { display: grid; gap: 1.1em; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blush-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: ""; width: 1.8em; height: 1px; background: currentColor; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.section--linen { background: var(--linen); }
.section--blush { background: var(--blush); }
.section--sage { background: var(--sage-deep); color: var(--on-dark); }
.section--sage h2, .section--sage h3 { color: var(--on-dark); }
.section--sage h2 em { color: var(--blush); }
.section--sage p { color: rgba(247, 242, 235, 0.82); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 46rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; border-radius: 50%; background: var(--linen); object-fit: cover; }
.brand span { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.05; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blush-deep); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--blush-deep); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem; font: inherit; font-size: 0.9rem; color: var(--ink); cursor: pointer; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem max(20px, env(safe-area-inset-right, 0px)) 1.25rem max(20px, env(safe-area-inset-left, 0px));
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; margin-top: 0.75rem; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--sage-deep);
  background: var(--sage-deep); color: var(--on-dark);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--sage-deep); }
.btn--ghost:hover { background: var(--sage-deep); color: var(--on-dark); }
.btn--light { background: var(--paper); color: var(--sage-deep); border-color: var(--paper); }
.btn--light:hover { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.nav-links .btn { padding: 0.6rem 1.2rem; color: var(--on-dark); }
.nav-links .btn:hover { color: var(--on-dark); }

/* ---------- Arch frames (signature) ---------- */
.arch {
  position: relative;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--blush);
  aspect-ratio: 4 / 5;
  max-width: 100%;
}
.arch img, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame { position: relative; overflow: hidden; background: var(--blush); border-radius: var(--radius); max-width: 100%; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(3.5rem, 2rem + 4vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; min-width: 0; }
.hero-copy .lede { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.hero-art { position: relative; min-width: 0; }
.hero-art .arch { aspect-ratio: 4 / 5.2; }
.hero-badge {
  position: absolute; left: -1.5rem; bottom: 2rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.25rem; display: grid; gap: 0.15rem;
  box-shadow: 0 18px 40px -24px rgba(42, 37, 33, 0.45);
}
.hero-badge strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; font-weight: 600; color: var(--sage-deep); }
.hero-badge span { font-size: 0.82rem; color: var(--muted); max-width: 12rem; line-height: 1.35; }
.hero-areas { font-size: 0.9rem; color: var(--muted); }
.hero-areas b { color: var(--ink); font-weight: 600; }

.page-hero { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 1.25rem; }
.page-hero p { font-size: 1.2rem; color: var(--muted); max-width: 44rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-badge { left: 0.75rem; bottom: 1rem; }
}

/* ---------- At a glance (factual summary) ---------- */
.glance { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance div { padding: 1.5rem 1.25rem; border-left: 1px solid var(--line); display: grid; gap: 0.35rem; align-content: start; }
.glance div:first-child { border-left: 0; padding-left: 0; }
.glance dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blush-deep); font-weight: 600; }
.glance dd { margin: 0; font-size: 0.95rem; line-height: 1.45; }
@media (max-width: 900px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .glance div, .glance div:first-child { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .glance div:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 520px) { .glance { grid-template-columns: 1fr; } .glance div:nth-child(2) { border-top: 1px solid var(--line); } }

/* ---------- Split blocks ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split--flip { grid-template-columns: 1.1fr 0.9fr; }
.split--flip > :first-child { order: 2; }
.split > * { min-width: 0; }
.split .copy { display: grid; gap: 1.25rem; }
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .split .arch, .split .frame { max-width: 440px; }
}
.pull {
  font-family: var(--font-display); font-style: italic; font-size: var(--step-2); line-height: 1.25; color: var(--sage-deep);
  border-left: 2px solid var(--blush-deep); padding-left: 1.25rem; max-width: 34rem;
}

/* ---------- Struggles list ---------- */
.struggles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; list-style: none; margin: 0; padding: 0; }
.struggles li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.struggles li::before { content: ""; width: 9px; height: 9px; margin-top: 0.55em; border-radius: 50%; background: var(--monarch); }
.struggles h3 { font-size: 1.45rem; margin-bottom: 0.25rem; }
.struggles p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 760px) { .struggles { grid-template-columns: 1fr; } }

/* ---------- Programs ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tier {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.tier--featured { background: var(--sage-deep); color: var(--on-dark); border-color: var(--sage-deep); }
.tier--featured h3, .tier--featured .tier-len { color: var(--on-dark); }
.tier--featured p, .tier--featured li { color: rgba(247, 242, 235, 0.85); }
.tier--featured li::before { background: var(--blush); }
.tier--featured .tier-tag { color: var(--blush); }
.tier-tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--blush-deep); }
.tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tier-len { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--sage-deep); white-space: nowrap; }
.tier p { color: var(--muted); font-size: 0.98rem; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.93rem; }
.tier li { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; color: var(--muted); }
.tier li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tan); margin-top: 0.6em; }
.tier .includes-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; opacity: 0.75; margin-bottom: 0.25rem; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

.program-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.program-card { display: grid; gap: 0.9rem; text-decoration: none; color: inherit; align-content: start; }
.program-card .frame { aspect-ratio: 4 / 3; }
.program-card h3 { font-size: 1.6rem; }
.program-card p { color: var(--muted); font-size: 0.97rem; }
.program-card .more { font-weight: 600; font-size: 0.9rem; color: var(--sage-deep); }
.program-card:hover h3 { color: var(--blush-deep); }
.program-card:hover img { transform: scale(1.03); }
.program-card img { transition: transform .5s ease; }
@media (max-width: 960px) { .program-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .program-index { grid-template-columns: 1fr; } }

/* ---------- Steps (real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; gap: 0.75rem; align-content: start; counter-increment: step; padding-top: 1.25rem; border-top: 1px solid rgba(247, 242, 235, 0.3); }
.steps li::before { content: "Step " counter(step); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--blush); }
.steps h3 { font-size: 1.6rem; }
.section--linen .steps li, .section:not(.section--sage) .steps li { border-top-color: var(--line); }
.section:not(.section--sage) .steps li::before { color: var(--blush-deep); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 1rem; align-items: end; }
.gallery .arch { aspect-ratio: 3 / 4.2; }
.gallery .frame { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Credentials ---------- */
.creds { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem 3rem; list-style: none; margin: 0; padding: 0; }
.creds li { display: grid; justify-items: center; gap: 0.6rem; width: 120px; text-align: center; }
.creds img { height: 76px; width: auto; max-width: 110px; object-fit: contain; mix-blend-mode: multiply; }
.creds span { font-size: 0.78rem; color: var(--muted); line-height: 1.3; }

/* ---------- Team ---------- */
.team { display: grid; gap: clamp(3rem, 2rem + 3vw, 5rem); }
.member { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.member:nth-child(even) { grid-template-columns: 1fr 300px; }
.member:nth-child(even) .arch { order: 2; }
.member > * { min-width: 0; }
.member .copy { display: grid; gap: 0.75rem; }
.member .role { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--blush-deep); }
.member p { color: var(--muted); }
@media (max-width: 760px) {
  .member, .member:nth-child(even) { grid-template-columns: 1fr; }
  .member:nth-child(even) .arch { order: 0; }
  .member .arch { max-width: 300px; }
}
.team-teaser { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.team-teaser figure { margin: 0; display: grid; gap: 0.6rem; }
.team-teaser figcaption { font-size: 0.9rem; line-height: 1.35; }
.team-teaser figcaption b { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.team-teaser figcaption span { color: var(--muted); font-size: 0.82rem; }
@media (max-width: 860px) { .team-teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .team-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.4rem; color: var(--blush-deep); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 1.5rem; color: var(--muted); display: grid; gap: 0.8em; }
.faq-group { display: grid; gap: 1.25rem; margin-bottom: 3.5rem; }
.faq-group h2 { font-size: var(--step-2); }

/* ---------- Note / callout ---------- */
.note { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); display: grid; gap: 1rem; max-width: 52rem; }
.note h3 { font-style: italic; }
.note p { color: var(--muted); }

/* ---------- Program detail blocks ---------- */
.program-block { display: grid; gap: 2.5rem; }
.program-block + .program-block { margin-top: clamp(4rem, 3rem + 3vw, 6rem); }
.includes-common { font-size: 0.9rem; color: var(--muted); max-width: none; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; color: var(--muted); }
.checklist li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--monarch); margin-top: 0.6em; }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { font-size: var(--step-3); }
.cta-band .contact-line { font-size: 0.95rem; margin-top: 0.75rem; }
.cta-band .contact-line a { color: var(--on-dark); }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.8rem 0.9rem; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--sage-deep); }
.form-note { font-size: 0.85rem; color: var(--muted); }
.hidden-field { position: absolute; left: -9999px; }
.preview-msg { grid-column: 1 / -1; background: var(--blush); padding: 0.9rem 1rem; border-radius: var(--radius); font-size: 0.92rem; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-aside { display: grid; gap: 1.75rem; background: var(--linen); border-radius: var(--radius); padding: 2rem; }
.contact-aside h3 { font-size: 1.5rem; }
.contact-aside dl { margin: 0; display: grid; gap: 1rem; }
.contact-aside dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--blush-deep); }
.contact-aside dd { margin: 0.2rem 0 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(247, 242, 235, 0.78); padding-block: 4rem 2.5rem; font-size: 0.93rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--blush); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid > * { min-width: 0; }
.footer-grid h2 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--blush); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-brand { display: grid; gap: 1rem; }
.footer-brand .brand span { color: var(--on-dark); }
.footer-brand .brand small { color: rgba(247, 242, 235, 0.6); }
.footer-areas { border-top: 1px solid rgba(247, 242, 235, 0.15); margin-top: 3rem; padding-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; color: rgba(247, 242, 235, 0.6); }
.footer-areas p { max-width: 70ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.breadcrumbs { font-size: 0.85rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.center { text-align: center; justify-items: center; margin-inline: auto; }
.center p { margin-inline: auto; }
.stack { display: grid; gap: 1.25rem; }
.mt-2 { margin-top: 2rem; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--ink); }
.img-missing { visibility: hidden; }

/* ---------- Profile facts + timeline ---------- */
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--blush-deep); padding-top: 0.3em; }
.facts dd { margin: 0; min-width: 0; }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: 0.25rem; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; max-width: 52rem; }
.timeline li { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.timeline .when { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--sage-deep); line-height: 1.3; }
.timeline p { color: var(--muted); }
@media (max-width: 620px) { .timeline li { grid-template-columns: 1fr; gap: 0.25rem; } }

/* ===== Lynne Bell page: motion ===== */
.page-lynne .lb-name .lb-word { display: inline-block; }
.page-lynne .lb-underline { position: relative; }
.page-lynne .lb-underline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 3px; background: var(--monarch); transform-origin: left; transform: scaleX(1); border-radius: 2px; }
.js .page-lynne .page-hero .eyebrow,
.js .page-lynne .page-hero p:not(.breadcrumbs),
.js .page-lynne .lb-word { opacity: 0; transform: translateY(18px); animation: lb-rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.js .page-lynne .page-hero .eyebrow { animation-delay: .05s; }
.js .page-lynne .lb-word:nth-child(1) { animation-delay: .18s; }
.js .page-lynne .lb-word:nth-child(2) { animation-delay: .34s; }
.js .page-lynne .page-hero p:not(.breadcrumbs) { animation-delay: .55s; }
.js .page-lynne .lb-underline::after { transform: scaleX(0); animation: lb-draw .9s .9s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes lb-rise { to { opacity: 1; transform: none; } }
@keyframes lb-draw { to { transform: scaleX(1); } }

.lb-stats { background: var(--sage-deep); color: var(--on-dark); padding: clamp(2rem, 5vw, 3.25rem) 0; }
.lb-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; }
.lb-stat { display: flex; flex-direction: column; gap: .35rem; border-left: 1px solid rgba(247,242,235,.22); padding-left: 1.1rem; }
.lb-num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.lb-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blush); }
@media (max-width: 760px) { .lb-stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 1.75rem; } }

.lb-photo { overflow: hidden; }
.lb-photo img { transform: scale(1.12); transition: transform .2s linear; will-change: transform; }
.lb-photo { position: relative; }
.js .page-lynne .lb-photo.reveal { opacity: 1; transform: none; }
.js .page-lynne .lb-photo::after { content: ""; position: absolute; inset: 0; background: var(--sage-deep); transform-origin: top; transform: scaleY(1); transition: transform 1.2s cubic-bezier(.7,0,.2,1); z-index: 1; }
.js .page-lynne .lb-photo.in::after { transform: scaleY(0); }

.js .page-lynne .reveal,
.js .page-lynne .lb-facts > div,
.js .page-lynne .lb-timeline li { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .page-lynne .reveal--left { transform: translateX(-34px); }
.js .page-lynne .reveal--right { transform: translateX(34px); }
.js .page-lynne .lb-timeline li { transform: translateX(24px); }
.js .page-lynne .in { opacity: 1 !important; transform: none !important; }

.lb-timeline { position: relative; padding-left: 2.25rem; }
.lb-timeline::before, .lb-timeline::after { content: ""; position: absolute; left: .45rem; top: .4rem; bottom: .4rem; width: 2px; border-radius: 2px; }
.lb-timeline::before { background: var(--line); }
.lb-timeline::after { background: linear-gradient(var(--monarch), var(--blush-deep)); transform-origin: top; transform: scaleY(var(--p, 1)); }
.js .page-lynne .lb-timeline::after { transform: scaleY(var(--p, 0)); }
.lb-timeline li { position: relative; border-top: none; border-bottom: 1px solid var(--line); }
.lb-timeline li::before { content: ""; position: absolute; left: -2.25rem; top: 1.55rem; width: 12px; height: 12px; margin-left: .45rem; transform: translateX(-5px); border-radius: 50%; background: var(--paper); border: 2px solid var(--monarch); }
.js .page-lynne .lb-timeline li::before { transform: translateX(-5px) scale(0); transition: transform .5s .25s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--d,0ms) + 250ms); }
.js .page-lynne .lb-timeline li.in::before { transform: translateX(-5px) scale(1); }
.lb-timeline li:hover .when { color: var(--monarch); }
.lb-timeline .when { transition: color .3s; }

.page-lynne .btn { transition: transform .25s ease, box-shadow .25s ease, background .25s, color .25s; }
.page-lynne .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(42,37,33,.45); }

@media (prefers-reduced-motion: reduce) {
  .js .page-lynne * { animation: none !important; transition: none !important; }
  .js .page-lynne .reveal, .js .page-lynne .lb-facts > div, .js .page-lynne .lb-timeline li,
  .js .page-lynne .page-hero .eyebrow, .js .page-lynne .page-hero p, .js .page-lynne .lb-word { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .page-lynne .lb-photo::after { display: none; }
  .js .page-lynne .lb-underline::after, .js .page-lynne .lb-timeline li::before { transform: none !important; }
  .lb-photo img { transform: none !important; }
}

/* ===== Site-wide motion (inspired by Blazing Trails K9 Academy) ===== */
.site-header { transition: background .35s ease, box-shadow .35s ease; }
.site-header .nav { transition: min-height .35s ease; }
.site-header .brand img { transition: width .35s ease, height .35s ease; }
.site-header.scrolled { background: rgba(251, 248, 243, 0.98); box-shadow: 0 10px 30px -18px rgba(42, 37, 33, .35); }
.site-header.scrolled .nav { min-height: 62px; }
.site-header.scrolled .brand img { width: 40px; height: 40px; }

/* Hero: slow Ken Burns zoom on the photo, text glides up after a beat */
.hero-art .arch img { animation: cm-kenburns 22s ease-in-out infinite alternate; transform-origin: 50% 35%; }
@keyframes cm-kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.js .hero-copy > *,
.js body:not(.page-lynne) .page-hero .wrap > * { opacity: 0; transform: translateY(22px); animation: cm-rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.js .hero-copy > :nth-child(1), .js body:not(.page-lynne) .page-hero .wrap > :nth-child(1) { animation-delay: .25s; }
.js .hero-copy > :nth-child(2), .js body:not(.page-lynne) .page-hero .wrap > :nth-child(2) { animation-delay: .4s; }
.js .hero-copy > :nth-child(3), .js body:not(.page-lynne) .page-hero .wrap > :nth-child(3) { animation-delay: .55s; }
.js .hero-copy > :nth-child(4), .js body:not(.page-lynne) .page-hero .wrap > :nth-child(4) { animation-delay: .7s; }
.js .hero-copy > :nth-child(n+5), .js body:not(.page-lynne) .page-hero .wrap > :nth-child(n+5) { animation-delay: .85s; }
.js .hero-badge { opacity: 0; transform: translateY(16px); animation: cm-rise .8s cubic-bezier(.2,.7,.2,1) 1.1s forwards; }
@keyframes cm-rise { to { opacity: 1; transform: none; } }

/* Scroll cue under the home hero */
.hero { position: relative; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.scroll-cue span { width: 1px; height: 34px; background: var(--blush-deep); animation: cm-scrolldown 1.8s ease-in-out infinite; }
@keyframes cm-scrolldown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 860px) { .scroll-cue { display: none; } }

/* Sections rise into place; items inside arrive one after another */
.js .cm-reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .cm-reveal.in { opacity: 1; transform: none; }
.js .cm-child { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 110ms + 250ms); }
.js .cm-reveal.in .cm-child { opacity: 1; transform: none; }

/* Photos zoom gently on hover */
.frame img, .split > .arch img, .team-teaser .arch img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.frame:hover img, .split > .arch:hover img, .team-teaser figure:hover .arch img { transform: scale(1.06); }
.tier, .btn { transition: transform .3s ease, box-shadow .3s ease, background .25s, color .25s, border-color .25s; }
.tier:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(42, 37, 33, .45); }

@media (prefers-reduced-motion: reduce) {
  .hero-art .arch img, .scroll-cue span { animation: none !important; }
  .js .hero-copy > *, .js .page-hero .wrap > *, .js .hero-badge,
  .js .cm-reveal, .js .cm-child { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* Light text on all dark green areas */
.tier--featured p, .tier--featured li, .tier--featured .includes-label, .tier--featured .tier-len,
.tier--featured span, .tier--featured dd, .tier--featured dt { color: rgba(247, 242, 235, 0.92); }
.tier--featured h3 { color: var(--on-dark); }
.tier--featured li::marker, .tier--featured li::before { color: var(--blush); border-color: var(--blush); }
.section--sage a:not(.btn), .tier--featured a:not(.btn), .lb-stats a { color: var(--on-dark); text-decoration-color: var(--blush); }
.section--sage .eyebrow, .tier--featured .tier-tag { color: var(--blush); }
.section--sage li, .section--sage dd, .section--sage dt, .section--sage span:not(.btn) { color: rgba(247, 242, 235, 0.9); }

/* Legal pages */
.legal { max-width: 46rem; }
.legal h2 { font-size: var(--step-2, 1.6rem); margin-top: 1.2em; }
.legal a { color: var(--sage-deep); }
.footer-areas a { color: inherit; }
.hero-badge small { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--blush-deep); font-weight: 600; margin-top: 0.2rem; }

/* Reviews */
.review-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.25rem 0 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.review-score { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.review-score strong { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--sage-deep); }
.review-score span:last-child { color: var(--muted); font-size: .95rem; }
.stars { color: var(--monarch); letter-spacing: .12em; font-size: 1.05rem; }
.reviews { columns: 3 300px; column-gap: 1.5rem; }
.reviews--three { columns: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: start; }
.review { break-inside: avoid; margin: 0 0 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; display: grid; gap: 1rem; }
.reviews--three .review { margin: 0; }
.section--linen .review { background: var(--paper); }
.review blockquote { margin: 0; display: grid; gap: .8em; }
.review blockquote p { color: var(--ink); line-height: 1.6; }
.review figcaption { display: grid; gap: .15rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.review figcaption b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.review figcaption span { font-size: .85rem; color: var(--muted); }
.review .review-src { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blush-deep); }

/* puppy development stages */
.timeline.stages li > div { display: grid; gap: 0.35rem; min-width: 0; }
.timeline.stages h3 { font-size: 1.45rem; }

/* client testimonial video */
.video-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.video-split > * { min-width: 0; }
.video-split .copy { display: grid; gap: 1rem; }
.video-sub { color: var(--muted); font-size: 1.1rem; }
.video-facade, .video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 0; max-width: 100%; }
.video-facade { position: relative; text-decoration: none; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #4e6a58 0%, var(--sage-deep) 55%, #2c3c32 100%); color: var(--on-dark); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--sage-deep); box-shadow: 0 14px 34px -12px rgba(0,0,0,.5);
  transition: transform .2s ease; }
.video-play svg { margin-left: 4px; }
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.07); }
.video-label { position: absolute; left: 1.25rem; bottom: 1rem; font-weight: 600; font-size: 0.95rem; }
@media (max-width: 860px) { .video-split { grid-template-columns: 1fr; } }

/* slogan statement */
.slogan-band { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.slogan-inner { display: grid; gap: 1.25rem; justify-items: center; text-align: center; }
.slogan { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); line-height: 1.05; max-width: 18ch; }
.slogan-inner p { color: var(--muted); font-size: 1.15rem; max-width: 46rem; }
.footer-slogan { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--on-dark); }

/* team group photo */
.team-photo-band { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0; }
.team-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blush); aspect-ratio: 16 / 9; max-width: 100%; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.team-photo--home { margin-bottom: 2rem; aspect-ratio: 21 / 9; }
@media (max-width: 620px) { .team-photo, .team-photo--home { aspect-ratio: 4 / 3; } }
.team-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1.25rem 0.85rem; font-size: 0.88rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); }

/* graduates wall */
.grads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.grads figure { margin: 0; display: grid; gap: 0.5rem; }
.grads .frame { aspect-ratio: 3 / 4; }
.grads figcaption { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 860px) { .grads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.video-facade { background-size: cover; background-position: 50% 40%; }

/* puppy photo strip */
.puppy-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.puppy-strip .frame { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .puppy-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.monarca { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: center; }
.monarca .frame { aspect-ratio: 3 / 4; }
.monarca figcaption { font-size: 0.9rem; color: var(--muted); }

/* GoHighLevel evaluation form */
.ghl-form { min-width: 0; }
.ghl-fallback { display: grid; gap: 1rem; justify-items: start; background: var(--linen); border-radius: var(--radius); padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); }
.ghl-fallback h3 { font-size: var(--step-2); }
.ghl-fallback p { color: var(--muted); }

/* evaluation form pop-up */
.eval-modal { width: min(720px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); overflow: hidden; }
.eval-modal::backdrop { background: rgba(42, 37, 33, 0.55); }
.eval-modal__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1.25rem; background: var(--sage-deep); color: var(--on-dark); font-weight: 600; }
.eval-modal__close { background: none; border: 0; color: var(--on-dark); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 0.25rem; }
.eval-modal__body { max-height: calc(100vh - 90px); overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* trusted partners */
.partners { display: grid; gap: 1.5rem; max-width: 60rem; }
.partner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.partner__logo { display: grid; place-items: center; background: #fff; border-radius: var(--radius); padding: 1rem; }
.partner__logo img { width: 100%; height: auto; }
.partner__body { display: grid; gap: 0.75rem; min-width: 0; }
.partner__title { font-size: var(--step-2); }
.partner__title a { color: var(--ink); text-decoration-color: var(--blush-deep); }
.partner__cat { display: block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blush-deep); margin-bottom: 0.4rem; }
.partner p { color: var(--muted); }
.partner__contact { font-size: 0.92rem; }
@media (max-width: 720px) { .partner { grid-template-columns: 1fr; } .partner__logo { max-width: 280px; } }
@media (max-width: 1320px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem max(20px, env(safe-area-inset-right, 0px)) 1.25rem max(20px, env(safe-area-inset-left, 0px)); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; margin-top: 0.75rem; text-align: center; }
}

.nav-links a { white-space: nowrap; }
@media (min-width: 1321px) { .nav-links { gap: 1.35rem; } }
.brand small { white-space: nowrap; }
.partner__gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.partner__gallery .frame { aspect-ratio: 4 / 3; }
@media (max-width: 560px) { .partner__gallery { grid-template-columns: 1fr; } }
