/* ═══════════════════════════════════════════════════════
   ULTANGBER 2.0 — Landing page
   Built on the ULTANGBER 2.0 Digital Brand Identity Guide
   ═══════════════════════════════════════════════════════ */

:root {
  /* Brand colours */
  --color-brand-navy: #2541B2;
  --color-brand-red: #FF3B3B;
  --color-brand-yellow: #FFD500;
  --color-white: #FFFFFF;
  --color-light-grey: #F5F7FA;
  --color-dark-ink: #1C1C1C;

  /* Supporting colours */
  --color-support-blue: #2E9CFF;
  --color-support-green: #58CC02;
  --color-support-purple: #8E44AD;

  /* Accessible text accents for light surfaces */
  --color-red-text: #C62828;
  --color-green-text: #237A00;

  /* Soft tints (derived from the palette, used as surfaces only) */
  --tint-navy: #EEF1FB;
  --tint-navy-2: #DCE3F8;
  --tint-yellow: #FFF8CC;
  --tint-red: #FFE9E9;
  --tint-green: #E8F7D8;
  --tint-sky: #E1F1FF;
  --navy-deep: #1B3189;
  --ink-soft: #4A4F5C;

  /* Typography */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px;

  /* Corners, borders, elevation */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --border-subtle: 1px solid #E3E7EF;
  --shadow-soft: 0 10px 30px rgba(37, 65, 178, 0.10);
  --shadow-float: 0 18px 44px rgba(37, 65, 178, 0.18);

  /* Motion */
  --motion-fast: 120ms;
  --motion-standard: 200ms;
  --motion-slow: 320ms;

  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--color-dark-ink);
  background: var(--color-light-grey);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Language switch: only the active language is shown */
html[data-lang="en"] [data-lang="ms"],
html[data-lang="ms"] [data-lang="en"] { display: none !important; }

img, svg { max-width: 100%; display: block; }
a { color: var(--color-brand-navy); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0; color: var(--color-dark-ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--color-support-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--space-4); }
.center { text-align: center; margin-top: var(--space-8); }

.skip-link {
  position: absolute; left: var(--space-4); top: -60px; z-index: 2000;
  background: var(--color-brand-navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-md);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: var(--space-2); }

/* ── Icons (one family: 24px grid, 2px round stroke) ── */
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 28px; height: 28px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6);
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform var(--motion-standard) ease, box-shadow var(--motion-standard) ease, background var(--motion-standard) ease, color var(--motion-standard) ease;
}
.btn-sm { min-height: 44px; padding: 0 var(--space-4); font-size: 15px; }
.btn-primary { background: var(--color-brand-navy); color: #fff; box-shadow: 0 6px 16px rgba(37, 65, 178, 0.3); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-secondary { background: #fff; color: var(--color-brand-navy); border-color: var(--tint-navy-2); }
.btn-secondary:hover { border-color: var(--color-brand-navy); transform: translateY(-2px); }
.btn-accent { background: var(--color-brand-yellow); color: var(--color-dark-ink); box-shadow: 0 6px 16px rgba(255, 213, 0, 0.45); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 213, 0, 0.55); }
.btn:active { transform: translateY(0) scale(0.98); }

/* ═════════ HEADER ═════════ */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: var(--border-subtle);
  transition: box-shadow var(--motion-standard) ease;
}
#site-header.scrolled { box-shadow: 0 6px 20px rgba(37, 65, 178, 0.08); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); height: var(--header-h); }
.logo-group { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.school-logo { width: 40px; height: 40px; object-fit: contain; }
.logo-divider { width: 1px; height: 28px; background: #D5DAE6; }
.brand-link { display: block; line-height: 0; border-radius: 8px; }
.brand-logo { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: var(--space-1); }
.nav-links a, .nav-dropdown-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--space-3);
  border: 0; background: none; border-radius: var(--radius-pill);
  color: var(--color-dark-ink); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease;
}
.nav-links a:hover, .nav-dropdown-btn:hover, .nav-dropdown.open > .nav-dropdown-btn { background: var(--tint-navy); color: var(--color-brand-navy); }
.nav-links a.nav-active { background: var(--tint-yellow); color: var(--color-dark-ink); }
.nav-dropdown { position: relative; }
.nav-dropdown-btn .icon { transition: transform var(--motion-standard) ease; }
.nav-dropdown.open .nav-dropdown-btn .icon { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; padding: var(--space-2);
  background: #fff; border: var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--motion-standard) ease, transform var(--motion-standard) ease, visibility var(--motion-standard);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown-menu a { width: 100%; border-radius: var(--radius-md); }

.nav-right { display: flex; align-items: center; gap: var(--space-3); }
.lang-switch { display: inline-flex; padding: 3px; background: var(--tint-navy); border-radius: var(--radius-pill); }
.lang-switch button {
  min-width: 44px; min-height: 36px; padding: 0 10px; border: 0; border-radius: var(--radius-pill);
  background: transparent; color: var(--color-brand-navy); font-weight: 700; font-size: 14px;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease;
}
.lang-switch button[aria-pressed="true"] { background: var(--color-brand-navy); color: #fff; }

.hamburger { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-md); background: var(--tint-navy); position: relative; }
.hamburger span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--color-brand-navy); transition: transform var(--motion-standard) ease, opacity var(--motion-fast) ease; }
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--header-h); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-3) var(--space-4) var(--space-6);
    background: #fff; border-bottom: var(--border-subtle); box-shadow: var(--shadow-float);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity var(--motion-standard) ease, transform var(--motion-standard) ease, visibility var(--motion-standard);
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a, .nav-dropdown-btn { width: 100%; justify-content: space-between; border-radius: var(--radius-md); font-size: 16px; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 0 var(--space-4); min-width: 0; display: none; background: transparent;
  }
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
}
@media (max-width: 520px) {
  .school-logo { width: 34px; height: 34px; }
  .logo-divider { height: 24px; }
  .brand-logo { height: 24px; }
  .nav-right { gap: var(--space-2); }
}

