/* Layout concept: a fidel ledger. Mint-tinted paper pages ruled on a centered
   12-column measure, broken by deep-teal bands where the Ge'ez script that gave
   Abugida its name carries the brand. Teal leads, olive marks emphasis. */
/* Self-hosted fonts (SIL Open Font License), so the first paint does not wait on another server. */
@font-face {
  font-family: 'Bitter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bitter-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bitter-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bitter-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bitter-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/bitter-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/bitter-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bitter-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bitter-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bitter-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bitter-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Serif Ethiopic';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/noto-serif-ethiopic-normal-ethiopic.woff2") format('woff2');
  unicode-range: U+030E, U+1200-1399, U+2D80-2DDE, U+AB01-AB2E, U+1E7E0-1E7E6, U+1E7E8-1E7EB, U+1E7ED-1E7EE, U+1E7F0-1E7FE;
}
@font-face {
  font-family: 'Noto Serif Ethiopic';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/noto-serif-ethiopic-normal-ethiopic.woff2") format('woff2');
  unicode-range: U+030E, U+1200-1399, U+2D80-2DDE, U+AB01-AB2E, U+1E7E0-1E7E6, U+1E7E8-1E7EB, U+1E7ED-1E7EE, U+1E7F0-1E7FE;
}
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/young-serif-normal-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/young-serif-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3f8f7;
  --surface: #ffffff;
  --sunk: #e6f1ef;
  --ink: #1b2524;
  --ink-soft: #485957;
  --ink-mute: #566664;
  --line: #d2e3e0;
  --teal: #38b2ae;
  --teal-strong: #13706c;
  --teal-deep: #0e4f4c;
  --mint: #c2e8e5;
  --olive: #a9b439;
  --olive-soft: #eef2cc;
  --on-deep: #eef9f7;
  --on-deep-soft: #b6dcd8;
  --btn: #13706c;
  --btn-ink: #ffffff;
  --btn-hover: #0d5754;
  --focus: #8f9a1f;
  --wa: #17773f;
  --wa-ink: #ffffff;
  --shadow: 0 1px 2px rgb(14 79 76 / 0.06), 0 12px 32px -16px rgb(14 79 76 / 0.28);

  /* Noto Serif Ethiopic picks up any Ge’ez-script text (Amharic, Tigrinya) the Latin fonts lack. */
  --font-display: "Young Serif", "Noto Serif Ethiopic", Georgia, "Times New Roman", serif;
  --font-body: "Bitter", "Noto Serif Ethiopic", Georgia, Cambria, "Times New Roman", serif;
  --font-ethi: "Noto Serif Ethiopic", "Noto Sans Ethiopic", "Abyssinica SIL", "Nyala", "Kefa", serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.7rem, 1.35rem + 1.4vw, 2.25rem);
  --step-4: clamp(2rem, 1.5rem + 2.3vw, 3rem);
  --step-5: clamp(2.35rem, 1.6rem + 3.4vw, 3.9rem);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1514;
    --surface: #132120;
    --sunk: #0a1211;
    --ink: #e4f0ee;
    --ink-soft: #aec2bf;
    --ink-mute: #8fa6a3;
    --line: #23403c;
    --teal: #4cc3be;
    --teal-strong: #72d5d0;
    --teal-deep: #0b3735;
    --mint: #18332f;
    --olive: #c7d25a;
    --olive-soft: #2a2f12;
    --on-deep: #eef9f7;
    --on-deep-soft: #a9d2cd;
    --btn: #4cc3be;
    --btn-ink: #062120;
    --btn-hover: #72d5d0;
    --focus: #c7d25a;
    --wa: #2bb164;
    --wa-ink: #04170b;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -16px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1514;
  --surface: #132120;
  --sunk: #0a1211;
  --ink: #e4f0ee;
  --ink-soft: #aec2bf;
  --ink-mute: #8fa6a3;
  --line: #23403c;
  --teal: #4cc3be;
  --teal-strong: #72d5d0;
  --teal-deep: #0b3735;
  --mint: #18332f;
  --olive: #c7d25a;
  --olive-soft: #2a2f12;
  --on-deep: #eef9f7;
  --on-deep-soft: #a9d2cd;
  --btn: #4cc3be;
  --btn-ink: #062120;
  --btn-hover: #72d5d0;
  --focus: #c7d25a;
  --wa: #2bb164;
  --wa-ink: #04170b;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -16px rgb(0 0 0 / 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-strong); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0; text-wrap: pretty; }
