/* BEHAQ — Visual system v2
   Quiet authority: warm paper, forest green, restrained gold, editorial serif. */

@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans Ethiopic';
  src: url('../fonts/noto-sans-ethiopic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif Ethiopic';
  src: url('../fonts/noto-serif-ethiopic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --green: #075B2E;
  --green-700: #064A26;
  --green-800: #053A1E;
  --green-900: #042B17;
  --green-soft: #EAF0E7;
  --green-wash: #F1F5EE;
  --gold: #EFB51B;
  --gold-deep: #8A5E00;
  --gold-soft: #FFF6DC;

  /* Surfaces and ink */
  --paper: #F6F3E9;
  --paper-deep: #EFEBDE;
  --cream: #FBF8F0;
  --surface: #FFFFFF;
  --ink: #16221B;
  --ink-soft: #2F3D34;
  --muted: #56645A;
  --muted-light: #6C7A70;
  --line: #E3DFD2;
  --line-strong: #CBD5C9;

  /* Status */
  --danger: #8A1F11;
  --danger-soft: #FDECEA;
  --danger-line: #E8B4AB;
  --success: #14512D;
  --success-soft: #E9F4EC;
  --success-line: #B7D8C1;
  --info: #173F6B;
  --info-soft: #DFEAF8;

  /* Type */
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display-am: 'Noto Serif Ethiopic', 'Nyala', 'Ebrima', serif;
  --font-body-am: 'Noto Sans Ethiopic', 'Nyala', 'Ebrima', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'Cascadia Mono', Consolas, monospace;

  /* Shape and elevation */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-xs: 0 1px 2px rgba(22, 34, 27, 0.05);
  --shadow-sm: 0 2px 6px rgba(22, 34, 27, 0.05), 0 10px 24px -18px rgba(22, 34, 27, 0.22);
  --shadow-md: 0 16px 40px -24px rgba(22, 34, 27, 0.32);
  --shadow-lg: 0 34px 80px -40px rgba(22, 34, 27, 0.42);

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --motion: 200ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[lang="am"] {
  --font-display: var(--font-display-am);
  --font-body: var(--font-body-am);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="am"] body { font-size: 18px; line-height: 1.86; }

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-700); }
::selection { background: var(--gold-soft); color: var(--green-900); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-footer :focus-visible, .cta-band :focus-visible, .admin-header :focus-visible,
.admin-login-body :focus-visible { outline-color: #FFFFFF; }
.btn-primary:focus-visible { outline-color: var(--gold); }
.btn-gold:focus-visible { outline-color: var(--green-900); }

.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;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.form-col { max-width: 760px; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Status bar ---------- */
.status-bar {
  background: var(--green-900);
  color: #CFE2D6;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.status-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; padding-top: 4px; padding-bottom: 4px; text-align: center; }
.status-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 3px rgba(239, 181, 27, 0.18); }
.status-bar a { color: #F4E3AF; font-weight: 600; }
.status-bar a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(251, 248, 240, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow var(--motion) var(--ease), background-color var(--motion) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(22, 34, 27, 0.45); background: rgba(251, 248, 240, 0.97); }
.header-inner {
  display: flex; align-items: center; gap: 20px; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand-logo-full { display: block; height: 34px; width: auto; }
.brand-text { display: none; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; letter-spacing: 0.08em; color: var(--green); font-size: 0.9rem; }
.brand-sub { font-size: 0.66rem; color: var(--muted); max-width: 210px; }
.brand-logo-mark { display: none; height: 40px; width: 40px; border-radius: 10px; }

.primary-nav { margin-left: auto; min-width: 0; }
.primary-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: flex; align-items: center; min-height: 42px;
  padding: 8px 11px; border-radius: 8px;
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.005em;
  white-space: nowrap; position: relative;
  transition: color var(--motion) var(--ease), background-color var(--motion) var(--ease);
}
.primary-nav a:hover { background: var(--green-wash); color: var(--green-700); }
.primary-nav a[aria-current="page"] { color: var(--green); background: var(--green-soft); }
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--gold);
}
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 13px; text-decoration: none; color: var(--ink-soft);
  font-size: 0.84rem; font-weight: 600; background: var(--surface);
  transition: border-color var(--motion) var(--ease), color var(--motion) var(--ease), background-color var(--motion) var(--ease);
}
.lang-switch:hover { border-color: var(--green); color: var(--green); background: var(--green-wash); }
.lang-switch .glyph {
  background: var(--green-soft); color: var(--green); border-radius: 50%;
  width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.76rem; font-weight: 700;
}
.nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 9px;
  min-width: 44px; min-height: 44px; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 12px;
  font: inherit; font-size: 0.9rem; font-weight: 700; color: var(--ink);
  cursor: pointer; margin-left: auto;
  transition: background-color var(--motion) var(--ease), border-color var(--motion) var(--ease);
}
.nav-toggle:hover { background: var(--green-wash); border-color: var(--green); }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 17px; height: 2px; background: currentColor; border-radius: 2px;
  content: ""; position: relative; transition: transform var(--motion) var(--ease), opacity var(--motion) var(--ease);
}
.nav-toggle-bar::before { position: absolute; top: -6px; }
.nav-toggle-bar::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink-soft);
  cursor: pointer; font-family: inherit;
  transition: transform var(--motion) var(--ease), box-shadow var(--motion) var(--ease),
    background-color var(--motion) var(--ease), color var(--motion) var(--ease), border-color var(--motion) var(--ease);
}
.btn:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary {
  background: var(--green); border-color: var(--green); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 20px -16px rgba(7, 91, 46, 0.9);
}
.btn-primary:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; box-shadow: 0 14px 28px -18px rgba(7, 91, 46, 0.9); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #2B2205; }
.btn-gold:hover { background: #F6C33E; border-color: #F6C33E; color: #211A04; }
.btn-ghost { background: transparent; border-color: var(--green); color: var(--green); }
.btn-ghost:hover { background: var(--green-soft); color: var(--green-700); }
.btn-link { min-height: 0; padding: 0; border: 0; background: none; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 0.85rem; border-radius: 8px; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.92rem; text-decoration: none; color: var(--green); }
.link-arrow .icon { transition: transform var(--motion) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 82px) 0 clamp(40px, 6vw, 74px);
  background:
    radial-gradient(900px 520px at 82% 10%, rgba(239, 181, 27, 0.12), transparent 60%),
    radial-gradient(800px 520px at 4% 0%, rgba(7, 91, 46, 0.07), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(22, 34, 27, 0.055) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-copy { max-width: 640px; }
.hero-status {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 13px 6px 8px;
  font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); margin: 0 0 22px;
  box-shadow: var(--shadow-xs);
}
.hero-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(239, 181, 27, 0.2); }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.72rem; font-weight: 800; color: var(--green);
  margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; flex: none; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.35rem, 4.6vw, 3.65rem); line-height: 1.06;
  margin: 0 0 22px; color: var(--green-900); letter-spacing: -0.024em;
}
html[lang="am"] .hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.34; letter-spacing: 0; font-weight: 600; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 58ch; margin: 0 0 30px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 7px; font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.hero-points .icon { width: 16px; height: 16px; color: var(--green); }
.hero-media { margin: 0 auto; position: relative; width: 100%; justify-self: stretch; }
.hero-frame {
  position: relative; isolation: isolate; background: var(--surface); padding: 10px;
  border: 1px solid rgba(227, 223, 210, 0.9); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero-frame::before {
  content: ""; position: absolute; z-index: -1; right: -22px; top: -26px;
  width: 150px; height: 150px; border-radius: 50%;
  border: 1px solid rgba(239, 181, 27, 0.45);
}
.hero-frame::after {
  content: ""; position: absolute; z-index: -1; left: -28px; bottom: -30px;
  width: 180px; height: 180px; border-radius: 42% 58% 60% 40% / 46% 40% 60% 54%;
  background: rgba(7, 91, 46, 0.07);
}
.hero-image {
  width: 100%; max-width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 18px; background: #DCE7EF;
  filter: saturate(0.76) hue-rotate(-10deg) contrast(1.04) brightness(1.01);
  transition: transform 600ms var(--ease);
}
.hero-frame:hover .hero-image { transform: scale(1.012); }
.hero-tone {
  position: absolute; inset: 10px; border-radius: 18px; pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 40%, rgba(7, 91, 46, 0) 45%, rgba(4, 43, 23, 0.22) 78%, rgba(4, 43, 23, 0.38) 100%),
    linear-gradient(180deg, rgba(239, 181, 27, 0.10), rgba(7, 91, 46, 0.06));
  mix-blend-mode: multiply;
}
.photo-tag {
  position: absolute; left: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(4, 43, 23, 0.82); color: #fff;
  padding: 7px 11px; border-radius: 999px; font-size: 0.7rem; font-weight: 600;
  backdrop-filter: blur(6px);
}
.photo-tag .icon { width: 14px; height: 14px; color: var(--gold); }
.hero-media figcaption { display: flex; gap: 8px; align-items: flex-start; font-size: 0.78rem; color: var(--muted); margin-top: 16px; padding-left: 4px; }
.hero-media figcaption .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--muted-light); }

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 6vw, 78px) 0; }
.section-alt { background: var(--green-wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.15rem); line-height: 1.15; color: var(--green-900); margin: 0 0 16px; letter-spacing: -0.01em; }
html[lang="am"] .section-title { line-height: 1.4; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.section-head .eyebrow { margin-bottom: 12px; }

/* ---------- Reading layout with TOC ---------- */
.reading { padding: clamp(40px, 6vw, 80px) 0; background: var(--cream); }
.reading-grid { display: grid; grid-template-columns: minmax(0, 720px) 238px; gap: clamp(40px, 6vw, 86px); justify-content: center; align-items: start; }
.toc { position: sticky; top: 108px; }
.toc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow-xs); }
.toc-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 9px; align-items: baseline; padding: 7px 8px; border-radius: 7px; text-decoration: none; color: var(--muted); font-size: 0.84rem; line-height: 1.4; transition: background-color var(--motion) var(--ease), color var(--motion) var(--ease); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-size: 0.68rem; font-weight: 700; color: var(--gold-deep); flex: none; }
.toc a:hover { background: var(--green-wash); color: var(--green); }
.toc a.is-active { background: var(--green-soft); color: var(--green-900); font-weight: 700; }
.toc-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--muted); }
.toc-mobile { display: none; }
html:not(.js) .toc, html:not(.js) .toc-mobile { display: none; }
html:not(.js) .reading-grid { grid-template-columns: minmax(0, 720px); }

