/* ============================================================
   CEDAR CREEK VETERINARY CLINIC — barn red / butter cream / chore-coat tan
   Roboto Slab (display) · Lora (body) · Inter (UI)
   ============================================================ */

:root {
  --primary: #7a2828;
  --primary-dark: #4a1818;
  --bg: #f5e9c8;
  --card: #fffaeb;
  --ink: #241e15;
  --ink-soft: #5a4a35;
  --rule: #c7a06e;
  --accent-tan: #a87a3e;
  --accent-moss: #5c6b3a;
  --shadow: rgba(36, 30, 21, 0.12);
  --display: 'Roboto Slab', Georgia, serif;
  --body: 'Lora', Georgia, serif;
  --ui: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s, color 0.2s;
}
a:hover { text-decoration-color: var(--primary); color: var(--primary-dark); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.20;
}
h1 {
  font-weight: 600;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1.10;
  letter-spacing: -0.01em;
}
h2 {
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
h3 { font-weight: 600; font-size: 1.5rem; }
p { margin-bottom: 1em; }
em { font-style: italic; }

.smallcaps {
  font-family: var(--ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent-tan);
}
.smallcaps--moss { color: var(--accent-moss); }
.smallcaps--ink { color: var(--ink-soft); }

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap--narrow { max-width: 42rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap--medium { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ============ HEADER ============ */
.brand-strip {
  height: 4px;
  background: var(--primary);
  width: 100%;
}
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { box-shadow: 0 2px 8px var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0 1rem;
  gap: 1.5rem;
}
.wordmark-block {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.005em;
}
.wordmark-block .smallcaps {
  margin-top: 0.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
}
.site-nav { display: flex; gap: 1.85rem; align-items: center; }
.site-nav a {
  font-family: var(--ui);
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover { color: var(--primary); }
.site-nav a.is-current { color: var(--primary); border-bottom: 2px solid var(--primary); padding-bottom: 0.2rem; }

.header-phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  line-height: 1.1;
}
.header-phone {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.header-phone-block .smallcaps {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  margin-top: 0.25rem;
}
.mobile-call {
  display: none;
  background: var(--primary);
  color: var(--bg);
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
}

@media (max-width: 960px) {
  .site-nav { display: none; }
}
@media (max-width: 720px) {
  .header-phone-block { display: none; }
  .mobile-call { display: inline-block; }
}

/* ============ BUTTONS ============ */
.btn {
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  display: inline-block;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn:hover { background: var(--primary); color: var(--bg); text-decoration: none; }
.btn--primary { background: var(--primary); color: var(--bg); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--bg); }
.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--on-dark {
  border-color: var(--bg);
  color: var(--bg);
  background: transparent;
}
.btn--on-dark:hover { background: var(--bg); color: var(--primary); }

/* ============ SECTIONS ============ */
section { padding: 4.5rem 0; }
section.tight { padding: 3rem 0; }

/* ============ HOMEPAGE HERO — Pattern #5: image strip + stats band ============ */
.hero {
  padding: 3rem 0 0;
}
.hero-strip {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  aspect-ratio: 21/7;
  max-height: 380px;
  margin-bottom: 2.5rem;
}
.hero-strip > div {
  background-size: cover;
  background-position: center;
}
.hero-headline {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}
.hero-headline .smallcaps {
  display: block;
  margin-bottom: 1.25rem;
}
.hero-headline h1 {
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero-headline p {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 44rem;
  margin: 0 auto 1.75rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stats-band {
  background: var(--card);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 2rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-cell {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.stat-cell:last-child { border-right: 0; }
.stat-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  color: var(--accent-tan);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-label {
  font-family: var(--ui);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  display: block;
}
.stat-note {
  font-family: var(--body);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 800px) {
  .hero-strip { grid-template-columns: 1fr; aspect-ratio: 16/9; max-height: none; }
  .hero-strip > div:nth-child(2) { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat-cell:last-child { border-bottom: 0; }
}

/* ============ PAGE HERO (interior) ============ */
.page-hero {
  padding: 5rem 0 2.5rem;
  border-bottom: 1px solid var(--rule);
  background: var(--card);
}
.page-hero-bg {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  margin-bottom: -2.5rem;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36,30,21,0.05) 0%, rgba(36,30,21,0.35) 100%);
}
.page-hero h1 {
  font-weight: 600;
  max-width: 28ch;
  text-wrap: balance;
  margin-bottom: 0.5rem;
}
.page-hero .smallcaps {
  display: block;
  margin-bottom: 0.75rem;
}
.breadcrumb {
  font-family: var(--ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 0.6rem; color: var(--rule); }

/* ============ WHAT WE TREAT (2-column) ============ */
.treat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  padding-top: 2rem;
}
.treat-col h3 {
  font-family: var(--display);
  font-weight: 600;
  margin-bottom: 1rem;
}
.treat-col > p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
dl.cc-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
dl.cc-dl dt {
  font-family: var(--ui);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-tan);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
dl.cc-dl dd { font-size: 1.02rem; color: var(--ink); margin-bottom: 0.5rem; line-height: 1.55; }
.section-header { margin-bottom: 1.5rem; }
.section-header .smallcaps { display: block; margin-bottom: 0.6rem; }

@media (max-width: 820px) {
  .treat-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============ TEAM CARDS ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 1rem;
}
.team-card {
  display: flex;
  flex-direction: column;
}
.team-photo {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}
.team-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.team-role {
  font-family: var(--ui);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-tan);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.team-bio { font-style: italic; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

@media (max-width: 800px) {
  .team-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============ PRICING — homepage block (NOT a table) ============ */
.pricing-block {
  background: var(--card);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pricing-block .section-header { text-align: center; margin-bottom: 2.5rem; }
.pricing-block .section-header h2 { font-weight: 600; }
.price-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 3rem;
  max-width: 60rem;
  margin: 0 auto;
  padding-top: 1rem;
}
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--rule);
}
.price-item-label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ink);
}
.price-item-amt {
  font-family: var(--ui);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  color: var(--primary);
  white-space: nowrap;
}
.price-closer {
  text-align: center;
  font-style: italic;
  color: var(--accent-tan);
  margin-top: 2rem;
  font-size: 1.02rem;
}
@media (max-width: 700px) {
  .price-list { grid-template-columns: 1fr; gap: 0; }
}

/* ============ AFTER-HOURS BAND (dark) ============ */
.dark-band {
  background: var(--primary-dark);
  color: var(--bg);
}
.dark-band h2, .dark-band h3 { color: var(--bg); }
.dark-band .smallcaps { color: #e8c47a; }
.dark-band p { color: rgba(245,233,200,0.88); }
.dark-band-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 4rem;
  align-items: start;
}
.dark-band-grid p { line-height: 1.7; margin-bottom: 1rem; }
.partner-card {
  background: rgba(245,233,200,0.06);
  border: 1px solid rgba(245,233,200,0.2);
  padding: 1.75rem;
}
.partner-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  color: var(--bg);
}
.partner-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(245,233,200,0.18);
}
.partner-item:last-child { border-bottom: 0; padding-bottom: 0; }
.partner-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--bg);
  margin-bottom: 0.25rem;
}
.partner-meta {
  font-family: var(--ui);
  font-size: 0.85rem;
  color: rgba(245,233,200,0.7);
  line-height: 1.55;
}
.partner-meta a { color: rgba(245,233,200,0.95); text-decoration: underline; text-decoration-color: rgba(245,233,200,0.4); }
.partner-meta a:hover { color: var(--bg); }

@media (max-width: 820px) {
  .dark-band-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============ SERVICE AREA / MAP ============ */
.area-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 3rem;
  align-items: stretch;
}
.area-map-frame {
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 360px;
  border: 0;
  display: block;
}
.area-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.area-info address {
  font-style: normal;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.area-info p { color: var(--ink-soft); line-height: 1.65; margin-bottom: 1rem; }
.area-towns {
  font-family: var(--ui);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.8;
  margin-top: 1rem;
}

@media (max-width: 820px) {
  .area-grid { grid-template-columns: 1fr; gap: 2rem; }
  .area-map-frame { aspect-ratio: 16/9; min-height: 280px; }
}

/* ============ ARTICLE PROSE (About, long-form) ============ */
.article-prose {
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.article-prose p { margin-bottom: 1.25rem; }
.article-prose h2 {
  margin: 3rem 0 0.5rem;
  font-family: var(--display);
  font-weight: 600;
}
.article-prose h2 .smallcaps { display: block; margin-bottom: 0.5rem; font-size: 0.78rem; }
.article-prose blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--primary);
  border-left: 3px solid var(--accent-tan);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2.5rem 0;
}
.article-prose .float-right {
  float: right;
  width: 45%;
  margin: 0.5rem 0 1rem 1.5rem;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
}
.article-prose .float-left {
  float: left;
  width: 45%;
  margin: 0.5rem 1.5rem 1rem 0;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
}
@media (max-width: 700px) {
  .article-prose .float-right, .article-prose .float-left {
    float: none;
    width: 100%;
    margin: 1rem 0;
    aspect-ratio: 16/9;
  }
}

/* ============ SERVICE BLOCKS (Services + Farm Calls) ============ */
.svc-block {
  margin-bottom: 4.5rem;
}
.svc-block-img {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  margin-bottom: 2rem;
}
.svc-block h2 {
  font-weight: 600;
  margin-bottom: 1rem;
}
.svc-block > p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  max-width: 44rem;
}