.ethi, [lang="am"], [lang="ti"], [lang="gez"] { font-family: var(--font-ethi); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn); color: var(--btn-ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 32px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 28px; }
.measure { max-width: 66ch; }
.center { text-align: center; margin-inline: auto; }
.eyebrow { font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-strong); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-mute); }
.mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--olive) 45%, transparent) 62%); padding-inline: 0.06em; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head.center { justify-items: center; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .18s ease, transform .18s ease, border-color .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-strong); color: var(--teal-strong); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { filter: brightness(1.06); }
.btn-light { background: var(--on-deep); color: #0b3735; }
.btn-light:hover { background: #ffffff; }
.btn-outline-light { color: var(--on-deep); border-color: color-mix(in srgb, var(--on-deep) 45%, transparent); background: transparent; }
.btn-outline-light:hover { border-color: var(--on-deep); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.01em; }
.brand-tag { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal-strong); font-weight: 600; margin-top: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-group > button { font: 500 0.98rem/1 var(--font-body); color: var(--ink); text-decoration: none; padding: 12px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav-group > button:hover, .nav > a[aria-current="page"] { background: var(--sunk); color: var(--teal-strong); }
.nav-group { position: relative; }
.nav-group > button svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-group > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 8px); left: -12px; width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: grid; gap: 2px; }
.menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.menu a:hover { background: var(--sunk); }
.menu a strong { font-weight: 600; font-size: 0.98rem; }
.menu a span { font-size: 0.84rem; color: var(--ink-mute); line-height: 1.4; }
.header-cta { display: flex; gap: 8px; align-items: center; }
.header-cta .btn { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
.signin { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); text-decoration: none; padding: 10px; }
.signin:hover { color: var(--teal-strong); }
.cart-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--teal-strong); text-decoration: none; transition: border-color .18s ease, background-color .18s ease; }
.cart-link:hover { border-color: var(--teal-strong); background: var(--sunk); }
.cart-link svg { width: 22px; height: 22px; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav, .header-cta .signin, .header-cta .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); gap: 2px; max-height: calc(100dvh - 72px); overflow-y: auto; box-shadow: var(--shadow); }
  .site-header.open .nav > a, .site-header.open .nav-group > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .site-header.open .menu { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 6px 10px; background: transparent; }
  .site-header.open .nav .nav-mobile-only { display: flex; }
  .site-header.open .nav .nav-mobile-only.btn { display: inline-flex; }
}
.nav .nav-mobile-only { display: none; }
@media (max-width: 1080px) { .nav .nav-mobile-only.btn { margin-top: 10px; justify-content: center; width: 100%; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 84px) clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.35rem); }
.hero .lede { margin-top: 20px; }
.hero .btn-row { margin-top: 28px; }
.proof { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.95rem; color: var(--ink-soft); }
.proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 18px; height: 18px; color: var(--teal-strong); flex: none; }
.hero-fidel { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.5; }
.hero > .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.fidel-watermark { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font-family: var(--font-ethi); font-size: clamp(9rem, 22vw, 20rem); line-height: 1; color: var(--teal); opacity: 0.08; letter-spacing: -0.04em; white-space: nowrap; pointer-events: none; user-select: none; }

/* Program finder */
.finder { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; position: relative; }
.finder h2 { font-size: var(--step-2); }
.finder fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.finder legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-input { position: absolute; opacity: 0; pointer-events: none; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 0.93rem; cursor: pointer; transition: border-color .15s, background-color .15s; }
.chip:hover { border-color: var(--teal); }
.chip-input:checked + .chip { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--on-deep); }
.chip-input:focus-visible + .chip { outline: 3px solid var(--focus); outline-offset: 2px; }
.finder-result { border-radius: var(--radius-sm); background: var(--sunk); padding: 16px; display: grid; gap: 8px; }
.finder-result strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.finder-result p { font-size: 0.95rem; color: var(--ink-soft); }
.finder-result .btn { justify-self: start; margin-top: 4px; }

/* Bands */
.band-deep { background: var(--teal-deep); color: var(--on-deep); position: relative; overflow: hidden; }
.band-deep h2, .band-deep h3, .band-deep h4 { color: var(--on-deep); }
.band-deep .eyebrow { color: #c7d25a; }
.band-deep .lede, .band-deep p { color: var(--on-deep-soft); }
.band-deep a:not(.btn) { color: var(--on-deep); }
.band-mint { background: var(--mint); }
.band-mint .eyebrow { color: var(--ink-soft); }
.band-surface { background: var(--surface); border-block: 1px solid var(--line); }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; justify-content: center; padding-block: 26px; }
.trust-label { font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.trust-names { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; }
.trust-names span { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-soft); }

/* Program cards */
.programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.program { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.program:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); text-decoration: none; }
.program-media { aspect-ratio: 16 / 7; background: var(--teal-deep); overflow: hidden; position: relative; max-width: 100%; }
.program-media img { width: 100%; height: 100%; object-fit: cover; }
.program-media .price-art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-deep); font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.6rem); }
.program-media .price-art small { font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; color: #c7d25a; display: block; text-align: center; margin-top: -6px; }
.program-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.program-body .eyebrow { font-size: 0.75rem; }
.program-body h3 { font-size: var(--step-2); }
.program-body p { color: var(--ink-soft); }
.program-body .more { color: var(--teal-strong); font-weight: 600; margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 760px) { .programs { grid-template-columns: minmax(0, 1fr); } }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--teal); }
.steps h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; }
.band-deep .steps li { border-top-color: color-mix(in srgb, var(--on-deep) 25%, transparent); }
.band-deep .steps li::before { color: var(--olive); }
.band-deep .steps h3 { color: var(--on-deep); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps.steps-mini { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.steps.steps-mini li { grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; padding-top: 12px; }
.steps.steps-mini li::before { font-size: 1.5rem; grid-row: span 2; }
.steps.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.steps-5 { grid-template-columns: minmax(0, 1fr); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(var(--stat-count, 4), minmax(0, 1fr)); gap: 0; border-top: 1px solid color-mix(in srgb, var(--on-deep) 22%, transparent); }
.stat { padding: 26px 22px 6px 0; display: grid; gap: 8px; align-content: start; }
.stat + .stat { padding-left: 22px; border-left: 1px solid color-mix(in srgb, var(--on-deep) 22%, transparent); }
.stat-value { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2.6vw, 4rem); line-height: 1; color: var(--on-deep); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.98rem; color: var(--on-deep-soft); }
.stat-mark { font-size: 0.45em; vertical-align: super; margin-left: 2px; color: var(--olive); }
.stats-note { margin: 28px 0 0; max-width: 72ch; font-size: 0.92rem; line-height: 1.55; color: var(--on-deep-soft); scroll-margin-top: 96px; }
.proof a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.proof a:hover { text-decoration: underline; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--on-deep) 22%, transparent); } }
@media (max-width: 480px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--on-deep) 22%, transparent); } }

