/* GurapaEdu website: shared styles, version 2 ("smooth" sticker look) */
:root {
  /* the lesson palette: bright divider colours + soft part-opener tones */
  --ink: #121212; --paper: #FAF7F0; --grey: #6B6B6B; --text: #2A2A2A;
  --green: #00B386; --green-dark: #00865F; --green-soft: #D6F5EA;
  --blue: #2F6BFF; --blue-soft: #E3EBFF;
  --red: #FF5C4D; --red-soft: #FFE4E0;
  --purple: #7B5CFF; --purple-soft: #ECE7FF;
  --orange: #FF8A3D; --orange-soft: #FFE9D6;
  --teal: #12B5CB; --teal-soft: #D7F4F8;
  --yellow: #FFCF33; --yellow-soft: #FFF3C4;
  --pink: #FF6FB5; --lime: #9BD62B; --sky: #4CC3FF;
  --bw: 2px; --r: 16px; --sh: 4px 4px 0 var(--ink); --sh-hover: 8px 8px 0 var(--ink);
  --ease: cubic-bezier(.22, 1, .36, 1);       /* soft "expo out" */
  --spring: cubic-bezier(.34, 1.56, .64, 1);  /* small overshoot */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: "Figtree", system-ui, sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; position: relative; }
h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(44px, 7.2vw, 80px); letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 4.2vw, 44px); margin-bottom: 10px; }
h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 4px; }
p { margin: 0 0 12px; }
.muted { color: var(--grey); }
.lead { font-size: 19px; font-weight: 500; max-width: 580px; }
section { padding: 76px 0; position: relative; }
section.alt { background: #fff; border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head p { margin: 0; max-width: 520px; color: var(--grey); }

/* Scroll progress line */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }

/* Brand */
.brand { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.04em; color: var(--ink); text-decoration: none; display: inline-block; transition: transform .5s var(--spring); }
.brand span { color: var(--green-dark); }
a.brand:hover { transform: rotate(-3deg) scale(1.04); }

