/* EverHidayah theme — everhidayah.com. Tokens mirror design/tokens/marketing.css
   (the "Composite" direction). Plain CSS, no build step. */

/* ---------- fonts (self-hosted, extracted from the design export; OFL faces) ---------- */
@font-face {
  font-family: "Amiri";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/amiri-400-italic-arabic.woff2") format("woff2");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB,
    U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22,
    U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49,
    U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F,
    U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E,
    U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Amiri";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/amiri-400-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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Amiri";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/amiri-400-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: "Amiri";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/amiri-400-normal-arabic.woff2") format("woff2");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB,
    U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22,
    U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49,
    U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F,
    U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E,
    U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/amiri-400-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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/amiri-400-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: "Amiri";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/amiri-700-normal-arabic.woff2") format("woff2");
  unicode-range:
    U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E,
    U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB,
    U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22,
    U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49,
    U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F,
    U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E,
    U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/amiri-700-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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Amiri";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/amiri-700-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: "Instrument Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-400-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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-400-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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-400to700-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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-400to700-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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400-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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400-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: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400-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-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400-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;
}

/* ---------- tokens ---------- */
:root {
  --eh-navy: #0b1424;
  --eh-navy-deep: #081020;
  --eh-navy-glass: #081020;
  --eh-phone: #05080f;
  --eh-cream: #faf7f0;
  --eh-cream-2: #f1ede3;
  --eh-white: #ffffff;
  --eh-ink: #14202f;
  --eh-ink-2: #566274;
  --eh-ink-3: #5f6c82;
  --eh-muted: #7d8ba3;
  --eh-muted-2: #5e6c84;
  --eh-on-dark: #eaeff7;
  --eh-on-dark-2: #a7b4c9;
  --eh-on-gold: #10192a;
  --eh-gold: #c6a45e;
  --eh-gold-light: #dfc084;
  --eh-gold-deep: #a5813f;
  --eh-gold-text: #87672e;
  --eh-green: #47936f;
  --eh-green-deep: #2e5b48;
  --eh-green-text: #3e7d60;
  --eh-green-tint: #dff0e7;
  --eh-mint: #8fcbae;
  --eh-live: #e5484d;
  --eh-shadow-ink: #0a1424;
  --eh-cell-off: color-mix(in srgb, var(--eh-white) 8%, transparent);
  --eh-dot-off: color-mix(in srgb, var(--eh-white) 14%, transparent);
  --eh-gold-a35: color-mix(in srgb, var(--eh-gold) 35%, transparent);
  --eh-gold-a16: color-mix(in srgb, var(--eh-gold) 16%, transparent);
  --eh-gold-a15: color-mix(in srgb, var(--eh-gold) 15%, transparent);
  --eh-gold-a12: color-mix(in srgb, var(--eh-gold) 12%, transparent);
  --eh-gold-a50: color-mix(in srgb, var(--eh-gold) 50%, transparent);
  --eh-shadow-nav: 0 10px 30px color-mix(in srgb, var(--eh-phone) 25%, transparent);
  --eh-shadow-card:
    0 1px 2px color-mix(in srgb, var(--eh-shadow-ink) 5%, transparent),
    0 24px 56px color-mix(in srgb, var(--eh-shadow-ink) 8%, transparent);
  --eh-shadow-stack: 0 -8px 30px color-mix(in srgb, var(--eh-shadow-ink) 8%, transparent);
  --eh-shadow-stack-dark: 0 -8px 30px color-mix(in srgb, var(--eh-shadow-ink) 18%, transparent);
  --eh-shadow-lift: 0 16px 40px color-mix(in srgb, var(--eh-shadow-ink) 25%, transparent);
  --eh-shadow-avatar: 0 8px 24px color-mix(in srgb, var(--eh-shadow-ink) 22%, transparent);
  --eh-shadow-phone:
    0 30px 80px color-mix(in srgb, var(--eh-phone) 55%, transparent),
    0 0 0 1px color-mix(in srgb, var(--eh-phone) 40%, transparent), 0 0 90px var(--eh-gold-a12);
  --eh-shadow-cta-bar: 0 12px 34px color-mix(in srgb, var(--eh-navy-glass) 50%, transparent);
  --eh-glow-gold: 0 14px 36px var(--eh-gold-a35);
  --eh-glow-gold-lg: 0 16px 40px var(--eh-gold-a35);
  --eh-grad-gold-bar: linear-gradient(90deg, var(--eh-gold), var(--eh-gold-light));
  --eh-grad-gold-line: linear-gradient(var(--eh-gold), var(--eh-gold-light));
  --eh-grad-cue: linear-gradient(var(--eh-gold), transparent);
  --eh-halo: radial-gradient(closest-side, var(--eh-gold-a16), transparent 70%);
  --eh-halo-bottom: radial-gradient(closest-side, var(--eh-gold-a15), transparent 70%);
  --eh-serif: "Instrument Serif", Georgia, serif;
  --eh-sans: "Instrument Sans", system-ui, sans-serif;
  --eh-arabic: "Amiri", serif;
  --eh-ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --eh-nav-clearance: 120px;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.eh {
  margin: 0;
  background: var(--eh-navy);
  color: var(--eh-on-dark);
  font-family: var(--eh-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* :where() keeps these at zero specificity so every component class wins over them. */
:where(body.eh) a {
  color: inherit;
  text-decoration: none;
}
body.eh ::selection {
  background: var(--eh-gold);
  color: var(--eh-on-gold);
}
:where(body.eh) :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--eh-gold) 70%, transparent);
  outline-offset: 2px;
}
.eh-section--cream :focus-visible,
.eh-section--white :focus-visible,
.eh-course:not(.eh-course--dark) :focus-visible {
  outline-color: var(--eh-ink);
}
.eh-course--dark :focus-visible {
  outline-color: var(--eh-gold);
}
img {
  max-width: 100%;
  height: auto;
}
[lang="ar"],
[lang="ur"],
.eh-arabic {
  font-family: var(--eh-arabic);
}
.eh-skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  background: var(--eh-gold);
  color: var(--eh-on-gold);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.eh-skip:focus {
  left: 12px;
}
.eh-center {
  text-align: center;
}
.screen-reader-text,
.eh-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.screen-reader-text:focus,
.eh-sr-only:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--eh-gold);
  color: var(--eh-on-gold);
  font-weight: 600;
  clip-path: none;
}

/* diamond glyph: two overlapping squares, filled with currentColor */
.eh-diamond {
  position: relative;
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  color: var(--eh-gold);
}
.eh-diamond::before,
.eh-diamond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
}
.eh-diamond::after {
  transform: rotate(45deg);
}
.eh-diamond--10 {
  width: 10px;
  height: 10px;
}
.eh-diamond--9 {
  width: 9px;
  height: 9px;
}
.eh-diamond--gold {
  color: var(--eh-gold);
}
.eh-diamond--soft {
  color: color-mix(in srgb, var(--eh-gold) 70%, transparent);
}