/* Perks */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.perk { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.perk-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sunk); color: var(--teal-strong); display: grid; place-items: center; }
.perk-icon svg { width: 22px; height: 22px; }
.perk h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; margin-bottom: 4px; }
.perk p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 900px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .perks { grid-template-columns: minmax(0, 1fr); } }

/* Mentors */
.mentors { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 22px; }
.mentor { display: grid; gap: 12px; align-content: start; }
.mentor-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sunk); max-width: 100%; }
.mentor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.mentor h3 { font-size: 1.2rem; }
.mentor p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.45; }
.mentor .cred { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-strong); font-weight: 600; }

/* Testimonials */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min(86%, 380px), 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.quote { scroll-snap-align: start; background: var(--surface); border-radius: var(--radius); padding: 28px; display: grid; grid-template-rows: 1fr auto; gap: 22px; border: 1px solid var(--line); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.45; color: var(--ink); }
.quote blockquote::before { content: "“"; display: block; font-size: 3.2rem; line-height: 0.6; color: var(--teal); margin-bottom: 10px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; font-size: 0.98rem; }
.quote figcaption span { font-size: 0.86rem; color: var(--ink-mute); }
.carousel-controls { display: flex; gap: 8px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--teal-strong); color: var(--teal-strong); }
.icon-btn svg { width: 20px; height: 20px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }

/* Diaspora / city chips */
.city-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.city-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: color-mix(in srgb, var(--on-deep) 10%, transparent); border: 1px solid color-mix(in srgb, var(--on-deep) 22%, transparent); color: var(--on-deep); text-decoration: none; font-size: 0.97rem; }
.city-chip:hover { background: color-mix(in srgb, var(--on-deep) 18%, transparent); text-decoration: none; }
.city-chip small { font-size: 0.74rem; color: #dbe57c; letter-spacing: 0.08em; }
/* On light sections (e.g. the STEM page) the chips switch to dark text for contrast. */
.band-surface .city-chip { color: var(--ink); background: var(--surface); border-color: var(--line); }
.band-surface .city-chip:hover { background: var(--sunk); }
.band-surface .city-chip small { color: var(--teal-strong); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: minmax(0, 1fr); } }

/* Name story */
.name-story { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.abugida-letters { display: flex; gap: clamp(6px, 1.4vw, 14px); }
.abugida-letters span { display: grid; justify-items: center; gap: 6px; }
.abugida-letters b { font-family: var(--font-ethi); font-weight: 600; font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem); line-height: 1; color: var(--teal-strong); }
.abugida-letters i { font-style: normal; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-mute); }
@media (max-width: 680px) { .name-story { grid-template-columns: minmax(0, 1fr); } }

/* Fidel explorer */
.fidel { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; }
.fidel-keys { display: flex; flex-wrap: wrap; gap: 6px; }
.fidel-key { font-family: var(--font-ethi); font-size: 1.35rem; width: 48px; height: 48px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.fidel-key:hover { border-color: var(--teal); }
.fidel-key[aria-pressed="true"] { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--on-deep); }
.fidel-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.fidel-cell { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; border-radius: 12px; background: var(--sunk); }
.fidel-cell b { font-family: var(--font-ethi); font-weight: 500; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); line-height: 1.1; color: var(--ink); }
.fidel-cell span { font-size: 0.82rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.fidel-cell em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-strong); }
@media (max-width: 520px) { .fidel-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Generic cards and lists */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards-2, .cards-4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: 1.3rem; }
.card p, .card li { color: var(--ink-soft); font-size: 0.98rem; }
.card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.lang-card .native { font-size: 1.6rem; line-height: 1.2; color: var(--teal-strong); }
.lang-card .native[dir="rtl"] { text-align: left; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--sunk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313706c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.band-deep .ticks li::before { background-color: color-mix(in srgb, var(--on-deep) 14%, transparent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c7d25a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list li { padding: 6px 12px; border-radius: 999px; background: var(--sunk); border: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); }
.media-frame { border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow); max-width: 100%; aspect-ratio: 8 / 5; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Facts block (entity summary for people, search engines and AI assistants) */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); margin: 0; }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-weight: 600; padding-right: 28px; color: var(--ink); }
.facts dd { color: var(--ink-soft); }
@media (max-width: 600px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts dt { border-bottom: 0; padding-bottom: 0; } }
/* On a deep-teal band (the About page values), the list needs light text and lines to stay readable. */
.band-deep .facts { --line: color-mix(in srgb, var(--on-deep) 22%, transparent); }
.band-deep .facts dt { color: var(--on-deep); }
.band-deep .facts dd { color: var(--on-deep-soft); }
.values-list dd { line-height: 1.55; }

