/* ============================================================
   Ba Boook Corner — Main Stylesheet
   Design tokens + global + components + page-specific
   ============================================================ */

/* ---- GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..600&family=Source+Sans+3:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

/* ---- TOKENS ---- */
:root {
  --ink:        #1F2A44;
  --paper:      #EFE6D8;
  --paper-dark: #E4D8C4;
  --stamp:      #C84B31;
  --sage:       #7C9070;
  --charcoal:   #2B2620;
  --line:       rgba(31,42,68,0.15);
  --white:      #ffffff;
  --shadow-sm:  0 4px 16px rgba(31,42,68,0.08);
  --shadow-md:  0 12px 32px rgba(31,42,68,0.12);
  --shadow-lg:  0 24px 56px rgba(31,42,68,0.16);
  --radius:     4px;
  --font-display: 'Fraunces', serif;
  --font-body:    'Source Sans 3', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; font-family: var(--font-body); }
.mono { font-family: var(--font-mono); }

/* ---- LAYOUT ---- */
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
section { padding: 88px 0; }

/* ---- UTILITY ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stamp);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--stamp);
  flex-shrink: 0;
}
.section-head { margin-bottom: 52px; }
.section-head .eyebrow { margin-bottom: 14px; display: flex; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-head p { margin-top: 16px; font-size: 17px; opacity: 0.75; max-width: 580px; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--stamp);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(200,75,49,0.28);
}
.btn-primary:hover { background: #b03d26; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(200,75,49,0.32); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  background: transparent;
  transition: background .2s, color .2s;
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(239,230,216,0.4);
  color: var(--paper);
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
  background: transparent;
  transition: background .2s, border-color .2s;
}
.btn-ghost-light:hover { background: rgba(239,230,216,0.1); border-color: rgba(239,230,216,0.7); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: 1140px;
  margin: 0 auto;
  gap: 24px;
}
.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.brand-name span { color: var(--stamp); }
.primary-nav ul { display: flex; gap: 30px; }
.primary-nav a {
  font-size: 14.5px;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity .2s, color .2s;
}
.primary-nav a:hover, .primary-nav a.active { opacity: 1; color: var(--stamp); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  display: block;
  transition: transform .2s, opacity .2s;
}
.mobile-nav {
  display: none;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 16px 28px 24px;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
.mobile-nav a {
  display: block;
  padding: 11px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn-primary { margin-top: 16px; justify-content: center; }
@media (max-width: 860px) {
  .primary-nav { display: none; }
  .nav-actions .btn-primary { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 480px) { .nav-inner { padding: 14px 20px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(239,230,216,0.12);
}
.footer-brand .brand-mark { background: var(--paper); color: var(--ink); }
.footer-brand .brand-name { color: var(--paper); margin-top: 10px; font-size: 17px; }
.footer-brand .brand-name span { color: #E08A77; }
.footer-tagline { margin-top: 12px; font-size: 14px; opacity: 0.6; line-height: 1.5; max-width: 240px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(239,230,216,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: border-color .2s, background .2s;
}
.footer-social a:hover { border-color: var(--stamp); background: rgba(200,75,49,0.15); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #E08A77;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; opacity: 0.65; transition: opacity .2s; }
.footer-col ul a:hover { opacity: 1; }
.footer-contact-item { margin-bottom: 14px; font-size: 13.5px; }
.footer-contact-item .label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.5; display: block; margin-bottom: 3px; }
.footer-contact-item a { opacity: 0.75; transition: opacity .2s; }
.footer-contact-item a:hover { opacity: 1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 12.5px;
  opacity: 0.45;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,75,49,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--stamp); }
.hero .lede {
  margin: 24px 0 32px;
  font-size: 18px;
  max-width: 480px;
  opacity: 0.82;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 20px; font-size: 13px; opacity: 0.5; font-family: var(--font-mono); }

/* borrower card */
.borrower-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  position: relative;
}
.borrower-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--line);
  border-radius: 2px;
  pointer-events: none;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 22px 0;
}
.card-label { font-family: var(--font-mono); font-size: 11px; opacity: 0.45; letter-spacing: 0.06em; }
.postmark {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--stamp);
  color: var(--stamp);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  transform: rotate(8deg);
}
.postmark strong { font-size: 13px; display: block; }
.card-body { padding: 16px 22px 24px; }
.card-book-preview {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.book-spine {
  width: 44px; height: 62px;
  border-radius: 2px;
  background: linear-gradient(140deg, var(--sage) 0%, #4f6147 100%);
  flex-shrink: 0;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.14);
}
.book-meta .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.book-meta .author { font-size: 12.5px; opacity: 0.6; margin-top: 3px; }
.book-meta .tag {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  background: rgba(200,75,49,0.1);
  color: var(--stamp);
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.delivery-track { margin-top: 16px; }
.track-dots {
  display: flex;
  align-items: center;
  gap: 0;
}
.track-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
  transition: background .3s;
}
.track-dot.done { background: var(--sage); }
.track-dot.active { background: var(--stamp); box-shadow: 0 0 0 3px rgba(200,75,49,0.2); }
.track-line { flex: 1; height: 1px; background: var(--line); }
.track-line.done { background: var(--sage); }
.track-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.track-labels span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  opacity: 0.5;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .borrower-card { max-width: 380px; transform: rotate(-0.5deg); }
}