/* ---------- layout ---------- */
.eh-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.eh-container--narrow {
  max-width: 720px;
}
.eh-container--mid {
  max-width: 760px;
}
.eh-container--wide {
  max-width: 980px;
}
.eh-section {
  padding: 110px 0;
}
.eh-section--cream {
  background: var(--eh-cream);
  color: var(--eh-ink);
}
.eh-section--white {
  background: var(--eh-white);
  color: var(--eh-ink);
}
.eh-section--navy {
  background: var(--eh-navy);
  color: var(--eh-on-dark);
}
[id] {
  scroll-margin-top: var(--eh-nav-clearance);
}

/* ---------- type ---------- */
.eh-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eh-gold-text);
}
.eh-eyebrow--on-dark {
  color: var(--eh-gold);
}
.eh-h1 {
  margin: 0;
  font-family: var(--eh-serif);
  font-weight: 400;
  font-size: clamp(46px, 11vw, 96px);
  line-height: 1.03;
  letter-spacing: -0.015em;
}
.eh-h2 {
  margin: 14px 0 0;
  font-family: var(--eh-serif);
  font-weight: 400;
  font-size: clamp(32px, 8vw, 52px);
  line-height: 1.06;
  color: var(--eh-ink);
}
.eh-h2--on-dark {
  color: var(--eh-on-dark);
}
.eh-h3 {
  margin: 0;
  font-family: var(--eh-serif);
  font-weight: 400;
  font-size: clamp(28px, 6vw, 38px);
}
.eh-lead {
  margin: 14px 0 0;
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--eh-ink-2);
  max-width: 54ch;
}
.eh-lead--on-dark {
  color: var(--eh-on-dark-2);
}
.eh-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.66;
  color: var(--eh-ink-2);
}
.eh-small {
  margin: 0;
  font-size: 13px;
  color: var(--eh-ink-3);
}
.eh-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--eh-gold-text);
}
.eh-link:hover {
  color: var(--eh-gold-deep);
}

/* ---------- buttons ---------- */
.eh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16.5px;
  padding: 17px 30px;
  transition:
    background 0.22s,
    color 0.22s,
    transform 0.22s,
    box-shadow 0.22s,
    border-color 0.22s;
}
.eh-btn--gold {
  background: var(--eh-gold);
  color: var(--eh-on-gold);
}
.eh-btn--gold:hover {
  background: var(--eh-gold-light);
  color: var(--eh-on-gold);
  transform: translateY(-1px);
  box-shadow: var(--eh-glow-gold);
}
.eh-btn--ghost {
  color: var(--eh-on-dark);
  border: 1px solid color-mix(in srgb, var(--eh-on-dark) 22%, transparent);
  padding: 16px 26px;
  font-weight: 500;
  font-size: 16px;
}
.eh-btn--ghost:hover {
  color: var(--eh-on-dark);
  border-color: color-mix(in srgb, var(--eh-on-dark) 50%, transparent);
}
.eh-btn--navy {
  background: var(--eh-navy);
  color: var(--eh-on-dark);
}
.eh-btn--navy:hover {
  color: var(--eh-on-dark);
  transform: translateY(-1px);
  box-shadow: var(--eh-shadow-lift);
}
.eh-btn--white {
  background: var(--eh-white);
  color: var(--eh-navy);
}
.eh-btn--sm {
  font-size: 14px;
  padding: 10px 18px;
}
.eh-btn--lg {
  font-size: 17px;
  padding: 18px 34px;
  min-width: min(100%, 280px);
}
.eh-btn--lg.eh-btn--gold:hover {
  box-shadow: var(--eh-glow-gold-lg);
}
.eh-btn--wide {
  min-width: min(100%, 260px);
}
.eh-btn:focus-visible {
  border-radius: 999px;
}

/* ---------- progress bar + nav ---------- */
.eh-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--eh-grad-gold-bar);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 60;
}
.eh-nav-wrap {
  position: fixed;
  top: 17px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 14px;
}
.eh-nav {
  display: flex;
  align-items: center;
  gap: 6px 22px;
  flex-wrap: wrap;
  justify-content: center;
  background: color-mix(in srgb, var(--eh-navy-glass) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--eh-on-dark) 10%, transparent);
  border-radius: 999px;
  padding: 8px 10px 8px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--eh-shadow-nav);
}
.eh-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--eh-on-dark);
  margin-right: 6px;
}
.eh-nav__brand:hover {
  color: var(--eh-on-dark);
}
.eh-nav__wordmark {
  font-family: var(--eh-serif);
  font-size: 20px;
}
.eh-nav__link {
  display: none;
  padding: 12px 0;
  font-size: 14px;
  color: var(--eh-on-dark-2);
}
.eh-nav__link:hover {
  color: var(--eh-on-dark);
}
@media (min-width: 768px) {
  .eh-nav__link {
    display: inline-flex;
    align-items: center;
  }
}
/* Keep the pill on one row on the narrowest phones. */
@media (max-width: 380px) {
  .eh-nav {
    flex-wrap: nowrap;
    padding-left: 14px;
  }
  .eh-nav__wordmark {
    font-size: 17px;
  }
  .eh-nav .eh-btn--sm {
    font-size: 13px;
    padding: 9px 14px;
    white-space: nowrap;
  }
}

/* The admin bar is fixed too, so the logged-in founder needs the nav pushed clear. */
body.admin-bar .eh-progress {
  top: 32px;
}
body.admin-bar .eh-nav-wrap {
  top: 49px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .eh-progress {
    top: 46px;
  }
  body.admin-bar .eh-nav-wrap {
    top: 63px;
  }
}

