/* ============================================================
   Alimiyyah — alimiyyah.co.uk
   Garden Day / Forest Night — the app's own design language.
   Fonts: Newsreader (display) · Hanken Grotesk (body) · Scheherazade New (Arabic)
   ============================================================ */

:root {
  /* Garden Day */
  --paper: #F7F3EA;
  --surface: #FEFDF9;
  --surface-strong: #FFFEFB;
  --ink-title: #2A3B31;
  --ink-body: #44584C;
  --ink-muted: #626F66;
  --hairline: #E3DCCB;
  --hairline-soft: #EDE7D8;
  --accent: #3F7A57;
  --accent-deep: #2F5F44;
  --accent-bright: #4C8763;
  --accent-tint: #E9F4EA;
  --gold-soft: #85590F;
  --frame-gold: #EBDDBB;

  /* Forest Night */
  --night: #1B2A1E;
  --night-2: #243524;
  --night-surface: #2B3A2E;
  --candle: #EBC49A;
  --candle-bright: #F0D0AC;
  --candle-deep: #C47A4A;
  --night-text: #E6E2D5;
  --night-muted: #A9B3A6;

  --radius: 24px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(42, 59, 49, 0.05), 0 4px 14px rgba(42, 59, 49, 0.06);
  --shadow-md: 0 2px 6px rgba(42, 59, 49, 0.06), 0 16px 40px rgba(42, 59, 49, 0.10);
  --shadow-lg: 0 24px 70px rgba(27, 42, 30, 0.28);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  --arabic: "Scheherazade New", "Amiri", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-text { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink-title);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.t-hero { font-size: clamp(46px, 6.5vw, 84px); }
.t-xl { font-size: clamp(36px, 4.6vw, 58px); }
.t-lg { font-size: clamp(28px, 3.4vw, 40px); }
.t-md { font-size: clamp(21px, 2.4vw, 26px); line-height: 1.25; }

.t-sub {
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.55;
  color: var(--ink-muted);
}
.t-body { font-size: 17.5px; line-height: 1.65; color: var(--ink-body); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow.lined::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.45;
}
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: 0.45; }

.gold { color: var(--gold-soft); }
.italic { font-style: italic; }

/* ---------- nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(247, 243, 234, 0.85);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(227, 220, 203, 0.7);
}
.site-header .bar {
  max-width: 1180px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--accent-deep);
  letter-spacing: -0.01em;
}
.brand img { width: 52px; height: 52px; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-title);
  line-height: 1;
  margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-body);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--accent-deep); }
.nav .pill {
  background: linear-gradient(160deg, var(--accent-bright), var(--accent-deep));
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(47, 95, 68, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav .pill:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(47, 95, 68, 0.35); }

.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; }
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink-title);
  margin: 5px auto; border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-green {
  background: linear-gradient(160deg, var(--accent-bright), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 26px rgba(47, 95, 68, 0.30);
}
.btn-green:hover { color: #fff; box-shadow: 0 14px 32px rgba(47, 95, 68, 0.38); }
.btn-outline {
  border: 1.5px solid var(--hairline);
  background: var(--surface);
  color: var(--ink-title);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-candle {
  background: linear-gradient(160deg, var(--candle-bright), var(--candle));
  color: var(--night);
  box-shadow: 0 10px 30px rgba(235, 196, 154, 0.25);
}
.btn-candle:hover { color: var(--night); }
.btn-night-outline {
  border: 1.5px solid rgba(235, 196, 154, 0.4);
  color: var(--candle-bright);
}
.btn-night-outline:hover { background: rgba(235, 196, 154, 0.08); color: var(--candle-bright); }

.link-arrow {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.link-arrow::after { content: "›"; font-size: 19px; transition: transform 0.2s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- sections ---------- */
section { padding: 104px 0; position: relative; }
section.tight { padding: 76px 0; }
.center { text-align: center; }
.section-head { max-width: 700px; margin: 0 auto 58px; text-align: center; }
.section-head .t-xl { margin-bottom: 16px; }