/* Buttons and links */
.btn { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; text-decoration: none; border: var(--bw) solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); padding: 11px 22px; background: #fff; color: var(--ink); cursor: pointer; font-family: inherit; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--spring), box-shadow .45s var(--ease), background-color .3s, color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: translateY(110%); border-radius: inherit; transition: transform .5s var(--ease); }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.btn:hover::before { transform: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); transition-duration: .12s; }
.btn .arr { display: inline-block; transition: transform .45s var(--spring); }
.btn:hover .arr { transform: translateX(4px); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary::before { background: var(--ink); }
.btn.dark { background: var(--yellow); color: var(--ink); }   /* the "Student area" button */
.btn.dark::before { background: var(--orange); }
.btn.small { padding: 7px 16px; font-size: 15px; }
.link { position: relative; font-weight: 800; color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; padding-bottom: 2px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--green); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(.35); }
.link .arr { display: inline-block; transition: transform .45s var(--spring); }
.link:hover .arr { transform: translateX(5px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--bw) solid var(--ink); view-transition-name: site-nav; transition: box-shadow .4s var(--ease); }
.nav.scrolled { box-shadow: 0 6px 0 -2px rgba(18,18,18,.08); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; transition: height .4s var(--ease); }
.nav.scrolled .nav-in { height: 58px; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a:not(.btn) { position: relative; text-decoration: none; font-weight: 700; padding: 3px 0; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; border-radius: 3px; background: var(--green); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
.menu a:not(.btn):hover::after, .menu a.on::after { transform: scaleX(1); transform-origin: 0 50%; }
.burger { display: none; position: relative; background: #fff; border: var(--bw) solid var(--ink); border-radius: 12px; width: 46px; height: 42px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.burger i { position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease), opacity .3s; }
.burger i:nth-child(1) { top: 12px; } .burger i:nth-child(2) { top: 18px; } .burger i:nth-child(3) { top: 24px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--green); border-bottom: var(--bw) solid var(--ink); padding: 72px 0 80px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; }
.hero h1 .hl { display: inline-block; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: var(--sh); padding: 0 .14em; transform: rotate(-1.5deg); }
.hero .lead { margin: 22px 0 26px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.byline { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; background: #fff; border: var(--bw) solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); padding: 6px 16px 6px 8px; font-weight: 600; font-size: 15px; }
.byline .dot { width: 22px; height: 22px; border-radius: 50%; border: var(--bw) solid var(--ink); background: var(--green); position: relative; }
.byline .dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: ping 2.4s var(--ease) infinite 1.6s; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* Stat stickers (float gently, count up) */
.stickers { position: relative; height: 340px; }
.sticker-wrap { position: absolute; animation: float 7s ease-in-out infinite; }
.sticker-wrap:nth-child(2) { animation-duration: 8.5s; animation-delay: -2s; }
.sticker-wrap:nth-child(3) { animation-duration: 6.5s; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.sticker { width: 200px; background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 14px 17px; transform: rotate(var(--r, 0deg)); transition: transform .6s var(--spring), box-shadow .4s var(--ease); cursor: default; }
.sticker:hover { transform: rotate(0deg) scale(1.06); box-shadow: 7px 7px 0 var(--ink); }
.sticker b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 42px; letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.sticker span { font-weight: 700; font-size: 15px; }
.sticker.light, .sticker.light b { color: #fff; }   /* white text on dark stickers (purple, blue) */

/* Floating decorative shapes */
.shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.shape { position: absolute; translate: calc(var(--mx, 0) * var(--depth, 10) * 1px) calc(var(--my, 0) * var(--depth, 10) * 1px); transition: translate 1.2s var(--ease); }
.shape > i { display: block; background: var(--c, #fff); border: var(--bw) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); animation: drift 12s ease-in-out infinite; }
.shape.circle > i { width: 54px; height: 54px; border-radius: 50%; }
.shape.ring > i { width: 66px; height: 66px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 11px var(--c), inset 0 0 0 13px var(--ink), 3px 3px 0 var(--ink); }
.shape.square > i { width: 46px; height: 46px; border-radius: 12px; transform: rotate(18deg); }
.shape.pill > i { width: 96px; height: 34px; border-radius: 999px; }
.shape.plus > i { width: 40px; height: 40px; border: 0; box-shadow: none; background:
  linear-gradient(var(--ink), var(--ink)) center / 100% 11px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center / 11px 100% no-repeat; }
.shape svg { display: block; animation: drift 14s ease-in-out infinite; overflow: visible; }
.shape:nth-child(2n) > i, .shape:nth-child(2n) svg { animation-duration: 15s; animation-direction: reverse; }
.shape:nth-child(3n) > i { animation-duration: 10s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(8px, -12px) rotate(8deg); } 66% { transform: translate(-6px, 6px) rotate(-6deg); } }
.shape.square > i { animation-name: drift-sq; }
@keyframes drift-sq { 0%, 100% { transform: rotate(18deg); } 50% { transform: translate(6px, -10px) rotate(40deg); } }

/* Subject figures drawn straight on the coloured headers (ink, or white on dark colours) */
.shapes { color: var(--ink); }
.light .shapes { color: #fff; }
.shape.fig { opacity: .78; }
@media (max-width: 1199px) { .shape.hide-md { display: none; } }   /* figures that only fit in a wide side margin */
.shape.fig svg { animation-name: drift-soft; }
@keyframes drift-soft { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(6px, -8px) rotate(1.5deg); } 66% { transform: translate(-5px, 4px) rotate(-1.5deg); } }
/* Dark headers (purple, blue) use white text, like the .light dividers in the lessons */
.page-head.light h1, .page-head.light .lead, .page-head.light .link { color: #fff; }
.page-head.light .link::after { background: #fff; }
/* The main button stays visible on the green hero */
.hero .btn.primary { background: var(--yellow); color: var(--ink); }
.hero .btn.primary::before { background: var(--orange); }
.shape.fig:nth-child(2) svg { animation-duration: 16s; }
.shape.fig:nth-child(3) svg { animation-duration: 11s; animation-direction: reverse; }

/* Moving subject strip */
.marquee { background: #fff; border-bottom: var(--bw) solid var(--ink); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* Calm on purpose: plain words, one green dot between them (the tutor found 8 coloured pills too childish, 2026-10-20) */
.marquee span { flex: none; display: inline-flex; align-items: center; padding: 0 16px; font: 800 19px "Bricolage Grotesque", sans-serif; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-left: 32px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Numbered points with a line that draws itself */
.points { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.points::before { content: ""; position: absolute; top: 23px; left: 24px; right: calc(33.33% - 30px); border-top: 2.5px dashed var(--ink); z-index: 0; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease) .3s; }
.reveal.in .points::before, .points.in::before { transform: scaleX(1); }
.point { position: relative; z-index: 1; }
.point .n { width: 48px; height: 48px; border-radius: 50%; border: var(--bw) solid var(--ink); display: grid; place-items: center; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 19px; box-shadow: 2px 2px 0 var(--ink); margin-bottom: 16px; transition: transform .6s var(--spring); }
.point:hover .n { transform: scale(1.12) rotate(-8deg); }
.point h3 { margin: 0 0 6px; }
.point p { margin: 0; font-size: 16px; color: #444; }

/* Course cards */
.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.ccard { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden;
  transition: transform .55s var(--spring), box-shadow .45s var(--ease); }
a.ccard:hover { transform: translate(-4px, -6px) rotate(-.6deg); box-shadow: var(--sh-hover); }
.ccard .bar { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-bottom: var(--bw) solid var(--ink); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; }
.ccard .bar span { transition: transform .5s var(--ease); }
a.ccard:hover .bar span { transform: translateX(-4px); }
.ccard .bar.light { color: #fff; }   /* white text on dark bars (purple, blue) */
.ccard .body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.ccard h3 { font-size: 21px; margin: 0; }
.ccard p { margin: 0; font-size: 15px; color: #444; }
.ccard .go { margin-top: auto; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: color .3s, gap .45s var(--spring); }
a.ccard:hover .go { color: var(--green-dark); gap: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { font-size: 12.5px; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 9px; background: var(--paper); transition: background-color .3s, transform .4s var(--spring); }
a.ccard:hover .tags span { background: #fff; }
.tags span:hover { transform: translateY(-2px); }

/* Small info cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card { background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 15px 17px; transition: transform .55s var(--spring), box-shadow .45s var(--ease); }
.card:hover { transform: translate(-3px, -4px); box-shadow: 7px 7px 0 var(--ink); }
.card .tag { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 9px; }
.card h3 { font-size: 19px; margin: 10px 0 4px; }
.card p { margin: 0; font-size: 15px; color: #444; }

/* Two columns */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Dashed-line lists */
.rules { list-style: none; margin: 0; padding: 0; background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.rules li { position: relative; padding: 12px 16px 12px 20px; border-bottom: 1.5px dashed #CFCAC0; display: grid; gap: 1px; transition: background-color .35s, padding-left .45s var(--ease); }
.rules li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--green); transform: scaleY(0); transition: transform .45s var(--ease); }
.rules li:hover { background: var(--paper); padding-left: 26px; }
.rules li:hover::before { transform: none; }
.rules li:last-child { border-bottom: 0; }
.rules li b { color: var(--ink); }
.rules li span { color: var(--grey); font-size: 15px; }

/* Tabs with a sliding pill */
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 28px; background: #fff; border: var(--bw) solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); }
.tab-ind { position: absolute; top: 0; left: 0; height: 0; width: 0; background: var(--green); border-radius: 999px; z-index: 0; transition: transform .55s var(--spring), width .55s var(--spring), height .3s; }
.tab { position: relative; z-index: 1; font: inherit; font-weight: 800; font-size: 15px; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: color .35s var(--ease); }
.tab[aria-selected="true"] { color: #fff; }
.no-js-ind .tab[aria-selected="true"] { background: var(--green); }
.panel { display: none; }
.panel.show { display: block; }

/* Sessions */
.sessions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.session { background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 15px 17px; transition: transform .55s var(--spring), box-shadow .45s var(--ease); }
.session:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 6px 8px 0 var(--ink); }
.session b { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 40px; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.session small { font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-left: 4px; }
.session h3 { font-size: 18px; margin: 8px 0 2px; }
.session p { margin: 0; font-size: 15px; color: #444; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.methods { display: grid; gap: 12px; }
.method { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 13px 17px; transition: transform .55s var(--spring), box-shadow .45s var(--ease), background-color .35s; }
.method:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); background: var(--yellow-soft); }
.method small { display: block; font-weight: 800; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.method b { color: var(--ink); font-size: 17px; }
.method .arr { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: var(--bw) solid var(--ink); background: #fff; font-weight: 800; font-size: 17px; transition: transform .5s var(--spring), background-color .3s, color .3s; }
.method:hover .arr { transform: rotate(-45deg); background: var(--ink); color: #fff; }
.method .link::after { display: none; }
.form { background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 22px; }
.form label { display: block; font-size: 14px; font-weight: 800; color: var(--ink); margin: 0 0 5px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: var(--bw) solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); margin-bottom: 14px; transition: background-color .3s, box-shadow .45s var(--spring), transform .45s var(--spring); }
.form select:invalid { color: #8A8A8A; }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: #fff; box-shadow: 4px 4px 0 var(--green); transform: translate(-2px, -2px); }
.form textarea { min-height: 92px; resize: vertical; }
@media (max-width: 600px) { .form textarea { min-height: 128px; } }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Contact rows in each service's real colour */
.method.wa { background: #25D366; }
.method.mail { background: #EA4335; color: #fff; }
.method.li { background: #0A66C2; color: #fff; }
.method.mail b, .method.li b { color: #fff; }
.method.wa small { color: rgba(18, 18, 18, .7); }
.method.mail small, .method.li small { color: rgba(255, 255, 255, .85); }
.method.wa:hover, .method.mail:hover, .method.li:hover { filter: brightness(1.06); }
.method.wa:hover { background: #25D366; } .method.mail:hover { background: #EA4335; } .method.li:hover { background: #0A66C2; }
.method.mail .arr, .method.li .arr { color: var(--ink); }
.method.mail:hover .arr, .method.li:hover .arr { color: #fff; }

/* Contact form buttons in the service colours */
.btn[data-send="wa"] { background: #25D366; color: var(--ink); }
.btn[data-send="mail"] { background: #EA4335; color: #fff; }
.btn[data-send="wa"]::before { background: #1DB954; }
.btn[data-send="mail"]::before { background: #C5221F; }
.btn[data-send="wa"]:hover { color: var(--ink); } .btn[data-send="mail"]:hover { color: #fff; }

/* Student area rows */
.course-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; text-decoration: none; background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 16px 20px; margin-bottom: 14px; transition: transform .55s var(--spring), box-shadow .45s var(--ease); }
a.course-row:hover { transform: translate(-3px, -4px); box-shadow: var(--sh-hover); }
.course-row h3 { font-size: 22px; }
.course-row p { margin: 0; color: #444; font-size: 15px; }
.badge { font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 13px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--green-soft); white-space: nowrap; transition: background-color .3s, color .3s, transform .5s var(--spring); }
a.course-row:hover .badge { background: var(--ink); color: #fff; transform: scale(1.06); }
.badge.grey { background: var(--paper); color: var(--grey); border-color: #BDB8AE; }
@media (max-width: 360px) { .badge { font-size: 11px; letter-spacing: .06em; padding: 5px 10px; } }
.course-row.off { opacity: .55; box-shadow: none; }
.note { font-size: 15px; background: #fff; border: var(--bw) dashed var(--ink); border-radius: var(--r); padding: 13px 17px; margin-top: 20px; }

/* White headline with a black outline and hard shadow (readable on bright headers) */
h1.outline, h1.outline .wi { color: #fff; -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); letter-spacing: -.025em; }
.words.outline .w { padding: 0 .08em .14em; margin: 0 -.08em -.14em; }
h1.outline .hl { color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; }   /* the white "makes sense" box keeps black text */
h1.outline .edu { display: inline-block; color: var(--green); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }   /* "Edu" keeps the brand green in a headline */

/* Waving hand after "Hi, I'm Lukasi" */
img.wave { display: inline-block; height: .82em; width: auto; vertical-align: -.04em; margin-left: .04em; transform-origin: 70% 85%; animation: wave 2.6s ease-in-out 1.4s infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0deg); } 10% { transform: rotate(16deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(16deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { img.wave { animation: none; } }

/* White text on the coloured headers (matches the white headlines) */
.page-head .lead { color: #fff; font-weight: 600; text-shadow: 1.5px 1.5px 0 var(--ink); }
.hero .lead { color: var(--ink); font-weight: 600; }   /* black reads best on the green home header */
.page-head.ink-lead .lead { color: var(--ink); text-shadow: none; }   /* black reads best on the yellow contact header */
.page-head .link { color: #fff; text-shadow: 1.5px 1.5px 0 var(--ink); }
.page-head .link::after { background: #fff; box-shadow: 1.5px 1.5px 0 var(--ink); }

/* Teaching journey (about page): horizontal timeline, labels alternate above and below; vertical on phones */
.tl2 { position: relative; list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); --row: 150px; }
.tl2::before { content: ""; position: absolute; left: 6%; right: -10px; top: calc(var(--row) + 12px); height: 4px; border-radius: 4px; background: #121212; transform-origin: 0 50%; }
.tl2::after { content: ""; position: absolute; right: -14px; top: calc(var(--row) + 6px); border: 8px solid transparent; border-left: 12px solid #121212; border-right: 0; }
.tl2-item { position: relative; display: grid; grid-template-rows: var(--row) 28px var(--row); justify-items: center; text-align: center; }
.tl2-text { --tw: 210px; width: var(--tw); }
.tl2-item.up .tl2-text { grid-row: 1; align-self: end; padding-bottom: 12px; }
.tl2-item.down .tl2-text { grid-row: 3; align-self: start; padding-top: 12px; }
.tl2-text b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -.02em; line-height: 1.15; color: #121212; margin-bottom: 4px; }
.tl2-text span { display: block; font-size: 13.5px; line-height: 1.4; color: #555; }
.tl2-text em { display: inline-block; font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: #00865F; border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
.tl2-dot { grid-row: 2; position: relative; z-index: 1; align-self: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2.5px solid #121212; box-shadow: 2px 2px 0 #121212; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.tl2-item.now .tl2-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2.5px solid #00B386; animation: tl2-ping 2.2s ease-out infinite; }
@keyframes tl2-ping { 0% { transform: scale(.5); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.tl2-year { display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: #121212; }
.tl2-item.up .tl2-year { margin-top: 8px; }
.tl2-item.down .tl2-year { margin-bottom: 6px; }
.tl2-item:hover .tl2-dot { transform: scale(1.35); }
.tl2-item:hover .tl2-text b { color: #00865F; }
/* draw the line, then pop the steps in one by one */
.reveal .tl2::before { transform: scaleX(0); }
.reveal .tl2::after, .reveal .tl2-item { opacity: 0; }
.reveal.in .tl2::before { transform: none; transition: transform 1.6s cubic-bezier(.22, 1, .36, 1) .2s; }
.reveal.in .tl2::after { opacity: 1; transition: opacity .4s ease 1.6s; }
.reveal.in .tl2-item { opacity: 1; animation: tl2-in .8s cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: calc(var(--i) * .2s + .3s); }
@keyframes tl2-in { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1140px) { .tl2 { --row: 185px; } .tl2-text { --tw: 160px; } .tl2-text span { font-size: 13px; } }
@media (max-width: 1000px) { .tl2 { --row: 205px; } .tl2-text { --tw: 138px; } .tl2-text b { font-size: 16px; } .tl2-text span { font-size: 12.5px; } }   /* keeps the last label inside the page */
@media (max-width: 860px) {
  .tl2 { grid-template-columns: 1fr; }
  .tl2::before { left: 15px; right: auto; top: 6px; bottom: 6px; width: 4px; height: auto; transform-origin: 50% 0; }
  .reveal .tl2::before { transform: scaleY(0); }
  .tl2::after { display: none; }
  .tl2-item { grid-template-columns: 34px 1fr; grid-template-rows: auto; justify-items: start; text-align: left; align-items: start; padding: 10px 0 18px; }
  .tl2-item.up .tl2-year, .tl2-item.down .tl2-year { margin: 0 0 2px; font-size: 18px; }
  .tl2-text { display: flex; flex-direction: column; align-items: flex-start; } .tl2-text .tl2-year { order: -2; } .tl2-text em { order: -1; align-self: flex-start; }
  .tl2-dot { grid-column: 1; grid-row: 1; align-self: start; margin-top: 3px; }
  .tl2-item.up .tl2-text, .tl2-item.down .tl2-text { grid-column: 2; grid-row: 1; padding: 0; width: auto; margin: 0; text-align: left; align-self: start; }
}
@media (prefers-reduced-motion: reduce) { .reveal.in .tl2-item { animation: none; } .tl2-item.now .tl2-dot::after { animation: none; } }

/* Inner page header */
.page-head { position: relative; overflow: hidden; padding: 60px 0 48px; border-bottom: var(--bw) solid var(--ink); }
.page-head .wrap { z-index: 1; }
.page-head .lead { margin-top: 16px; margin-bottom: 0; }

/* Footer */
footer { padding: 30px 0 34px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; font-weight: 600; color: var(--grey); }
.foot nav { display: flex; gap: 18px; }
.foot a { text-decoration: none; transition: color .3s; }
.foot a:hover { color: var(--ink); }

/* Student map (home): dotted world, coloured student countries, pushpins */
.map-card { background: var(--paper); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 14px 10px 4px; overflow: hidden; }
.world { display: block; width: 100%; height: auto; overflow: visible; }
.world .land { fill: none; stroke: #121212; stroke-opacity: .2; stroke-width: 3.3; stroke-linecap: round; }
.world .cdots { fill: none; stroke-width: 3.8; stroke-linecap: round; transition: stroke-width .3s; }
.world .cdots.on { stroke-width: 5; }
.pin { cursor: pointer; }
.pin-ring { opacity: 0; transform-box: fill-box; transform-origin: center; }
/* pins drop in one after another, then softly pulse */
.reveal .pin-drop { opacity: 0; }
.reveal.in .pin-drop { opacity: 1; transform: none; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
  animation: pin-drop .9s cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: calc(var(--i) * .16s + .35s); }
.reveal.in .pin.on .pin-drop, .reveal.in .pin:hover .pin-drop { transform: translateY(-5px); }
.reveal.in .pin-ring { animation: pin-pulse 2.8s ease-out infinite; animation-delay: calc(var(--i) * .16s + 1.4s); }
@keyframes pin-drop { from { opacity: 0; transform: translateY(-80px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes pin-pulse { 0% { opacity: .9; transform: scale(.4); } 70%, 100% { opacity: 0; transform: scale(1.9); } }
.map-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { font: inherit; font-weight: 800; font-size: 15px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px 7px 10px; border: var(--bw) solid var(--ink); border-radius: 999px; background: #fff; box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease, background-color .3s ease; }
.chip .flag { width: 20px; height: 20px; flex: none; }
.chip:hover, .chip.on { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--yellow-soft); }
@media (max-width: 860px) {
  .map-card { padding: 8px 4px 2px; }
  .pin-body { scale: 1.45; }
  .world .land { stroke-width: 4; }
  .world .cdots { stroke-width: 4.6; }
}
@media (prefers-reduced-motion: reduce) { .reveal.in .pin-drop, .reveal.in .pin-ring { animation: none; } }

/* Course details (courses page): clicking a course card opens its sheet under the cards (goal, what we learn, how we work, focus, homework) */
a.ccard.on { transform: translate(-4px, -6px); box-shadow: 0 0 0 3px var(--c, var(--ink)), var(--sh-hover); }
.js .csheet { display: none; }
.csheet { margin-top: 34px; background: #fff; border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: 7px 7px 0 var(--ink); overflow: hidden; scroll-margin-top: 96px; }
.js .csheet.open { display: block; animation: cs-in .6s var(--ease) both; }
@keyframes cs-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cs-bar { display: flex; align-items: center; gap: 10px; background: var(--c); border-bottom: var(--bw) solid var(--ink); padding: 10px 14px 10px 22px; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.cs-bar.light { color: #fff; }
.cs-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 800 15px "Figtree", sans-serif; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); transition: transform .45s var(--spring); }
.cs-close:hover { transform: rotate(90deg); }
.cs-body { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; padding: 26px 30px 8px; }
.csheet h3 { font-size: 32px; margin: 0 0 10px; }
.cs-goal { font-size: 18px; line-height: 1.55; margin: 0 0 6px; }
.cs-goal b { background: var(--yellow); border-radius: 6px; padding: 0 6px; }
.csheet h4 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -.01em; margin: 22px 0 10px; }
.cs-how h4 { margin-top: 6px; }
.cs-focus { list-style: none; margin: 0; padding: 0; }
.cs-focus li { position: relative; padding: 9px 0 9px 28px; border-bottom: 2px dashed #DDD6C8; font-size: 15.5px; }
.cs-focus li:last-child { border-bottom: 0; }
.cs-focus li::before { content: "\2713"; position: absolute; left: 2px; top: 8px; font-weight: 800; color: var(--green-dark); }
.cs-hw { margin: 18px 0 0; font-size: 15.5px; background: var(--green-soft); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; transform: rotate(-.6deg); }
.cs-mat { margin: 14px 0 0; font-size: 15.5px; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; transform: rotate(.5deg); }
.cs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cs-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: start; background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); padding: 11px 14px; }
.cs-steps i { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--k); border: 2px solid var(--ink); font: 800 17px "Bricolage Grotesque", sans-serif; font-style: normal; }
.cs-steps b { font-size: 16.5px; }
.cs-steps span { font-size: 14.5px; color: #444; line-height: 1.5; }
.js .csheet.open .cs-steps li { animation: cs-in .6s var(--ease) both; }
.js .csheet.open .cs-steps li:nth-child(2) { animation-delay: .08s; }
.js .csheet.open .cs-steps li:nth-child(3) { animation-delay: .16s; }
.js .csheet.open .cs-steps li:nth-child(4) { animation-delay: .24s; }
.js .csheet.open .cs-steps li:nth-child(5) { animation-delay: .32s; }
.js .csheet.open .cs-steps li:nth-child(6) { animation-delay: .40s; }
.cs-book { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px; font: 800 14px "Figtree", sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none; box-shadow: 2px 2px 0 var(--ink); transition: transform .3s var(--spring); }
.cs-bar .cs-book span { color: inherit; }
.cs-book:hover { transform: translate(-1px, -1px); }
.cs-book + .cs-close { margin-left: 0; }
.cs-short { margin: 12px 0 0; font-size: 16px; font-weight: 600; line-height: 1.5; border-left: 5px solid var(--c); padding: 4px 0 4px 12px; }
.cs-how .cs-hw { margin-top: 18px; }
.cs-intro { font-size: 15.5px; line-height: 1.6; margin: 10px 0 0; color: #333; }
.cs-papers { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cs-papers li { display: grid; grid-template-columns: 76px 1fr; column-gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; }
.cs-papers .pp { justify-self: start; min-width: 52px; text-align: center; background: var(--c); border: 2px solid var(--ink); border-radius: 999px; padding: 1px 9px; font: 800 12.5px "Figtree", sans-serif; letter-spacing: .04em; white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); }
.csheet:has(.cs-bar.light) .cs-papers .pp { color: #fff; }
.cs-papers small { display: block; color: #6B6B6B; font-size: 13px; }
.cs-hist { margin: 14px 0 0; font-size: 15.5px; background: var(--blue-soft); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; transform: rotate(-.4deg); }
.cs-cta { display: flex; flex-wrap: wrap; gap: 12px; padding: 22px 30px 28px; }
@media (prefers-reduced-motion: reduce) { .js .csheet.open, .js .csheet.open .cs-steps li { animation: none; } }
@media (max-width: 860px) {
  .cs-body { grid-template-columns: 1fr; gap: 6px; padding: 22px 20px 4px; }
  .csheet h3 { font-size: 27px; }
  .cs-cta { padding: 20px; }
}

/* Session map (courses page): format x length; pick a session, its dot grows and dashed guides read it off both axes.
   (Replaced the 2-hour dial on 2026-10-20: a 60-min lesson filled only half the ring and looked "not enough".) */
.timer { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.smap { background: #fff; border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); padding: 14px 12px 8px; }
.smap svg { display: block; width: 100%; height: auto; overflow: visible; }
.sm-grid line { stroke: #ECE6DA; stroke-width: 1.2; stroke-dasharray: 3 4; }
.sm-axis { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sm-guide line { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 5; opacity: 0; transition: opacity .35s ease; }
.sm-guide.on line { opacity: 1; animation: sm-dash 1.2s linear infinite; }
@keyframes sm-dash { to { stroke-dashoffset: -20; } }
@media (prefers-reduced-motion: reduce) { .sm-guide.on line { animation: none; } }
.sm-xl, .sm-yl { font: 800 13px "Figtree", sans-serif; fill: var(--grey); transition: fill .3s; }
.sm-xl { font-size: 14px; }
.sm-xl.on, .sm-yl.on { fill: var(--ink); }
.sm-title { font: 800 11px "Figtree", sans-serif; letter-spacing: .12em; text-transform: uppercase; fill: var(--grey); }
.sm-pt { cursor: pointer; pointer-events: all; }
.sm-in { transform-box: fill-box; transform-origin: center; transition: transform .55s var(--spring); }
.sm-pt:hover .sm-in { transform: scale(1.1); }
.sm-pt.on .sm-in { transform: scale(1.35); }
.sm-sh { fill: var(--ink); }
.sm-dot { stroke: var(--ink); stroke-width: 2.4; }
.sm-pt text { font: 800 12px "Bricolage Grotesque", sans-serif; letter-spacing: -.02em; pointer-events: none; }
.sess-list { display: grid; gap: 12px; }
.sess { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 6px; width: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: 3px 3px 0 var(--ink); padding: 12px 18px;
  transition: transform .5s var(--spring), box-shadow .4s var(--ease), background-color .35s ease, color .35s ease; }
.sess:hover { transform: translateX(5px); box-shadow: 5px 5px 0 var(--ink); }
.sess.on { background: var(--c); transform: translateX(14px); box-shadow: 6px 6px 0 var(--ink); }
.sess.on.light, .sess.on.light h3, .sess.on.light .sess-len small, .sess.on.light p { color: #fff; }
.sess-len b { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 36px; letter-spacing: -.04em; line-height: 1; }
.sess-len small { font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-left: 3px; transition: color .35s; }
.sess h3 { font-size: 19px; margin: 0 0 2px; }
.sess p { margin: 0; font-size: 15px; color: #444; transition: color .35s; }
.sess.on p { color: var(--ink); }
@media (max-width: 860px) {
  .timer { grid-template-columns: 1fr; gap: 26px; justify-items: center; }
  .smap { width: 100%; max-width: 360px; }
  .sess-list { width: 100%; }
  .sess.on { transform: translateX(6px); }
}

/* Footer: official contact icons */
.foot nav.social { gap: 16px; align-items: center; }
.foot nav.social a { display: inline-flex; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.foot nav.social a:hover { transform: translateY(-3px) scale(1.12); }
.foot nav.social img { width: 26px; height: 26px; display: block; }
.foot nav.social .s-mail img { width: 31px; }

/* ---------- Motion ---------- */
/* Items appear one after another when their block comes into view (only when JS runs) */
.js .st { opacity: 0; transform: translateY(26px); }
.js .in .st { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 75ms + 60ms); }
/* Big headlines rise word by word from behind a mask */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
.words .wi { display: inline-block; }
.js .words .w .wi { transform: translateY(110%); }
.js .in .words .w .wi { transform: none; transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 70ms + 80ms); }
.js .words .pop { opacity: 0; transform: rotate(-14deg) scale(.5); }
.js .in .words .pop { opacity: 1; transform: rotate(-1.5deg); transition: opacity .4s var(--ease), transform .9s var(--spring); transition-delay: calc(var(--wi, 0) * 70ms + 200ms); }
/* Stickers drop in with a little bounce */
.js .sticker { opacity: 0; transform: rotate(calc(var(--r, 0deg) * 4)) translateY(50px) scale(.7); }
.js .in .sticker { opacity: 1; transform: rotate(var(--r, 0deg)); transition: opacity .5s var(--ease), transform 1s var(--spring), box-shadow .4s var(--ease); transition-delay: calc(var(--i, 0) * 140ms + 450ms); }
.js .in .sticker.done { transition: transform .6s var(--spring), box-shadow .4s var(--ease); }
.js .in .sticker.done:hover { transform: rotate(0deg) scale(1.06); }
/* Shapes pop in */
.js .shape > i, .js .shape svg { opacity: 0; scale: .2; }
.js .in .shape > i, .js .in .shape svg, .js .shapes.in .shape > i, .js .shapes.in .shape svg { opacity: 1; scale: 1; transition: opacity .6s var(--ease), scale 1.1s var(--spring); transition-delay: calc(var(--i, 0) * 110ms + 300ms); }

/* Page transitions: browsers that support it slide pages softly (the nav stays still) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
/* Fallback for other browsers (and when opening the files locally) */
main, footer { transition: opacity .3s var(--ease), transform .35s var(--ease); }
.leaving main, .leaving footer { opacity: 0; transform: translateY(-14px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .st, .js .words .w .wi, .js .words .pop, .js .sticker, .js .shape > i, .js .shape svg { opacity: 1 !important; transform: none; scale: 1; }
  .js .sticker { transform: rotate(var(--r, 0deg)); }
  .js .words .pop { transform: rotate(-1.5deg); }
  .points::before { transform: scaleX(1); }
  html { scroll-behavior: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--paper); border-bottom: var(--bw) solid var(--ink); padding: 14px 22px 20px;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s; }
  .menu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease), visibility 0s; }
  .menu > * { opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .menu.open > * { opacity: 1; transform: none; }
  .menu.open > *:nth-child(2) { transition-delay: .05s; } .menu.open > *:nth-child(3) { transition-delay: .1s; } .menu.open > *:nth-child(4) { transition-delay: .15s; }
  .hero { padding: 52px 0 60px; }
  .hero-grid, .points, .split, .contact-grid { grid-template-columns: 1fr; }
  .points::before { display: none; }
  .stickers { height: auto; display: flex; flex-wrap: wrap; gap: 12px; }
  .sticker-wrap { position: static !important; flex: 1 1 140px; animation: none; }
  .sticker { width: auto; }
  .sticker b { font-size: 32px; }
  .shape.hide-sm { display: none; }
  /* phones and tablets: the one visible figure sits in its own strip under the text, never over it */
  .hero, .page-head { padding-bottom: 100px; }
  .hero .shape.fig, .page-head .shape.fig { top: auto !important; left: auto !important; bottom: 16px !important; right: 16px !important; translate: none; }
  .hero .shape.fig svg, .page-head .shape.fig svg { width: auto; height: 58px; max-width: calc(100vw - 32px); }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  section { padding: 54px 0; }
  .tabs { border-radius: 22px; }
}

/* ---------- Story page (why-gurapaedu.html): a long read, Georgian first, English below ---------- */
/* Georgian letters come from Noto Sans Georgian; Latin words keep the site fonts */
:lang(ka) { font-family: "Figtree", "Noto Sans Georgian", system-ui, sans-serif; }
:lang(ka) h1, :lang(ka) h2, :lang(ka) h3, :lang(ka) .pull p, :lang(ka) .big-line { font-family: "Bricolage Grotesque", "Noto Sans Georgian", sans-serif; letter-spacing: -.01em; }
.story-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
/* author / reading time / language pills in the GurapaEdu colours (ink text, green outline and shadow, green "Edu") */
.story-meta .pill { display: inline-block; line-height: 1.4; background: #fff; border: var(--bw) solid var(--green-dark); border-radius: 999px; box-shadow: 3px 3px 0 var(--green); padding: 6px 15px; font-weight: 600; font-size: 15px; color: var(--ink); }
.story-meta .pill .bn { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.03em; }
.story-meta .pill .bn span { color: var(--green-dark); }
.lang-sw { display: inline-flex; background: #fff; border: var(--bw) solid var(--green-dark); border-radius: 999px; box-shadow: 3px 3px 0 var(--green); padding: 3px; }
.lang-sw a { text-decoration: none; font-weight: 800; font-size: 14px; padding: 4px 13px; border-radius: 999px; color: var(--ink); transition: background-color .3s; }
.lang-sw a.on { background: var(--green); color: #fff; }
.lang-sw a:not(.on):hover { background: var(--green-soft); }

.story { padding: 64px 0 40px; }
.story-grid { display: grid; grid-template-columns: 210px minmax(0, 700px); gap: 56px; justify-content: center; }
.prose { font-size: 18.5px; line-height: 1.75; color: var(--text); }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; margin: 0; }
.chap { margin: 70px 0 0; scroll-margin-top: 90px; }
.chap-h { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.chap-n { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--yellow)); border: var(--bw) solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 22px; color: var(--ink); transform: rotate(-4deg); }
.chap-n.light { color: #fff; }

/* Chapter list that follows the reader (wide screens) */
.toc { position: sticky; top: 92px; align-self: start; font-size: 14.5px; }
.toc > b { display: block; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; text-decoration: none; color: var(--grey); font-weight: 600; line-height: 1.3; padding: 6px 8px; border-radius: 12px; transition: color .3s, background-color .3s; }
.toc a i { font-style: normal; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; border: 1.5px solid #BDB8AE; font-weight: 800; font-size: 13px; transition: background-color .3s, border-color .3s, color .3s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); background: #fff; box-shadow: 0 0 0 var(--bw) var(--ink), 3px 3px 0 var(--bw) var(--ink); }
.toc a.on i { background: var(--c, var(--yellow)); border-color: var(--ink); }
.toc a.read i { background: var(--green); color: #fff; border-color: var(--green-dark); }   /* chapters already read turn brand green */
.toc .toc-lang { display: inline-block; padding: 0 0 2px; border-radius: 0; font-weight: 800; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--green); }

/* Opening paragraph with a big first letter */
.drop::first-letter { float: left; font-family: "Bricolage Grotesque", "Noto Sans Georgian", sans-serif; font-weight: 800; font-size: 60px; line-height: 1; padding: 8px 12px 6px; margin: 6px 14px 0 0; background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); color: var(--ink); }
.prose .opening { font-size: 21px; line-height: 1.65; font-weight: 500; color: var(--ink); }
.en-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--grey); text-decoration: none; border: 1.5px dashed #9E998F; border-radius: 999px; padding: 5px 14px; transition: color .3s, border-color .3s; }
.en-note:hover { color: var(--ink); border-color: var(--ink); }

/* Highlighter that sweeps across key phrases as they come into view */
.mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size 1.1s var(--ease) .4s; font-weight: 700; color: var(--ink); }
.in .mark, html:not(.js) .mark { background-size: 100% 100%; }

/* Three problems: small tilted notes */
.pains { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pains li { position: relative; background: var(--c); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 36px 15px 15px; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--ink); transform: rotate(var(--r, 0deg)); transition: transform .55s var(--spring), box-shadow .45s var(--ease); }
.pains li:hover { transform: rotate(0deg) translateY(-5px); box-shadow: 7px 7px 0 var(--ink); }
.pains li > span { position: absolute; top: -16px; left: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: var(--bw) solid var(--ink); font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 18px; }
.pains li em { display: block; font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.pains li { color: #fff; font-weight: 700; text-shadow: 1px 1px 0 rgba(18,18,18,.35); }   /* vivid cards (green, teal, red) with white text */
.pains li > span { color: var(--ink); text-shadow: none; }
.pains li em { color: #fff; font-size: 12.5px; text-shadow: 1px 1px 0 rgba(18,18,18,.45); margin-bottom: 6px; }   /* "Most important" in plain white */

/* Pull quote */
.pull { margin: 44px 0 36px; position: relative; background: #fff; border: var(--bw) solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); padding: 26px 30px 24px; transform: rotate(-.8deg); }
.pull::before { content: "\201C"; position: absolute; top: -30px; left: 18px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 96px; line-height: 1; color: var(--green); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.pull p { margin: 0 !important; font-family: "Bricolage Grotesque", "Noto Sans Georgian", sans-serif; font-weight: 800; font-size: clamp(23px, 3vw, 30px); line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }

/* The name, split into its two languages */
.name-split { display: flex; justify-content: center; margin: 30px 0 34px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: clamp(52px, 10vw, 100px); letter-spacing: -.045em; line-height: 1; }
.name-split span { padding: 10px 18px 16px; border: var(--bw) solid var(--ink); box-shadow: 5px 5px 0 var(--ink); cursor: default; transition: transform .55s var(--spring), box-shadow .45s var(--ease); }
.name-split .ns-g { background: var(--yellow); color: var(--ink); border-radius: 22px 0 0 22px; transform: rotate(-2deg); }
.name-split .ns-e { background: var(--green-dark); color: #fff; border-radius: 0 22px 22px 0; border-left: 0; transform: rotate(2deg) translateY(6px); }
.name-split span.hot { transform: rotate(0deg) translateY(-6px) scale(1.04); box-shadow: 8px 8px 0 var(--ink); }
.langs { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 18px; margin-bottom: 26px; }
.lang-card { background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 0 0 6px; overflow: hidden; transition: transform .55s var(--spring), box-shadow .45s var(--ease); }
.lang-card.hot { transform: translate(-3px, -4px); box-shadow: 7px 7px 0 var(--ink); }
.lang-card .lc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 17px; border-bottom: var(--bw) solid var(--ink); }
.lang-card.g .lc-top { background: var(--yellow); }
.lang-card.e .lc-top { background: var(--green-dark); color: #fff; }
.lang-card .lc-top b { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.03em; }
.lang-card .lc-top small { font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.lang-card h3 { font-size: 19px; margin: 14px 17px 6px; line-height: 1.25; }
.lang-card p { font-size: 16px !important; line-height: 1.6; margin: 0 17px 10px !important; }

/* Then and now */
.then-now { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 28px 0 28px; }
.tn { border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 14px 17px; line-height: 1.45; color: var(--ink); }
.tn small { display: block; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.tn b { display: block; font-family: "Bricolage Grotesque", "Noto Sans Georgian", sans-serif; font-weight: 800; font-size: 21px; line-height: 1.2; margin-bottom: 4px; }
.tn span { font-size: 15px; }
.tn.then { background: #E9E4DA; transform: rotate(-1.2deg); }
.tn.now { background: var(--sky); transform: rotate(1.2deg); }
.tn-arrow { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 34px; color: var(--ink); }

/* The path from the village to today */
.path { list-style: none; margin: 8px 0 28px; padding: 0; position: relative; display: grid; gap: 14px; }
.path::before { content: ""; position: absolute; left: 21px; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: var(--ink); transform-origin: 50% 0; }
.reveal .path::before { transform: scaleY(0); }
.reveal.in .path::before { transform: none; transition: transform 1.6s var(--ease) .2s; }
.path li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; }
.path li::before { content: ""; grid-column: 1; justify-self: center; margin-top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); position: relative; z-index: 1; }
.path li.now::after { content: ""; position: absolute; left: 3px; top: 3px; width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--green); animation: tl2-ping 2.2s ease-out infinite; }
.path .pc { background: color-mix(in srgb, var(--c) 20%, #fff); border: var(--bw) solid var(--ink); border-radius: 14px; padding: 10px 15px; box-shadow: 3px 3px 0 var(--ink); transition: transform .45s var(--spring); }
.path li:hover .pc { transform: translateX(5px); }
.path .pc em { display: inline-block; font-style: normal; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--c); border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 10px; margin-bottom: 4px; color: var(--ink); }
.path .pc em.light { color: #fff; }
.path .pc b { display: block; font-family: "Bricolage Grotesque", "Noto Sans Georgian", sans-serif; font-weight: 800; font-size: 18px; color: var(--ink); line-height: 1.25; }
.path .pc span { display: block; font-size: 15px; line-height: 1.5; color: #444; }

/* The ending */
.closing { margin: 76px 0 0; position: relative; background: var(--green); border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: 7px 7px 0 var(--ink); padding: 30px 32px 28px; color: var(--ink); scroll-margin-top: 90px; }
.closing h2 { color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); margin-bottom: 16px !important; }
.closing p { font-weight: 500; }
/* GurapaEdu logo as a white sticker (story opening and closing card; a green "Edu" would vanish on the green card) */
.story .logo { display: inline-block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.04em; color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; background: #fff; border: var(--bw) solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); padding: 0 .3em .1em; margin: 0 .15em 0 .05em; transform: rotate(-2deg); }
.story .logo span { color: var(--green-dark); }
.closing .welcome { font-weight: 700; font-size: 1.08em; }
.closing .welcome .logo, .opening .logo { font-size: 1.2em; line-height: 1.2; border-width: 2px; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); margin: 0 2px; }
.prose .big-line { font-family: "Bricolage Grotesque", "Noto Sans Georgian", sans-serif; font-weight: 800; font-size: clamp(25px, 3.4vw, 34px); line-height: 1.25; background: #fff; border: var(--bw) solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); padding: 14px 20px; margin: 22px 0 24px; transform: rotate(-1deg); }
.sign { display: flex; align-items: center; gap: 18px; margin: 22px 0 24px; line-height: 1.35; font-weight: 800; font-size: 17px; }
.sign .sig { font-family: "Caveat", cursive; font-weight: 700; font-size: 56px; line-height: 1; color: var(--ink); transform: rotate(-6deg); }
.sign small { display: block; font-weight: 600; font-size: 14.5px; }
/* signature on the green card: white with a hard ink shadow, like the headlines */
.closing .sign .sig { color: #fff; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); font-size: 62px; }
.closing .sign > span:last-child { color: #fff; font-size: 19px; text-shadow: 1px 1px 0 rgba(18,18,18,.45); }
.closing .sign small { margin-top: 6px; color: #fff; font-size: 15px; }
.closing .sign small .logo { font-size: 1.1em; line-height: 1.2; border-width: 2px; border-radius: 9px; box-shadow: 2px 2px 0 var(--ink); margin: 0 1px; }
.closing .btn.primary { background: var(--yellow); color: var(--ink); }
.closing .btn.primary::before { background: var(--orange); }
.to-en { display: flex; justify-content: center; margin-top: 50px; text-decoration: none; }
.to-en > span { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; color: var(--ink); background: #fff; border: var(--bw) solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); padding: 10px 22px; transition: transform .45s var(--spring), box-shadow .4s var(--ease); }
.to-en:hover > span { transform: translateY(-3px); box-shadow: 5px 6px 0 var(--ink); }
.to-en .arr { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Band that opens the English version */
.lang-band { background: var(--pink); border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); padding: 46px 0 42px; margin-top: 50px; scroll-margin-top: 58px; }
.lang-band small { display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: #fff; border: var(--bw) solid var(--ink); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; color: var(--ink); }
.lang-band h2 { color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); }
.lang-band p { color: #fff; font-weight: 600; font-size: 18px; text-shadow: 1.5px 1.5px 0 var(--ink); margin: 8px 0 0; max-width: 640px; }

@media (max-width: 1000px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
}
@media (max-width: 760px) {
  .story { padding-top: 46px; }
  .prose { font-size: 17.5px; }
  .prose .opening { font-size: 19px; }
  .pains, .langs { grid-template-columns: 1fr; }
  .pains { gap: 26px; }
  .then-now { grid-template-columns: 1fr; }
  .tn-arrow { justify-self: center; transform: rotate(90deg); }
  .closing { padding: 24px 20px; }
  .pull { padding: 24px 20px 20px; }
  .name-split span { padding: 8px 12px 12px; }
}
@media (prefers-reduced-motion: reduce) { .mark { background-size: 100% 100%; } }

/* About page (2026-10-20): "What can you do by 24?" numbers, highlight cards, where I studied */
.by24 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.by24 .sticker { width: auto; }
.by24 .sticker b { color: var(--green-dark); }
.wins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.win { background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: 4px 4px 0 var(--ink); padding: 14px 17px 16px; display: grid; gap: 4px; align-content: start; transition: transform .55s var(--spring), box-shadow .45s var(--ease); }
.win:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.win-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.win-y { font: 800 15px "Bricolage Grotesque", sans-serif; background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 11px; }
.win-k { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.win-k::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--k); border: 1.5px solid var(--ink); }
.win b { font: 800 19px "Bricolage Grotesque", sans-serif; letter-spacing: -.01em; }
.win > span:last-child { font-size: 15px; color: #444; line-height: 1.5; }
.win-list { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 7px; }
.win-list li { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.unis { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.unis li { background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); padding: 11px 15px 12px; display: grid; gap: 2px; }
.unis b { font-size: 16px; line-height: 1.35; }
.unis li > span:last-child { font-size: 14.5px; color: var(--grey); }
.uni-y { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--green-dark); }
.mini-h { font-size: 17px; margin: 22px 0 10px; }
@media (max-width: 900px) {
  .by24 { grid-template-columns: repeat(2, 1fr); }
  .wins { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .by24, .wins { grid-template-columns: 1fr; }
  .by24 { gap: 14px; }
}

/* Tutor circle (home "Your tutor"): drawn by tools/tutor-circle/make_circle.py, idea of the Lesson 1 cover wheel */
.edu-g { color: var(--green-dark); }
.tcirc { width: 100%; max-width: 600px; margin: -10px auto 0; }
.tcirc > svg { width: 100%; height: auto; display: block; overflow: visible; }
.tc-ring { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 8 7; }
.tc-ctr { fill: var(--green-soft); stroke: var(--ink); stroke-width: 2.2; }
.tc-node { cursor: pointer; outline: none; }
.tc-node circle { fill: #fff; stroke: var(--ink); stroke-width: 2.2; transition: fill .3s, stroke-width .3s; }
.tc-node.on circle, .tc-node:focus-visible circle { fill: var(--yellow); stroke-width: 3; }
.tc-ic { fill: var(--ink); }
.tc-lab { font: 800 20px "Bricolage Grotesque", sans-serif; letter-spacing: -.01em; fill: var(--ink); transition: fill .3s; }
.tc-node.on .tc-lab { fill: var(--green-dark); }
.tc-d { opacity: 0; transition: opacity .45s var(--ease); }
.tc-d.on { opacity: 1; }
.tc-k { font: 800 13px "Figtree", sans-serif; letter-spacing: .16em; fill: var(--green-dark); }
.tc-t1 { font: 800 24px "Bricolage Grotesque", sans-serif; letter-spacing: -.01em; fill: var(--ink); }
.tc-t { font: 500 17.5px "Figtree", sans-serif; fill: #444; }
.tc-name, .tc-cap { display: none; }
.tc-name text { font: 800 34px "Bricolage Grotesque", sans-serif; letter-spacing: -.02em; fill: var(--ink); }
.tc-cap { margin: 10px auto 0; max-width: 340px; min-height: 76px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); padding: 10px 14px; text-align: center; }
.tc-c { display: none; margin: 0; font-size: 15px; line-height: 1.45; }
.tc-c.on { display: block; }
.tc-c b { display: block; font: 800 17px "Bricolage Grotesque", sans-serif; }
.tc-c span { display: block; color: var(--grey); font-size: 14px; }
@media (max-width: 600px) {
  .tc-lab { font-size: 24px; }
  .tc-d, .tc-k { display: none; }
  .tc-name, .tc-cap { display: block; }
}

/* About: How I teach + Where I studied */
.teach-lead { font-size: 17.5px; line-height: 1.6; margin: 4px 0 18px; }
.teach-quote { margin: 0 0 22px; padding: 14px 18px; border-left: 5px solid var(--green); background: var(--green-soft); border-radius: 0 12px 12px 0; font: 800 20px/1.35 "Bricolage Grotesque", sans-serif; letter-spacing: -.01em; }
.principles { list-style: none; margin: 0; padding: 0; background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); }
.principles li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 14px 18px; border-bottom: 1.5px dashed #CFCAC0; }
.principles li:last-child { border-bottom: 0; }
.principles i { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; border: 2px solid var(--ink); font: 800 14px "Bricolage Grotesque", sans-serif; font-style: normal; margin-top: 1px; }
.principles b { font-size: 16.5px; }
.principles span { font-size: 15px; color: #444; line-height: 1.5; }
.teach-more { margin: 18px 0 0; }
.edu-list { list-style: none; margin: 0; padding: 0; background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); }
.edu-list li { display: grid; grid-template-columns: 92px 1fr auto; column-gap: 14px; align-items: baseline; padding: 15px 18px; border-bottom: 1.5px dashed #CFCAC0; }
.edu-list li:last-child { border-bottom: 0; }
.el-y { font-size: 13px; font-weight: 800; letter-spacing: .03em; color: var(--green-dark); }
.edu-list b { display: block; font-size: 16.5px; line-height: 1.35; }
.edu-list div span { display: block; font-size: 14.5px; color: var(--grey); margin-top: 2px; }
.edu-list em { font-style: normal; font-size: 13px; font-weight: 800; white-space: nowrap; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 10px; background: var(--green-soft); }
.el-note { font-size: 13px; color: var(--grey); margin: 10px 0 0; }
.facts { margin: 22px 0 0; display: grid; gap: 12px; }
.facts > div { display: grid; row-gap: 7px; }
.facts dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.facts dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.facts dd.one { flex-wrap: nowrap; }
.facts dd.one span { white-space: nowrap; font-size: 13px; }
.facts dd span { font-size: 13.5px; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 11px; background: #fff; }
@media (max-width: 600px) {
  .edu-list li { grid-template-columns: 1fr auto; row-gap: 2px; }
  .edu-list .el-y { grid-column: 1 / -1; }
  .facts dd { gap: 5px; }
  .facts dd span { font-size: 12.5px; padding: 2px 8px; }
  .facts dd.one { gap: 4px; }
  .facts dd.one span { font-size: clamp(9.5px, 3.05vw, 12.5px); padding: 2px clamp(4px, 1.4vw, 8px); }
}
@media (min-width: 601px) and (max-width: 1000px) { .facts dd.one { gap: 5px; } .facts dd.one span { font-size: 12px; padding: 2px 8px; } }

/* Story page language switch: with JS only one language is shown, and the switch swaps it in place */
.lead-en { display: none; }
.js .lang-band, .js .en-note, .js .to-en { display: none; }
.js [data-lang="en"] .story[lang="ka"], .js [data-lang="ka"] .story[lang="en"] { display: none; }
.js [data-lang="en"] .lead[lang="ka"] { display: none; }
.js [data-lang="en"] .lead-en { display: block; }
.story.swap { animation: langIn .35s var(--ease); }
@keyframes langIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .story.swap { animation: none; } }
/* home course cards with six tags: a break after the third keeps three per line */
.tags.t3 .br { flex-basis: 100%; height: 0; margin-top: -5px; }
@media (max-width: 359px) { .tags.t3 span { font-size: 11.5px; padding: 1px 7px; } }
@media (min-width: 900px) and (max-width: 1140px) { .tags.t3 span { font-size: 11.5px; padding: 1px 7px; } }
/* small white logo sticker for GurapaEdu inside white header text (green "Edu" is unreadable on a coloured header) */
.logo-s { display: inline-block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); text-shadow: none; background: #fff; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 2px 2px 0 var(--ink); padding: 0 6px 1px; margin: 0 1px; }
.logo-s span { color: var(--green-dark); }