/* ---------- Prose ---------- */
.prose { max-width: 720px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 2.3vw, 1.85rem); line-height: 1.2;
  margin: 52px 0 14px; padding-top: 26px; border-top: 1px solid var(--line);
  color: var(--green-900); letter-spacing: -0.01em; scroll-margin-top: 120px;
}
html[lang="am"] .prose h2 { line-height: 1.45; }
.prose h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h2::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); margin-bottom: 14px; }
.prose h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; margin: 30px 0 8px; color: var(--green-700); scroll-margin-top: 120px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li { position: relative; padding-left: 24px; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: 0.62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg);
}
.prose ol { counter-reset: item; }
.prose ol li { counter-increment: item; }
.prose ol li::before {
  content: counter(item); position: absolute; left: 0; top: 0.12em;
  width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft);
  color: var(--green); font-size: 0.68rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 38px 0; }
.prose blockquote {
  margin: 28px 0; padding: 20px 24px;
  border-left: 4px solid var(--gold); background: var(--gold-soft);
  border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink);
  font-family: var(--font-display); font-size: 1.12rem; line-height: 1.55;
}
.prose code { background: var(--green-wash); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; font-family: var(--font-mono); font-size: 0.86em; }
.prose strong { color: var(--green-900); font-weight: 700; }
.prose a { font-weight: 600; text-decoration-color: rgba(7, 91, 46, 0.35); transition: text-decoration-color var(--motion) var(--ease), color var(--motion) var(--ease); }
.prose a:hover { text-decoration-color: var(--gold-deep); color: var(--green-900); }
.prose--lede > p:first-of-type::first-letter { font-family: var(--font-display); font-size: 2.85em; line-height: 0.95; float: left; padding: 0.08em 0.12em 0 0; color: var(--green); font-weight: 600; }
html[lang="am"] .prose--lede > p:first-of-type::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0; color: inherit; }