/* ═════════ HERO ═════════ */
.hero { position: relative; padding: var(--space-12) 0 var(--space-16); overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, var(--color-light-grey) 100%); }
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero-blob-1 { width: 520px; height: 520px; right: -140px; top: -120px; background: var(--tint-yellow); }
.hero-blob-2 { width: 320px; height: 320px; left: -120px; bottom: 60px; background: var(--tint-navy); }
.hero-inner { position: relative; z-index: 1; display: grid; gap: var(--space-12); align-items: center; }
.hero-tagline {
  display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4);
  padding: 6px 14px; background: var(--color-brand-yellow); border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--color-dark-ink);
}
.hero-headline { font-size: clamp(36px, 6vw, 58px); font-weight: 800; letter-spacing: -0.02em; color: var(--color-brand-navy); }
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 2px; height: 0.38em; z-index: -1;
  background: var(--color-brand-yellow); border-radius: 999px; transform: rotate(-1.5deg);
}
html[data-lang="ms"] .hl { white-space: normal; }
.hero-subtitle { margin-top: var(--space-4); max-width: 540px; font-size: 18px; color: var(--ink-soft); }
.hero-points { display: grid; gap: var(--space-2); margin: var(--space-6) 0 0; }
.hero-points li { display: flex; align-items: center; gap: var(--space-3); font-weight: 500; }
.hero-points .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--tint-green); color: var(--color-green-text); stroke-width: 3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

.hero-visual { position: relative; max-width: 460px; width: 100%; margin-inline: auto; padding: var(--space-4) var(--space-4) var(--space-8); }
.hero-board {
  background: #fff; padding: var(--space-4); border-radius: var(--radius-xl); border: 3px solid var(--color-brand-navy);
  box-shadow: 10px 10px 0 var(--color-brand-yellow), var(--shadow-float); transform: rotate(-2deg);
}
.hero-mascot { position: absolute; left: -14px; bottom: -8px; width: 92px; height: auto; filter: drop-shadow(0 8px 10px rgba(37, 65, 178, 0.25)); animation: bob 3.6s ease-in-out infinite; }
.hero-dice { position: absolute; width: 52px; height: 52px; filter: drop-shadow(0 6px 8px rgba(37, 65, 178, 0.25)); }
.hero-dice-1 { right: -6px; top: -4px; animation: bob 4s ease-in-out infinite .4s; }
.hero-dice-2 { right: 26px; bottom: 6px; width: 40px; height: 40px; animation: bob 3.2s ease-in-out infinite .9s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: rise 0.6s ease both; }
.hero-text > *:nth-child(2) { animation-delay: .06s; } .hero-text > *:nth-child(3) { animation-delay: .12s; }
.hero-text > *:nth-child(4) { animation-delay: .18s; } .hero-text > *:nth-child(5) { animation-delay: .24s; }

@media (min-width: 900px) {
  .hero { padding-top: var(--space-16); }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-visual { margin-right: 0; }
}