/* ---------- hero ---------- */
.eh-hero {
  position: relative;
  overflow: hidden;
  background: var(--eh-navy);
  color: var(--eh-on-dark);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eh-hero__halo {
  position: absolute;
  left: 50%;
  top: -360px;
  margin-left: -700px;
  width: 1400px;
  height: 1000px;
  background: var(--eh-halo);
  pointer-events: none;
}
.eh-hero__square {
  position: absolute;
  left: 50%;
  top: 16vh;
  margin-left: -320px;
  width: 640px;
  height: 640px;
  border: 1px solid var(--eh-gold-a12);
  transform: rotate(45deg);
  pointer-events: none;
}
.eh-hero__ring {
  position: absolute;
  left: 50%;
  top: 30vh;
  margin-left: -470px;
  width: 940px;
  height: 940px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--eh-on-dark) 5%, transparent);
  pointer-events: none;
}
.eh-hero__glyph {
  position: absolute;
  font-family: var(--eh-arabic);
  line-height: 1;
  pointer-events: none;
}
.eh-hero__glyph--1 {
  right: 6vw;
  top: 16vh;
  font-size: clamp(120px, 22vw, 300px);
  color: color-mix(in srgb, var(--eh-gold) 7%, transparent);
}
.eh-hero__glyph--2 {
  left: 4vw;
  bottom: 10vh;
  font-size: clamp(100px, 18vw, 240px);
  color: color-mix(in srgb, var(--eh-on-dark) 5%, transparent);
}
.eh-hero__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 130px 24px 90px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.eh-hero__bismillah {
  margin: 0;
  font-family: var(--eh-arabic);
  font-size: clamp(19px, 4.6vw, 22px);
  color: color-mix(in srgb, var(--eh-gold) 92%, transparent);
}
.eh-hero__title-line {
  display: block;
}
.eh-hero__title-accent {
  display: block;
  color: var(--eh-gold-light);
  font-style: italic;
}
.eh-hero__lead {
  margin: 0;
  font-size: clamp(16.5px, 4.3vw, 19.5px);
  line-height: 1.65;
  color: var(--eh-on-dark-2);
  max-width: 56ch;
}
.eh-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  width: 100%;
}
.eh-hero__cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}
.eh-hero__cue-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eh-muted);
}
.eh-hero__cue-line {
  width: 1px;
  height: 44px;
  background: var(--eh-grad-cue);
  display: block;
  transform-origin: top;
  animation: eh-cue 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.eh-rise {
  animation: eh-rise 0.9s var(--eh-ease) both;
  animation-delay: calc(var(--i, 0) * 110ms);
}

/* ---------- trust marquee ---------- */
.eh-marquee {
  position: relative;
  background: var(--eh-navy);
  border-top: 1px solid color-mix(in srgb, var(--eh-on-dark) 8%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--eh-on-dark) 8%, transparent);
  overflow: hidden;
  padding: 22px 0;
}
.eh-marquee__track {
  display: flex;
  width: max-content;
  animation: eh-marquee 36s linear infinite;
}
.eh-marquee__track:hover,
.eh-marquee__track:focus-within {
  animation-play-state: paused;
}
.eh-marquee__run {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}
.eh-marquee__pause {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 61;
  border: 0;
  border-radius: 999px;
  background: var(--eh-gold);
  color: var(--eh-on-gold);
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  cursor: pointer;
}
.eh-marquee__pause:focus-visible {
  left: 12px;
}
.eh-marquee__track.is-paused {
  animation-play-state: paused;
}
.eh-marquee__item {
  margin: 0;
  font-size: 14px;
  color: var(--eh-on-dark-2);
  white-space: nowrap;
}

/* ---------- how it begins ---------- */
.eh-steps {
  padding: 110px 0 100px;
}
.eh-steps__h2 {
  margin-bottom: 54px;
}
.eh-steps__list {
  position: relative;
}
.eh-steps__line,
.eh-steps__line-fill {
  position: absolute;
  left: 21px;
  top: 6px;
  bottom: 6px;
  width: 1px;
}
.eh-steps__line {
  background: color-mix(in srgb, var(--eh-ink) 10%, transparent);
}
.eh-steps__line-fill {
  background: var(--eh-grad-gold-line);
  transform-origin: top;
}
.eh-steps__items {
  display: flex;
  flex-direction: column;
  gap: 46px;
}
.eh-step {
  display: flex;
  gap: 24px;
}
.eh-step__num {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--eh-navy);
  color: var(--eh-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--eh-serif);
  font-size: 18px;
  flex: none;
  position: relative;
  z-index: 1;
}
.eh-step__title {
  margin: 8px 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--eh-ink);
}
.eh-step__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.66;
  color: var(--eh-ink-2);
  max-width: 52ch;
}

/* ---------- curriculum (sticky stack) ---------- */
.eh-courses {
  padding: 20px 0 110px;
}
.eh-courses__lead {
  margin: 14px 0 44px;
}
.eh-courses__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.eh-course {
  position: sticky;
  background: var(--eh-white);
  border: 1px solid color-mix(in srgb, var(--eh-ink) 9%, transparent);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 36px);
  min-height: min(400px, 64vh);
  box-shadow: var(--eh-shadow-stack);
  overflow: hidden;
}
.eh-course:nth-child(1) {
  top: 88px;
}
.eh-course:nth-child(2) {
  top: 100px;
}
.eh-course:nth-child(3) {
  top: 112px;
}
.eh-course:nth-child(4) {
  top: 124px;
}
.eh-course:nth-child(5) {
  top: 136px;
}
.eh-course:nth-child(6) {
  top: 148px;
}
.eh-course:nth-child(7) {
  top: 160px;
}
.eh-course--dark {
  background: var(--eh-navy);
  border-color: color-mix(in srgb, var(--eh-gold) 30%, transparent);
  box-shadow: var(--eh-shadow-stack-dark);
}
.eh-course__glyph {
  position: absolute;
  right: -16px;
  bottom: -52px;
  font-family: var(--eh-arabic);
  font-size: 190px;
  line-height: 1;
  color: color-mix(in srgb, var(--eh-gold) 14%, transparent);
  pointer-events: none;
}
.eh-course--dark .eh-course__glyph {
  color: var(--eh-gold-a12);
}
.eh-course__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.eh-course__num {
  margin: 0;
  font-family: var(--eh-serif);
  font-size: 17px;
  color: var(--eh-gold-text);
}
.eh-course--dark .eh-course__num {
  color: var(--eh-gold);
}
.eh-course__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eh-gold-text);
  border: 1px solid color-mix(in srgb, var(--eh-gold) 45%, transparent);
  border-radius: 999px;
  padding: 6px 13px;
}
.eh-course__chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--eh-gold);
}
.eh-course__chip--soon {
  color: var(--eh-ink-3);
  border-color: color-mix(in srgb, var(--eh-ink) 14%, transparent);
}
.eh-course__chip--soon::before {
  display: none;
}
.eh-course__title {
  margin: 0 0 12px;
  font-family: var(--eh-serif);
  font-weight: 400;
  font-size: clamp(28px, 6vw, 38px);
  color: var(--eh-ink);
}
.eh-course--dark .eh-course__title {
  color: var(--eh-on-dark);
}
.eh-course__title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--eh-gold) 60%, transparent);
  text-underline-offset: 6px;
}
.eh-course__title a:hover {
  color: var(--eh-gold-text);
  text-decoration-color: var(--eh-gold);
}
.eh-course--dark .eh-course__title a:hover {
  color: var(--eh-gold-light);
}
.eh-teachers__note .eh-link,
.eh-plans__foot .eh-link {
  display: inline-block;
  margin-left: 4px;
  white-space: nowrap;
}
.eh-course__body {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.66;
  color: var(--eh-ink-2);
  max-width: 46ch;
}
.eh-course--dark .eh-course__body {
  color: var(--eh-on-dark-2);
}
.eh-course__meta {
  margin: 0;
  font-size: 13px;
  color: var(--eh-ink-3);
}
.eh-course--dark .eh-course__meta {
  color: var(--eh-muted);
}