/* ---------- hero ---------- */
.hero {
  padding: 158px 0 96px;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(63, 122, 87, 0.10), transparent 62%),
    radial-gradient(700px 420px at -8% 30%, rgba(235, 221, 187, 0.5), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero .t-hero { margin: 20px 0 20px; }
.hero .t-hero em { font-style: italic; color: var(--accent-deep); }
.hero .t-sub { max-width: 480px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 26px; font-size: 14px; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero-brandline { display: flex; align-items: center; gap: 12px; }
.hero-brandline img { width: 64px; height: 64px; }
.hero-brandline span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* phone frame */
.phone {
  width: min(320px, 78vw);
  margin: 0 auto;
  background: #22312A;
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  position: relative;
}
.phone img { border-radius: 35px; width: 100%; }
.hero-phone { position: relative; }
.hero-phone::before {
  content: "";
  position: absolute;
  inset: 12% -6% -8% -6%;
  background: radial-gradient(closest-side, rgba(63, 122, 87, 0.16), transparent 75%);
  z-index: 0;
}
.hero-phone .phone { position: relative; z-index: 1; transform: rotate(2deg); }

/* floating chips beside hero phone */
.float-chip {
  position: absolute;
  z-index: 2;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-title);
  display: flex;
  align-items: center;
  gap: 9px;
}
.float-chip .ic {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  flex: none;
}
.float-chip .ic svg { width: 15px; height: 15px; }
.float-chip small { display: block; font-weight: 600; color: var(--ink-muted); font-size: 11.5px; }
.chip-a { top: 34%; left: -7%; }
.chip-b { bottom: 8%; right: -6%; }

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* stat band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-band .card {
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-band .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-band .num {
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 56px);
  color: var(--accent-deep);
  line-height: 1;
}
.stat-band .num.gold-num { color: var(--gold-soft); }
.stat-band .lbl { margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-muted); }

/* prose */
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--ink-title); font-weight: 700; }

/* two-col split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

/* question list card */
.q-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 46px);
}
.q-card h3 { font-size: 24px; margin-bottom: 20px; }
.q-list { list-style: none; }
.q-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-title);
  line-height: 1.45;
}
.q-list li:last-child { border-bottom: 0; }
.q-list .n {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* ---------- quote band ---------- */
.quote-band {
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(235, 196, 154, 0.12), transparent 60%),
    linear-gradient(170deg, var(--night-2), var(--night));
  text-align: center;
  padding: 96px 0;
}
.quote-band .arabic {
  font-family: var(--arabic);
  font-size: clamp(38px, 5.6vw, 62px);
  color: var(--candle-bright);
  line-height: 1.8;
  margin-bottom: 14px;
}
.quote-band .trans {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.3vw, 26px);
  color: var(--night-text);
}
.quote-band .src {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--night-muted);
}

/* ---------- app section (Forest Night) ---------- */
.night-section {
  background:
    radial-gradient(1000px 500px at 15% 0%, rgba(235, 196, 154, 0.07), transparent 55%),
    linear-gradient(175deg, var(--night), var(--night-2) 60%, var(--night));
  color: var(--night-text);
}
.night-section h2, .night-section h3 { color: var(--candle-bright); }
.night-section .t-sub { color: var(--night-muted); }
.night-section .eyebrow { color: var(--candle); }
.night-section .eyebrow::before, .night-section .eyebrow.center::after { background: var(--candle); }

.platforms { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.powered-by {
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--night-muted);
}
.powered-by a {
  color: var(--candle-bright);
  border-bottom: 1px solid rgba(235, 196, 154, 0.4);
  padding-bottom: 1px;
}
.powered-by a:hover { border-color: var(--candle-bright); }
.platforms span {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(235, 196, 154, 0.35);
  color: var(--candle-bright);
}