/* ---------- Pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pillar {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 28px 24px;
  box-shadow: var(--shadow-xs); overflow: hidden;
  transition: transform var(--motion) var(--ease), box-shadow var(--motion) var(--ease), border-color var(--motion) var(--ease);
}
.pillar::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pillar-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; }
.pillar-icon .icon { width: 23px; height: 23px; }
.pillar-num { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--gold-deep); letter-spacing: 0.06em; }
.pillar h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; margin: 0 0 10px; color: var(--green-900); }
html[lang="am"] .pillar h3 { line-height: 1.45; }
.pillar p { margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; line-height: 1.62; }

/* ---------- Explore cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  text-decoration: none; color: inherit; box-shadow: var(--shadow-xs);
  transition: transform var(--motion) var(--ease), box-shadow var(--motion) var(--ease), border-color var(--motion) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--gold-soft); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; }
.card-icon .icon { width: 21px; height: 21px; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; margin: 0; color: var(--green-900); }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.card-link { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--green); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 7px; }
.card:hover .card-link .icon { transform: translateX(3px); }
.card-link .icon { transition: transform var(--motion) var(--ease); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--green); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; border: 1px solid rgba(239, 181, 27, 0.22);
}
.cta-band::after {
  content: ""; position: absolute; right: 40px; bottom: -160px; width: 360px; height: 360px;
  border-radius: 50%; background: rgba(239, 181, 27, 0.07);
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner .eyebrow { color: #F0D793; }
.cta-inner .eyebrow::before { background: var(--gold); }
.cta-inner h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.05rem); line-height: 1.15; margin: 0 0 8px; color: #fff; }
html[lang="am"] .cta-inner h2 { line-height: 1.4; }
.cta-inner p { margin: 0; color: #D6E6DC; max-width: 58ch; font-size: 1rem; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-side .note { color: #BFD8C8; font-size: 0.8rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #C9DCCF; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.35fr; gap: 34px; }
.footer-logo { display: block; width: 172px; height: auto; background: #fff; padding: 9px 12px; border-radius: 8px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; margin: 0; color: #B9D0C1; line-height: 1.6; max-width: 36ch; }
.footer-heading { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: #8FB39C; margin: 0 0 14px; font-weight: 800; }
.footer-nav ul, .footer-info ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: #E4F0E7; text-decoration: none; font-size: 0.9rem; transition: color var(--motion) var(--ease); }
.site-footer a:hover { text-decoration: underline; color: #fff; text-underline-offset: 3px; }
.footer-status p { font-size: 0.84rem; margin: 0; color: #A9C4B3; line-height: 1.6; }
.footer-contact { margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--gold); }
.footer-bottom { border-top: 1px solid #1E4430; margin-top: 40px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 0.8rem; color: #8FB39C; }
.to-top { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; }
.to-top .icon { width: 15px; height: 15px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .header-cta { display: none; }
  .primary-nav a { padding: 8px 9px; font-size: 0.84rem; }
}
@media (max-width: 1100px) {
  html.js .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; gap: 10px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
  .brand { flex: 1 1 auto; }
  .primary-nav {
    order: 5; flex-basis: 100%;
    margin: 0; border-top: 1px solid var(--line); padding-top: 10px;
  }
  html.js .primary-nav { display: none; }
  html.js .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 2px; }
  .primary-nav a { padding: 12px 10px; font-size: 1rem; min-height: 46px; }
  .primary-nav a[aria-current="page"]::after { display: none; }
  .header-actions { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: 720px; }
  .hero-media { max-width: 540px; width: 100%; margin-inline: auto; }
  .hero-image { aspect-ratio: 4 / 3; }
  .reading-grid { grid-template-columns: minmax(0, 720px); }
  .toc { display: none; }
  .toc-mobile { display: block; max-width: 720px; margin: 0 auto 24px; }
  .toc-mobile details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
  .toc-mobile summary { cursor: pointer; font-weight: 700; color: var(--green); font-size: 0.92rem; }
  .toc-mobile ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; counter-reset: toc; }
  .toc-mobile li { counter-increment: toc; }
  .toc-mobile a { display: block; padding: 7px 4px; text-decoration: none; color: var(--muted); font-size: 0.88rem; }
  .toc-mobile a::before { content: counter(toc, decimal-leading-zero) "  "; color: var(--gold-deep); font-weight: 700; font-size: 0.74rem; }
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .pillar-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .brand-logo-full { height: 32px; }
  .hero { padding-top: 30px; }
  .hero-media { order: 2; }
  .hero-copy { order: 1; }
  .status-bar .wrap { font-size: 0.72rem; }
  .status-bar .optional { display: none; }
  .section { padding: 40px 0; }
  .reading { padding: 34px 0 44px; }
  .prose h2 { margin-top: 40px; padding-top: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .brand-text { display: none; }
  .brand-logo-mark { display: none; }
  .header-actions .btn { display: none; }
  .lang-switch { padding: 6px 10px; }
  .nav-toggle-text { display: none; }
  .nav-toggle { padding: 9px; width: 44px; }
  .lang-switch .lang-label { display: inline; }
  .hero h1 { font-size: 1.95rem; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 14px; }
  .photo-tag { left: 16px; bottom: 16px; }
  .pillar { padding: 22px 20px; }
  .card { padding: 22px; }
  .cta-side { width: 100%; }
  .cta-side .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .status-bar, .toc { display: none; }
  body { background: #fff; color: #000; }
  .reading { padding: 0; }
}

/* =====================================================================
   ADMIN
   ===================================================================== */