/* ---------- the sticky phone story ---------- */
.eh-story {
  position: relative;
  height: 520vh;
  background: var(--eh-navy);
  scroll-margin-top: 0;
}
.eh-story__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eh-story__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 160vw);
  height: min(760px, 160vw);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--eh-on-dark) 5%, transparent);
  pointer-events: none;
}
.eh-story__grid {
  width: 100%;
  max-width: 980px;
  /* clear of the fixed nav above and the call-to-action bar below */
  padding: 92px 24px 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 18px;
  align-items: center;
  justify-items: center;
}
.eh-story__caps {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 166px;
  order: 0;
}
.eh-cap {
  position: absolute;
  /* stops short of the dot strip so long captions never print over it */
  inset: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.eh-cap:not(:first-child) {
  opacity: 0;
  transform: translateY(18px);
}
.eh-cap__k {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eh-gold);
}
.eh-cap__title {
  margin: 0;
  font-family: var(--eh-serif);
  font-weight: 400;
  font-size: clamp(24px, min(6.5vw, 4.6vh), 42px);
  line-height: 1.08;
  color: var(--eh-on-dark);
}
.eh-cap__body {
  margin: 0;
  font-size: clamp(13.5px, 2.4vh, 15.5px);
  line-height: 1.55;
  color: var(--eh-on-dark-2);
  max-width: 44ch;
}
.eh-dots {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 7px;
}
.eh-dot {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--eh-dot-off);
  transition: background 0.4s;
}
.eh-dot:first-child {
  background: var(--eh-gold);
}
.eh-phone {
  order: 1;
  width: min(280px, 74vw, calc((100svh - 390px) * 9 / 18.6), calc((100vh - 390px) * 9 / 18.6));
  min-width: 150px;
  flex: none;
  background: var(--eh-phone);
  border: 1px solid color-mix(in srgb, var(--eh-on-dark) 16%, transparent);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--eh-shadow-phone);
  will-change: transform;
}
.eh-phone__screen-wrap {
  container-type: inline-size;
  position: relative;
  background: var(--eh-navy);
  border-radius: 35px;
  overflow: hidden;
  aspect-ratio: 9 / 18.6;
}
.eh-phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 21px;
  border-radius: 11px;
  background: var(--eh-phone);
  z-index: 5;
}
.eh-phone__status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-on-dark);
}
.eh-phone__battery {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 8px;
  border: 1px solid color-mix(in srgb, var(--eh-on-dark) 50%, transparent);
  border-radius: 2px;
}
.eh-phone__battery::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  bottom: 1px;
  width: 8px;
  border-radius: 1px;
  background: var(--eh-on-dark);
}
.eh-screen {
  position: absolute;
  inset: 0;
  padding: 44px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition:
    opacity 0.45s,
    transform 0.45s;
}
.eh-screen--map {
  gap: 10px;
}
.eh-screen:not([data-phone-screen="0"]) {
  opacity: 0;
  transform: translateY(26px);
}
.eh-screen__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.eh-screen__title {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eh-on-dark);
}
.eh-screen__month {
  font-size: 10px;
  font-weight: 600;
  color: var(--eh-gold-light);
  border: 1px solid color-mix(in srgb, var(--eh-gold) 40%, transparent);
  border-radius: 999px;
  padding: 3px 8px;
}
.eh-screen__num {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.eh-screen__num-big {
  font-family: var(--eh-serif);
  font-size: 40px;
  line-height: 1;
  color: var(--eh-gold-light);
  font-variant-numeric: tabular-nums;
}
.eh-screen__num-small {
  font-size: 11px;
  color: var(--eh-muted);
}
.eh-map {
  display: grid;
  grid-template-columns: repeat(19, 1fr);
  gap: 2px;
}
.eh-map__cell {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--eh-cell-off);
}
.eh-legend {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}
.eh-legend p {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  color: var(--eh-on-dark-2);
  margin: 0;
}
.eh-legend__sw {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block;
}
.eh-chip-card {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--eh-gold) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--eh-gold) 40%, transparent);
  border-radius: 12px;
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.eh-chip-card p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-on-dark);
}
.eh-live-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eh-on-dark);
  margin: 0;
}
.eh-rec {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eh-live);
  animation: eh-rec 1.6s infinite;
}
.eh-screen__ayah {
  background: var(--eh-cream);
  border-radius: 14px;
  padding: 12px 14px;
}
.eh-screen__ayah p {
  margin: 0;
  font-family: var(--eh-arabic);
  font-size: 13.5px;
  line-height: 2;
  color: var(--eh-ink);
  text-align: right;
}
.eh-hl {
  background: color-mix(in srgb, var(--eh-gold) 35%, transparent);
  border-radius: 3px;
  padding: 0 3px;
}
.eh-bub {
  max-width: 88%;
  padding: 8px 11px;
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.eh-bub--parent {
  align-self: flex-end;
  background: var(--eh-gold);
  color: var(--eh-on-gold);
  border-radius: 13px 13px 3px 13px;
}
.eh-bub--tutor {
  align-self: flex-start;
  background: color-mix(in srgb, var(--eh-white) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--eh-white) 9%, transparent);
  color: var(--eh-on-dark);
  border-radius: 13px 13px 13px 3px;
}
.eh-bub--ur {
  font-family: var(--eh-arabic);
  font-size: 12.5px;
  line-height: 1.75;
}
.eh-hold {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--eh-white) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--eh-white) 10%, transparent);
  border-radius: 999px;
  padding: 8px 12px;
}
.eh-hold__mic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--eh-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.eh-hold__mic::before {
  content: "";
  width: 7px;
  height: 10px;
  border-radius: 3px;
  background: var(--eh-on-gold);
}
.eh-hold p {
  margin: 0;
  font-size: 9.5px;
  color: var(--eh-on-dark-2);
}
.eh-screen__eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eh-gold);
}
.eh-screen__name {
  margin: 0;
  font-family: var(--eh-serif);
  font-size: 19px;
  color: var(--eh-on-dark);
}
.eh-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--eh-white) 8%, transparent);
  padding: 8px 0;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.eh-row p {
  margin: 0;
  font-size: 11px;
  color: var(--eh-on-dark-2);
}
.eh-row p + p {
  font-weight: 600;
  color: var(--eh-on-dark);
}
.eh-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}
.eh-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.eh-bar p {
  margin: 0;
  width: 70px;
  flex: none;
  font-size: 10px;
  color: var(--eh-on-dark-2);
}
.eh-bar__track {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--eh-white) 9%, transparent);
  overflow: hidden;
}
.eh-bar__fill {
  width: var(--fill, 0);
  height: 100%;
  background: var(--eh-gold);
  transition: width 0.6s var(--eh-ease);
}
.eh-bar:nth-child(2) .eh-bar__fill {
  transition-delay: 0.08s;
}
.eh-bar:nth-child(3) .eh-bar__fill {
  transition-delay: 0.16s;
}
.eh-quote-card {
  margin-top: auto;
  background: color-mix(in srgb, var(--eh-white) 5%, transparent);
  border-radius: 12px;
  padding: 10px 12px;
}
.eh-quote-card__q {
  margin: 0;
  font-family: var(--eh-serif);
  font-style: italic;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--eh-on-dark);
}
.eh-quote-card__by {
  margin: 5px 0 0;
  font-size: 9.5px;
  color: var(--eh-muted);
}
.eh-lib {
  display: flex;
  align-items: center;
  gap: 10px;
  background: color-mix(in srgb, var(--eh-white) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--eh-white) 8%, transparent);
  border-radius: 12px;
  padding: 9px 11px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.eh-lib__play {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--eh-gold-a15);
  border: 1px solid color-mix(in srgb, var(--eh-gold) 40%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.eh-lib__play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--eh-gold-light);
  margin-left: 2px;
}
.eh-lib__text {
  flex: 1;
  min-width: 0;
}
.eh-lib__title {
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--eh-on-dark);
}
.eh-lib__title span {
  color: var(--eh-gold-light);
}
.eh-lib__len {
  margin: 1px 0 0;
  font-size: 9px;
  color: var(--eh-muted);
}
.eh-streak-line {
  margin: 6px 0 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--eh-on-dark-2);
  display: flex;
  justify-content: space-between;
}
.eh-streak-line span:last-child {
  color: var(--eh-gold-light);
}
.eh-tiles {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.eh-tile {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: var(--eh-cell-off);
  transition: background 0.3s;
}

/* Below roughly 200px of frame the stock metrics overflow, so the screens tighten. */
@container (max-width: 200px) {
  .eh-phone__status {
    padding: 9px 13px 0;
    font-size: 9px;
  }
  .eh-screen {
    padding: 32px 10px 10px;
    gap: 6px;
  }
  .eh-screen--map {
    gap: 7px;
  }
  .eh-screen__num-big {
    font-size: 27px;
  }
  .eh-screen__ayah {
    padding: 8px 10px;
  }
  .eh-screen__ayah p {
    font-size: 11px;
    line-height: 1.75;
  }
  .eh-screen__name {
    font-size: 15px;
  }
  .eh-map {
    gap: 1px;
  }
  .eh-bub {
    padding: 6px 9px;
    font-size: 10px;
  }
  .eh-row {
    padding: 5px 0;
  }
  .eh-bars {
    gap: 5px;
  }
  .eh-lib {
    padding: 6px 8px;
  }
  .eh-chip-card {
    padding: 7px 9px;
  }
  .eh-hold {
    padding: 6px 9px;
  }
  .eh-quote-card {
    padding: 8px 9px;
  }
  .eh-tile {
    width: 11px;
    height: 11px;
  }
}

/* ---------- progress detail ---------- */
.eh-detail {
  padding: 0 0 120px;
}
.eh-detail__intro {
  margin: 0 auto 54px;
  max-width: 56ch;
  text-align: center;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--eh-on-dark-2);
}
.eh-detail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 18px;
}
.eh-card--dark {
  background: color-mix(in srgb, var(--eh-white) 4.5%, transparent);
  border: 1px solid color-mix(in srgb, var(--eh-white) 10%, transparent);
  border-radius: 22px;
  padding: 28px;
}
.eh-card--dark h3 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--eh-on-dark);
  font-family: var(--eh-sans);
}
.eh-card--dark .eh-card__foot {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--eh-muted);
}
.eh-rate {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.eh-rate__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eh-rate__row p {
  margin: 0;
  width: 100px;
  flex: none;
  font-size: 13.5px;
  color: var(--eh-on-dark-2);
}
.eh-rate__track {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--eh-white) 9%, transparent);
  overflow: hidden;
}
.eh-rate__fill {
  width: var(--fill, 0);
  height: 100%;
  background: var(--eh-gold);
  transition: width 1.1s var(--eh-ease);
}
.eh-rate__row:nth-child(2) .eh-rate__fill {
  transition-delay: 0.1s;
}
.eh-rate__row:nth-child(3) .eh-rate__fill {
  transition-delay: 0.2s;
}
.eh-rate__row:nth-child(4) .eh-rate__fill {
  transition-delay: 0.3s;
}
.eh-streak-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.eh-streak-head h3 {
  margin: 0;
}
.eh-streak-head p {
  margin: 0;
  font-size: 13px;
  color: var(--eh-gold-light);
  font-weight: 600;
}
.eh-streak {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.eh-streak span {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: var(--eh-cell-off);
  transition: background 0.3s;
}
.eh-streak span:last-child {
  animation: eh-pulse 2.2s infinite;
}
.eh-timeline {
  display: flex;
  flex-direction: column;
}
.eh-timeline__item {
  display: flex;
  gap: 13px;
}
.eh-timeline__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eh-timeline__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  margin-top: 4px;
  background: var(--eh-green);
}
.eh-timeline__dot--now {
  background: var(--eh-gold);
  animation: eh-pulse 2.4s infinite;
}
.eh-timeline__dot--next {
  background: color-mix(in srgb, var(--eh-white) 15%, transparent);
}
.eh-timeline__line {
  width: 1px;
  flex: 1;
  background: color-mix(in srgb, var(--eh-white) 12%, transparent);
}
.eh-timeline__item p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--eh-on-dark-2);
}
.eh-timeline__item--now p {
  color: var(--eh-on-dark);
}
.eh-timeline__item--next p {
  margin: 0;
  color: var(--eh-muted);
}
.eh-timeline__play {
  color: var(--eh-gold-light);
  font-weight: 600;
}

