/* Gentium Book Plus (SIL, made for books in minority languages) for headings; Noto Sans (made to cover every language) for text. */
@font-face { font-family: "Gentium Book Plus"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/gentium-book-plus-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gentium Book Plus"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/gentium-book-plus-400-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: "Gentium Book Plus"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/gentium-book-plus-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gentium Book Plus"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/gentium-book-plus-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/noto-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/noto-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/noto-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/noto-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #0f2219;
  --surface: #152d21;
  --line: rgb(232 238 228 / 0.08);
  --text: #e8eee4;
  --text-2: #b8c5b6;
  --text-3: #8a9a88;
  --accent: #d9b26a;
  --water: #7fb3aa;
  --serif: "Gentium Book Plus", Georgia, serif;
  --sans: "Noto Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 6vw, 80px);
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0 0 16px; max-width: 40rem; }
a { color: var(--text); text-underline-offset: 4px; }

.hero { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 32px var(--gutter); }
.brand { font: 600 22px/1 var(--sans); margin-bottom: 64px; }
.lead { color: var(--text-2); font-size: 19px; }
.status { color: var(--text-3); font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.button { display: inline-block; padding: 12px 24px; border-radius: 10px; background: var(--accent); color: #1c170c; font-weight: 600; text-decoration: none; transition: background-color 150ms ease; }
.button:hover { background: #e3c07e; }
.button:focus-visible, .link:focus-visible, .video-facade:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.link { color: var(--text-2); }
.hero-photo { margin: 0; align-self: stretch; display: flex; flex-direction: column; }
.hero-photo picture { flex: 1; }
.hero-photo img { width: 100%; height: 100%; min-height: 60svh; object-fit: cover; border-radius: 16px; }
figcaption, .caption, .source { color: var(--text-3); font-size: 14px; margin-top: 8px; }

main > section { padding: 96px var(--gutter); max-width: 1200px; margin: 0 auto; position: relative; }
/* A calm water surface between sections. */
main > section + section:not(.pilot)::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--water); opacity: 0.25; }
.big { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; max-width: 48rem; }

.video-facade { position: relative; display: block; border-radius: 12px; overflow: hidden; margin-top: 32px; }
#village iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; border-radius: 12px; margin-top: 32px; }
.play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: rgb(15 34 25 / 0.8); }
.play::after { content: ""; position: absolute; left: 30px; top: 22px; border-left: 20px solid var(--text); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; color: var(--accent); font: 600 14px/1 var(--sans); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.steps p { color: var(--text-2); }

.pilot { background: var(--surface); border-radius: 16px; }
.numbers { display: flex; gap: 48px; color: var(--text-2); }
.numbers strong { display: block; font: 400 56px/1 var(--serif); color: var(--text); font-variant-numeric: tabular-nums; }

.team { list-style: none; padding: 0; margin: 0; display: flex; gap: 64px; flex-wrap: wrap; }
.team p { color: var(--text-3); margin: 0; }

.contact { text-align: center; }
.topics { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.after-team { color: var(--text-2); margin-top: 32px; }
.contact p { margin-left: auto; margin-right: auto; }
.vision-section { text-align: center; }
.vision-section p { margin-left: auto; margin-right: auto; }
.vision-section .big { margin-left: auto; margin-right: auto; color: var(--text-2); }
cite { font-style: normal; }
footer { padding: 32px var(--gutter); color: var(--text-3); font-size: 14px; text-align: center; border-top: 1px solid var(--line); }
footer p { margin: 0 auto; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 24px; }
  .brand { margin-bottom: 40px; }
  .hero-photo img { min-height: 0; aspect-ratio: 4 / 3; }
  main > section { padding: 64px var(--gutter); }
  .pilot { margin-inline: var(--gutter); padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Point at (or tap) a word in a heading and it opens into syllables, the way the tutor shows
   them to learners: a dot slides in between the syllables and every second one takes a colour.
   Only the word under the pointer changes, so the heading around it keeps its lines. */
.syl { display: inline-block; white-space: nowrap; cursor: default; -webkit-tap-highlight-color: transparent; }
.syl > span { display: inline-block; transition: color 260ms ease, transform 260ms ease; }
.syl > span + span::before { content: "·"; display: inline-block; width: 0; opacity: 0; text-align: center; color: var(--text-3); transition: width 260ms ease, opacity 200ms ease; }
.syl:hover > span + span::before, .syl.on > span + span::before { width: 0.32em; opacity: 1; }
.syl:hover > span:nth-child(even), .syl.on > span:nth-child(even) { color: var(--accent); }
.syl:hover > span, .syl.on > span { transform: translateY(-0.04em); }
.hint { color: var(--text-3); font-size: 15px; font-style: italic; }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }
@media (prefers-reduced-motion: reduce) { .syl > span, .syl > span + span::before { transition: none; } }
