/* ==========================================================================
   Sit-N-Stay — Cincinnati Dog Sitting
   Design tokens: Ink / Paper / Leaf (accent) / Pine / Sage / Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Inter+Tight:wght@400;500;600;700&display=swap');

:root {
  --ink: #23201b;
  --ink-soft: #4b5850;
  --paper: #f1f4ec;
  --paper-dim: #e7ecdf;
  --rust: #3f6b4a;
  --rust-dark: #2e5138;
  --pine: #33473a;
  --pine-dark: #223129;
  --sand: #dce6d3;
  --gold: #d4ac5b;
  --line: rgba(35, 32, 27, 0.14);

  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter Tight', 'Segoe UI', system-ui, sans-serif;

  --max-w: 1240px;
  --radius: 18px;
  --radius-sm: 10px;

  --shadow-card: 0 1px 2px rgba(35, 32, 27, 0.06), 0 12px 28px -16px rgba(35, 32, 27, 0.28);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container { padding-inline: 2.5rem; } }
@media (min-width: 1200px) { .container { padding-inline: 3rem; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-dark);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--rust);
  display: inline-block;
}

.section { padding: 5rem 0; }
@media (min-width: 900px) { .section { padding: 7.5rem 0; } }
.section--tight { padding: 3.5rem 0; }
.section--pine { background: var(--pine); color: var(--paper); }
.section--pine .eyebrow { color: var(--gold); }
.section--pine h2, .section--pine h3 { color: var(--paper); }
.section--sage { background: var(--sand); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.btn-primary { background: var(--rust); color: #fff9f2; }
.btn-primary:hover { background: var(--rust-dark); box-shadow: 0 8px 20px -8px rgba(46, 81, 56, 0.55); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-paper { border-color: var(--paper); color: var(--paper); }
.btn-ghost-paper:hover { background: var(--paper); color: var(--pine); }
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active { transform: none; }
}
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(241, 244, 236, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-mark { width: 38px; height: auto; flex-shrink: 0; }
.brand span.dash { color: var(--rust); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-weight: 600;
  font-size: 0.96rem;
}
.nav-links a { padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-color: var(--rust); }
@media (min-width: 960px) {
  .nav-links { display: flex; }
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
@media (max-width: 480px) { .nav-actions > a.btn-primary { display: none; } }
.phone-pill {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--pine-dark);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}
.phone-pill svg { width: 16px; height: 16px; }
@media (min-width: 700px) { .phone-pill { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: transparent;
}
.menu-toggle svg { width: 20px; height: 20px; }
@media (min-width: 960px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; padding: 0.5rem 1.25rem 1.5rem; }
.mobile-menu a { display: block; padding: 0.85rem 0; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.mobile-menu .phone-pill { display: inline-flex; margin-top: 0.9rem; }
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

/* ---------- hero entrance ---------- */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy > * {
  opacity: 0;
  animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.44s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.56s; }
.hero-full-media img {
  opacity: 0;
  animation: hero-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-full-media img { animation: none; opacity: 1; transform: none; }
}

/* ---------- hero (full-bleed) ---------- */
.hero-full {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-full-media { position: absolute; inset: 0; z-index: 0; }
.hero-full-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.hero-full-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 18, 14, 0.92) 0%,
    rgba(20, 18, 14, 0.8) 30%,
    rgba(20, 18, 14, 0.58) 55%,
    rgba(20, 18, 14, 0.28) 78%,
    rgba(20, 18, 14, 0.12) 100%
  );
}
.hero-full .container {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 4rem;
}
@media (max-width: 700px) {
  .hero-full { min-height: 80vh; }
  .hero-full .container { padding-top: 5.5rem; padding-bottom: 3rem; }
}

.hero-copy { max-width: 640px; }
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy .eyebrow::before { background: var(--gold); }
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw + 1rem, 4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-block: 1rem 1.25rem;
  color: var(--paper);
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(241, 244, 236, 0.88);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.hero-areas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  font-size: 0.9rem;
  color: rgba(241, 244, 236, 0.78);
}
.hero-areas strong { color: var(--paper); }

/* ---------- intro / philosophy ---------- */
.intro {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .intro { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
  .intro.flip { grid-template-columns: 1.1fr 0.9fr; }
  .intro.flip .intro-media { order: 2; }
}
.intro-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; object-position: 50% 70%; }
.intro-copy h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-block: 0.8rem 1.1rem; letter-spacing: -0.01em; }
.intro-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.intro-copy p + p { margin-top: 1rem; }

.matt-quote {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--rust);
  background: var(--paper-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: normal;
  line-height: 1.5;
  color: var(--ink);
}
.matt-quote cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.services-grid--2 { max-width: 900px; }
@media (min-width: 900px) { .services-grid--2 { grid-template-columns: 1fr 1fr; } }

.services-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--line);
}
.services-group-head h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.services-group-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.section--pine .services-group-head { border-color: rgba(241, 244, 236, 0.25); }

.training-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.training-tags li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rust-dark);
  background: var(--sand);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.stay-train-note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--rust);
  padding-left: 0.9rem;
}
.stay-train-note strong { color: var(--ink); }