/* ---------- the live classroom ---------- */
.eh-live__intro {
  max-width: 640px;
  margin-bottom: 44px;
}
.eh-live__card {
  position: relative;
  background: var(--eh-white);
  border: 1px solid color-mix(in srgb, var(--eh-ink) 9%, transparent);
  border-radius: 26px;
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--eh-shadow-card);
}
.eh-live__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.eh-live__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--eh-ink);
  margin: 0;
}
.eh-live__status .eh-rec {
  width: 8px;
  height: 8px;
}
.eh-live__timer {
  color: var(--eh-ink-3);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.eh-live__badge {
  font-size: 11.5px;
  color: var(--eh-ink-3);
  border: 1px solid color-mix(in srgb, var(--eh-ink) 12%, transparent);
  border-radius: 999px;
  padding: 6px 12px;
}
.eh-live__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}
.eh-mushaf {
  position: relative;
  background: var(--eh-cream);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 28px) clamp(20px, 4vw, 28px) 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
}
.eh-avatar {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--eh-navy);
  border: 3px solid var(--eh-white);
  box-shadow: var(--eh-shadow-avatar);
  overflow: hidden;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--eh-arabic);
  font-size: 26px;
}
.eh-avatar--tutor {
  top: -14px;
  left: -14px;
  color: var(--eh-gold-light);
}
.eh-avatar--student {
  bottom: -14px;
  right: -14px;
  color: var(--eh-mint);
}
.eh-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-on-dark);
  background: color-mix(in srgb, var(--eh-navy-glass) 82%, transparent);
  border-radius: 999px;
  padding: 5px 10px;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
}
.eh-tag--tutor {
  top: -4px;
  left: 70px;
}
.eh-tag--student {
  bottom: 14px;
  right: 70px;
}
.eh-speak {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 10px;
}
.eh-speak span {
  width: 2.5px;
  height: 10px;
  border-radius: 2px;
  background: var(--eh-green);
  transform-origin: bottom;
  animation: eh-speak 0.9s infinite;
}
.eh-speak span:nth-child(2) {
  animation-delay: 0.2s;
}
.eh-speak span:nth-child(3) {
  animation-delay: 0.4s;
}
.eh-mushaf__label {
  margin: 0 0 14px;
  padding-left: 56px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--eh-gold-text);
}
.eh-mushaf__ayah {
  margin: 0;
  font-family: var(--eh-arabic);
  font-size: clamp(19px, 4.6vw, 25px);
  line-height: 2.15;
  color: var(--eh-ink);
  text-align: right;
}
.eh-mushaf__ayah .eh-hl {
  border-radius: 5px;
  padding: 0 5px;
  box-shadow: 0 2px 0 var(--eh-gold);
  background: color-mix(in srgb, var(--eh-gold) 32%, transparent);
}
.eh-mushaf__note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--eh-ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eh-mushaf__note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eh-gold);
  flex: none;
}
.eh-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}
.eh-chat__log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
  overflow: hidden;
}
.eh-msg {
  max-width: 88%;
  padding: 11px 15px;
  font-size: 14px;
  line-height: 1.55;
}
.eh-msg--parent {
  align-self: flex-end;
  background: var(--eh-navy);
  color: var(--eh-cream);
  border-radius: 16px 16px 4px 16px;
}
.eh-msg--tutor {
  align-self: flex-start;
  background: var(--eh-cream-2);
  color: var(--eh-ink);
  border-radius: 16px 16px 16px 4px;
}
.eh-msg--ur {
  font-family: var(--eh-arabic);
  font-size: 16px;
  line-height: 1.8;
}
.eh-typing {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  background: var(--eh-cream-2);
  border-radius: 16px;
  padding: 12px 15px;
}
.eh-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eh-muted);
  animation: eh-dot 1.2s infinite;
}
.eh-typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.eh-typing span:nth-child(3) {
  animation-delay: 0.4s;
}
.eh-chat__hold {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--eh-navy);
  border-radius: 999px;
  padding: 11px 18px;
}
.eh-chat__mic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--eh-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.eh-chat__mic::before {
  content: "";
  width: 10px;
  height: 14px;
  border-radius: 5px;
  background: var(--eh-on-gold);
}
.eh-chat__hold p {
  margin: 0;
  font-size: 13px;
  color: var(--eh-on-dark-2);
}
.eh-chat__hold p span {
  color: var(--eh-gold-light);
}