/* ============ CTA STRIP (dark) ============ */
.cta-strip {
  background: var(--primary-dark);
  color: var(--bg);
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-strip p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 500;
  max-width: 50rem;
  margin: 0 auto;
  line-height: 1.5;
  color: var(--bg);
}

/* ============ PRICING CARD (farm calls + new clients) ============ */
.info-card {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 2.25rem 2rem;
  max-width: 44rem;
  margin: 2.5rem auto;
}
.info-card h3 {
  font-family: var(--display);
  font-weight: 600;
  margin-bottom: 1rem;
}
.info-card ul {
  list-style: none;
  padding: 0;
}
.info-card li {
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 1.02rem;
  color: var(--ink);
}
.info-card li:last-child { border-bottom: 0; }

/* ============ 3-COL GRID (contact bottom) ============ */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.three-col h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.three-col p { color: var(--ink-soft); line-height: 1.65; font-size: 1rem; }
@media (max-width: 800px) {
  .three-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============ FORMS ============ */
.form-card {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 2.5rem;
}
.form-card h2 { font-weight: 600; margin-bottom: 1.5rem; }
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-family: var(--ui);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--primary); }
.form-submit {
  background: var(--primary);
  color: var(--bg);
  border: 0;
  padding: 0.95rem 1.75rem;
  font-family: var(--ui);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--primary-dark); }