/* ============================================================
   HOME — HOW IT WORKS
   ============================================================ */
.steps-section { background: var(--paper-dark); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.step-card {
  padding: 32px 26px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step-card:last-child { border-right: none; }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--stamp);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.step-icon { font-size: 28px; margin: 14px 0 12px; }
.step-card h3 { font-size: 17px; margin-bottom: 10px; }
.step-card p { font-size: 14px; opacity: 0.7; line-height: 1.55; }
@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card { border-right: none; border-bottom: 1px solid var(--line); }
  .step-card:last-child { border-bottom: none; }
}
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HOME — WHY CHOOSE (dark band)
   ============================================================ */
.why-section {
  background: var(--ink);
  color: var(--paper);
}
.why-section .section-head h2 { color: var(--paper); }
.why-section .section-head p { color: var(--paper); }
.why-section .eyebrow { color: #E08A77; }
.why-section .eyebrow::before { background: #E08A77; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: background .2s, border-color .2s;
}
.why-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(239,230,216,0.25); }
.why-card .ic { font-size: 24px; }
.why-card p { font-size: 13.5px; margin-top: 14px; opacity: 0.8; line-height: 1.5; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HOME — STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--stamp);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.55;
  margin-top: 8px;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-item:nth-child(3), .stat-item:last-child { border-bottom: none; }
}

/* ============================================================
   HOME — BOOK OF THE MONTH
   ============================================================ */
.botm-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  background: var(--paper-dark);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 52px;
  margin-top: 56px;
}
.botm-cover {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 3px;
  background: linear-gradient(160deg, var(--sage) 0%, #4f6147 100%);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.botm-cover .cover-title {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
}
.botm-content h3 { font-size: 32px; }
.botm-author {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--stamp);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
}
.botm-desc { margin-top: 18px; font-size: 16px; opacity: 0.8; max-width: 460px; }
.botm-content .btn-secondary { margin-top: 26px; }
@media (max-width: 860px) {
  .botm-wrap { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .botm-cover { max-width: 200px; }
}

/* ============================================================
   HOME — BOOOK CORNERS NETWORK
   ============================================================ */
.corners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.corner-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.corner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.corner-icon { font-size: 24px; margin-bottom: 12px; }
.corner-card h4 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.corner-card .area {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stamp);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.corner-card p { font-size: 13.5px; opacity: 0.7; }
@media (max-width: 760px) { .corners-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .corners-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HOME — TEAM
   ============================================================ */
.team-section { background: var(--paper-dark); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card { text-align: left; }
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 18px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 18px; }
.team-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--stamp);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}
.team-bio { font-size: 14px; opacity: 0.7; margin-top: 10px; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HOME — CALLOUT / CTA BANNER
   ============================================================ */
.cta-band {
  background: var(--stamp);
  color: var(--white);
  padding: 64px 0;
}
.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); color: var(--white); max-width: 540px; }
.cta-band p { margin-top: 10px; opacity: 0.85; font-size: 16px; }