/* ---------- the difference (word scrub) ---------- */
.eh-diff {
  position: relative;
  height: 230vh;
  background: var(--eh-navy);
}
.eh-diff__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.eh-diff__square {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: min(520px, 120vw);
  height: min(520px, 120vw);
  border: 1px solid color-mix(in srgb, var(--eh-gold) 8%, transparent);
  pointer-events: none;
}
.eh-diff__inner {
  max-width: 820px;
  padding: 0 28px;
  text-align: center;
}
.eh-diff__eyebrow {
  margin: 0 0 26px;
}
.eh-diff__text {
  margin: 0;
  font-family: var(--eh-serif);
  font-weight: 400;
  font-size: clamp(26px, 6.4vw, 46px);
  line-height: 1.4;
  color: var(--eh-on-dark);
}
/* Dimmed only once JavaScript is present to light the words up as you scroll. */
.eh-js .eh-diff__text [data-w] {
  opacity: 0.14;
}
.eh-diff__text [data-w] {
  transition:
    opacity 0.3s,
    color 0.3s;
}
.eh-diff__foot {
  margin: 30px 0 0;
  font-size: 13.5px;
  color: var(--eh-muted);
}
@media (max-height: 620px) and (max-width: 767px) {
  .eh-phone {
    display: none;
  }
}
@media (max-height: 640px) {
  .eh-diff__text {
    font-size: clamp(22px, 5vw, 34px);
  }
  .eh-story__caps {
    min-height: 146px;
  }
}