/* screenshots rail */
.rail {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 24px 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail::after { content: ""; flex: 0 0 6px; }
.shot { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.shot .phone { width: 258px; padding: 10px; border-radius: 40px; }
.shot .phone img { border-radius: 31px; }
.shot figcaption {
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--night-text);
}
.shot figcaption small { display: block; font-weight: 600; color: var(--night-muted); margin-top: 2px; font-size: 13px; }

/* feature cards on night */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 54px;
}
.f-card {
  background: rgba(43, 58, 46, 0.55);
  border: 1px solid rgba(235, 196, 154, 0.14);
  border-radius: 20px;
  padding: 26px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.f-card:hover { transform: translateY(-3px); border-color: rgba(235, 196, 154, 0.35); }
.f-card .ic {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(235, 196, 154, 0.12);
  color: var(--candle-bright);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.f-card .ic svg { width: 19px; height: 19px; }
.f-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--candle-bright); }
.f-card p { font-size: 15px; line-height: 1.55; color: var(--night-muted); }

/* ---------- academisync ---------- */
.as-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(30px, 4vw, 56px);
}
.as-logo {
  background: #FAF5EA;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 44px);
  display: grid;
  place-items: center;
}
.as-logo img { max-width: 320px; width: 100%; }
@media (max-width: 860px) {
  .as-card { grid-template-columns: 1fr; }
  .as-logo img { max-width: 250px; }
}