/* Price card and comparison table (STEM page) */
.price-card { gap: 14px; }
.price-callout { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.2rem); line-height: 1; color: var(--teal-strong); margin: 0; }
.price-callout small { display: block; margin-top: 8px; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.price-card .btn { justify-self: start; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.97rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 600; color: var(--ink); background: var(--paper); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.compare td { color: var(--ink-soft); }
.compare .is-us { background: color-mix(in srgb, var(--teal) 11%, transparent); color: var(--ink); }
.compare thead .is-us { color: var(--teal-strong); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 20px 0; font-family: var(--font-display); font-size: 1.18rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--sunk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313706c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 44px 22px 0; color: var(--ink-soft); max-width: 72ch; }
.faq details > div p + p { margin-top: 10px; }

/* Breadcrumbs */
.crumbs { font-size: 0.9rem; color: var(--ink-mute); padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--teal-strong); text-decoration: underline; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.2rem); max-width: 18ch; }
.page-hero.wide h1 { max-width: 24ch; }
.page-hero .lede { margin-top: 18px; }
.page-hero .btn-row { margin-top: 26px; }
.quick-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; list-style: none; padding: 0; }
.quick-facts li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); }
.quick-facts li b { color: var(--ink); font-weight: 600; }

/* Locations hub */
.locator { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.locator label { font-weight: 600; }
.locator input { width: 100%; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: 12px 16px; font: inherit; }
.locator input:focus { border-color: var(--teal-strong); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 30%, transparent); }
.locator-note { font-size: 0.92rem; color: var(--ink-soft); }
.region { display: grid; gap: 16px; }
.region + .region { margin-top: 40px; }
.region h2 { font-size: var(--step-3); }
.city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .city-grid { grid-template-columns: minmax(0, 1fr); } }
.city-card { display: grid; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.city-card:hover { border-color: var(--teal); transform: translateY(-2px); text-decoration: none; }
.city-card h3 { font-size: 1.25rem; }
.city-card p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.5; }
.city-card .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--sunk); font-size: 0.78rem; color: var(--teal-strong); font-weight: 600; letter-spacing: 0.02em; }
.pill-olive { background: var(--olive-soft); color: var(--ink); }
.city-card.is-near { border-color: var(--teal-strong); box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal) 35%, transparent); }
.also { columns: 4 180px; column-gap: 24px; padding: 0; margin: 0; list-style: none; }
.also li { padding: 6px 0; break-inside: avoid; color: var(--ink-soft); }

/* Contact form */
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--ink-mute); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: 11px 14px; font: inherit; font-size: 1rem; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-strong); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 30%, transparent); }
.field [aria-invalid="true"] { border-color: #c2412d; }
.field .error { color: #b3361f; font-size: 0.86rem; }
:root[data-theme="dark"] .field .error { color: #ff9a85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field .error { color: #ff9a85; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 16px; background: var(--sunk); display: grid; gap: 12px; }
.form-status h3 { font-size: 1.25rem; }
.copy-box { width: 100%; min-height: 120px; font: 0.9rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 10px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-list .perk-icon { width: 44px; height: 44px; }
.contact-list b { display: block; }
.contact-list a, .contact-list span { word-break: break-word; }

/* Blog */
.prose { max-width: 70ch; font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: var(--step-3); margin-top: 1.8em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.5em; }
.prose h4 { font-size: var(--step-1); margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.4em; }
.prose blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--teal); color: var(--ink-soft); font-style: italic; }

/* CTA band */
.cta-band { text-align: left; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px; align-items: center; }
.cta-inner h2 { font-size: var(--step-4); }
.cta-inner p { margin-top: 12px; max-width: 56ch; }
@media (max-width: 820px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--sunk); border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--ink-mute); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--teal-strong); text-decoration: underline; }
.footer-about p { color: var(--ink-soft); margin-top: 14px; max-width: 42ch; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--ink-mute); font-size: 0.88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .action-bar .btn { min-height: 48px; padding: 10px 12px; font-size: 0.96rem; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* Ask Abugida assistant */
.ask-launch { position: fixed; right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px)); z-index: 55; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; border: 0; background: var(--teal-deep); color: var(--on-deep); font: 600 0.98rem/1 var(--font-body); box-shadow: var(--shadow); cursor: pointer; }
.ask-launch:hover { filter: brightness(1.1); }
.ask-launch svg { width: 22px; height: 22px; color: var(--olive); }
@media (max-width: 760px) { .ask-launch { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); padding: 12px; } .ask-launch .label { display: none; } }
.ask-panel { position: fixed; z-index: 56; right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px)); width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 120px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 64px -20px rgb(0 0 0 / 0.45); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
@media (max-width: 760px) { .ask-panel { left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: min(78dvh, 620px); } }
.ask-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--teal-deep); color: var(--on-deep); }
.ask-head strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; display: block; }
.ask-head span { font-size: 0.8rem; color: var(--on-deep-soft); }
.ask-head button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--on-deep) 14%, transparent); color: var(--on-deep); cursor: pointer; display: grid; place-items: center; }
.ask-head button svg { width: 18px; height: 18px; }
.ask-log { overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: start; overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 0.95rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { background: var(--sunk); color: var(--ink); border-bottom-left-radius: 6px; justify-self: start; }
.msg.user { background: var(--btn); color: var(--btn-ink); border-bottom-right-radius: 6px; justify-self: end; }
.msg a { color: inherit; font-weight: 600; }
.msg.typing { color: var(--ink-mute); font-style: italic; }
.ask-suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-suggest button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 12px; font: 0.86rem/1.2 var(--font-body); cursor: pointer; text-align: left; }
.ask-suggest button:hover { border-color: var(--teal); }
.ask-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.ask-form input { min-height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: 10px 16px; font: inherit; font-size: 0.98rem; min-width: 0; }
.ask-form input:focus { outline: none; border-color: var(--teal-strong); }
.ask-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--btn); color: var(--btn-ink); cursor: pointer; display: grid; place-items: center; }
.ask-form button svg { width: 20px; height: 20px; }
.ask-note { font-size: 0.74rem; color: var(--ink-mute); padding: 0 14px 10px; background: var(--surface); }