/* Stats strip */
.stats-strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin-top: var(--space-12); }
.stat {
  display: flex; flex-direction: column; gap: 4px; padding: var(--space-4) var(--space-4);
  background: #fff; border: var(--border-subtle); border-radius: var(--radius-lg); box-shadow: 0 6px 18px rgba(37, 65, 178, 0.06);
}
.stat-yellow { background: var(--color-brand-yellow); border-color: transparent; }
.stat-val { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; color: var(--color-brand-navy); }
.stat-val small { font-size: 0.5em; margin-right: 4px; font-weight: 700; }
.stat-yellow .stat-val { color: var(--color-dark-ink); }
.stat-label { font-size: 14px; color: var(--ink-soft); line-height: 1.35; }
.stat-yellow .stat-label { color: var(--color-dark-ink); }
@media (min-width: 760px) { .stats-strip { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); } }

/* ═════════ SECTIONS ═════════ */
.section { position: relative; padding: var(--space-16) 0; }
.section-round { border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: calc(-1 * var(--radius-xl)); padding-top: calc(var(--space-16) + var(--radius-xl)); }
.section-white { background: #fff; }
.section-grey { background: var(--color-light-grey); }
.section-navy-soft { background: var(--tint-navy); }
.section-yellow-soft { background: var(--tint-yellow); }
/* stacking so each rounded top overlaps the previous section */
#pengenalan { z-index: 1; } #komponen { z-index: 2; } #webapp { z-index: 3; } #keberkesanan { z-index: 4; } #testimoni { z-index: 5; }
#awards { z-index: 6; } #muat-turun { z-index: 7; } #tentang-kami { z-index: 8; } #maklum-balas { z-index: 9; } #galeri { z-index: 10; }
#pengenalan { margin-top: calc(-1 * var(--space-6)); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding-top: calc(var(--space-16) + var(--space-6)); }

.section-head { max-width: 720px; margin: 0 auto var(--space-10); text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: var(--space-3); padding: 4px 14px;
  background: var(--tint-navy); color: var(--color-brand-navy); border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
}
.section-navy-soft .eyebrow { background: #fff; }
.section-yellow-soft .eyebrow { background: #fff; }
.section-title { font-size: clamp(26px, 4vw, 34px); font-weight: 700; color: var(--color-brand-navy); }
.section-intro { margin-top: var(--space-4); font-size: 17px; color: var(--ink-soft); }

.soft-note {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2); width: fit-content; max-width: 100%;
  margin: calc(-1 * var(--space-4)) auto var(--space-8); padding: 8px 16px; text-align: center;
  background: var(--tint-yellow); border-radius: var(--radius-pill); font-size: 14px; font-weight: 500;
}

/* ═════════ CARDS ═════════ */
.card-grid { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .card-grid-4, .comp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border: var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-soft); transition: translate var(--motion-standard) ease, box-shadow var(--motion-standard) ease;
}
.card:hover { translate: 0 -4px; box-shadow: var(--shadow-float); }
.card h3 { font-size: 20px; font-weight: 700; color: var(--color-dark-ink); margin-bottom: var(--space-2); }
.card p { color: var(--ink-soft); font-size: 16px; }
.card-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--space-4);
  border-radius: 18px; background: var(--tint-navy); color: var(--color-brand-navy);
}
.card-icon-img { background: #fff; border: var(--border-subtle); overflow: hidden; padding: 0; width: 64px; height: 64px; border-radius: 16px; }
.card-icon-img img { width: 100%; height: 100%; object-fit: contain; }
.tone-yellow .card-icon { background: var(--tint-yellow); color: var(--color-dark-ink); }
.tone-red .card-icon { background: var(--tint-red); color: var(--color-red-text); }
.tone-blue .card-icon { background: var(--tint-sky); color: var(--color-brand-navy); }
.tone-sdg .card-icon { background: #fff; }

/* Components */
.comp-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.comp-visual { padding: var(--space-6) var(--space-6) var(--space-4); display: grid; place-items: center; height: 200px; }
.comp-visual .illo { height: 100%; width: auto; max-width: 100%; }
.comp-visual.tone-blue { background: var(--tint-sky); }
.comp-visual.tone-yellow { background: var(--tint-yellow); }
.comp-visual.tone-red { background: var(--tint-red); }
.comp-visual.tone-green { background: var(--tint-green); }
.comp-visual.tone-sky { background: var(--tint-navy); }
.comp-info { padding: var(--space-6); }
@media (min-width: 1000px) { .comp-grid { grid-template-columns: repeat(6, 1fr); } .comp-card { grid-column: span 2; } .comp-card:nth-child(4) { grid-column: 2 / span 2; } .comp-card:nth-child(5) { grid-column: 4 / span 2; } }

/* Cost box */
.cost-box { max-width: 560px; margin: var(--space-10) auto 0; padding: var(--space-6); background: #fff; border: 2px dashed var(--color-brand-yellow); border-radius: var(--radius-lg); }
.cost-box h3 { display: flex; align-items: center; gap: var(--space-2); font-size: 20px; margin-bottom: var(--space-4); }
.cost-box h3 .icon { color: var(--color-brand-navy); }
.cost-list > div { display: flex; justify-content: space-between; gap: var(--space-4); padding: 10px 0; border-bottom: var(--border-subtle); }
.cost-list dt { color: var(--ink-soft); }
.cost-list dd { margin: 0; font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.cost-list .cost-total { border-bottom: 0; margin-top: var(--space-2); padding: 12px 16px; background: var(--tint-yellow); border-radius: var(--radius-md); }
.cost-list .cost-total dt { color: var(--color-dark-ink); font-weight: 700; }
.cost-list .cost-total dd { font-size: 20px; color: var(--color-brand-navy); }

/* Digital app */
.app-showcase { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 900px) { .app-showcase { grid-template-columns: 1.15fr 0.85fr; } }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; }
.badge-yellow { background: var(--color-brand-yellow); color: var(--color-dark-ink); }
.app-subtitle { margin: var(--space-4) 0 var(--space-2); font-size: 24px; color: var(--color-brand-navy); }
.app-content > p { color: var(--ink-soft); font-size: 17px; }
.feature-list { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
@media (min-width: 560px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature { display: flex; gap: var(--space-3); padding: var(--space-4); background: var(--color-light-grey); border-radius: var(--radius-lg); }
.feature-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--color-brand-navy); box-shadow: 0 4px 10px rgba(37, 65, 178, 0.08); }
.feature strong { display: block; font-family: var(--font-display); font-size: 16px; }
.feature span:not(.feature-icon) { display: block; font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; margin-top: 2px; }
.app-actions { margin-top: var(--space-8); }

.app-mockup { display: grid; place-items: center; }
.device {
  width: min(100%, 320px); background: var(--color-brand-navy); border-radius: 36px; padding: 14px;
  box-shadow: 10px 10px 0 var(--color-brand-yellow), var(--shadow-float); transform: rotate(2deg);
}
.device-bar { display: flex; gap: 6px; justify-content: center; padding: 2px 0 10px; }
.device-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.device-screen { background: #fff; border-radius: 24px; padding: var(--space-4); text-align: center; }
.device-caption { margin-top: var(--space-3); font-size: 14px; font-weight: 600; color: var(--color-brand-navy); background: var(--tint-yellow); border-radius: var(--radius-pill); padding: 6px 12px; }

/* Effectiveness */
.result-card { text-align: left; }
.result-pct { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--color-brand-navy) !important; margin-bottom: var(--space-3); }
.result-pct small { margin-left: 8px; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.meter { height: 14px; border-radius: var(--radius-pill); background: var(--tint-navy-2); overflow: hidden; margin-bottom: var(--space-4); }
.meter-fill { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--color-brand-navy), var(--color-support-blue)); transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.js .result-card .meter-fill { width: 0; }
.js .result-card.visible .meter-fill { width: var(--v); }
.result-note { font-size: 15px !important; }

.conclusion { display: flex; gap: var(--space-4); align-items: flex-start; max-width: 860px; margin: var(--space-10) auto 0; padding: var(--space-6); background: #fff; border-radius: var(--radius-lg); border-left: 8px solid var(--color-brand-navy); box-shadow: var(--shadow-soft); }
.conclusion h3 { font-size: 20px; margin-bottom: var(--space-2); }
.conclusion p { color: var(--ink-soft); }
.conclusion-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--tint-navy); color: var(--color-brand-navy); }
@media (max-width: 560px) { .conclusion { flex-direction: column; } }

/* Testimonials */
.testi-card { margin: 0; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); background: var(--color-light-grey); border-color: transparent; }
.testi-mark { color: var(--color-brand-yellow); width: 36px; height: 36px; fill: var(--color-brand-yellow); }
.testi-card blockquote { margin: 0; }
.testi-card blockquote p { font-size: 18px; line-height: 1.55; color: var(--color-dark-ink); font-weight: 500; }
.testi-card figcaption { display: flex; align-items: center; gap: var(--space-3); }
.testi-card figcaption strong { display: block; font-family: var(--font-display); font-size: 16px; }
.testi-card figcaption small { color: var(--ink-soft); font-size: 14px; }

.avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--color-brand-navy); color: #fff; font-family: var(--font-display); font-weight: 700; }
.avatar-red { background: var(--color-red-text); }
.avatar-yellow { background: var(--color-brand-yellow); color: var(--color-dark-ink); }
.avatar-lead { background: var(--color-brand-navy); }
.avatar-lg { width: 72px; height: 72px; font-size: 28px; }

