/* ---------- Tokens ---------- */
:root {
  --bg: #faf7f2;
  --bg-soft: #f0e8dc;
  --bg-card: #fdfaf4;
  --ink: #2f5f7a;
  --ink-soft: #5a5650;
  --ink-muted: #8b8478;
  --line: #e4dccc;
  --sage: #2f5f7a;
  --sage-dark: #23485d;
  --coral: #d4806b;
  --coral-dark: #b8654f;

  --serif: "Fraunces", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1200px;
  --container-narrow: 820px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(42, 40, 38, 0.04);
  --shadow: 0 6px 24px rgba(42, 40, 38, 0.06);
  --shadow-lg: 0 20px 60px rgba(42, 40, 38, 0.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.02em; }
p { color: var(--ink-soft); }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-head p { margin-top: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
body.home:not(.scrolled) .site-header {
  background: linear-gradient(180deg, rgba(20, 32, 38, 0.35) 0%, rgba(20, 32, 38, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  color: #faf7f2;
}
body.home:not(.scrolled) .brand,
body.home:not(.scrolled) .brand span,
body.home:not(.scrolled) .nav-links a {
  color: #faf7f2;
}
body.home:not(.scrolled) .nav-links a:hover { color: rgba(250, 247, 242, 0.75); }
body.home:not(.scrolled) .nav-cta {
  background: rgba(250, 247, 242, 0.14);
  border: 1px solid rgba(250, 247, 242, 0.45);
  color: #faf7f2;
}
body.home:not(.scrolled) .nav-cta:hover {
  background: rgba(250, 247, 242, 0.22);
  border-color: #faf7f2;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand span { color: var(--sage-dark); }
.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  font-size: 0.94rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.15s;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--bg);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--sage-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-primary { background: var(--sage); color: var(--bg); }
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-arrow::after { content: "→"; transition: transform 0.15s; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-copy .lede { margin-bottom: 2rem; max-width: 32ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #e8dfd0 100%);
  box-shadow: var(--shadow-lg);
}
.hero-image::after {
  content: "Photo placeholder";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.hero-image:has(img)::after { content: none; }

.hero-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
}
.hero-badge-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--sage);
  flex: none;
  box-shadow: 0 0 0 4px rgba(68, 102, 114, 0.18);
}
.hero-badge strong { display: block; font-size: 0.95rem; }
.hero-badge span { font-size: 0.82rem; color: var(--ink-muted); }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--bg-soft);
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.trust-item h4 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--sage-dark);
  margin-bottom: 0.25rem;
}
.trust-item p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { font-size: 0.96rem; flex: 1; }
.service-card-link {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-card-link::after { content: "→"; transition: transform 0.15s; }
.service-card:hover .service-card-link::after { transform: translateX(3px); }

/* ---------- Split block ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }
.split-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ddd4c5 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}
.split-image::after {
  content: "Photo placeholder";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.split-image:has(img)::after { content: none; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.split-copy h2 { margin-bottom: 1.25rem; }
.split-copy p + p { margin-top: 1rem; }
.split-copy .btn { margin-top: 2rem; }

/* ---------- Feature list ---------- */
.features {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.features li::before {
  content: "✓";
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--bg-soft); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--bg-soft);
  z-index: 0;
}
.testimonial-body {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-family: var(--serif);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  flex: none;
}
.testimonial-meta strong { display: block; font-size: 0.95rem; color: var(--ink); }
.testimonial-meta span { font-size: 0.82rem; color: var(--ink-muted); }

/* ---------- CTA strip ---------- */
.cta {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cta h2 { color: var(--bg); margin-bottom: 1rem; }
.cta p { color: rgba(250, 247, 242, 0.75); max-width: 500px; margin: 0 auto 2rem; }
.cta .btn-primary { background: var(--bg); color: var(--ink); }
.cta .btn-primary:hover { background: var(--coral); color: var(--bg); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.75);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .brand { color: var(--bg); font-size: 1.5rem; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { color: rgba(250, 247, 242, 0.65); max-width: 28ch; }
.footer-col h4 {
  color: var(--bg);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--sans);
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.footer-col a { color: rgba(250, 247, 242, 0.7); transition: color 0.15s; }
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.5);
}

/* ---------- Page header ---------- */
.page-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin-bottom: 1rem; }
.page-header p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- Services page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: 0; }
.service-detail-meta .eyebrow { display: block; }
.service-detail h2 { margin-bottom: 1.25rem; }
.service-detail-body p { font-size: 1.05rem; line-height: 1.7; }
.service-detail-body p + p { margin-top: 1rem; }
.service-detail-includes {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-detail-includes li {
  list-style: none;
  background: var(--bg-soft);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.service-detail-includes h4 {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0;
}

/* ---------- About page ---------- */
.about-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--sage-dark);
}
.value-card p { font-size: 0.96rem; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: 0; }
.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 1.1rem;
}
.contact-detail strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.contact-detail span { color: var(--ink); font-size: 1rem; }
.contact-form {
  background: var(--bg-card);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.contact-form h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; gap: 1.25rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 1rem;
  transition: border-color 0.15s, background 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--sage);
  background: var(--bg-card);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ---------- Map placeholder ---------- */