/* Utility */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.gap-lg { gap: 28px; }
.icon { width: 20px; height: 20px; flex: none; }
.notfound { min-height: 50vh; display: grid; align-content: center; }

/* Comparison page: review date, the "Abugida suits" card and the sources list. */
.small-note { font-size: 0.9rem; max-width: 80ch; }
.card.card-us { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 8%, var(--surface)); }
.sources { max-width: 80ch; display: grid; gap: 10px; }
.sources h2 { font-size: 1.3rem; }
.sources ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: 0.95rem; }

/* Blog: text-only articles (no pictures). A featured latest article on a deep-teal band, a topic
   filter (pure CSS, :has) and cards whose top rule takes the topic's color. */
[data-topic="admissions"] { --topic: var(--teal); }
[data-topic="planning"] { --topic: var(--olive); }
[data-topic="study"] { --topic: var(--teal-strong); }
[data-topic="graduate"] { --topic: var(--ink-mute); }
.blog-browse { display: grid; gap: 24px; }
.topic-filter { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-count { margin-left: 8px; min-width: 1.6em; padding: 1px 7px; border-radius: 999px; background: var(--sunk); color: var(--ink-soft); font-size: 0.78rem; font-weight: 600; text-align: center; }
.chip-input:checked + .chip .chip-count { background: color-mix(in srgb, var(--on-deep) 18%, transparent); color: var(--on-deep); }
.blog-browse:has(#topic-admissions:checked) [data-topic]:not([data-topic="admissions"]),
.blog-browse:has(#topic-planning:checked) [data-topic]:not([data-topic="planning"]),
.blog-browse:has(#topic-study:checked) [data-topic]:not([data-topic="study"]),
.blog-browse:has(#topic-graduate:checked) [data-topic]:not([data-topic="graduate"]) { display: none; }

.topic-tag { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--topic, var(--teal)) 15%, transparent); color: var(--ink); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.topic-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--topic, var(--teal)); }

.post-feature { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 16px; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); background: var(--teal-deep); color: var(--on-deep); text-decoration: none; box-shadow: var(--shadow); }
.post-feature:hover { text-decoration: none; }
.feature-glyph { position: absolute; z-index: -1; right: -0.04em; bottom: -0.3em; font-family: var(--font-ethi); font-size: clamp(7rem, 19vw, 15rem); line-height: 1; color: var(--on-deep); opacity: 0.07; white-space: nowrap; pointer-events: none; }
.feature-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.feature-label { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); }
.post-feature .topic-tag { background: color-mix(in srgb, var(--on-deep) 14%, transparent); color: var(--on-deep); }
.post-feature h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-4); line-height: 1.12; color: var(--on-deep); max-width: 22ch; }
.post-feature p { color: var(--on-deep-soft); font-size: 1.08rem; max-width: 62ch; }
.feature-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 6px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 18%, transparent); color: var(--on-deep-soft); font-size: 0.92rem; }
.post-feature .read { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--on-deep); color: var(--teal-deep); font-weight: 600; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
.article-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 22px 22px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 4px 0 var(--topic, var(--teal)); color: var(--ink); text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.article-card:hover { text-decoration: none; border-color: color-mix(in srgb, var(--topic, var(--teal)) 55%, var(--line)); box-shadow: inset 0 4px 0 var(--topic, var(--teal)), var(--shadow); transform: translateY(-3px); }
.article-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.28rem; line-height: 1.25; }
.article-card p { color: var(--ink-soft); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 0.84rem; }
.card-foot .read { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-strong); font-weight: 600; white-space: nowrap; }
.read .icon { width: 1.05em; height: 1.05em; transition: transform 0.18s ease; }
.article-card:hover .read .icon, .post-feature:hover .read .icon { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .article-card, .read .icon { transition: none; } .article-card:hover { transform: none; } }