/* ============ CONTACT PAGE LAYOUT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 3rem;
  align-items: start;
}
.nap-card {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 2.25rem;
}
.nap-card .big-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary);
  text-decoration: none;
  display: block;
  margin: 0.5rem 0 1.5rem;
  letter-spacing: -0.005em;
}
.nap-card address {
  font-style: normal;
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.98rem;
}
.hours-table td:first-child { font-weight: 600; }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-soft); }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.contact-wide-map {
  width: 100%;
  aspect-ratio: 21/9;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ============ FAQ ============ */
.faq-block { margin-top: 3rem; }
.faq-block h2 { text-align: center; margin-bottom: 2rem; font-weight: 600; }
.faq-block .section-header { text-align: center; }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}
.faq-item h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.faq-item p { color: var(--ink); font-size: 1.02rem; line-height: 1.65; margin-bottom: 0; }

/* ============ STEP LIST (new clients) ============ */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin: 2.5rem 0;
}
.step {
  counter-increment: step;
  padding-left: 3.5rem;
  position: relative;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.25rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.25rem;
  color: var(--accent-tan);
  line-height: 1;
}
.step h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}
.step p { color: var(--ink-soft); line-height: 1.6; font-size: 1rem; }
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--primary-dark);
  color: var(--bg);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
}
.footer h3 {
  font-family: var(--ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8c47a;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.footer .wordmark {
  color: var(--bg);
  display: block;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.footer-mission {
  color: rgba(245,233,200,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-badge {
  font-family: var(--ui);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(245,233,200,0.3);
  padding: 0.4rem 0.7rem;
  color: rgba(245,233,200,0.85);
  font-weight: 600;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a {
  color: rgba(245,233,200,0.78);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav a:hover { color: var(--bg); }
.footer-nap p {
  color: rgba(245,233,200,0.85);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.footer-nap a {
  color: rgba(245,233,200,0.95);
  text-decoration: underline;
  text-decoration-color: rgba(245,233,200,0.3);
}
.footer-nap a:hover { color: var(--bg); text-decoration-color: var(--bg); }
.footer-bottom {
  border-top: 1px solid rgba(245,233,200,0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--ui);
  font-size: 0.82rem;
  color: rgba(245,233,200,0.55);
}
.footer-bottom em {
  font-family: var(--body);
  font-style: italic;
  color: rgba(245,233,200,0.65);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
