/* French Your Way - shared stylesheet v2
   Aligned to Arabic Your Way aesthetic: Plus Jakarta Sans everywhere,
   arch motif, pill buttons, soft cards with line borders. */

:root {
  --ink: #0f1d36;
  --navy: #1e2d4f;
  --navy-light: #2a3d66;
  --gold: #b8934f;
  --gold-light: #d4b76a;
  --burgundy: #7d2c2c;
  --burgundy-light: #a13d3d;
  --ivory: #faf5e8;
  --cream: #f7f1e4;
  --cream-soft: #ede3cb;
  --muted: #6b6458;
  --line: #d8cdb3;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  margin: 0;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
h1 { letter-spacing: -0.035em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

/* Arch shapes */
.arch    { border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px; }
.arch-sm { border-radius: 50% 50% 6px 6px / 55% 55% 6px 6px; }
.arch-lg { border-radius: 50% 50% 12px 12px / 35% 35% 12px 12px; }

/* Layout helpers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container, .container-sm { padding: 0 48px; }
}

/* Buttons - fully rounded pills */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-burgundy { background: var(--burgundy); color: var(--ivory); }
.btn-burgundy:hover { background: var(--burgundy-light); transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* Typography utilities */
.pill {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
}
.eyebrow { color: var(--burgundy); }

.t-ink { color: var(--ink); }
.t-navy { color: var(--navy); }
.t-muted { color: var(--muted); }
.t-gold { color: var(--gold); }
.t-ivory { color: var(--ivory); }
.t-burgundy { color: var(--burgundy); }

/* Nav */
.site-nav {
  position: relative;
  z-index: 50;
  padding: 20px 24px;
  background: var(--ivory);
}
@media (min-width: 768px) { .site-nav { padding: 20px 48px; } }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  width: 40px;
  height: 44px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); font-size: 20px; font-weight: 800; margin-top: -2px; }
.nav-name { display: flex; flex-direction: column; line-height: 1.1; }
.nav-title { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.nav-sub { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-top: 2px; }

.nav-links { display: none; gap: 30px; align-items: center; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.nav-link:hover { opacity: 0.6; }
.nav-link.is-active { color: var(--burgundy); }

/* Mobile menu */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 40;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
  padding: 100px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
body.nav-open .nav-overlay { transform: translateY(0); }
.nav-overlay a {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav-overlay .cta-wrap { margin-top: 24px; }

/* Hero backdrops */
.arch-bg {
  background-image:
    radial-gradient(ellipse 400px 280px at 90% 0%, rgba(184,147,79,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 280px at 10% 100%, rgba(15,29,54,0.05) 0%, transparent 70%);
}

/* Soft card */
.soft-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.soft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,29,54,0.08);
}

/* Arch badge */
.arch-badge {
  width: 56px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  background: var(--cream);
  color: var(--navy);
  border-radius: 50% 50% 6px 6px / 55% 55% 6px 6px;
}
.arch-badge.is-gold { background: var(--gold); color: var(--ink); }
.arch-badge.is-burgundy { background: var(--burgundy); color: var(--ivory); }

/* FAQ */
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.faq-item + .faq-item { margin-top: 12px; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  padding-right: 32px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--gold);
  transition: transform 0.3s ease;
  font-weight: 300;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 16px; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* Fade-up animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.48s; }

/* Sections */
.section {
  padding: 80px 24px;
}
@media (min-width: 768px) {
  .section { padding: 112px 48px; }
}
.section.is-tight { padding-top: 64px; padding-bottom: 64px; }
.section.bg-cream { background: var(--cream); }
.section.bg-cream-soft { background: var(--cream-soft); }
.section.bg-ivory { background: var(--ivory); }
.section.bg-white { background: #ffffff; }
.section.bg-navy { background: var(--navy); color: var(--ivory); }
.section.bg-navy .t-navy { color: var(--ivory); }
.section.bg-ink { background: var(--ink); color: var(--ivory); }
.section.bg-burgundy { background: var(--burgundy); color: var(--ivory); }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Footer */
.site-footer {
  padding: 56px 24px;
  background: white;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) { .site-footer { padding: 56px 48px; } }
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand-text { font-size: 14px; color: var(--muted); max-width: 360px; margin-top: 16px; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-base {
  max-width: 1280px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 768px) {
  .footer-base { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-cross-link {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  max-width: 360px;
}
.footer-cross-link a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 2px; }
.footer-cross-link a:hover { color: var(--navy); }

/* Page heros (non-home) */
.page-hero {
  padding: 56px 24px 80px;
}
@media (min-width: 768px) {
  .page-hero { padding: 80px 48px 120px; }
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--navy);
  margin-top: 24px;
}
.page-hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  margin-top: 24px;
  max-width: 640px;
  font-weight: 300;
  line-height: 1.55;
}

/* Portrait frame */
.portrait-frame {
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15,29,54,0.18);
  background: var(--navy);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Prose / blog post body */
.prose, .post-body {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.prose h2, .post-body h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.prose h3, .post-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}
.prose p, .post-body p { margin-bottom: 20px; }
.prose ul, .prose ol, .post-body ul, .post-body ol { margin: 0 0 24px 1.5em; }
.prose li, .post-body li { margin-bottom: 8px; }
.prose blockquote, .post-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.1em;
  color: var(--navy);
}
.prose a, .post-body a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.prose .french, .post-body .french { color: var(--burgundy); font-style: italic; }
.prose strong, .post-body strong { color: var(--ink); font-weight: 700; }

/* Post hero (blog articles) */
.post-hero {
  padding: 64px 24px 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--ivory);
}
@media (min-width: 768px) { .post-hero { padding: 96px 48px 64px; } }
.post-hero.culture { background: linear-gradient(135deg, var(--gold) 0%, #946f2f 100%); color: var(--ink); }
.post-hero.gcse { background: linear-gradient(135deg, var(--burgundy) 0%, #5b1f1f 100%); }
.post-hero.practical { background: linear-gradient(135deg, var(--cream-soft) 0%, #dfd2ab 100%); color: var(--ink); }
.post-hero .container-sm { position: relative; z-index: 1; }
.post-hero .letter-f {
  position: absolute;
  right: -40px;
  top: -40px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 480px;
  line-height: 1;
  font-weight: 800;
  opacity: 0.08;
  pointer-events: none;
}
.post-hero .cat {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(253,250,243,0.2);
  padding: 6px 14px;
  display: inline-block;
  margin-bottom: 20px;
  border-radius: 999px;
}
.post-hero.culture .cat,
.post-hero.practical .cat { background: rgba(15,29,54,0.1); color: var(--ink); }
.post-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.post-hero .lead { font-size: 17px; max-width: 680px; opacity: 0.9; line-height: 1.6; }

.post-meta-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.post-byline { display: flex; align-items: center; gap: 12px; }
.post-byline img { width: 36px; height: 40px; border-radius: 50% 50% 6px 6px / 55% 55% 6px 6px; }
.post-byline strong { color: var(--ink); font-weight: 700; text-transform: none; letter-spacing: 0.02em; font-size: 14px; }

/* Related posts */
.related-posts {
  padding: 64px 24px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) { .related-posts { padding: 80px 48px; } }
.related-posts h2 { text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 40px; color: var(--navy); font-weight: 800; }
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,29,54,0.08); }
.post-card-cover {
  height: 160px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: var(--ivory);
  overflow: hidden;
}
.post-card-cover.culture { background: linear-gradient(135deg, var(--gold) 0%, #946f2f 100%); color: var(--ink); }
.post-card-cover.gcse { background: linear-gradient(135deg, var(--burgundy) 0%, #5b1f1f 100%); }
.post-card-cover.practical { background: linear-gradient(135deg, var(--cream-soft) 0%, #dfd2ab 100%); color: var(--ink); }
.post-card-cover .letter-f {
  position: absolute;
  top: -20px;
  right: -6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 160px;
  line-height: 1;
  opacity: 0.18;
  pointer-events: none;
}
.post-card-cover .cat {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(253,250,243,0.2);
  padding: 5px 10px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}
.post-card-cover.culture .cat,
.post-card-cover.practical .cat { background: rgba(15,29,54,0.12); color: var(--ink); }
.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card-body .meta { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.post-card-body h3 { font-size: 20px; line-height: 1.25; margin-bottom: 12px; font-weight: 700; flex: 1; color: var(--ink); }
.post-card-body p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.post-card-body .read-more { font-size: 12px; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }

/* Post CTA band (at end of article) */
.post-cta-band {
  padding: 72px 24px;
  background: var(--navy);
  color: var(--ivory);
  text-align: center;
}
@media (min-width: 768px) { .post-cta-band { padding: 96px 48px; } }
.post-cta-band h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 16px; color: var(--ivory); font-weight: 800; line-height: 1.1; }
.post-cta-band p { max-width: 540px; margin: 0 auto 28px; color: rgba(253,250,243,0.82); font-size: 16px; font-weight: 300; }
.post-cta-band .greeting {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 8px;
  display: block;
}

/* Blog index */
.blog-header {
  padding: 64px 24px 32px;
  text-align: center;
  background: var(--ivory);
}
@media (min-width: 768px) { .blog-header { padding: 96px 48px 40px; } }
.blog-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
}
.blog-header p { color: var(--muted); font-size: 17px; font-weight: 300; max-width: 560px; margin: 20px auto 0; line-height: 1.55; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
  padding: 0 24px;
}
.filter-chip {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--gold); color: var(--ink); }
.filter-chip.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.featured-post {
  margin: 48px auto;
  max-width: 1200px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.featured-post:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(15,29,54,0.1); }
@media (min-width: 900px) { .featured-post { grid-template-columns: 1fr 1fr; } }
.featured-post-cover {
  min-height: 280px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--ivory);
  display: flex;
  align-items: flex-end;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.featured-post-cover.culture { background: linear-gradient(135deg, var(--gold) 0%, #946f2f 100%); color: var(--ink); }
.featured-post-cover.gcse { background: linear-gradient(135deg, var(--burgundy) 0%, #5b1f1f 100%); }
.featured-post-cover.practical { background: linear-gradient(135deg, var(--cream-soft) 0%, #dfd2ab 100%); color: var(--ink); }
.featured-post-cover .letter-f {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 300px;
  line-height: 1;
  opacity: 0.15;
  pointer-events: none;
}
.featured-post-cover .cat {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(253,250,243,0.2);
  padding: 6px 14px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}
.featured-post-cover.culture .cat,
.featured-post-cover.practical .cat { background: rgba(15,29,54,0.12); color: var(--ink); }
.featured-post-body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-post-body .meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.featured-post-body h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 14px; line-height: 1.15; font-weight: 800; color: var(--navy); }
.featured-post-body p { color: var(--muted); line-height: 1.65; margin-bottom: 24px; font-size: 16px; }

.older-posts {
  max-width: 1200px;
  margin: 72px auto 0;
  padding: 48px 24px 0;
  border-top: 1px solid var(--line);
}
.older-posts h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 24px; font-weight: 800; color: var(--navy); }
.older-list { list-style: none; margin-top: 24px; padding: 0; }
.older-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.older-list a { font-size: 19px; font-weight: 700; color: var(--ink); flex: 1; min-width: 220px; transition: color 0.2s; }
.older-list a:hover { color: var(--gold); }
.older-list .meta { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.older-list .cat {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  padding: 4px 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.older-list .cat.culture { color: #946f2f; }
.older-list .cat.gcse { color: var(--burgundy); }
.older-list .cat.practical { color: var(--navy); }

/* WhatsApp accent (reserved if needed) */
.whatsapp-accent { background: #25D366; color: #fff; }
.whatsapp-accent:hover { background: #1eb856; color: #fff; }

/* Focus accessibility */
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Utility: french word styling */
.french { color: var(--burgundy); font-style: italic; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Print */
@media print {
  .site-nav, .site-footer, .nav-toggle, .nav-overlay, .post-cta-band { display: none; }
  body { background: white; color: black; }
}

/* ============================================================
   MOBILE RESPONSIVENESS PASS (20 Apr 2026)
   Fixes for real phone widths 320-420px: nav CTA overlap, marquee
   mid-credential wrapping, oversized hero text, cramped padding,
   hero floating badges overhanging portrait edges.
   Tailwind-equivalent breakpoints: sm 640, md 768, lg 1024.
   ============================================================ */

/* 2.1 Nav CTA: hide below 1024px so the logo + hamburger breathe.
   Hamburger menu overlay keeps the gold WhatsApp CTA prominent. */
.site-nav .nav-inner > a.btn-gold,
.site-nav .nav-inner > a.btn.btn-gold {
  display: none;
}
@media (min-width: 1024px) {
  .site-nav .nav-inner > a.btn-gold,
  .site-nav .nav-inner > a.btn.btn-gold {
    display: inline-flex;
  }
}

/* Hamburger overlay: make the WhatsApp CTA the hero item, big and full-width */
.nav-overlay .cta-wrap {
  margin-top: 8px;
  order: -1;
  margin-bottom: 24px;
}
.nav-overlay .cta-wrap .btn {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 18px 28px;
  font-size: 16px;
  border-radius: 999px;
}

/* 2.4 Tighter section padding on real phones (<640px).
   20px on phones, 24px tablets, 48px desktops. */
@media (max-width: 639.98px) {
  .container, .container-sm { padding: 0 20px; }
  .site-nav { padding: 16px 20px; }
  .site-footer { padding: 48px 20px; }
  .section { padding: 64px 20px; }
  .authority-band { padding: 28px 20px; }
  .page-hero { padding: 48px 20px 64px; }
  .post-hero { padding: 56px 20px 40px; }
  .related-posts { padding: 56px 20px; }
  .blog-header { padding: 56px 20px 28px; }
  .filter-bar { padding: 0 20px; }
  .post-cta-band { padding: 64px 20px; }
  .older-posts { padding: 40px 20px 0; }
}

/* 2.3 Hero heading sizes: step down on phones so 48px headlines
   stop feeling overwhelming in a 342px-wide text column. */
@media (max-width: 639.98px) {
  .home-hero h1 {
    font-size: clamp(2.125rem, 9vw, 2.75rem);
    line-height: 1.08;
    margin-top: 20px;
  }
  .home-hero .lede {
    font-size: 1rem;
    margin-top: 20px;
  }
  .page-hero h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.08;
  }
  .page-hero .lede {
    font-size: 1rem;
  }
  .post-hero h1 {
    font-size: clamp(1.875rem, 8vw, 2.25rem);
    line-height: 1.15;
  }
  .post-hero .lead {
    font-size: 15px;
  }
  .blog-header h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.08;
  }
  .blog-header p {
    font-size: 15px;
  }
  /* Section headings stepped down too */
  .final-cta h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.12;
  }
  .final-cta p {
    font-size: 16px;
    margin-top: 24px;
  }
  .final-cta .greeting {
    font-size: 28px;
  }
  .post-cta-band h3 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .post-cta-band .greeting {
    font-size: 24px;
  }
}

/* 2.2 Authority marquee: three responsive variants.
   - Below 640px: stacked single column, no dots
   - 640-1023px: 2-col grid, no dots
   - 1024+: current horizontal row with gold dots (unchanged) */
@media (max-width: 639.98px) {
  .authority-band .authority-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    text-align: center;
  }
  .authority-band .authority-inner .sep {
    display: none;
  }
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .authority-band .authority-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    justify-items: center;
    text-align: center;
    font-size: 13.5px;
  }
  .authority-band .authority-inner .sep {
    display: none;
  }
}

/* 2.6 Hero floating credential badges: keep inside portrait edge on phones.
   Below 640px the portrait narrows toward 280-320px and negative offsets push
   badges off-canvas. Pull badges in, reduce their footprint slightly. */
@media (max-width: 639.98px) {
  .home-hero .portrait-wrap {
    max-width: 22rem;
  }
  .home-hero .credential-badge {
    bottom: -16px;
    left: 8px;
    max-width: 220px;
    padding: 10px 14px;
  }
  .home-hero .credential-badge .cb-arch {
    width: 36px;
    height: 40px;
    font-size: 12px;
  }
  .home-hero .credential-badge .cb-text-line-1,
  .home-hero .credential-badge .cb-text-line-2 {
    font-size: 11px;
  }
  .home-hero .years-badge {
    top: -12px;
    right: 4px;
    width: 66px;
    height: 78px;
  }
  .home-hero .years-badge .yb-num { font-size: 22px; }
  .home-hero .years-badge .yb-label { font-size: 9px; }

  /* About page hero portrait + credential badge */
  .about-hero-grid .portrait-wrap {
    max-width: 22rem;
  }
  .about-hero-grid .credential-badge {
    bottom: -12px;
    left: 6px;
    min-width: 140px;
    padding: 10px 14px;
  }
}

/* 2.7 Service card padding a touch tighter on phones so cards feel less
   monolithic when stacked single-column. */
@media (max-width: 639.98px) {
  .svc-card-body { padding: 22px; }
  .svc-card-body h3 { font-size: 21px; }
  .svc-card-banner { height: 168px; }
  .svc-card-banner .numeral { font-size: 60px; }
  .approach-card { padding: 24px; }
  .approach-card blockquote { font-size: 16px; }
  .why-card { padding: 20px; }
  .step h3 { font-size: 18px; }
  .faq-item { padding: 20px; }
  .faq-item summary { font-size: 15px; }
}

/* 2.8 Blog post grid: give cards a bit more breathing room on narrow screens. */
@media (max-width: 639.98px) {
  .post-grid { gap: 20px; }
  .post-card-cover { height: 148px; padding: 16px; }
  .post-card-cover .letter-f { font-size: 128px; }
  .post-card-body { padding: 20px; }
  .post-card-body h3 { font-size: 18px; }
  .featured-post-body { padding: 32px 24px; }
  .featured-post-cover { padding: 28px 24px; min-height: 220px; }
  .featured-post-cover .letter-f { font-size: 220px; }
  .older-list a { font-size: 17px; }
}
