/* =========================================================
   British Primary Tutor — stylesheet
   Palette is warm editorial neutrals; the Playfair Display
   serif is doing most of the visual work. Edit the custom
   properties in :root to retune colours or spacing.
   ========================================================= */

:root {
  /* Colour — warm neutrals only */
  --cream: #f1e9db;              /* page bg */
  --cream-soft: #f5efe3;         /* card / section accent */
  --dark-brown: #3d3028;         /* body text + primary buttons */
  --dark-brown-section: #4e4234; /* about & services-detail sections */
  --dark-brown-section-2: #6f5e4a; /* taupe for contact block */
  --ink: #2b231d;                /* maximum-contrast headings */
  --rule: rgba(61, 48, 40, 0.18);
  --on-dark: #efe6d6;            /* cream text on dark bg */
  --on-dark-muted: #d6c9b4;

  /* Typography */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --section-py: clamp(3rem, 6vw, 5.5rem);
  --container-px: clamp(1.25rem, 4vw, 3rem);
  --container-max: 1240px;
  --radius-pill: 999px;
  --radius-card: 28px;
}

/* -------- reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--dark-brown);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -------- typography -------- */
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 6vw, 5rem);
}
.display--centered { text-align: center; }

.lead {
  font-size: 1.0625rem;
  max-width: 36ch;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

h2, h3 { color: var(--ink); }
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

strong { font-weight: 600; color: var(--ink); }

/* -------- buttons -------- */
.btn {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  text-align: center;
}
.btn:hover, .btn:focus-visible { text-decoration: none; }

.btn--pill { min-width: 9rem; }

.btn--dark {
  background: var(--dark-brown);
  color: var(--cream);
  border-color: var(--dark-brown);
}
.btn--dark:hover, .btn--dark:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
}

/* Transparent-on-dark (used inside dark about section) */
.btn--ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(239, 230, 214, 0.5);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgba(239, 230, 214, 0.08);
  border-color: var(--on-dark);
}

/* Transparent-on-cream (used for blog "Read more") */
.btn--ghost-dark {
  background: transparent;
  color: var(--dark-brown);
  border-color: var(--dark-brown);
}
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible {
  background: var(--dark-brown);
  color: var(--cream);
}

/* =========================================================
   NAV
   ========================================================= */