.service-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-card .photo { aspect-ratio: 5/4; overflow: hidden; }
.service-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.service-card .body { padding: 1.4rem 1.4rem 1.6rem; }
.service-card .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust-dark);
}
.service-card h3 { font-size: 1.25rem; margin-block: 0.5rem 0.5rem; }
.service-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- process ---------- */
.process-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  counter-reset: step;
}
@media (min-width: 800px) { .process-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.process-step { position: relative; padding-top: 1rem; border-top: 2px solid var(--line); }
.section--pine .process-step { border-color: rgba(241,244,236,0.25); }
.process-step .num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.process-step p { color: rgba(241,244,236,0.78); font-size: 0.96rem; }

/* ---------- gallery ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}
.filter-btn {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--rust); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.gallery-grid {
  margin-top: 2rem;
  columns: 1;
  column-gap: 1rem;
}
@media (min-width: 640px) { .gallery-grid { columns: 2; } }
@media (min-width: 1000px) { .gallery-grid { columns: 3; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  background: none;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item.is-hidden { display: none; }
.gallery-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 0.9rem 0.7rem;
  background: linear-gradient(to top, rgba(35,32,27,0.72), transparent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
  text-align: left;
}
.gallery-item:hover .cap, .gallery-item:focus-visible .cap { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 14, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem 1.25rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 12px; margin-inline: auto; }
.lightbox-cap { color: var(--sand); text-align: center; margin-top: 0.9rem; font-size: 0.92rem; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(241,244,236,0.12);
  border: 1px solid rgba(241,244,236,0.3);
  color: var(--paper);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-nav svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { display: none; } }

/* ---------- live check-ins ---------- */
.livecam-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (min-width: 980px) { .livecam-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }

.livecam-steps { display: flex; flex-direction: column; gap: 1.75rem; }
.livecam-step { display: flex; gap: 1.1rem; align-items: flex-start; }
.livecam-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--rust);
  flex-shrink: 0;
  width: 2.4rem;
}
.livecam-step h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.livecam-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--rust-dark);
  background: var(--sand);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}
.livecam-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rust);
  flex-shrink: 0;
}
.livecam-step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- booking ---------- */
.book-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (min-width: 980px) { .book-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }

.contact-card, .calendar-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-card);
}
.call-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--pine);
  color: var(--paper);
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
}
.call-block svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.call-block a { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.call-block small { display: block; color: rgba(241,244,236,0.75); font-size: 0.8rem; font-weight: 500; }

.hp-field { position: absolute; left: -9999px; }
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 480px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  min-height: 44px;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rust); }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.9rem; }
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(51,71,58,0.1);
  border: 1px solid var(--pine);
  color: var(--pine-dark);
  font-size: 0.92rem;
  font-weight: 600;
}
.form-success.is-visible { display: block; }
.form-error {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(166, 57, 43, 0.08);
  border: 1px solid #a6392b;
  color: #a6392b;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-error a { text-decoration: underline; }
.form-error.is-visible { display: block; }

.calendar-card h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.calendar-card > p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.25rem; }
.calendly-slot {
  min-height: 560px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  background: var(--paper-dim);
}
.calendly-slot iframe { width: 100%; height: 100%; min-height: 560px; border: 0; }
.calendar-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 0.9rem;
}
.calendar-fallback.is-visible { display: flex; }
.calendar-fallback svg { width: 40px; height: 40px; color: var(--rust); }
.calendar-fallback p { color: var(--ink-soft); font-size: 0.95rem; max-width: 32ch; }

/* ---------- newsletter ---------- */
.newsletter {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) { .newsletter { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.newsletter h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.newsletter p { margin-top: 0.9rem; color: rgba(241,244,236,0.82); max-width: 44ch; }
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
@media (min-width: 560px) {
  .newsletter-form { flex-direction: row; flex-wrap: wrap; }
  .newsletter-form .field { flex: 1 1 200px; }
}
.newsletter-form .field input {
  background: rgba(241,244,236,0.08);
  border-color: rgba(241,244,236,0.3);
  color: var(--paper);
}
.newsletter-form .field input::placeholder { color: rgba(241,244,236,0.55); }
.newsletter-form .field label { color: rgba(241,244,236,0.75); }
.newsletter-success {
  display: none;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
}
.newsletter-success.is-visible { display: block; }
.newsletter-error {
  display: none;
  margin-top: 1rem;
  color: #e8b4a8;
  font-weight: 600;
  font-size: 0.92rem;
}
.newsletter-error.is-visible { display: block; }

/* ---------- faq ---------- */
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq-q svg { width: 20px; height: 20px; color: var(--rust); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.faq-a-inner { padding-bottom: 1.35rem; max-width: 65ch; }
.faq-item.is-open .faq-a { max-height: 240px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--sand); padding: 3.5rem 0 2rem; }
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--paper); }
.footer-brand .brand-mark { width: 32px; }
.brand-mark--invert { filter: invert(1) brightness(1.4); }
.footer-col h4 { color: var(--paper); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a:hover { color: var(--paper); }
.footer-tagline { margin-top: 0.9rem; font-size: 0.92rem; color: rgba(228,217,196,0.75); max-width: 34ch; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(228,217,196,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(228,217,196,0.6);
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- misc ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.8rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.back-link:hover { color: var(--rust); }

.section-head { max-width: 62ch; }
.section-head h2 { margin-block: 0.7rem 0; font-size: clamp(2rem, 3.4vw, 2.9rem); letter-spacing: -0.01em; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.05rem; }
.section--pine .section-head p { color: rgba(241,244,236,0.8); }

.head-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
}