/* ---------- teachers ---------- */
.eh-teachers__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.eh-teachers__note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--eh-ink-2);
  max-width: 340px;
}
.eh-snap {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 26px,
    #000 calc(100% - 26px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 26px,
    #000 calc(100% - 26px),
    transparent 100%
  );
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 24px 22px;
}
.eh-snap::-webkit-scrollbar {
  display: none;
}
.eh-snap__track {
  display: flex;
  gap: 16px;
  width: max-content;
  margin: 0 auto;
}
.eh-teacher {
  scroll-snap-align: center;
  width: min(310px, 82vw);
  background: var(--eh-cream);
  border: 1px solid color-mix(in srgb, var(--eh-ink) 7%, transparent);
  border-radius: 22px;
  padding: 30px;
  flex: none;
}
.eh-teacher__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--eh-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--eh-arabic);
  font-size: 25px;
  color: var(--eh-gold-light);
}
.eh-teacher__name {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  color: var(--eh-ink);
  font-family: var(--eh-sans);
}
.eh-teacher__tag {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eh-gold-text);
}
.eh-teacher__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--eh-ink-2);
}
.eh-teacher--cta {
  background: transparent;
  border: 1px dashed color-mix(in srgb, var(--eh-ink) 20%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.eh-teacher--cta .eh-teacher__lead {
  margin: 0;
  font-family: var(--eh-serif);
  font-size: 22px;
  color: var(--eh-ink);
  line-height: 1.3;
}
.eh-teacher--cta .eh-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 6px;
}

/* ---------- weekly report ---------- */
.eh-report__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
  align-items: center;
}
.eh-report__lead {
  margin: 16px 0 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--eh-ink-2);
  max-width: 52ch;
}
.eh-report-card {
  background: var(--eh-white);
  border: 1px solid color-mix(in srgb, var(--eh-ink) 8%, transparent);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 32px);
  box-shadow: var(--eh-shadow-card);
}
.eh-report-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--eh-ink) 8%, transparent);
  padding-bottom: 16px;
  margin-bottom: 4px;
}
.eh-report-card__eyebrow {
  margin: 0 0 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eh-gold-text);
}
.eh-report-card__name {
  margin: 0;
  font-family: var(--eh-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--eh-ink);
}
.eh-report-card__ok {
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-green-deep);
  background: var(--eh-green-tint);
  border-radius: 999px;
  padding: 6px 12px;
  flex: none;
}
.eh-report-card__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--eh-ink) 6%, transparent);
}
.eh-report-card__row:last-of-type {
  border-bottom: 0;
}
.eh-report-card__row p {
  margin: 0;
  font-size: 14px;
  color: var(--eh-ink-2);
}
.eh-report-card__row p + p {
  color: var(--eh-ink);
  font-weight: 600;
  text-align: right;
}
.eh-report-card__quote {
  background: var(--eh-cream);
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 6px;
}
.eh-report-card__quote p:first-child {
  margin: 0;
  font-family: var(--eh-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: var(--eh-ink);
}
.eh-report-card__quote p + p {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--eh-ink-3);
}

/* ---------- plans ---------- */
.eh-plans__h2 {
  margin-bottom: 40px;
}
.eh-plans__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.eh-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid color-mix(in srgb, var(--eh-ink) 9%, transparent);
  border-radius: 18px;
  padding: 22px 24px;
  flex-wrap: wrap;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.eh-plan:hover {
  border-color: color-mix(in srgb, var(--eh-gold) 50%, transparent);
  transform: translateY(-2px);
}
.eh-plan__name {
  margin: 0;
  font-family: var(--eh-serif);
  font-size: 22px;
  color: var(--eh-ink);
}
.eh-plan__sub {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--eh-ink-3);
}
.eh-plan__n {
  margin: 0;
  font-size: 15px;
  color: var(--eh-ink);
}
.eh-plan__n strong {
  font-family: var(--eh-serif);
  font-size: 26px;
  font-weight: 400;
}
.eh-plan--featured {
  background: var(--eh-navy);
  border-color: color-mix(in srgb, var(--eh-gold) 35%, transparent);
}
.eh-plan--featured:hover {
  box-shadow: var(--eh-shadow-lift);
  border-color: color-mix(in srgb, var(--eh-gold) 35%, transparent);
}
.eh-plan--featured .eh-plan__name,
.eh-plan--featured .eh-plan__n {
  color: var(--eh-on-dark);
}
.eh-plan--featured .eh-plan__sub {
  color: var(--eh-muted);
}
.eh-plan--featured .eh-plan__n strong {
  color: var(--eh-gold-light);
}
.eh-plan__badge {
  font-family: var(--eh-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eh-on-gold);
  background: var(--eh-gold);
  border-radius: 999px;
  padding: 4px 9px;
  vertical-align: middle;
  margin-left: 6px;
}
.eh-plans__foot {
  margin: 28px 0 0;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--eh-ink-3);
}

/* ---------- faq ---------- */
.eh-faq__h2 {
  margin-bottom: 36px;
  font-size: clamp(30px, 7.4vw, 48px);
}
.eh-faq__item {
  border-top: 1px solid color-mix(in srgb, var(--eh-ink) 12%, transparent);
  padding: 0 4px;
}
.eh-faq__item:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--eh-ink) 12%, transparent);
}
.eh-faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--eh-ink);
  list-style: none;
  cursor: pointer;
  min-height: 24px;
}
.eh-faq__item > summary::-webkit-details-marker {
  display: none;
}
.eh-faq__plus {
  font-family: var(--eh-serif);
  font-size: 23px;
  color: var(--eh-gold-text);
  flex: none;
  transition: transform 0.2s;
}
.eh-faq__item[open] .eh-faq__plus {
  transform: rotate(45deg);
}
.eh-faq__a {
  margin: -9px 0 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--eh-ink-2);
  max-width: 64ch;
}

/* ---------- final cta ---------- */
.eh-trial {
  position: relative;
  overflow: hidden;
  padding: 140px 0 120px;
  background: var(--eh-navy);
}
.eh-trial__halo {
  position: absolute;
  left: 50%;
  bottom: -420px;
  transform: translateX(-50%);
  width: 1200px;
  height: 900px;
  background: var(--eh-halo-bottom);
  pointer-events: none;
}
.eh-trial__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.eh-trial__hadith {
  margin: 0;
  font-family: var(--eh-arabic);
  font-size: 20px;
  color: color-mix(in srgb, var(--eh-gold) 90%, transparent);
}
.eh-trial__translation {
  margin: 0;
  font-size: 12.5px;
  color: var(--eh-muted);
}
.eh-trial__h2 {
  margin: 0;
  font-family: var(--eh-serif);
  font-weight: 400;
  font-size: clamp(38px, 9.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--eh-on-dark);
}
.eh-trial__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--eh-on-dark-2);
  max-width: 50ch;
}
.eh-trial__foot {
  margin: 0;
  font-size: 13px;
  color: var(--eh-muted);
}

/* ---------- footer ---------- */
.eh-footer {
  background: var(--eh-navy-deep);
  border-top: 1px solid color-mix(in srgb, var(--eh-on-dark) 7%, transparent);
  padding: 64px 0 110px;
  color: var(--eh-on-dark);
}
.eh-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 38px;
}
.eh-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
}
.eh-footer__wordmark {
  font-family: var(--eh-serif);
  font-size: 22px;
  color: var(--eh-on-dark);
}
.eh-footer__about {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--eh-muted);
  max-width: 30ch;
}
.eh-footer__col-title {
  margin: 0 0 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eh-muted);
}
.eh-footer__links {
  display: flex;
  flex-direction: column;
}
.eh-footer__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 14.5px;
  color: var(--eh-on-dark-2);
}
.eh-footer__link:hover {
  color: var(--eh-on-dark);
}
.eh-footer__bottom {
  border-top: 1px solid color-mix(in srgb, var(--eh-on-dark) 7%, transparent);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.eh-footer__bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--eh-muted);
}