.admin-body { background: #F2F4EF; font-size: 16px; line-height: 1.6; }
.admin-header { background: var(--green-900); color: #fff; position: sticky; top: 0; z-index: 50; }
.admin-header-inner { max-width: 1280px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.admin-brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.admin-brand img { height: 30px; width: auto; background: #fff; padding: 3px 7px; border-radius: 6px; }
.admin-brand .admin-tag { color: #A9C4B3; font-weight: 600; }
.admin-user { display: flex; align-items: center; gap: 14px; font-size: 0.86rem; color: #D6E6DC; flex-wrap: wrap; }
.admin-user .who { display: flex; flex-direction: column; line-height: 1.25; }
.admin-user .who strong { color: #fff; font-size: 0.86rem; }
.admin-user .who span { color: #A9C4B3; font-size: 0.74rem; text-transform: capitalize; }
.admin-header-link { color: #D6E6DC; font-size: 0.82rem; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; display: inline-flex; align-items: center; }
.admin-header-link:hover { color: #fff; }
.inline-form { display: inline; margin: 0; }
.admin-body .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: transparent; }
.admin-body .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.admin-shell { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 232px 1fr; gap: 26px; padding: 26px var(--gutter) 64px; align-items: start; }
.admin-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; position: sticky; top: 86px; box-shadow: var(--shadow-xs); }
.admin-nav ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 11px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.88rem; transition: background-color var(--motion) var(--ease), color var(--motion) var(--ease); }
.admin-nav a:hover { background: var(--green-wash); color: var(--green); }
.admin-nav a[aria-current="page"] { background: var(--green); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.admin-nav a .icon { width: 18px; height: 18px; opacity: 0.85; }
.admin-nav-note { font-size: 0.76rem; color: var(--muted); line-height: 1.8; margin: 12px 0 4px; padding: 12px 10px 0; border-top: 1px solid var(--line); }
.admin-nav-note a { white-space: nowrap; }
.admin-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); min-height: 62vh; box-shadow: var(--shadow-sm); min-width: 0; }
.admin-main h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0 0 6px; color: var(--green-900); letter-spacing: -0.01em; }
.admin-main h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; margin: 34px 0 12px; color: var(--green-900); }
.admin-main > p.muted:first-of-type { margin-top: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.84rem; }
.mono { font-family: var(--font-mono); font-size: 0.84rem; }

.stat-grid, .stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 22px 0 12px; }
.stat { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.stat strong, .stat-value { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; color: var(--green-900); line-height: 1.1; }
.stat span, .stat-label { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 16px 0 10px; font-size: 0.88rem; }
.admin-table th, .admin-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--green-wash); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: #43544A; font-weight: 800; white-space: nowrap; }
.admin-table th:first-child { border-top-left-radius: 8px; }
.admin-table th:last-child { border-top-right-radius: 8px; }
.admin-table tbody tr { transition: background-color var(--motion) var(--ease); }
.admin-table tbody tr:hover { background: #FAFCF8; }
.admin-table td a { font-weight: 600; }
.thumb { width: 76px; height: 57px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.pill-published, .pill-answered, .pill-approved, .pill-verified { background: #DDF1E3; color: #14512D; }
.pill-draft, .pill-new, .pill-requested, .pill-received { background: #FFF1CC; color: #6B4E00; }
.pill-in_progress { background: #DFEAF8; color: #173F6B; }
.pill-closed, .pill-withdrawn, .pill-missing { background: #E7EAE7; color: #3C463F; }
.pill-spam { background: #FBDED9; color: #6E1B0F; }

.admin-form { display: flex; flex-direction: column; gap: 18px; max-width: 800px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.editor-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.editor-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin: 0 0 6px; }
.breadcrumb a { font-weight: 600; }
.filter-form { display: flex; gap: 10px; align-items: center; font-size: 0.88rem; flex-wrap: wrap; margin: 14px 0; }
.filter-form select { width: auto; }
.detail-list { display: grid; grid-template-columns: 170px 1fr; gap: 10px 18px; margin: 20px 0; font-size: 0.92rem; }
.detail-list dt { color: var(--muted); font-weight: 700; }
.detail-list dd { margin: 0; }
.message-body { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 18px; white-space: pre-wrap; font-family: inherit; font-size: 0.95rem; }
.inline-status { flex-direction: row; align-items: center; gap: 10px; max-width: none; }
.inline-status select { width: auto; }
.upload-form { border: 1px dashed var(--line-strong); padding: 22px; border-radius: var(--radius); background: var(--cream); }
.admin-hint { margin-top: 34px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.admin-hint h2 { margin-top: 0; }
.admin-hint ul { margin: 8px 0 0; padding-left: 20px; font-size: 0.9rem; color: var(--ink-soft); }

.reset-form, .evidence-form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.reset-form input { padding: 7px 9px; font-size: 0.84rem; width: 180px; }
.evidence-form select, .evidence-form input[type="text"] { padding: 7px 9px; font-size: 0.82rem; }
.evidence-form input[type="text"] { width: 160px; }

.admin-login-body { display: grid; place-items: center; min-height: 100vh; background: radial-gradient(900px 600px at 20% 10%, rgba(239, 181, 27, 0.12), transparent 60%), var(--green-900); }
.admin-login { width: 100%; max-width: 470px; padding: 24px; }
.admin-login-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 5vw, 38px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.25); }
.admin-login-logo { height: 46px; width: auto; margin-bottom: 20px; }
.admin-login-card h1 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 0 0 8px; color: var(--green-900); }
.admin-login-card form { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.admin-login-hint { margin-top: 20px; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.admin-login-foot { margin-top: 12px; font-size: 0.86rem; }

/* ---------- Forms ---------- */
.section-form { background: var(--surface); border-top: 1px solid var(--line); }
.form-intro { color: var(--muted); max-width: 70ch; }
.inquiry-form { margin-top: 26px; display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0; border: 0; padding: 0; }
.field > label, .field > legend { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.field legend { padding: 0; margin-bottom: 4px; }
.req { color: #7A4A00; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; margin-left: 4px; }
.opt { color: var(--muted); font-weight: 500; font-size: 0.76rem; margin-left: 4px; }
.hint { color: var(--muted); font-size: 0.83rem; margin: 0; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="file"], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; min-height: 48px;
  transition: border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease);
}
textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
input:hover, select:hover, textarea:hover { border-color: #A9BBA9; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 3px solid rgba(239, 181, 27, 0.4); outline-offset: 1px; }
.radio-row { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 8px; }
.radio, .checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 0.94rem; text-transform: none; letter-spacing: 0; min-height: 32px; }
.radio input, .checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); }
.checkbox-field { gap: 8px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: var(--danger); font-weight: 600; font-size: 0.86rem; margin: 0; }
input[aria-invalid="true"], [aria-describedby$="-error"] { border-color: var(--danger); }
.alert { border-radius: var(--radius); padding: 18px 20px; margin: 0 0 22px; }
.alert h2, .alert h3 { margin: 0 0 8px; font-size: 1.08rem; }
.alert p { margin: 0 0 8px; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert-error { background: var(--danger-soft); border: 1px solid var(--danger-line); color: #6E1B0F; }
.alert-success { background: var(--success-soft); border: 1px solid var(--success-line); color: var(--success); }

/* ---------- Gallery / docs / misc public ---------- */
.page-hero { padding: clamp(38px, 5vw, 64px) 0 clamp(30px, 4vw, 48px); background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -100px; top: -140px; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(239, 181, 27, 0.25); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0 0 14px; color: var(--green-900); line-height: 1.1; letter-spacing: -0.02em; }
html[lang="am"] .page-hero h1 { line-height: 1.35; }
.page-hero .lead { margin-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; box-shadow: var(--shadow-sm); }
.gallery-image { width: 100%; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #E3EBE0; filter: saturate(0.76) hue-rotate(-10deg) contrast(1.04) brightness(1.01); }
.gallery figcaption { font-size: 0.8rem; color: var(--muted); margin: 10px 4px 4px; }
.note { font-size: 0.84rem; color: var(--muted); margin-top: 18px; }
.doc-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 10px; }
.doc-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; display: flex; flex-direction: column; gap: 3px; }
.doc-list a { font-weight: 700; }
.doc-meta { font-size: 0.8rem; color: var(--muted); }
.status-note { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- Admin responsive ---------- */
@media (max-width: 1000px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { position: static; }
  .admin-nav ul { flex-direction: row; flex-wrap: wrap; }
  .admin-nav a { min-height: 40px; }
  .admin-nav a[aria-current="page"] { box-shadow: none; }
  .admin-nav-note { display: none; }
}
@media (max-width: 760px) {
  .admin-header-inner { padding-top: 9px; padding-bottom: 9px; }
  .admin-user .who span { display: none; }
  .admin-main { padding: 20px 16px; border-radius: var(--radius); }
  .admin-table, .admin-table thead, .admin-table tbody, .admin-table tr, .admin-table th, .admin-table td { display: block; width: 100%; }
  .admin-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .admin-table tr { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; padding: 6px 12px; background: var(--surface); }
  .admin-table td { border: 0; padding: 7px 0; display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: baseline; }
  .admin-table td::before { content: attr(data-label); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 800; }
  .admin-table td:last-child { border-bottom: 0; }
  .admin-table td[data-label=""]::before, .admin-table td:not([data-label])::before { content: ""; display: none; }
  .admin-table td:not([data-label]) { display: block; }
  .stat-grid, .stat-row { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; gap: 2px; }
  .detail-list dt { margin-top: 10px; }
  .editor-actions .btn { width: 100%; }
  .reset-form input { width: 100%; }
  .evidence-form input[type="text"] { width: 100%; }
  .admin-login { max-width: 100%; }
}
@media (max-width: 420px) {
  .admin-user { gap: 8px; }
  .admin-user .who { display: none; }
  .admin-brand { font-size: 0.84rem; }
}

/* ---------- Style guide (preview only) ---------- */
.sg-body { background: var(--paper); }
.sg { max-width: 1100px; margin: 0 auto; padding: 40px var(--gutter) 80px; }
.sg h1 { font-family: var(--font-display); font-size: 2.4rem; color: var(--green-900); margin: 0 0 8px; }
.sg h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 52px 0 16px; color: var(--green-900); border-top: 1px solid var(--line); padding-top: 24px; }
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.swatch { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.swatch .chip { height: 72px; }
.swatch .meta { padding: 10px 12px; font-size: 0.8rem; }
.swatch .meta strong { display: block; font-size: 0.86rem; }
.sg-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.sg-type p { margin: 8px 0; }
.sg-card { max-width: 360px; }
.sg-form { max-width: 520px; }

/* Mobile-only contact item inside the primary nav (identical in both headers) */
.primary-nav .nav-contact, .site-nav .nav-contact { display: none; }
@media (max-width: 1100px) {
  .primary-nav .nav-contact, .site-nav .nav-contact {
    display: flex; align-items: center; min-height: 46px;
    margin-top: 6px; padding: 12px 10px 0;
    border-top: 1px solid var(--line);
    color: var(--green); font-weight: 700; font-size: 1rem; text-decoration: none;
  }
}

/* ---------- Contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-aside .prose { max-width: none; }
.contact-aside .prose h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-md); }
.contact-card h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.7rem); margin: 0 0 8px; color: var(--green-900); }
.contact-card .form-intro { margin: 0 0 22px; }
.contact-chip { display: inline-flex; align-items: center; gap: 9px; background: var(--green-soft); color: var(--green-700); border-radius: 999px; padding: 7px 14px; font-size: 0.8rem; font-weight: 700; margin-bottom: 18px; }
.contact-chip .icon { width: 16px; height: 16px; }
@media (max-width: 980px) { .contact-layout { grid-template-columns: 1fr; } .contact-aside { order: 2; } .contact-card { order: 1; } }

/* ---------- Empty state (admin) ---------- */
.empty-state { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--muted); background: var(--cream); }
.empty-state .icon { width: 28px; height: 28px; color: var(--green); margin: 0 auto 8px; }
.empty-state p { margin: 0; font-size: 0.9rem; }
.admin-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 22px 0 8px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.kpi .icon { width: 18px; height: 18px; color: var(--gold-deep); }
.kpi strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--green-900); line-height: 1; }
.kpi span { font-size: 0.74rem; color: var(--muted); font-weight: 600; }
@media (max-width: 1000px) { .admin-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .admin-kpis { grid-template-columns: 1fr 1fr; } }

/* Page breadcrumbs */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--green); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: var(--muted); }
.contact-aside .prose > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; padding: 0; }

/* ---------- Integration details ---------- */
.hero-grid > *, .gallery > *, .card-grid > *, .pillar-grid > *, .footer-grid > * { min-width: 0; }
.lang-switch .glyph { flex: none; }
.lang-switch .glyph .icon { width: 14px; height: 14px; stroke-width: 2; }
.brand-logo-full { max-width: 190px; }
.doc-list a { text-underline-offset: 3px; }
.doc-list a:hover { text-decoration: underline; }
.admin-table td a { text-underline-offset: 3px; }
.admin-table td a:hover { text-decoration: underline; }
.admin-main .admin-table + p { margin-top: 8px; }
.contact-card .alert { margin-bottom: 18px; }
.contact-card .alert + p { margin-top: 0; }
.section-form { background: var(--surface); }
.form-col { width: 100%; }
.admin-login-logo { height: 46px; width: auto; }
.admin-login-card h1 + .muted { margin-top: 0; }
.admin-account-strip { display: none; }
@media (max-width: 760px) {
  .admin-user .who { display: none; }
  .admin-header-inner { gap: 10px; }
  .admin-account-strip { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
}

/* Compact evidence editor */
.evidence-form { display: grid; grid-template-columns: 132px minmax(90px, 1fr) auto; gap: 6px; align-items: center; }
.evidence-form select, .evidence-form input[type="text"] { width: 100%; min-height: 38px; padding: 7px 9px; font-size: 0.82rem; }
.evidence-form .btn { min-height: 38px; }
.code-cell { white-space: nowrap; }
@media (max-width: 760px) {
  .evidence-form { grid-template-columns: 1fr auto; }
  .evidence-form select { grid-column: 1 / -1; }
}

/* Brand link meets the 44px touch target without changing the logo size */
.brand { min-height: 44px; }

/* Infographics gallery */
.infographic-section { padding-top: 0; }
.infographic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.infographic-item figure { height: 100%; display: flex; flex-direction: column; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xs); }
.infographic-open { display: block; background: var(--cream); }
.infographic-open img { display: block; width: 100%; height: auto; }
.infographic-item figcaption { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 0.92rem; line-height: 1.45; }
.infographic-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; }
.infographic-cap { flex: 1; color: var(--ink-soft); }
.infographic-dl { flex: none; color: var(--green); font-weight: 700; font-size: 0.82rem; text-decoration: none; border-bottom: 1px solid currentColor; }
.infographic-dl:hover, .infographic-dl:focus-visible { color: var(--green-700); }
@media (max-width: 760px) { .infographic-grid { grid-template-columns: 1fr; } }

/* ---------- Polish pass (22 Nov 2026) ----------
   Small UI text raised to a comfortable floor; long-form pages given a little more air. */
.eyebrow { font-size: 0.76rem; }
.section-head .eyebrow { letter-spacing: 0.16em; }
.toc-label { font-size: 0.72rem; }
.toc a { font-size: 0.88rem; }
.toc-note { font-size: 0.8rem; }
.breadcrumb { font-size: 0.86rem; }
.cta-side .note { color: #D6E6DC; font-size: 0.86rem; }
.infographic-dl { font-size: 0.86rem; }
.infographic-num { font-size: 0.8rem; }
.infographic-item figcaption { padding: 16px 20px; }
.infographic-item figure { box-shadow: var(--shadow-sm); transition: box-shadow var(--motion) var(--ease), border-color var(--motion) var(--ease); }
.infographic-item figure:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.infographic-open { position: relative; }

/* Amharic interface text needs a touch more size than Latin at the same scale. */
html[lang="am"] .eyebrow { font-size: 0.82rem; letter-spacing: 0.06em; }
html[lang="am"] .toc-label { font-size: 0.78rem; letter-spacing: 0.06em; }
html[lang="am"] .toc a { font-size: 0.92rem; }
html[lang="am"] .breadcrumb { font-size: 0.9rem; }
html[lang="am"] .cta-side .note { font-size: 0.9rem; }
html[lang="am"] .infographic-dl { font-size: 0.9rem; }

/* Long-form pages: tighten the seam between the page hero and the first block. */
.page-hero + .section, .page-hero + .reading { padding-top: clamp(28px, 4vw, 44px); }

/* Site images admin */
.current-image { display: flex; gap: 18px; align-items: center; margin: 0 0 22px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.current-image img { width: 320px; height: auto; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.current-image p { margin: 0 0 10px; }

/* About page photograph */
.about-figure { max-width: 720px; margin: 8px auto 0; padding: 0 var(--gutter); }
.about-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* ---------- Purpose band (home) ---------- */
.purpose { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(38px, 5vw, 58px) 0; }
.purpose-eyebrow { color: var(--gold-deep); margin: 0 0 26px; }
.purpose-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 54px); }
.purpose-item { position: relative; padding-top: 22px; border-top: 2px solid var(--gold); }
.purpose-num { display: block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; color: var(--gold-deep); margin-bottom: 10px; }
.purpose-item h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.22; color: var(--green-900); margin: 0 0 10px; }
.purpose-item p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 34ch; }
html[lang="am"] .purpose-item h2 { line-height: 1.45; }
html[lang="am"] .purpose-item p { line-height: 1.82; }
@media (max-width: 860px) { .purpose-grid { grid-template-columns: 1fr; gap: 26px; } }

/* The hero photograph supports the message; it should not dominate it. */
@media (min-width: 861px) {
  .hero-grid { grid-template-columns: 1.14fr 0.86fr; }
  .hero-media { max-width: 470px; margin-left: auto; }
}

/* ---------- Signature element: evidence chips ----------
   The status of a claim is visible where the claim is made, not only on the transparency page. */
.claim-chip { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 9px; border-radius: 999px; font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 0.12em; white-space: nowrap; border: 1px solid; line-height: 1.6; }
.claim-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.claim-verified { color: #0F5C33; background: #E8F3EC; border-color: #BFDCCB; }
.claim-owner { color: #7A5200; background: #FDF3D8; border-color: #EBD49B; }
.claim-proposed { color: #3E4A55; background: #EFF2F5; border-color: #CFD8DF; }
.claim-pending { color: #4A3C6B; background: #F1EEF8; border-color: #D5CCEA; }
html[lang="am"] .claim-chip { font-size: 0.76rem; letter-spacing: 0.02em; padding: 4px 12px 4px 10px; }
@media print { .claim-chip { border-color: #999; } }

/* ---------- Section numbering (editorial signature) ----------
   Long-form pages read like a numbered report: the count sits in the margin,
   out of the text flow, so the reading rhythm stays intact. */
.prose { counter-reset: section; }
.prose h2 { position: relative; counter-increment: section; }
.prose h2::after {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 3px;
  background: var(--gold); margin-bottom: 14px;
}
.prose h2::before {
  content: counter(section, decimal-leading-zero);
  position: absolute; left: -62px; top: 27px;
  font-family: var(--font-body); font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.12em; color: var(--gold-deep);
}
@media (max-width: 1180px) { .prose h2::before { display: none; } }

/* Very light paper texture: enough to stop the surface reading as flat #F6F3E9. */
body {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(7, 91, 46, 0.018) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 65%, rgba(7, 91, 46, 0.014) 0 1px, transparent 1px);
  background-size: 240px 240px, 320px 320px;
}
@media print { body { background-image: none; } }

/* The gold rule draws itself as the section arrives. */
.js .prose h2::after { transform: scaleX(0); transform-origin: left center; transition: transform 620ms var(--ease); }
.js .prose h2.is-drawn::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .js .prose h2::after { transform: none; transition: none; } }

/* Hero illustration (used until a real photograph is supplied) */
.hero-frame--illustration { background: var(--paper-deep); }
.hero-frame--illustration img { width: 100%; height: auto; display: block; }

/* Filled two-tone glyphs (commitment cards) */
.icon-solid { stroke: none; fill: currentColor; }
.icon-solid .icon-accent { fill: var(--gold); stroke: none; }

/* Home page video */
.video-section { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.video-frame { max-width: 860px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; background: #0B2A1C; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.video-frame video { width: 100%; height: auto; display: block; background: #08120C; max-height: 620px; margin: 0 auto; object-fit: contain; }
.video-frame { display: flex; align-items: center; justify-content: center; background: #08251A; }
.video-placeholder { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 64px 24px; color: #EAF0E7; text-decoration: none; font-weight: 700; }
.video-placeholder:hover { color: #fff; }
.video-play { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--green-900); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.video-link { margin: 12px 0 0; text-align: center; font-size: 0.9rem; }
.video-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 0.88rem; }

/* Hero slider — a slow cross-fade between the project's own images. */
.hero-slider { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-deep); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-dots { position: absolute; inset-inline: 0; bottom: 14px; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.hero-dot { width: 26px; height: 5px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.55); padding: 0; }
.hero-dot.is-active { background: var(--gold); }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
