/* A Little Learning — Design System */
:root {
  --ink: #14213d;
  --ink-soft: #3d4a66;
  --paper: #faf9f6;
  --white: #ffffff;
  --gold: #c8892e;
  --gold-soft: #f4e8d7;
  --line: #e8e4dc;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 20px 60px rgba(20, 33, 61, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .serif { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 33, 61, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo span { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--white); }
.nav-links { display: flex; gap: 34px; align-items: center; list-style: none; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: #b9c2d8; transition: color .2s; letter-spacing: 0.01em; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.nav-cta {
  background: var(--gold); color: var(--white) !important; padding: 11px 22px;
  border-radius: 100px; font-size: 14px !important; transition: background .2s;
}
.nav-cta:hover { background: var(--white); color: var(--ink) !important; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--white); }
.lang-switch {
  font-size: 13px !important; font-weight: 600 !important; color: #b9c2d8 !important;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 100px; padding: 7px 14px !important;
}
.lang-switch:hover { color: var(--white) !important; border-color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 120px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 520px; margin-bottom: 36px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 32px; border-radius: 100px;
  font-weight: 600; font-size: 15px; transition: all .2s; font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.hero-img-wrap { position: relative; }
.hero-img-wrap img {
  border-radius: 20px; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}
.hero-badge {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--white); border-radius: var(--radius); padding: 20px 26px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-badge strong { font-family: 'Fraunces', serif; font-size: 26px; display: block; }
.hero-badge span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.02em; margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 17.5px; }
.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ink-section { background: var(--ink); color: var(--white); }
.ink-section .section-head p { color: #b9c2d8; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.card-link { margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--ink); }
.card-link:hover { color: var(--gold); }
.card-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 14px 0 4px; }
.card-meta span {
  font-size: 12.5px; background: var(--paper); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 100px; color: var(--ink-soft);
}

/* Pillars (icon cards) */
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .25s, box-shadow .25s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px;
}
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { font-family: 'Fraunces', serif; font-size: clamp(38px, 4.5vw, 56px); display: block; color: var(--gold); font-weight: 600; }
.stat span { font-size: 14.5px; color: #b9c2d8; letter-spacing: 0.03em; }

/* ---------- Skills / checklist ---------- */
.checklist { list-style: none; margin-top: 24px; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 14px; font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%; background: var(--gold-soft); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
figure.framed img { border-radius: 18px; box-shadow: var(--shadow-lg); }
figure.framed figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }

/* ---------- Programme detail rows ---------- */
.prog {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start;
  padding: 64px 0; border-top: 1px solid var(--line);
}
.prog:first-of-type { border-top: 0; }
.prog img { border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; position: sticky; top: 110px; }
.prog h3 { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 8px; }
.prog blockquote {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; color: var(--ink-soft);
  border-left: 3px solid var(--gold); padding-left: 18px; margin: 18px 0;
}
.prog p { color: var(--ink-soft); margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 24px 0; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.fact small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); font-weight: 600; margin-bottom: 3px; }
.fact span { font-size: 14.5px; font-weight: 500; }

/* Category divider on programmes page */
.cat-head { display: flex; align-items: center; gap: 18px; margin: 70px 0 10px; }
.cat-head h2 { font-size: 26px; white-space: nowrap; letter-spacing: -0.01em; }
.cat-head::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.cat-head:first-of-type { margin-top: 0; }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; padding: 100px 0; }
.quote-band blockquote {
  font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(22px, 3vw, 32px);
  max-width: 760px; margin: 0 auto 18px; line-height: 1.5;
}
.quote-band cite { font-style: normal; font-size: 14px; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-band p { color: #b9c2d8; max-width: 560px; margin: 0 auto 34px; font-size: 17px; }
.cta-band .btn-primary { background: var(--gold); }
.cta-band .btn-primary:hover { background: var(--white); color: var(--ink); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 13.5px; font-weight: 600; display: block; margin-bottom: 7px; }
input, textarea, select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 15px; background: var(--white); color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); border-color: transparent; }

/* ---------- Contact info ---------- */
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 20px; }
.info-card h3 { font-size: 18px; margin-bottom: 8px; }
.info-card p, .info-card a { font-size: 15px; color: var(--ink-soft); }
.info-card a:hover { color: var(--gold); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; transition: transform .25s; }
.gallery img:hover { transform: scale(1.03); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #b9c2d8; padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
footer h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { font-size: 14.5px; transition: color .2s; }
footer a:hover { color: var(--gold); }
.footer-brand img { height: 46px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.02em; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--ink-soft); max-width: 640px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .grid-2, .prog { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .prog img { position: static; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--ink); flex-direction: column; padding: 24px 28px; gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 80px; }
  .hero-badge { left: 12px; bottom: -18px; padding: 14px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