/* ---------- mobile call-to-action bar ---------- */
.eh-cta-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s,
    transform 0.35s;
  transform: translateY(10px);
}
.eh-cta-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--eh-gold);
  color: var(--eh-on-gold);
  border-radius: 999px;
  padding: 17px 24px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--eh-shadow-cta-bar);
}
.eh-cta-bar__btn:hover {
  color: var(--eh-on-gold);
}
@media (min-width: 768px) {
  .eh-cta-bar {
    display: none;
  }
  .eh-story__grid {
    padding-bottom: 16px;
  }
}

/* ---------- inner pages + blog ---------- */
.eh-inner-main {
  background: var(--eh-cream);
  color: var(--eh-ink);
}
.eh-inner-hero {
  padding: 150px 0 20px;
}
.eh-inner-hero + .eh-section {
  padding-top: 24px;
}
.eh-post-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.eh-post-card {
  background: var(--eh-white);
  border: 1px solid color-mix(in srgb, var(--eh-ink) 9%, transparent);
  border-radius: 22px;
  padding: 28px;
}
.eh-post-card__media {
  display: block;
  margin: -28px -28px 20px;
}
.eh-post-card__media img {
  width: 100%;
  height: auto;
  border-radius: 22px 22px 0 0;
  object-fit: cover;
}
.eh-post-hero {
  margin: 0 0 1.6em;
}
.eh-post-hero img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.eh-post-card__meta {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eh-gold-text);
  font-weight: 600;
}
.eh-post-card__title {
  margin: 0 0 8px;
  font-family: var(--eh-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}
.eh-post-card__title a {
  color: var(--eh-ink);
}
.eh-post-card__excerpt {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--eh-ink-2);
}
.eh-pagination {
  margin-top: 24px;
  font-size: 14px;
}
.eh-pagination .page-numbers {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--eh-ink-2);
}
.eh-pagination .page-numbers.current {
  background: var(--eh-navy);
  color: var(--eh-on-dark);
}
.eh-searchform {
  margin-top: 22px;
}
.eh-searchform form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.eh-searchform label {
  flex: 1 1 220px;
  margin: 0;
}
.eh-searchform input[type="search"] {
  width: 100%;
  min-height: 44px;
  font: inherit;
  font-size: 15px;
  color: var(--eh-ink);
  background: var(--eh-white);
  border: 1px solid color-mix(in srgb, var(--eh-ink) 16%, transparent);
  border-radius: 999px;
  padding: 11px 18px;
}
.eh-searchform input[type="submit"] {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--eh-navy);
  color: var(--eh-on-dark);
  font: inherit;
  font-weight: 600;
  padding: 11px 24px;
  cursor: pointer;
}
.eh-center .eh-searchform form {
  justify-content: center;
}

.eh-prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--eh-ink-2);
}
.eh-prose h2,
.eh-prose h3 {
  font-family: var(--eh-serif);
  font-weight: 400;
  color: var(--eh-ink);
  line-height: 1.15;
  margin: 1.6em 0 0.5em;
}
.eh-prose h2 {
  font-size: clamp(26px, 5vw, 36px);
}
.eh-prose h3 {
  font-size: clamp(22px, 4vw, 27px);
}
.eh-prose p,
.eh-prose ul,
.eh-prose ol {
  margin: 0 0 1.2em;
}
.eh-prose a {
  color: var(--eh-gold-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.eh-prose blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--eh-gold);
  background: var(--eh-white);
  border-radius: 0 14px 14px 0;
  font-family: var(--eh-serif);
  font-size: 19px;
  color: var(--eh-ink);
}
.eh-prose img {
  border-radius: 18px;
}
.eh-post-cta {
  text-align: center;
}
.eh-post-cta .eh-btn {
  margin-top: 22px;
}

/* ---------- without JavaScript ---------- */
/* The two pinned sections are driven entirely by the scroll engine. With no
   JavaScript they would be seven screens of empty sticky canvas, so they fall
   back to ordinary stacked sections with every caption visible. */
html:not(.eh-js) .eh-story,
html:not(.eh-js) .eh-diff {
  height: auto;
}
html:not(.eh-js) .eh-story__sticky,
html:not(.eh-js) .eh-diff__sticky {
  position: static;
  height: auto;
  overflow: visible;
  padding: 90px 0;
}
html:not(.eh-js) .eh-story__caps {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
html:not(.eh-js) .eh-cap {
  position: static;
  opacity: 1;
  transform: none;
}
html:not(.eh-js) .eh-dots,
html:not(.eh-js) .eh-marquee__pause {
  display: none;
}
html:not(.eh-js) .eh-bub,
html:not(.eh-js) .eh-row,
html:not(.eh-js) .eh-lib,
html:not(.eh-js) .eh-chip-card {
  opacity: 1;
  transform: none;
}

/* The script animates these from empty. Without it they stand at their finished
   value, so the page is never a set of blank tracks and grey squares. */
.eh-js .eh-bar__fill,
.eh-js .eh-rate__fill {
  width: 0;
}
.eh-js .eh-steps__line-fill {
  transform: scaleY(0);
}
.eh-streak span,
.eh-tile {
  background: var(--eh-green);
}
.eh-streak span:nth-child(3),
.eh-tile:nth-child(3) {
  background: var(--eh-green-deep);
}
.eh-streak span:nth-child(14),
.eh-tile:nth-child(14) {
  background: var(--eh-gold);
}
.eh-js .eh-streak span,
.eh-js .eh-tile {
  background: var(--eh-cell-off);
}
.eh-map__cell:nth-child(-n + 53) {
  background: var(--eh-green);
}
.eh-map__cell:nth-child(n + 147) {
  background: var(--eh-gold);
}
.eh-js .eh-map__cell {
  background: var(--eh-cell-off);
}
html:not(.eh-js) .eh-diff__text [data-gold] {
  color: var(--eh-gold-light);
}

/* ---------- motion ---------- */
@keyframes eh-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes eh-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--eh-gold-a50);
  }
  50% {
    box-shadow: 0 0 0 7px transparent;
  }
}
@keyframes eh-dot {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}
@keyframes eh-rec {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@keyframes eh-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes eh-cue {
  0%,
  100% {
    transform: scaleY(0.25);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}
@keyframes eh-speak {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .eh-rise {
    animation: none;
  }
  .eh-js .eh-diff__text [data-w] {
    opacity: 1;
  }
  .eh-diff__text [data-gold] {
    color: var(--eh-gold-light);
  }
  .eh-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    row-gap: 8px;
  }
  .eh-marquee__run {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
    padding-right: 0;
  }
  .eh-marquee__run[aria-hidden="true"] {
    display: none;
  }
}