/* ============================================================
   REQUEST FORM (HOME & CONTACT)
   ============================================================ */
.form-section { background: var(--ink); color: var(--paper); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.form-section .section-head h2 { color: var(--paper); }
.form-section .section-head p { color: var(--paper); }
.form-section .eyebrow { color: #E08A77; }
.form-section .eyebrow::before { background: #E08A77; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.contact-item .c-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
  display: block;
  margin-bottom: 3px;
}
.contact-item span, .contact-item a { font-size: 14.5px; opacity: 0.8; }
.contact-item a:hover { opacity: 1; }
.bc-form { display: flex; flex-direction: column; gap: 14px; }
.bc-form input,
.bc-form textarea,
.bc-form select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14.5px;
  width: 100%;
  transition: border-color .2s, background .2s;
}
.bc-form input:focus,
.bc-form textarea:focus,
.bc-form select:focus {
  outline: none;
  border-color: rgba(239,230,216,0.5);
  background: rgba(255,255,255,0.09);
}
.bc-form input::placeholder,
.bc-form textarea::placeholder { color: rgba(239,230,216,0.35); }
.bc-form select { color: rgba(239,230,216,0.6); }
.bc-form select option { background: var(--ink); color: var(--paper); }
.bc-form textarea { resize: vertical; min-height: 90px; }
.bc-form button {
  background: var(--stamp);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15.5px;
  margin-top: 4px;
  transition: background .2s;
}
.bc-form button:hover { background: #b03d26; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT FORM 7 — match theme form styling
   Wrap your CF7 shortcode in a div with class "bc-form-wrap"
   e.g. <div class="bc-form-wrap">[contact-form-7 id="..." title="..."]</div>
   ============================================================ */
.bc-form-wrap .wpcf7-form { display: flex; flex-direction: column; gap: 14px; }
.bc-form-wrap .wpcf7-form p { margin: 0; }

.bc-form-wrap .wpcf7-form-control-wrap { display: block; width: 100%; }

.bc-form-wrap input[type="text"],
.bc-form-wrap input[type="email"],
.bc-form-wrap input[type="tel"],
.bc-form-wrap input[type="url"],
.bc-form-wrap textarea,
.bc-form-wrap select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14.5px;
  width: 100%;
  transition: border-color .2s, background .2s;
}
.bc-form-wrap input:focus,
.bc-form-wrap textarea:focus,
.bc-form-wrap select:focus {
  outline: none;
  border-color: rgba(239,230,216,0.5);
  background: rgba(255,255,255,0.09);
}
.bc-form-wrap input::placeholder,
.bc-form-wrap textarea::placeholder { color: rgba(239,230,216,0.35); }
.bc-form-wrap textarea { resize: vertical; min-height: 90px; }

.bc-form-wrap .wpcf7-submit {
  background: var(--stamp);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15.5px;
  margin-top: 4px;
  width: 100%;
  cursor: pointer;
  transition: background .2s;
}
.bc-form-wrap .wpcf7-submit:hover { background: #b03d26; }
.bc-form-wrap .wpcf7-spinner { margin-left: 10px; }

/* CF7 validation / response messages */
.bc-form-wrap .wpcf7-not-valid-tip {
  color: #E08A77;
  font-size: 12.5px;
  margin-top: 4px;
  display: block;
}
.bc-form-wrap .wpcf7-response-output {
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13.5px;
  margin-top: 14px;
  border: 1px solid rgba(239,230,216,0.3);
  color: var(--paper);
}
.bc-form-wrap form.sent .wpcf7-response-output { border-color: var(--sage); color: var(--sage); }
.bc-form-wrap form.failed .wpcf7-response-output,
.bc-form-wrap form.aborted .wpcf7-response-output { border-color: var(--stamp); color: #E08A77; }
.bc-form-wrap form.invalid .wpcf7-response-output { border-color: var(--stamp); color: #E08A77; }

/* If CF7 form is placed on a light-background section instead of dark .form-section,
   use this modifier class on the wrapper: <div class="bc-form-wrap bc-form-light"> */
.bc-form-wrap.bc-form-light input,
.bc-form-wrap.bc-form-light textarea,
.bc-form-wrap.bc-form-light select {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--charcoal);
}
.bc-form-wrap.bc-form-light input::placeholder,
.bc-form-wrap.bc-form-light textarea::placeholder { color: rgba(43,38,32,0.4); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 60px;
}
.page-hero .eyebrow { color: #E08A77; }
.page-hero .eyebrow::before { background: #E08A77; }
.page-hero h1 { font-size: clamp(34px, 4.5vw, 52px); color: var(--paper); margin-top: 16px; }
.page-hero p { margin-top: 18px; font-size: 18px; opacity: 0.75; max-width: 580px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-intro h2 { font-size: clamp(26px, 3vw, 34px); }
.about-intro p { font-size: 16px; opacity: 0.8; margin-top: 16px; line-height: 1.7; }
.about-quote {
  border-left: 3px solid var(--stamp);
  padding: 18px 24px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  background: var(--paper-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-image {
  background: var(--paper-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.value-card .ic { font-size: 28px; margin-bottom: 14px; }
.value-card h4 { font-size: 17px; margin-bottom: 10px; }
.value-card p { font-size: 14px; opacity: 0.75; }
@media (max-width: 760px) {
  .about-intro { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-visual {
  background: var(--paper-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}
.service-content .eyebrow { margin-bottom: 14px; }
.service-content h3 { font-size: 28px; }
.service-content p { font-size: 15.5px; opacity: 0.8; margin-top: 16px; line-height: 1.7; }
.service-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  align-items: flex-start;
}
.service-list li::before {
  content: "→";
  color: var(--stamp);
  flex-shrink: 0;
  margin-top: 1px;
}
@media (max-width: 760px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse { direction: ltr; }
}

/* ============================================================
   VOLUNTEER PAGE
   ============================================================ */
.volunteer-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vol-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.vol-card .ic { font-size: 28px; margin-bottom: 14px; }
.vol-card h4 { font-size: 17px; margin-bottom: 10px; }
.vol-card p { font-size: 14px; opacity: 0.75; }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.role-card {
  background: var(--paper-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.role-card h4 { font-size: 17px; color: var(--ink); }
.role-card .role-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stamp);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: block;
}
.role-card p { font-size: 14px; opacity: 0.75; margin-top: 10px; }
@media (max-width: 760px) {
  .volunteer-why { grid-template-columns: 1fr 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .volunteer-why { grid-template-columns: 1fr; } }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px; }
.blog-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stamp);
  font-weight: 600;
}
.blog-card h3 { font-size: 18px; margin-top: 8px; }
.blog-card h3 a { transition: color .2s; }
.blog-card h3 a:hover { color: var(--stamp); }
.blog-card .excerpt { font-size: 14px; opacity: 0.7; margin-top: 10px; }
.blog-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--stamp);
}
.no-posts { text-align: center; padding: 64px 24px; opacity: 0.55; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-content { max-width: 740px; margin: 0 auto; padding: 64px 28px; }
.post-content h2,h3,h4 { margin: 32px 0 14px; }
.post-content p { font-size: 16.5px; line-height: 1.75; margin-bottom: 20px; opacity: 0.85; }
.post-content img { border-radius: var(--radius); margin: 28px 0; }
.post-content blockquote {
  border-left: 3px solid var(--stamp);
  padding: 16px 22px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  background: var(--paper-dark);
}
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--stamp); font-weight: 600; font-size: 14px; margin-bottom: 24px; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page { text-align: center; padding: 120px 28px; }
.error-page .big-num {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 700;
  color: var(--stamp);
  opacity: 0.15;
  line-height: 1;
}
.error-page h2 { font-size: 28px; margin-top: -20px; }
.error-page p { margin-top: 14px; opacity: 0.7; }
.error-page .btn-primary { margin-top: 28px; }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 480px) {
  section { padding: 56px 0; }
  .wrap { padding: 0 18px; }
  .hero { padding: 52px 0 48px; }
}