.map-placeholder {
  margin-top: 3rem;
  aspect-ratio: 16 / 6;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 1px dashed var(--line);
}

/* ---------- Testimonials page ---------- */
.testimonials-page-grid {
  columns: 3;
  column-gap: 1.5rem;
}
.testimonials-page-grid .testimonial {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  display: inline-block;
  width: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; aspect-ratio: 4 / 3; }
  .hero-badge { left: 1rem; bottom: -20px; }
  .services-grid, .testimonials-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.flip { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonials-page-grid { columns: 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .services-grid, .testimonials-grid, .values-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-detail-includes { grid-template-columns: 1fr; }
  .testimonials-page-grid { columns: 1; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Mobile nav (open state) ---------- */
.nav-mobile-open .nav-links {
  display: flex;
  position: fixed;
  inset: var(--header-h, 64px) 0 0;
  background: var(--bg);
  flex-direction: column;
  padding: 2rem;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  z-index: 49;
}
.nav-mobile-open .nav-links a { font-size: 1.2rem; }
body.home:not(.scrolled).nav-mobile-open .nav-links a { color: var(--ink-soft); }
body.home:not(.scrolled).nav-mobile-open .nav-links a:hover { color: var(--ink); }

/* ---------- Motion ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ken-burns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lede,
.hero-copy .hero-actions,
.hero-image,
.hero-badge {
  opacity: 0;
  animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-copy .eyebrow      { animation-delay: 0.05s; }
.hero-copy h1            { animation-delay: 0.18s; }
.hero-copy .lede         { animation-delay: 0.32s; }
.hero-copy .hero-actions { animation-delay: 0.46s; }
.hero-image              { animation-delay: 0.20s; }
.hero-badge              { animation-delay: 0.70s; }

.hero-image img {
  animation: ken-burns 16s ease-in-out infinite alternate;
  transform-origin: 50% 55%;
}
.hero-badge {
  /* compound: rise-in for entry, then floating */
  animation:
    rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.70s forwards,
    float-y 5s ease-in-out 1.6s infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-stagger.is-in > *           { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.40s; }

.service-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .lede,
  .hero-copy .hero-actions,
  .hero-image,
  .hero-image img,
  .hero-badge,
  .reveal,
  .reveal-stagger > * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-cinema-image img,
  .dog-marquee-track,
  .hero-cinema-scroll span {
    animation: none !important;
  }
}

/* ---------- Cinematic hero ---------- */
.hero-cinema {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 7rem;
  overflow: hidden;
  color: #faf7f2;
  isolation: isolate;
}
.hero-cinema-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-cinema-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  animation: ken-burns-slow 24s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}
@keyframes ken-burns-slow {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.hero-cinema-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 32, 38, 0.0) 0%, rgba(20, 32, 38, 0.55) 55%, rgba(20, 32, 38, 0.85) 100%),
    linear-gradient(105deg, rgba(20, 32, 38, 0.70) 0%, rgba(20, 32, 38, 0.20) 55%, rgba(20, 32, 38, 0.0) 100%);
}
.hero-cinema-content { position: relative; max-width: 880px; }
.hero-cinema-content .eyebrow {
  color: rgba(250, 247, 242, 0.85);
  letter-spacing: 0.18em;
}
.hero-cinema-content .eyebrow::before { background: #faf7f2; }
.hero-cinema-content h1 {
  color: rgba(250, 247, 242, 0.95);
  font-size: clamp(2.4rem, 6.5vw, 5.25rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 1.5rem 0 1.75rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}
.hero-cinema-content h1 em {
  font-style: italic;
  font-weight: 400;
  color: rgba(250, 247, 242, 0.72);
}
.hero-cinema-content .lede {
  color: rgba(250, 247, 242, 0.92);
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  margin-bottom: 2.5rem;
}
.btn-on-dark {
  background: transparent;
  color: #faf7f2;
  border: 1px solid rgba(250, 247, 242, 0.55);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn-on-dark:hover {
  background: rgba(250, 247, 242, 0.12);
  border-color: #faf7f2;
  transform: translateY(-1px);
}
.hero-cinema-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1px solid rgba(250, 247, 242, 0.55);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  z-index: 1;
}
.hero-cinema-scroll span {
  width: 3px;
  height: 8px;
  background: #faf7f2;
  border-radius: 2px;
  animation: scroll-tick 1.8s ease-in-out infinite;
}
@keyframes scroll-tick {
  0%   { transform: translateY(0); opacity: 0.9; }
  60%  { transform: translateY(14px); opacity: 0; }
  61%  { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 0.9; }
}

/* on-load stagger for cinema hero */
.hero-cinema-content .eyebrow,
.hero-cinema-content h1,
.hero-cinema-content .lede,
.hero-cinema-content .hero-actions {
  opacity: 0;
  animation: rise-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-cinema-content .eyebrow      { animation-delay: 0.10s; }
.hero-cinema-content h1            { animation-delay: 0.25s; }
.hero-cinema-content .lede         { animation-delay: 0.55s; }
.hero-cinema-content .hero-actions { animation-delay: 0.80s; }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--bg);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-grid li {
  padding: 1rem 1.5rem;
  text-align: center;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.stats-grid li:first-child { border-left: 0; }
.stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
  color: var(--sage);
  letter-spacing: -0.04em;
  display: inline-block;
}
.stat-num i {
  font-style: normal;
  font-size: 0.45em;
  vertical-align: top;
  margin-left: 0.05em;
  color: var(--sage-dark);
}
.stat-cap {
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

/* ---------- Dog marquee ---------- */
.dog-marquee-section {
  padding: 4rem 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.dog-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.dog-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.dog-marquee-track:hover { animation-play-state: paused; }
.dog-marquee-track figure {
  margin: 0;
  width: clamp(140px, 16vw, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: var(--shadow);
  background: var(--bg);
}
.dog-marquee-track figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid li:nth-child(3) { border-left: 0; }
  .stats-grid li:nth-child(3), .stats-grid li:nth-child(4) { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 2rem; }
  .hero-cinema { min-height: 88vh; padding-top: 5rem; }
  .hero-cinema-scroll { display: none; }
}

/* ---------- Credo ---------- */
.credo {
  padding: clamp(6rem, 12vw, 10rem) 0;
  text-align: center;
}
.credo-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto;
}
.credo-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
}
.credo-sub {
  margin-top: 2.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

/* ---------- Services as editorial list ---------- */
.services-editorial {
  padding: 0 0 clamp(5rem, 9vw, 8rem);
}
.services-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.services-head h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.services-head .eyebrow { margin-bottom: 1rem; display: inline-block; }

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.services-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.75rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.services-list li:hover { background: var(--bg-soft); }
.service-no {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink-muted);
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
  min-width: 3ch;
  padding-left: 0.5rem;
}
.services-list li:hover .service-no {
  color: var(--sage);
  transform: translateX(4px);
}
.service-body { min-width: 0; }
.service-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.service-body p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 60ch;
}
.service-go {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-right: 0.5rem;
}
.service-go span {
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.services-list li:hover .service-go { color: var(--sage-dark); }
.services-list li:hover .service-go span { opacity: 1; transform: none; }
.service-go i {
  font-style: normal;
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}
.services-list li:hover .service-go i { transform: translateX(4px); }

@media (max-width: 640px) {
  .services-list li {
    grid-template-columns: auto 1fr;
    gap: 1rem 1.5rem;
  }
  .service-go {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 0.25rem;
  }
  .service-go span { opacity: 1; transform: none; }
}

/* ---------- Pull-quote feature ---------- */
.quote-feature {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.quote-feature .eyebrow { display: inline-block; margin-bottom: 2rem; }
.pull-quote {
  margin: 0 0 2.5rem;
  padding: 0;
  position: relative;
}
.pull-quote::before {
  content: "\201C";
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 8rem;
  line-height: 1;
  color: var(--sage);
  opacity: 0.25;
  pointer-events: none;
}
.pull-quote p {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 28ch;
  margin: 0 auto;
}
.pull-quote footer {
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.pull-quote footer em { font-style: italic; color: var(--ink-muted); }

/* ---------- Services with photos ---------- */
.services-photo {
  padding: clamp(5rem, 9vw, 8rem) 0;
}
.services-photo .section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
}
.services-photo .section-head h2 {
  font-weight: 300;
  letter-spacing: -0.02em;
}
.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.service-photo-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sage);
}
.service-photo-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.service-photo-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-photo-card:hover figure img { transform: scale(1.05); }
.service-photo-meta {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.service-photo-meta h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}
.service-photo-meta p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  flex: 1;
}
.service-photo-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--sage-dark);
}
.service-photo-go i {
  font-style: normal;
  transition: transform 0.2s ease;
}
.service-photo-card:hover .service-photo-go i { transform: translateX(4px); }

@media (max-width: 960px) {
  .service-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .service-photo-grid { grid-template-columns: 1fr; }
}

/* ---------- Why us list ---------- */
.why-us { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}
.why-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
}
.why-list li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .why-list { grid-template-columns: 1fr; }
}

/* ---------- Find us ---------- */
.find-us { padding: clamp(5rem, 9vw, 8rem) 0; }
.find-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.find-us-copy h2 {
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.25rem;
}
.find-us-address {
  font-style: normal;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  margin: 1.5rem 0 2rem;
  line-height: 1.5;
}
.find-us-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.find-us-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15);
}
@media (max-width: 760px) {
  .find-us-grid { grid-template-columns: 1fr; }
}