/* Article page header, without a cover picture. */
.post-head { display: grid; gap: 16px; max-width: 70ch; }
.post-head h1 { font-size: var(--step-5); line-height: 1.08; }
.post-head .lede { font-size: 1.18rem; color: var(--ink-soft); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--ink-mute); font-size: 0.9rem; }
.post-meta .topic-tag { margin-right: 4px; }
.byline { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.byline-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-deep); color: var(--on-deep); font-family: var(--font-ethi); font-size: 1.05rem; }
.post-rule { max-width: 70ch; height: 4px; margin: 28px 0 32px; border: 0; border-radius: 4px; background: linear-gradient(90deg, var(--topic, var(--teal)) 0 72px, var(--line) 72px); }
.post-back { max-width: 70ch; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.post-back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* Language menu (Amharic and Tigrinya build). */
.lang-menu { position: relative; }
.lang-menu > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 0.92rem; font-weight: 500; cursor: pointer; }
.lang-menu > button:hover, .lang-menu > button[aria-expanded="true"] { border-color: var(--teal); color: var(--teal-strong); }
.lang-menu > button .icon { width: 18px; height: 18px; }
.lang-menu > button .icon:last-child { width: 14px; height: 14px; }
.lang-menu .lang-list { left: auto; right: 0; width: 210px; }
.lang-menu .lang-list a[aria-current="true"] { background: var(--sunk); }
.lang-menu .lang-list a[aria-current="true"] strong::after { content: " ✓"; color: var(--teal-strong); }
@media (max-width: 1080px) {
  .header-cta { margin-left: auto; }
  .header-cta + .nav-toggle { margin-left: 0; }
  .site-header.open .lang-menu > button { width: auto; padding: 8px 12px; font-size: 0.92rem; }
  .site-header.open .lang-menu .menu { position: absolute; width: 210px; padding: 8px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
}
@media (max-width: 420px) { .lang-menu .lang-current { display: none; } }
/* Ge’ez script has no capitals: drop the wide tracking used for English labels, and give lines more room. */
:root:lang(am), :root:lang(ti) { --ethi-tracking: 0.02em; }
:lang(am) .eyebrow, :lang(ti) .eyebrow, :lang(am) .brand-tag, :lang(ti) .brand-tag, :lang(am) .topic-tag, :lang(ti) .topic-tag, :lang(am) .feature-label, :lang(ti) .feature-label { letter-spacing: var(--ethi-tracking); text-transform: none; }
:lang(am) body, :lang(ti) body { line-height: 1.75; }

/* Curriculum and homeschooling: subject cards with a level-by-level map and a "learning by doing" line. */
.subject-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.subject-card .levels { margin: 0; display: grid; gap: 12px; }
.subject-card .levels dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-strong); }
.subject-card .levels dd { margin: 3px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.subject-card .doing { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.94rem; color: var(--ink-soft); }
.subject-card .doing b { color: var(--ink); }
.world-cards .city-chips { gap: 8px; }
.world-cards .city-chip { color: var(--ink); background: var(--sunk); border-color: var(--line); padding: 7px 13px; font-size: 0.92rem; }
.world-cards .city-chip:hover { background: var(--mint); }
.world-cards .city-chip small { color: var(--teal-strong); }
.footer-grid ul.footer-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
:lang(am) .subject-card .levels dt, :lang(ti) .subject-card .levels dt { letter-spacing: var(--ethi-tracking); text-transform: none; }

/* World map on /locations. The map is an image on the deep-teal band; pins are HTML placed over it
   by percentage, so their names stay readable and translatable at any width. */
.world-map { margin: 0; display: grid; gap: 16px; }
.map-canvas { position: relative; }
.map-canvas img { display: block; width: 100%; height: auto; }
.map-pin, .map-dot { position: absolute; transform: translate(-50%, -50%); }
.map-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--on-deep-soft); opacity: 0.85; box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal-deep) 75%, transparent); }
.map-pin { display: block; width: 14px; height: 14px; z-index: 1; color: var(--on-deep); text-decoration: none; }
.map-pin:hover, .map-pin:focus-visible { z-index: 3; text-decoration: none; }
.map-pin.is-labeled { z-index: 2; }
.pin-dot { position: absolute; inset: 0; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 2px var(--teal-deep), 0 0 14px 3px color-mix(in srgb, var(--olive) 50%, transparent); }
.pin-dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--olive); opacity: 0; animation: pin-pulse 2.8s ease-out infinite; }
.map-pin:nth-of-type(3n+1) .pin-dot::after { animation-delay: 0.9s; }
.map-pin:nth-of-type(3n+2) .pin-dot::after { animation-delay: 1.8s; }
@keyframes pin-pulse { 0% { transform: scale(0.45); opacity: 0.75; } 100% { transform: scale(1.5); opacity: 0; } }
.map-pin:hover .pin-dot, .map-pin:focus-visible .pin-dot { background: #ffffff; }
.pin-label { position: absolute; left: calc(100% + 7px); top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--teal-deep) 88%, #000); border: 1px solid color-mix(in srgb, var(--on-deep) 24%, transparent); color: var(--on-deep); font-size: 0.8rem; font-weight: 600; line-height: 1.5; opacity: 0; pointer-events: none; transition: opacity 0.15s; }
.map-pin.label-left .pin-label { left: auto; right: calc(100% + 7px); }
.map-pin.is-labeled .pin-label { opacity: 1; pointer-events: auto; }
.map-pin:hover .pin-label, .map-pin:focus-visible .pin-label { opacity: 1; z-index: 4; }
@media (max-width: 640px) {
  /* Too small and close together to tap on a phone: pins are shown but not links here (each city is linked above the map). */
  .map-pin { width: 10px; height: 10px; visibility: hidden; }
  .map-pin .pin-dot { visibility: visible; }
  .map-dot { width: 4px; height: 4px; }
  .pin-label { font-size: 0.68rem; padding: 1px 6px; }
  .map-pin .pin-dot::after { inset: -5px; }
}
@media (prefers-reduced-motion: reduce) { .pin-dot::after { animation: none; } .pin-label { transition: none; } }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--on-deep-soft); font-size: 0.9rem; }
.map-legend span { display: inline-flex; align-items: center; gap: 9px; }
.key { display: inline-block; flex: none; border-radius: 50%; }
.key-pin { width: 12px; height: 12px; background: var(--olive); box-shadow: 0 0 0 2px var(--teal-deep), 0 0 0 3px color-mix(in srgb, var(--olive) 55%, transparent); }
.key-dot { width: 7px; height: 7px; background: var(--on-deep-soft); }
.key-land { width: 18px; height: 12px; border-radius: 3px; background: color-mix(in srgb, #4cc3be 48%, var(--teal-deep)); }
.map-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 48px; }
.map-stats li { color: var(--on-deep-soft); font-size: 1.02rem; }
.map-stats b { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-4); line-height: 1.05; color: var(--on-deep); }
.map-countries { font-size: 0.95rem; letter-spacing: 0.02em; }
.map-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 8px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 18%, transparent); }
.map-cta h3 { font-size: var(--step-2); }
.map-cta p { margin-top: 6px; }