/* Awards */
.award-card { text-align: left; background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.award-year { margin-bottom: var(--space-2); padding: 2px 12px; border-radius: var(--radius-pill); background: var(--color-light-grey); font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--color-brand-navy); }
.award-card p { margin-bottom: var(--space-3); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: auto; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--color-brand-yellow); align-self: flex-start; }
.text-link:hover { background: var(--tint-yellow); }

/* Downloads */
.dl-card { display: flex; flex-direction: column; align-items: flex-start; }
.dl-card p { margin-bottom: var(--space-4); }
.dl-card .btn { margin-top: auto; }
.licence { display: flex; gap: var(--space-4); max-width: 860px; margin: var(--space-10) auto 0; padding: var(--space-6); background: #fff; border-radius: var(--radius-lg); border: var(--border-subtle); }
.licence-icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--tint-green); color: var(--color-green-text); }
.licence h3 { font-size: 20px; margin-bottom: var(--space-2); }
.licence p { color: var(--ink-soft); font-size: 15.5px; }
.licence-credit { margin-top: var(--space-2); font-weight: 600; color: var(--color-dark-ink) !important; }
@media (max-width: 560px) { .licence { flex-direction: column; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-4); }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); padding: var(--space-6) var(--space-4); }
.team-card h3 { font-size: 17px; margin: 0; }
.team-social { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--tint-navy); font-weight: 600; font-size: 14px; text-decoration: none; }
.team-social:hover { background: var(--tint-yellow); color: var(--color-dark-ink); }
.mentor { margin-top: var(--space-12); text-align: center; }
.mentor h3 { font-size: 20px; color: var(--color-brand-navy); margin-bottom: var(--space-4); }
.mentor-card { display: inline-flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-6) var(--space-4) var(--space-4); background: var(--tint-yellow); border-radius: var(--radius-pill); text-align: left; }
.mentor-card strong { display: block; font-family: var(--font-display); }
.mentor-card span:not(.avatar) { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 520px) { .mentor-card { border-radius: var(--radius-lg); } }