.site-header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
  backdrop-filter: saturate(140%);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.5vw, 1.15rem);
}
.nav-link {
  font-size: 0.95rem;
  color: var(--dark-brown);
  padding: 0.25rem 0;
}
.nav-link--current {
  border-bottom: 1.5px solid var(--dark-brown);
}
.nav-cta {
  padding: 0.7rem 1.15rem;
  min-width: 0;
  font-size: 0.95rem;
  margin-left: 0;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-brown);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .brand { font-size: 0.95rem; letter-spacing: 0.04em; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1.5rem var(--container-px) 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav .nav-link { display: block; font-size: 1.1rem; }
  .primary-nav .nav-cta { align-self: stretch; text-align: center; margin-top: 0.5rem; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.hero-display {
  font-size: clamp(2.25rem, 5vw, 4rem);
  max-width: 18ch;
  margin-bottom: 0;
}
.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

.hero-image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3/2;
  max-height: 420px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 820px) {
  .hero-display { font-size: clamp(2.5rem, 9vw, 3.75rem); }
  .hero-row { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 16/9; max-height: 280px; }
}

/* =========================================================
   SECTION WAVE DIVIDERS
   ========================================================= */
.section-wave {
  line-height: 0;
  margin: 0;
  padding: 0;
}
.section-wave svg {
  display: block;
  width: 100%;
  height: clamp(30px, 4vw, 60px);
}

/* =========================================================
   SERVICES OVERVIEW — numbered offset grid
   ========================================================= */
.services-overview {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.services-overview .display { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.services-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: clamp(2rem, 4vw, 3rem);
}
.service-card {
  max-width: 380px;
  text-align: center;
  justify-self: center;
}
/* Uniform grid — no stagger */

.service-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.service-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.service-card p { font-size: 0.98rem; }

@media (max-width: 820px) {
  .services-grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .service-card { max-width: 520px; }
}

/* =========================================================
   ABOUT (dark)
   ========================================================= */
.about {
  background: var(--dark-brown-section);
  color: var(--on-dark);
  padding: var(--section-py) 0;
}
.about .display { color: var(--on-dark); }
.about strong { color: var(--on-dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-copy p { color: var(--on-dark-muted); max-width: 56ch; }
.about-signoff {
  margin-top: 1.75rem;
  margin-bottom: 2rem;
  color: var(--on-dark);
}
.about-signoff strong { color: var(--on-dark); }
.about-signoff em { color: var(--on-dark-muted); font-style: italic; }

.about-figure {
  margin: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  max-height: 680px;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { order: -1; aspect-ratio: 4/4.5; max-height: 520px; }
}

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.philosophy {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.philosophy .display { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.philosophy-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 900px;
  margin-inline: auto;
}
.philosophy-card {
  background: var(--cream-soft);
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.philosophy-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.philosophy-card p { color: var(--dark-brown); margin: 0; }
.philosophy-card--centered {
  grid-column: 1 / -1;
  max-width: 440px;
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 640px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-card--centered { max-width: none; }
}

/* =========================================================
   BLOG PREVIEW
   ========================================================= */
.blog-preview {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 var(--section-py);
  background: var(--cream);
}
.blog-preview .display { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.blog-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.blog-card-image {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.blog-card-body h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 22ch;
}
.blog-card-body h3 a { color: inherit; }
.blog-card-body h3 a:hover { text-decoration: underline; }
.blog-card-body p { max-width: 44ch; margin-bottom: 2rem; }

@media (max-width: 820px) {
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-image { aspect-ratio: 4/3; }
}

/* =========================================================
   CONTACT / ENQUIRY
   ========================================================= */
.contact {
  padding: var(--section-py) 0;
  background: var(--dark-brown-section-2);
  color: var(--on-dark);
}
.contact .display { color: var(--on-dark); }
.contact-copy p { color: var(--on-dark); max-width: 38ch; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}
.field-group {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.field-group legend {
  font-size: 1.05rem;
  color: var(--on-dark);
  padding: 0;
  margin-bottom: 0.25rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: grid; gap: 0.4rem; }
.field-label {
  font-size: 0.95rem;
  color: var(--on-dark);
}
.field-label em {
  color: var(--on-dark-muted);
  font-style: italic;
  font-size: 0.85em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: transparent;
  color: var(--on-dark);
  border: 1.5px solid rgba(239, 230, 214, 0.55);
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 1rem;
}
.contact-form textarea {
  border-radius: 20px;
  min-height: 130px;
  resize: vertical;
}
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-dark) 50%), linear-gradient(135deg, var(--on-dark) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(239, 230, 214, 0.6); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--on-dark);
  outline-offset: 2px;
  border-color: var(--on-dark);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.25rem;
  margin-top: 0.25rem;
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--on-dark);
}
.checkbox input {
  width: 18px; height: 18px;
  accent-color: var(--on-dark);
}

.contact-form .btn--dark {
  justify-self: start;
  background: var(--dark-brown);
  color: var(--cream);
  border-color: var(--dark-brown);
  padding: 1rem 2.25rem;
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: var(--section-py) 0;
  background: var(--cream);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.faq-grid .display { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }

.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); padding: 0; }

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--ink);
  position: relative;
  line-height: 1.2;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.6rem;
  color: var(--dark-brown);
  transition: transform 180ms ease;
}
.faq-item[open] > summary::after {
  content: "–";
  transform: translateY(-50%) rotate(0deg);
}
.faq-item > summary:hover { color: var(--dark-brown); }
.faq-answer {
  padding: 0 2.5rem 1.75rem 0;
  color: var(--dark-brown);
}
.faq-answer p { margin: 0; max-width: 60ch; }

@media (max-width: 820px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--dark-brown-section);
  color: var(--on-dark-muted);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.footer-title {
  font-family: var(--font-serif);
  letter-spacing: 0.06em;
  color: var(--on-dark);
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.footer-tag { font-size: 0.95rem; max-width: 38ch; margin: 0; }

.footer-nav {
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.footer-nav a:hover { color: var(--on-dark); }

.footer-contact {
  display: grid;
  gap: 1rem;
  font-size: 0.95rem;
}
.footer-contact a { color: var(--on-dark); }
.footer-copy { margin: 0; font-size: 0.85rem; color: var(--on-dark-muted); }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   INNER PAGE — shared hero, content sections
   ========================================================= */
.page-hero {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.page-hero .display {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  max-width: 16ch;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.page-hero-figure {
  margin: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 6px;
  max-height: 520px;
}
.page-hero-figure img { width: 100%; height: 100%; object-fit: cover; }

.lead--wide { max-width: 56ch; }

@media (max-width: 820px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-figure { order: -1; aspect-ratio: 4/3; max-height: 360px; }
}

/* Content narrow — for long-form text pages */
.content-section {
  padding: var(--section-py) 0;
}
.content-narrow {
  max-width: 680px;
}
.content-narrow .display {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-top: 2.5rem;
}
.content-narrow .display:first-child { margin-top: 0; }
.display--sm {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
}
.content-narrow h3 {
  margin-top: 1.75rem;
}
.content-narrow ul {
  padding-left: 1.25rem;
  margin: 0 0 1.5rem;
}
.content-narrow li {
  margin-bottom: 0.5rem;
}

/* Credentials list */
.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.credentials-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.credentials-list li:first-child { border-top: 1px solid var(--rule); }

/* CTA block inside content */
.about-cta-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.about-cta-block p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

/* =========================================================
   SERVICES DETAIL
   ========================================================= */
.services-detail {
  padding: 0 0 var(--section-py);
}
.services-detail > .container {
  max-width: 780px;
}
.service-detail-card {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--rule);
}
.service-detail-card:last-child { border-bottom: none; }
.service-detail-body { max-width: 680px; margin: 0 auto; }
.service-detail-body .display { margin-top: 0.5rem; }
.service-detail-body .service-num {
  font-size: 1.5rem;
  margin-bottom: 0;
}
.service-includes {
  padding-left: 1.25rem;
  margin: 1.25rem 0 2rem;
}
.service-includes li {
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
}

/* =========================================================
   PRICING (dark section)
   ========================================================= */
.pricing {
  background: var(--dark-brown-section);
  color: var(--on-dark);
  padding: var(--section-py) 0;
  text-align: center;
}
.pricing .display { color: var(--on-dark); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 420px;
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
}
.pricing-card {
  background: rgba(239, 230, 214, 0.08);
  border: 1.5px solid rgba(239, 230, 214, 0.2);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.pricing-duration {
  font-size: 0.95rem;
  color: var(--on-dark-muted);
  margin: 0 0 0.5rem;
}
.pricing-amount {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--on-dark);
  margin: 0;
}
.pricing-note {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  max-width: 48ch;
  margin: 0 auto 2rem;
}

/* =========================================================
   GUIDE TABLE
   ========================================================= */
.guide-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.guide-table th,
.guide-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rule);
}
.guide-table th {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Year-by-year expandable */
.guide-year {
  border-bottom: 1px solid var(--rule);
}
.guide-year:first-of-type { border-top: 1px solid var(--rule); }
.guide-year > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2rem 1.25rem 0;
  font-size: 1.1rem;
  color: var(--ink);
  position: relative;
}
.guide-year > summary::-webkit-details-marker { display: none; }
.guide-year > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--dark-brown);
}
.guide-year[open] > summary::after { content: "\2013"; }
.guide-year-body {
  padding: 0 2rem 1.25rem 0;
}
.guide-year-body p { margin: 0; max-width: 60ch; }

/* =========================================================
   BLOG INDEX + POST
   ========================================================= */
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.blog-index-card {
  background: var(--cream-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 180ms ease;
}
.blog-index-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.blog-index-card-image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-index-card-image img,
.blog-index-card-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-index-card-body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.blog-index-card-body h2 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.blog-index-card-body h2 a { color: inherit; }
.blog-index-card-body p {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  color: var(--dark-brown);
}
.blog-index-card-body .blog-meta {
  font-size: 0.85rem;
  color: var(--dark-brown);
  opacity: 0.6;
  margin: 0;
}

/* =========================================================
   POLICIES PAGE
   ========================================================= */
.policy-nav {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}
.policy-nav a {
  color: var(--dark-brown);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.policy-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

/* Form consent line */
.form-consent {
  font-size: 0.85rem;
  color: var(--on-dark-muted);
  margin: 0;
}
.form-consent a {
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   Print / reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