/* Small phones: the logo, language menu and menu button must fit in 375px (and 320px) without sideways scrolling. */
@media (max-width: 480px) {
  .header-row { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .brand-name { font-size: 1.02rem; }
  .brand-tag { font-size: 0.6rem; letter-spacing: 0.14em; margin-top: 3px; }
  .lang-menu > button { padding: 6px 8px; gap: 4px; }
  .nav-toggle { width: 44px; height: 44px; }
  /* Map pins stay; their names would collide at this size (the cities are listed above the map). */
  .map-pin.is-labeled .pin-label { opacity: 0; pointer-events: none; }
  .map-pin:hover .pin-label, .map-pin:focus-visible .pin-label { opacity: 1; }
}
@media (max-width: 359px) {
  .brand img { width: 30px; height: 30px; }
  .lang-menu > button .icon:last-child { display: none; }
}
/* A facts list whose labels are short headlines: label above its text instead of in a side column. */
.facts.facts-stacked { grid-template-columns: minmax(0, 1fr); }
.facts.facts-stacked dt { padding-bottom: 4px; border-bottom: 0; padding-right: 0; }
.facts.facts-stacked dd { padding-top: 0; }

/* Guides: the direct answer, key takeaways, FAQs and sources around each article. */
.post-head .quick-answer { max-width: 70ch; }
.takeaways { max-width: 70ch; margin-bottom: 32px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--topic, var(--teal)); display: grid; gap: 12px; }
.takeaways h2 { font-size: var(--step-1); }
.post-extra { max-width: 70ch; margin-top: 44px; display: grid; gap: 16px; }
.post-extra h2 { font-size: var(--step-3); }
.post-extra.sources h2 { font-size: var(--step-1); }
.post-extra.sources ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--ink-soft); font-size: 0.95rem; }