/* ---------- timetable ---------- */
.tt-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 17px;
}
.tt-row:last-child { border-bottom: 0; }
.tt-row .day { font-family: var(--serif); font-size: 21px; color: var(--ink-title); }
.tt-row .time { font-weight: 700; color: var(--accent-deep); }
.tt-note { text-align: center; margin-top: 24px; font-size: 15px; color: var(--ink-muted); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- CTA ---------- */
.cta-card {
  background:
    radial-gradient(700px 320px at 85% -30%, rgba(235, 221, 187, 0.55), transparent 60%),
    var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: clamp(48px, 6vw, 76px) clamp(24px, 5vw, 70px);
}
.cta-card .t-xl { margin-bottom: 14px; }
.cta-card .t-sub { max-width: 540px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-addr { margin-top: 34px; font-size: 15px; color: var(--ink-muted); line-height: 1.7; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--night);
  color: var(--night-muted);
  padding: 64px 0 34px;
  font-size: 14.5px;
}
.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  margin-top: -66px;
  margin-bottom: 64px;
  background: linear-gradient(90deg, transparent, rgba(235, 196, 154, 0.5), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.75fr 1.25fr 0.9fr;
  gap: 34px;
  padding-bottom: 44px;
}
.site-footer .brand { color: var(--candle-bright); }
.site-footer .brand small { color: var(--candle); }
.footer-blurb { margin-top: 16px; max-width: 300px; font-size: 14px; line-height: 1.65; }
.site-footer h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--night-text);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--night-muted); transition: color 0.2s ease; }
.site-footer a:hover { color: var(--candle-bright); }
.footer-legal {
  border-top: 1px solid rgba(235, 196, 154, 0.14);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-legal .de a { color: var(--candle); font-weight: 700; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.85s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero .t-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-brandline, .hero-note { justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .hero { padding: 130px 0 70px; }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(247, 243, 234, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 28px 32px;
    gap: 20px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 19px; font-family: var(--serif); font-weight: 500; }
  .nav .pill { font-family: var(--sans); font-size: 16px; font-weight: 700; }
  .nav-toggle { display: block; }
  .stat-band { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .float-chip { display: none; }
  .shot .phone { width: 236px; }
  .cta-buttons .btn { width: 100%; }
  .tt-row { padding: 18px 22px; }
}

/* ---------- brochure sections ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.lcard {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lcard .ic {
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.lcard .ic svg { width: 20px; height: 20px; }
.lcard h3 { font-size: 21px; margin-bottom: 8px; }
.lcard p { font-size: 15.5px; line-height: 1.6; color: var(--ink-body); }
.lcard .num-tag {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-soft);
  margin-bottom: 8px;
  display: block;
}

/* core sciences list */
.sci-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(26px, 3.4vw, 44px);
}
.sci-item { padding: 20px 0; border-bottom: 1px solid var(--hairline-soft); }
.sci-item:last-child { border-bottom: 0; padding-bottom: 0; }
.sci-item:first-child { padding-top: 0; }
.sci-item h3 { font-size: 21px; margin-bottom: 6px; }
.sci-item h3 span { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; margin-left: 8px; }
.sci-item p { font-size: 15.5px; color: var(--ink-body); line-height: 1.6; }
.sci-item .texts { margin-top: 8px; font-size: 14px; color: var(--gold-soft); font-weight: 600; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list span {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-title);
}

/* structure / timings */
.timing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.timing-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 30px;
  text-align: center;
}
.timing-card .yr {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.timing-card .slot {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink-title);
  padding: 8px 0;
}
.timing-card .slot small { display: block; font-family: var(--sans); font-size: 14px; color: var(--ink-muted); font-weight: 600; margin-top: 2px; }

/* fees */
.fee-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.fee-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fee-card.hero-fee {
  background: linear-gradient(170deg, var(--night-2), var(--night));
  border-color: transparent;
}
.fee-card.hero-fee .plan, .fee-card.hero-fee .per { color: var(--night-muted); }
.fee-card.hero-fee .amount { color: var(--candle-bright); }
.fee-card.hero-fee p { color: var(--night-text); }
.fee-card .plan {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.fee-card .amount {
  font-family: var(--serif);
  font-size: clamp(42px, 4.5vw, 56px);
  color: var(--ink-title);
  margin: 14px 0 2px;
}
.fee-card .per { font-size: 14px; color: var(--ink-muted); margin-bottom: 14px; font-weight: 600; }
.fee-card p { font-size: 14.5px; color: var(--ink-body); line-height: 1.6; }
.fee-note { text-align: center; margin-top: 26px; font-size: 14.5px; color: var(--ink-muted); max-width: 640px; margin-left: auto; margin-right: auto; }

/* teachers */
.teach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.teach-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(26px, 3vw, 40px);
}
.teach-card h3 { font-size: 24px; margin-bottom: 4px; }
.teach-card .role {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.teach-card ul { list-style: none; }
.teach-card li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-body);
  border-bottom: 1px solid var(--hairline-soft);
}
.teach-card li:last-child { border-bottom: 0; }
.teach-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: 16px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

/* testimonials */
.testi-cols { columns: 3; column-gap: 18px; }
.testi {
  display: inline-block;
  width: 100%;
  margin-bottom: 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  break-inside: avoid;
}
.testi .mark {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 0.6;
  color: var(--frame-gold);
  display: block;
  margin-bottom: 12px;
}
.testi p { font-size: 15px; line-height: 1.65; color: var(--ink-body); font-style: italic; }
.testi .who { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--accent-deep); font-style: normal; }

/* degree cards */
.deg-card { position: relative; }
.deg-card .badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent-tint);
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.deg-card .badge.gold-badge { background: #F6ECD4; color: var(--gold-soft); }

@media (max-width: 900px) {
  .grid3, .testi-cols { columns: unset; }
  .grid3 { grid-template-columns: 1fr; }
  .testi-cols { columns: 1; }
  .grid2, .teach-grid, .timing-grid, .fee-grid { grid-template-columns: 1fr; }
}

/* ---------- store badges ---------- */
.store-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 26px;
}
.store-badges a { display: block; transition: transform 0.2s ease, opacity 0.2s ease; }
.store-badges a:hover { transform: translateY(-2px); }
.store-badges img { height: 52px; width: auto; }