/* Feedback */
.feedback-card { max-width: 760px; margin: 0 auto; padding: var(--space-4); background: #fff; border-radius: var(--radius-lg); border: var(--border-subtle); box-shadow: var(--shadow-soft); min-height: 320px; }
.feedback-card iframe { width: 100%; border: 0; }

/* Gallery placeholders */
.gallery-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
.gallery-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 180px; padding: var(--space-4); text-align: center; border-radius: var(--radius-lg);
  border: 2px dashed var(--tint-navy-2); background: var(--tint-navy); color: var(--color-brand-navy); font-weight: 600; font-size: 15px;
  overflow: hidden;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-2 { background: var(--tint-yellow); border-color: #F3E27A; color: var(--color-dark-ink); }
.tile-3 { background: var(--tint-red); border-color: #FFC4C4; color: var(--color-red-text); }
.tile-4 { background: var(--tint-green); border-color: #BFE6A0; color: var(--color-green-text); }
.tile-5 { background: var(--tint-sky); border-color: #B8DCFA; }
@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .tile-1 { grid-column: span 3; min-height: 240px; } .tile-2 { grid-column: span 3; min-height: 240px; }
  .tile-3, .tile-4, .tile-5 { grid-column: span 2; min-height: 200px; }
}
@media (max-width: 759px) { .tile-1 { grid-column: span 2; } }

/* ═════════ FOOTER ═════════ */
#site-footer { position: relative; z-index: 11; margin-top: calc(-1 * var(--radius-xl)); padding: calc(var(--space-16) + var(--radius-xl)) 0 var(--space-8); background: var(--color-brand-navy); color: #fff; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
#site-footer :focus-visible { outline-color: var(--color-brand-yellow); }
.footer-inner { display: grid; gap: var(--space-10); }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.4fr 1fr; } }
.footer-brand img { width: min(320px, 100%); height: auto; margin-bottom: var(--space-4); }
.footer-brand p { max-width: 460px; color: rgba(255, 255, 255, 0.88); }
.footer-contact h4 { font-size: 18px; color: var(--color-brand-yellow); margin-bottom: var(--space-3); }
.footer-contact ul { display: grid; gap: 2px; }
.footer-contact li, .footer-contact a { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; color: #fff; text-decoration: none; }
.footer-contact a:hover { color: var(--color-brand-yellow); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact .icon { color: var(--color-brand-yellow); }
.copyright { margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 14px; color: rgba(255, 255, 255, 0.82); }

/* ═════════ MOTION ═════════ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