/* A fifth program card spans the row, so the grid stays balanced. */
@media (min-width: 761px) {
  .programs > .program:last-child:nth-child(odd) { grid-column: 1 / -1; grid-template-rows: auto; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .programs > .program:last-child:nth-child(odd) .program-media { aspect-ratio: auto; min-height: 210px; }
  .programs > .program:last-child:nth-child(odd) .program-body { align-content: center; }
}

/* Career and life coaching page. */
.coach-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.coach-card > a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.safety-note { box-shadow: inset 4px 0 0 var(--olive); }
.safety-note h3 { font-size: var(--step-1); }

/* Course Library store (courses.abugidaeducation.com/amharic): modules, product cards, "look inside" dialogs. */
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps.steps-3 { grid-template-columns: minmax(0, 1fr); gap: 14px; } .steps.steps-3 li { grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; padding-top: 12px; } .steps.steps-3 li::before { font-size: 1.5rem; grid-row: span 2; } }
.card-link { color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.card-link:hover { border-color: var(--teal-strong); transform: translateY(-2px); text-decoration: none; }
.card-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-strong); margin-top: 4px; }
.card-more .icon { width: 18px; height: 18px; }
.btn-fit { justify-self: start; }
.store-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(24px, 5vw, 64px); align-items: center; position: relative; }
.store-hero h1 { max-width: 20ch; }
.store-facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.store-facts li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.store-hero-art { position: relative; height: clamp(300px, 34vw, 400px); }
.store-hero-art img { position: absolute; top: 50%; left: 50%; width: 56%; height: auto; border-radius: 10px; box-shadow: var(--shadow), 0 18px 40px -18px rgb(0 0 0 / 0.45); }
.store-hero-art img:nth-child(1) { transform: translate(-50%, -54%); z-index: 1; }
.store-hero-art img:nth-child(2) { transform: translate(-86%, -50%) rotate(-7deg); }
.store-hero-art img:nth-child(3) { transform: translate(-14%, -50%) rotate(7deg); }
@media (max-width: 860px) { .store-hero-grid { grid-template-columns: minmax(0, 1fr); } .store-hero-art { display: none; } }
.store .wrap { display: grid; }
.mod { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "info buy" "more buy"; column-gap: clamp(28px, 5vw, 64px); row-gap: 20px; align-items: start; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.mod:first-child { border-top: 0; padding-top: 0; }
.mod:last-child { padding-bottom: 0; }
.mod-info { grid-area: info; display: grid; gap: 12px; justify-items: start; }
.mod-buy { grid-area: buy; }
.mod-more { grid-area: more; display: grid; gap: 14px; }
.mod-more h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.mod-units { font-size: 0.92rem; color: var(--ink-mute); }
.mod-title { font-size: var(--step-4); }
.mod-title [lang="am"] { display: block; margin-top: 6px; font-size: 0.55em; color: var(--teal-strong); }
@media (max-width: 860px) { .mod { grid-template-columns: minmax(0, 1fr); grid-template-areas: "info" "buy" "more"; } }
.prod-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 22px); }
.prod { display: grid; grid-template-rows: auto 1fr auto auto auto; gap: 10px; padding: clamp(10px, 1.8vw, 16px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 80px; }
.prod-cover { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 612 / 792; background: var(--teal-deep); }
.prod-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.prod-cover:hover img { transform: scale(1.03); }
.prod-look { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgb(255 255 255 / 0.94); color: #0e4f4c; font-size: 0.8rem; font-weight: 700; box-shadow: 0 2px 8px rgb(0 0 0 / 0.2); }
.prod-text { display: grid; gap: 4px; align-content: start; }
.prod-name { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.prod-meta { font-size: 0.84rem; color: var(--ink-mute); }
.prod-blurb { font-size: 0.92rem; color: var(--ink-soft); }
.prod-price { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; color: var(--ink); }
.prod-price small { font: 600 0.78rem/1 var(--font-body); color: var(--ink-mute); letter-spacing: 0.04em; }
.btn.prod-buy { width: 100%; font-size: 1.05rem; }
.prod-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.8rem; color: var(--ink-mute); text-align: center; }
.prod-note .icon { width: 14px; height: 14px; color: var(--wa); }
@media (max-width: 600px) {
  .prod-blurb { display: none; }
  .prod-price { font-size: 1.4rem; }
  .btn.prod-buy { min-height: 46px; padding-inline: 10px; }
  .prod-look { left: 6px; bottom: 6px; padding: 5px 8px; font-size: 0.74rem; }
  .mod-title { font-size: var(--step-3); }
}
.look { width: min(760px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 24px 64px -12px rgb(0 0 0 / 0.5); overflow: hidden; }
.look[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.look::backdrop { background: rgb(6 22 21 / 0.72); }
.look-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.look-head h2 { font-size: var(--step-1); margin-top: 2px; }
.look-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.look-close:hover { border-color: var(--teal-strong); color: var(--teal-strong); }
.look-body { overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: grid; gap: 18px; background: var(--sunk); }
.look-body figure { margin: 0; display: grid; gap: 8px; }
.look-body img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.look-body figcaption { font-size: 0.85rem; color: var(--ink-mute); text-align: center; }
.look-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.look-foot .btn.prod-buy { width: auto; min-width: 180px; }
@media (max-width: 600px) { .look { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; } .look-foot .btn.prod-buy { min-width: 0; flex: 1; } }
.bundles { background: linear-gradient(180deg, var(--olive-soft), var(--paper)); border-bottom: 1px solid var(--line); }
.bundles .mod { padding-block: 0; }
.prod-bundle { border-color: color-mix(in srgb, var(--olive) 55%, var(--line)); }
.bundle-cover img { position: absolute; top: 50%; left: 50%; width: 60%; height: auto; border-radius: 6px; box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.6); }
.bundle-cover img:nth-child(1) { transform: translate(-50%, -50%); z-index: 1; }
.bundle-cover img:nth-child(2) { transform: translate(-78%, -53%) rotate(-8deg); }
.bundle-cover img:nth-child(3) { transform: translate(-22%, -53%) rotate(8deg); }
.prod-save { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: var(--olive); color: #1b2524; font-size: 0.8rem; font-weight: 700; box-shadow: 0 2px 8px rgb(0 0 0 / 0.25); }
.prod-was { font: 500 0.95rem/1 var(--font-body); color: var(--ink-mute); margin-left: 4px; }
.dl-item img { width: 120px; height: auto; border-radius: 8px; box-shadow: var(--shadow); }
.dl-item .btn { justify-self: start; }
@media (max-width: 600px) { .prod-save { top: 6px; right: 6px; padding: 4px 8px; font-size: 0.72rem; } .prod-was { display: block; margin: 4px 0 0; font-size: 0.85rem; } }
/* Main-site band that sends families to the Amharic at Home store. */
.store-band { background: linear-gradient(135deg, var(--olive-soft), var(--paper) 70%); border-block: 1px solid var(--line); }
.store-band-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.store-band-art { position: relative; height: clamp(240px, 28vw, 340px); }
.store-band-art img { position: absolute; top: 50%; left: 50%; width: 52%; max-width: 220px; height: auto; border-radius: 10px; box-shadow: var(--shadow), 0 18px 40px -18px rgb(0 0 0 / 0.45); }
.store-band-art img:nth-child(1) { transform: translate(-50%, -54%); z-index: 1; }
.store-band-art img:nth-child(2) { transform: translate(-90%, -50%) rotate(-7deg); }
.store-band-art img:nth-child(3) { transform: translate(-10%, -50%) rotate(7deg); }
.store-band .btn .icon { width: 20px; height: 20px; }
@media (max-width: 860px) { .store-band-grid { grid-template-columns: minmax(0, 1fr); } .store-band-art { height: 210px; order: -1; } .store-band-art img { width: 132px; } }
.mod-teaser img { width: 100%; height: auto; border-radius: var(--radius-sm); aspect-ratio: 612 / 792; object-fit: cover; }
@media (max-width: 600px) { .mod-teaser { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; justify-items: start; } .mod-teaser img { grid-row: 1 / span 4; } .mod-teaser > :not(img) { grid-column: 2; } }
.dl { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
.dl-cover { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow); }
.dl h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
@media (max-width: 640px) { .dl { grid-template-columns: minmax(0, 1fr); } .dl-cover { width: 150px; } }
