/*
 * Modern quiet direction for aobaheth.com.
 * Brand artwork is always the original logo.png, displayed without filters or cropping.
 */
:root {
  --black: #17372d;
  --char: #214738;
  --char-2: #2e5949;
  --char-3: #426d5a;
  --yellow: #c5a43a;
  --yellow-d: #9e802a;
  --yellow-l: #e8d68e;
  --maroon: #2e6656;
  --maroon-d: #1d4d3d;
  --maroon-l: #3e7966;
  --paper: #f4f5ef;
  --paper-2: #e9eee6;
  --white: #fff;
  --line: #dce5db;
  --text: #1b342e;
  --muted: #53665c;
  --shadow-sm: 0 4px 15px rgba(27, 52, 46, .05);
  --shadow-md: 0 14px 35px rgba(27, 52, 46, .09);
  --shadow-lg: 0 25px 65px rgba(27, 52, 46, .13);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --header-h: 76px;
}

body { line-height: 1.9; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--maroon);
  outline-offset: 3px;
}
.container { max-width: 1220px; padding-inline: 30px; }
.section { padding-block: clamp(4rem, 7vw, 6rem); }
.section-white { background: #fff; }
.section-paper { background: var(--paper); }
.section-dark { background: #1f4437; }

/* Light navigation across all public pages. */
.site-header, .site-header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.site-header.is-scrolled { box-shadow: 0 7px 24px rgba(27,52,46,.07); }
.brand-logo, .drawer-head .brand-logo, .site-footer .brand-logo {
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.brand-logo { width: 46px; height: 46px; }
.brand:hover .brand-logo { transform: none; }
.brand-name { color: var(--black); font-size: 1.24rem; }
.brand-tag { color: var(--muted); font-size: .7rem; }
.nav-link { color: var(--text); font-size: .9rem; padding: 8px 10px; }
.nav-link:hover, .nav-link.active { color: var(--maroon); }
.nav-link::after { background: var(--maroon); }
.header-social a { color: var(--maroon); background: transparent; }
.header-social a:hover { background: var(--paper-2); color: var(--black); }
.site-header .header-actions .btn-yellow { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.nav-toggle { background: var(--paper); color: var(--maroon); border: 1px solid var(--line); }
.nav-drawer { background: #fff; color: var(--text); border-left: 2px solid var(--maroon); box-shadow: -16px 0 50px rgba(27,52,46,.18); }
.drawer-head, .drawer-social { border-color: var(--line); }
.drawer-close { background: var(--paper); color: var(--maroon); }
.drawer-links a { color: var(--text); }
.drawer-links a:hover, .drawer-links a.active { background: #e8f0e9; color: var(--maroon); }
.drawer-social a { background: var(--paper); color: var(--maroon); }
.drawer-social a:hover { background: var(--maroon); color: #fff; }
.nav-overlay { background: rgba(15,33,26,.45); }

/* The original shield remains intact and readable. */
.hero {
  min-height: 0;
  padding: calc(var(--header-h) + 4.5rem) 0 5.6rem;
  color: var(--text);
  background: radial-gradient(circle at 79% 45%, #e2ece0 0, #eef2e9 32%, var(--paper) 72%);
}
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(2rem, 5vw, 5rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker {
  display: inline-block;
  padding: 0 0 .45rem;
  margin-bottom: 1.35rem;
  color: var(--maroon);
  background: transparent;
  border: 0;
  border-bottom: 2px solid #adcab5;
  border-radius: 0;
  font-size: .82rem;
}
.hero-name { color: var(--black); font-size: clamp(3.3rem, 6vw, 5.6rem); line-height: 1.1; margin-bottom: 1.3rem; }
.hero-desc { max-width: 600px; color: var(--muted); font-size: 1.09rem; line-height: 2; margin-bottom: 1.6rem; }
.hero-actions { display: flex; gap: 10px; }
.hero-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.hero-topics a { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 11px; border-radius: 999px; border: 1px solid #cbdacc; color: var(--muted); font-size: .79rem; font-weight: 700; transition: .2s; }
.hero-topics a:hover { background: #e1ede2; border-color: var(--maroon); color: var(--maroon); }
.hero-visual { min-height: 385px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-mark { width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%; background: #dce9db; display: flex; align-items: center; justify-content: center; }
.hero-shield {
  width: 69%;
  height: 78%;
  max-height: 290px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  animation: none;
}
.hero-caption { position: relative; align-self: flex-start; min-width: 180px; margin-top: 10px; padding: 12px 17px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.hero-caption small { display: block; color: var(--maroon); font-weight: 800; font-size: .75rem; }
.hero-caption strong { display: block; color: var(--black); font-family: var(--font-head); font-size: 1.35rem; line-height: 1.35; }
.hero-ring, .hero-glow, .hero-chip, .hero-scroll { display: none; }

/* Primary content follows the opening statement. */
.btn { border-radius: 8px; box-shadow: none; }
.btn-lg { padding: .82rem 1.45rem; font-size: .96rem; }
.btn-yellow { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.btn-yellow:hover { background: var(--maroon-l); border-color: var(--maroon-l); box-shadow: 0 7px 20px rgba(46,102,86,.18); }
.btn-outline { background: transparent; border-color: #b7c9bb; color: var(--black); }
.btn-outline:hover { background: #e3ede3; color: var(--black); border-color: var(--maroon); }
.btn-dark { background: var(--char); border-color: var(--char); }
.btn-dark:hover { background: var(--maroon); border-color: var(--maroon); }
.btn-maroon { background: #7a3028; border-color: #7a3028; }
.btn-maroon:hover { background: #8b4035; border-color: #8b4035; }
.sec-kicker { color: var(--maroon); background: none; border-radius: 0; border-bottom: 2px solid #a8cbb1; padding: 0 0 .35rem; }
.sec-kicker::before { display: none; }
.sec-title { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--black); }
.sec-lead { max-width: 640px; color: var(--muted); }
.section-dark .sec-kicker { color: var(--yellow-l); background: none; border-bottom-color: var(--yellow); }
.section-dark .sec-title { color: #fff; }
.section-dark .sec-lead { color: #d8e7dc; }

.articles-grid { gap: 1.3rem; }
.article-card { border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.article-card:hover { transform: translateY(-3px); border-color: #b5d1b9; }
.ac-media { aspect-ratio: 1.85 / 1; background: #dae9dc; }
.ac-media img { object-position: center 28%; }
.article-card.featured { grid-column: 1 / -1; flex-direction: row; }
.article-card.featured .ac-media { flex: 0 0 34%; min-height: 0; aspect-ratio: 1.55 / 1; }
.article-card.featured .ac-body { padding: 1.6rem 1.8rem; }
.ac-title, .article-card.featured .ac-title { color: var(--black); line-height: 1.55; }
.article-card.featured .ac-title { font-size: 1.52rem; }
.ac-cat { background: var(--maroon); border-radius: 5px; }
.ac-placeholder { background: #e4eee3; background-image: radial-gradient(circle at center, #edf4e8, #d8e8d8); }
.ac-placeholder img { width: 84px; height: 92px; object-fit: contain; opacity: 1; filter: none; }
.ac-meta { flex-wrap: wrap; gap: 8px 14px; }
.ac-meta svg { color: var(--maroon); }
.book-card:hover .bc-cover { transform: translateY(-3px); }
.bc-overlay { color: var(--yellow-l); }

/* Counters are quiet supporting facts, after latest articles. */
.stats-strip { margin-top: 0; padding: 0 0 3.4rem; background: #fff; }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.stat-card { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 12px; text-align: right; border: 1px solid var(--line); border-top: 2px solid #afd0b4; box-shadow: none; padding: 1rem 1.2rem; }
.stat-card .ico { grid-row: span 2; margin: 0; background: var(--paper); color: var(--maroon); }
.stat-card b { font-size: 1.7rem; color: var(--black); }
.stat-card span { display: block; width: calc(100% - 60px); margin-right: 58px; font-size: .8rem; color: var(--muted); }
.stat-card:hover { transform: none; }

.about-preview { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
.about-figure { max-width: 390px; }
.about-figure .frame { aspect-ratio: 1 / 1; background: #dce9db; box-shadow: var(--shadow-md); }
.about-figure .frame img.shield { width: 54%; filter: none; animation: none; }
.about-figure .frame::before { display: none; }
.about-figure .corner { border-width: 2px; border-color: var(--maroon); }
.about-figure .quote-card { bottom: -18px; right: 18px; left: 18px; max-width: none; border-right-color: var(--maroon); border-radius: 8px; }
.about-point .ico { border-radius: 8px; background: #dfebdf; color: var(--maroon); }
.about-copy p { color: var(--muted); line-height: 2.05; }

/* The inner pages use the same calm palette. */
.page-hero { padding: calc(var(--header-h) + 2.8rem) 0 2.7rem; background: #e7efe5; color: var(--black); }
.page-hero::before { display: none; }
.page-hero::after { opacity: .11; background: radial-gradient(circle, var(--maroon), transparent 65%); }
.page-title, .article-hero .page-title { color: var(--black); }
.page-sub { color: var(--muted); }
.crumbs { color: var(--muted); }
.crumbs .cur { color: var(--maroon); }
.crumbs a:hover { color: var(--maroon); }
.page-hero .ornament { display: none; }
.article-hero-meta { color: var(--muted); }
.article-hero-meta svg { color: var(--maroon); }
.article-cover { border-width: 3px; }
.prose { max-width: 75ch; color: var(--text); }
.prose blockquote { background: #fff; border-right-color: var(--maroon); box-shadow: none; }
.prose h2 { border-right-color: var(--maroon); }
.filter-btn { border-radius: 7px; }
.filter-btn.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.input, .textarea { border-width: 1px; }
.input:focus, .textarea:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(46,102,86,.14); }
.form-card { box-shadow: var(--shadow-sm); }
.form-card::before { background: var(--maroon); height: 3px; }
.contact-tile .ico, .support-card .ico { background: #e5efe5; color: var(--maroon); }
.verse-card { background: #1f4437; }
.verse-card::before { display: none; }
.verse-text { color: var(--yellow-l); }
.cta-box { background: #1f4437; }
.cta-box::before, .cta-box::after { display: none; }
.cta-box .btn-yellow, .site-footer .btn-yellow { background: var(--yellow); border-color: var(--yellow); color: #1c3025; }
.cta-box .btn-yellow:hover, .site-footer .btn-yellow:hover { background: var(--yellow-l); border-color: var(--yellow-l); }
.social-card { background: rgba(255,255,255,.06); }
.social-card:hover { border-color: var(--yellow-l); background: rgba(255,255,255,.1); }
.site-footer { background: #17392e; }
.site-footer::before { display: none; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: var(--yellow-l); }
.footer-stripe { height: 3px; background: var(--yellow); }
.footer-title::after { background: var(--yellow); height: 2px; }
.footer-links a::before { background: var(--yellow); }
.footer-bottom a { color: var(--yellow-l); }
.back-to-top { background: var(--maroon); color: #fff; }
.back-to-top:hover { background: var(--maroon-l); }
#read-progress { background: var(--maroon); }

@media (max-width: 1100px) {
  .hero-grid { gap: 2.5rem; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .container { padding-inline: 22px; }
  .hero { padding: calc(var(--header-h) + 3.4rem) 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: right; }
  .hero-desc { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-visual { order: 0; min-height: 310px; width: min(100%, 430px); margin: 0 auto; }
  .hero-mark { width: 300px; }
  .about-preview { grid-template-columns: 1fr; }
  .about-figure { margin: 0 auto; }
  .article-card.featured { flex-direction: column; }
  .article-card.featured .ac-media { flex: none; aspect-ratio: 1.85 / 1; }
}
@media (max-width: 640px) {
  .section { padding-block: 3.4rem; }
  .container { padding-inline: 18px; }
  .site-header .brand-logo { width: 40px; height: 40px; }
  .brand-name { font-size: 1.1rem; }
  .hero { padding: calc(var(--header-h) + 2.4rem) 0 3.2rem; }
  .hero-name { font-size: clamp(3rem, 12vw, 4.1rem); margin-bottom: 1rem; }
  .hero-desc { font-size: .97rem; margin-bottom: 1.3rem; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn { white-space: normal; min-height: 48px; text-align: center; padding: .58rem; font-size: .84rem; }
  .hero-topics { gap: 6px; }
  .hero-topics a { font-size: .72rem; padding: 3px 9px; }
  .hero-visual { min-height: 0; max-width: 320px; }
  .hero-mark { width: 230px; }
  .hero-shield { width: 74%; height: 80%; }
  .hero-caption { min-width: 130px; padding: 8px 11px; }
  .hero-caption strong { font-size: 1.05rem; }
  .stats-strip { padding-bottom: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { display: block; text-align: center; padding: .9rem .5rem; }
  .stat-card .ico { display: none; }
  .stat-card b { font-size: 1.5rem; }
  .stat-card span { width: auto; margin: 0; font-size: .7rem; }
  .about-figure { display: none; }
  .about-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-point { font-size: .78rem; gap: 6px; }
  .about-point .ico { width: 28px; height: 28px; }
  .ac-media, .article-card.featured .ac-media { aspect-ratio: 1.85 / 1; }
  .ac-body, .article-card.featured .ac-body { padding: 1.1rem; }
  .article-card.featured .ac-title { font-size: 1.25rem; }
  .sec-head-row { align-items: stretch; }
  .sec-head-row form { min-width: 0 !important; width: 100%; }
  .page-hero { padding: calc(var(--header-h) + 2.1rem) 0 2rem; }
  .page-sub { font-size: .96rem; }
  .article-cover { margin-top: 0; border: 0; border-radius: 0; }
  .prose { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
