/* ==========================================================================
   Wetin Dey — site.css
   Palette from the logo: brand green + ink. One amber for commerce signals.
   ========================================================================== */
:root {
  --green: #3D8D19;
  --green-ink: #2B6A10;
  --green-soft: #E4F0DB;
  --paper: #F6F8F2;
  --surface: #FFFFFF;
  --surface-2: #EEF2E8;
  --ink: #141A10;
  --ink-2: #48523F;
  --ink-3: #6C7663;
  --line: #DCE3D3;
  --amber: #F2A900;
  --danger: #C2361F;
  --on-green: #FFFFFF;
  --shadow: 0 1px 2px rgba(20, 26, 16, .06), 0 8px 24px -12px rgba(20, 26, 16, .18);
  --shadow-lg: 0 24px 60px -24px rgba(20, 26, 16, .35);

  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --nav-h: 72px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
[data-theme="dark"] {
  --green: #5DB82F;
  --green-ink: #7FD150;
  --green-soft: #1B2B14;
  --paper: #0C110A;
  --surface: #141B11;
  --surface-2: #1A2316;
  --ink: #E9EFE3;
  --ink-2: #B9C4AF;
  --ink-3: #8C9882;
  --line: #273322;
  --on-green: #0C110A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .3s, color .3s;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--green); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.03em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { flex: none; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--surface-2); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.kicker { display: inline-block; font-weight: 600; color: var(--green); margin-bottom: .75rem; font-size: .98rem; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.head h2 { margin: 0; max-width: 18ch; }
.head p { max-width: 46ch; margin: 0; color: var(--ink-2); }

/* logos swap with theme */
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--green); display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: var(--on-green); }
.btn--primary:hover { background: var(--green-ink); color: var(--on-green); box-shadow: 0 8px 22px -10px var(--green); }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: #142010; }
.btn--light:hover { background: #E4F0DB; color: #142010; }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--green); display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: ""; width: 14px; height: 2px; background: currentColor; transition: width .2s var(--ease); }
.link-arrow:hover::after { width: 22px; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--ink-3); }
.pill { display: inline-block; font: 600 .74rem/1 var(--f-body); padding: 5px 9px; border-radius: 999px; background: var(--green); color: var(--on-green); font-style: normal; vertical-align: middle; }
.pill--soft { background: var(--green-soft); color: var(--green); }
.pill--amber { background: var(--amber); color: #2a1c00; }
.pill--line { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: var(--paper); font-size: .9rem; }
[data-theme="dark"] .topbar { background: var(--green-soft); color: var(--ink); }
.topbar__in { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 40px; text-align: center; }
.topbar p { margin: 0; }
.topbar__link { font-weight: 700; color: var(--green-ink); white-space: nowrap; }
[data-theme="light"] .topbar__link { color: #8FD866; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.nav__logo img { height: 32px; width: auto; }
.nav__menu { margin-inline: auto; }
.nav__menu > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__menu li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink-2);
}
.nav__link:hover, .nav__link.is-active, li:hover > .nav__link, li.is-open > .nav__link { color: var(--ink); background: var(--surface-2); }
.chev { width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
li.is-open .chev, li:hover .chev { transform: rotate(-135deg) translateY(-1px); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--amber); color: #2a1c00; font: 700 .72rem/20px var(--f-body); text-align: center; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.mega, .drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility .18s; z-index: 60;
}
.mega::before, .drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
li:hover > .mega, li:hover > .drop, li.is-open > .mega, li.is-open > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop { min-width: 210px; padding: 8px; display: grid; }
.drop a { padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.drop a:hover { background: var(--surface-2); color: var(--ink); }
.mega { width: min(760px, 92vw); padding: 14px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.mega__title { font-size: .85rem; color: var(--ink-3); font-weight: 600; margin: 6px 12px 6px; }
.mega__item { display: block; padding: 12px; border-radius: 12px; text-decoration: none; }
.mega__item strong { display: block; font-size: 1rem; }
.mega__item span { display: block; color: var(--ink-3); font-size: .9rem; line-height: 1.45; margin-top: 2px; }
.mega__item:hover { background: var(--surface-2); color: var(--ink); }
.mega__col--side { background: var(--surface-2); border-radius: 14px; padding: 6px 6px 10px; display: flex; flex-direction: column; }
.mega__link { padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.mega__link:hover { background: var(--surface); color: var(--ink); }
.mega__cta { margin: auto 6px 0; padding: 14px; border-radius: 12px; background: var(--green); color: var(--on-green); text-decoration: none; }
.mega__cta span { display: block; font-weight: 700; }
.mega__cta small { opacity: .85; }
.mega__cta:hover { color: var(--on-green); background: var(--green-ink); }
.mega--grid { grid-template-columns: repeat(3, 1fr); width: min(860px, 94vw); }
.mega__sol { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; }
.mega__sol:hover { background: var(--surface-2); color: var(--ink); }
.mega__sol strong { display: block; font-size: .97rem; }
.mega__sol small { color: var(--ink-3); }
.mega__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--green-soft); color: var(--green); }
.mega__all { grid-column: 1 / -1; text-align: center; padding: 12px; border-top: 1px solid var(--line); font-weight: 600; text-decoration: none; color: var(--green); }

.burger { display: none; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }

/* Drawer */
.drawer, .cart { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open, .cart.is-open { visibility: visible; }
.drawer__scrim, .cart__scrim { position: absolute; inset: 0; background: rgba(8, 12, 6, .5); opacity: 0; transition: opacity .25s; }
.is-open > .drawer__scrim, .is-open > .cart__scrim { opacity: 1; }
.drawer__panel, .cart__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--paper);
  transform: translateX(100%); transition: transform .32s var(--ease); display: flex; flex-direction: column; overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}
.is-open > .drawer__panel, .is-open > .cart__panel { transform: none; }
.drawer__head, .cart__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.drawer__head img { height: 28px; width: auto; }
.drawer__nav { padding: 10px 12px; display: grid; }
.drawer__nav > a, .drawer__nav summary { padding: 14px 10px; font: 600 1.15rem var(--f-display); text-decoration: none; border-bottom: 1px solid var(--line); list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary::after { content: "+"; font-size: 1.4rem; color: var(--ink-3); transition: transform .2s; }
.drawer__nav details[open] summary::after { transform: rotate(45deg); }
.drawer__nav details a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink-2); }
.drawer__nav details[open] { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.drawer__nav details[open] summary { border-bottom: 0; }
.drawer__foot { padding: 20px; display: grid; gap: 10px; margin-top: auto; }
.drawer__contact { color: var(--ink-2); font-size: .95rem; margin: 8px 0 0; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); transition: all .2s; }
.socials a:hover { background: var(--green); border-color: var(--green); color: var(--on-green); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: min(calc(100svh - var(--nav-h) - 40px), 760px); min-height: 560px; overflow: hidden; background: #0e150b; color: #fff; isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__img { position: absolute; inset: 0; background: #1b2616 center/cover no-repeat; transform: scale(1.08); transition: transform 7s linear; }
.slide.is-active .slide__img { transform: scale(1); }
.slide__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 14, 7, .92) 0%, rgba(9, 14, 7, .7) 42%, rgba(9, 14, 7, .15) 100%), linear-gradient(0deg, rgba(9,14,7,.7), transparent 40%); }
.slide__body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 80px; }
.slide__kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #A6E07F; margin-bottom: 18px; }
.slide__kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.slide h1, .slide h2.slide__title { font-size: clamp(2.2rem, 5.2vw, 4.3rem); max-width: 15ch; color: #fff; margin-bottom: 18px; }
.slide__text { font-size: clamp(1.02rem, 1.4vw, 1.22rem); color: rgba(255,255,255,.82); max-width: 48ch; margin-bottom: 30px; }
.slide__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.slide .btn--primary { --on-green: #fff; background: #3D8D19; }
.slide .btn--primary:hover { background: #2B6A10; }

/* caption effects, triggered when .is-active */
.fx > * { opacity: 0; }
.is-active .fx > * { animation: fadeUp .7s var(--ease) forwards; }
.is-active .fx > *:nth-child(2) { animation-delay: .15s; }
.is-active .fx > *:nth-child(3) { animation-delay: .3s; }
.is-active .fx > *:nth-child(4) { animation-delay: .45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* rise: headline words climb in one by one */
.fx--rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.fx--rise .w > span { display: inline-block; transform: translateY(105%); }
.is-active .fx--rise .w > span { animation: wordUp .8s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + .1s); }
@keyframes wordUp { to { transform: none; } }
/* type: typewriter with caret */
.fx--type .slide__title { min-height: 2.2em; }
.fx--type .caret { display: inline-block; width: .08em; height: .9em; background: #A6E07F; margin-left: .06em; vertical-align: -.08em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
/* wipe: clip reveal from the left */
.is-active .fx--wipe .slide__title { animation: wipe 1s var(--ease) forwards; }
@keyframes wipe { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
/* blur: focus pull */
.is-active .fx--blur .slide__title { animation: focus 1.1s var(--ease) forwards; }
@keyframes focus { from { opacity: 0; filter: blur(14px); letter-spacing: .02em; } to { opacity: 1; filter: none; } }

.hero__ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 28px; }
.hero__ui .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
/* Signature: barcode pagination, from the logo mark */
.barcode-nav { display: flex; align-items: flex-end; gap: 14px; }
.barcode-nav button { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 34px; padding: 0; background: none; border: 0; opacity: .5; transition: opacity .2s; }
.barcode-nav button:hover, .barcode-nav button.is-active { opacity: 1; }
.barcode-nav i { display: block; width: 3px; background: #fff; border-radius: 1px; }
.barcode-nav i:nth-child(1) { height: 60%; } .barcode-nav i:nth-child(2) { height: 100%; width: 5px; } .barcode-nav i:nth-child(3) { height: 75%; } .barcode-nav i:nth-child(4) { height: 100%; width: 2px; } .barcode-nav i:nth-child(5) { height: 45%; }
.barcode-nav button.is-active i { background: #A6E07F; }
.barcode-nav b { position: absolute; left: 0; bottom: -10px; height: 2px; width: 0; background: #A6E07F; }
.barcode-nav button.is-active b { animation: prog var(--dur, 7s) linear forwards; }
.hero.is-paused .barcode-nav button.is-active b { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }
.barcode-nav .lbl { position: absolute; bottom: 44px; left: 0; white-space: nowrap; font-size: .8rem; background: rgba(0,0,0,.6); padding: 4px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.barcode-nav button:hover .lbl { opacity: 1; }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.hero__arrows button:hover { background: rgba(255,255,255,.18); }
.hero__count { font: 500 .9rem var(--f-mono); color: rgba(255,255,255,.7); }

/* ---------- Intro / stats ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro h2 { max-width: 16ch; }
.intro__text p { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 32px; }
.stats--4 { grid-template-columns: repeat(4, 1fr); } .stats--2 { grid-template-columns: repeat(2, 1fr); } .stats--1 { grid-template-columns: 1fr; }
.stats--4 strong { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
@media (max-width: 560px) { .stats--4 { grid-template-columns: 1fr 1fr; } .stats--4 > div:nth-child(3) { padding-left: 0; border-left: 0; } .stats--4 > div:nth-child(n+3) { margin-top: 18px; border-top: 1px solid var(--line); } }
.stats > div { padding: 22px 0 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats strong { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--f-display); letter-spacing: -.03em; }
.stats span { color: var(--ink-3); font-size: .95rem; }
.values { display: grid; gap: 14px; }
.value { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.value__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.value h3 { font-size: 1.1rem; margin-bottom: 4px; }
.value p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* ---------- Doors (3 audiences) ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.door { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 26px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: #18210f; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,15,8,.1), rgba(10,15,8,.88) 70%); }
.door:hover img { transform: scale(1.05); }
.door:hover { color: #fff; }
.door__tag { align-self: flex-start; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.door h3 { margin-top: auto; font-size: 1.6rem; max-width: 14ch; }
.door p { color: rgba(255,255,255,.82); margin-bottom: 14px; }
.door .link-arrow { color: #A6E07F; }

/* ---------- Courses ---------- */
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.course { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.course:hover { border-color: var(--green); color: inherit; box-shadow: var(--shadow); transform: translateY(-2px); }
.course__img { aspect-ratio: 16/8; background: var(--surface-2) center/cover; position: relative; }
.course__img .pill { position: absolute; top: 14px; left: 14px; }
.course__body { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.course__body h3 { font-size: 1.45rem; }
.course__body p { color: var(--ink-2); }
.course__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--ink-3); }
.course__meta b { color: var(--ink); font-weight: 600; }
.programmes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.programmes > div { padding: 22px 24px; }
.programmes > div + div { border-left: 1px solid var(--line); }
.programmes h3 { font-size: 1.1rem; margin-bottom: 6px; }
.programmes p { color: var(--ink-2); margin: 0 0 10px; font-size: .97rem; }

/* ---------- Services (expanding rows) ---------- */
.svc { border-top: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .25s var(--ease); }
.svc__row h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.55rem); transition: color .2s; }
.svc__row p { margin: 0; color: var(--ink-2); }
.svc__row:hover h3 { color: var(--green); }
.svc__row:hover { padding-left: 12px; }

/* ---------- Solutions directory ---------- */
.sols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sol { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: 110px; }
.sol:target { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.sol__top { display: flex; align-items: center; justify-content: space-between; }
.sol__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); color: var(--green); }
.sol h3 { margin: 6px 0 0; font-size: 1.25rem; }
.sol p { color: var(--ink-2); margin: 0; flex: 1; }
.sol__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.sol-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 8px 16px; border-radius: 99px; font-weight: 600; font-size: .93rem; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Testimonials ---------- */
.tm { display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 84%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: thin; scroll-padding-left: 4px; }
.tm::-webkit-scrollbar { height: 6px; } .tm::-webkit-scrollbar-thumb { background: var(--line); border-radius: 9px; }
.tm__card { scroll-snap-align: start; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.tm__card blockquote { margin: 0 0 20px; font-size: 1.05rem; line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.tm__card blockquote::before { content: "“"; display: block; font: 800 3.2rem/0.6 var(--f-display); color: var(--green); margin: 10px 0 8px; }
.tm__who { display: flex; align-items: center; gap: 12px; }
.tm__av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 700; }
.tm__who strong { display: block; line-height: 1.2; }
.tm__who small { color: var(--ink-3); text-transform: capitalize; }
.tm-nav { display: flex; gap: 8px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.tm-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 10px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.tm-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--green) 45%, var(--line)); box-shadow: 0 22px 44px -26px rgba(31, 77, 12, .45); }
.tm-card__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, var(--green-soft), var(--surface-2)); }
.tm-card__photo > a { display: block; width: 100%; height: 100%; }
.tm-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s var(--ease); }
.tm-card:hover .tm-card__photo img { transform: scale(1.05); }
.tm-card__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, rgba(10, 15, 8, .55), transparent); pointer-events: none; opacity: .9; }
.tm-card__socials { position: absolute; z-index: 1; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 99px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.tm-card__socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #1F4D0C; transition: background-color .2s, color .2s; }
.tm-card__socials a:hover { background: #3D8D19; color: #fff; }
.tm-card__body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 10px 10px; }
.tm-card__body h3 { font-size: 1.12rem; line-height: 1.25; margin: 0 0 8px; letter-spacing: -.01em; }
.tm-card__body p { margin: 0; display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--green-soft); color: var(--green); font-size: .82rem; font-weight: 700; line-height: 1.3; }
.tm-card__more { margin-top: auto; padding-top: 14px; font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.tm-card__more:hover { color: var(--green); }
@media (hover: hover) and (min-width: 721px) {
  .tm-card__socials { opacity: 0; transform: translate(-50%, 8px); transition: opacity .25s, transform .3s var(--ease); }
  .tm-card:hover .tm-card__socials, .tm-card:focus-within .tm-card__socials { opacity: 1; transform: translate(-50%, 0); }
}

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post__img { aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; background: var(--surface-2); margin-bottom: 16px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__meta { display: flex; gap: 12px; font-size: .88rem; color: var(--ink-3); margin-bottom: 8px; }
.post__meta .pill { font-size: .72rem; }
.post h3 { font-size: 1.22rem; line-height: 1.25; }
.post:hover h3 { color: var(--green); }
.post p { color: var(--ink-2); font-size: .98rem; }
.post--feature { grid-column: span 2; }
.post--feature .post__img { aspect-ratio: 16/8; }
.post--feature h3 { font-size: 1.7rem; }

/* ---------- Clients marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee var(--speed, 60s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track + .marquee__track { margin-top: 18px; }
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { flex: none; display: grid; place-items: center; width: 168px; height: 92px; padding: 14px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.logo-tile img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-tile:hover img { filter: none; opacity: 1; }
[data-theme="dark"] .logo-tile { background: #F2F5EE; border-color: transparent; }

/* ---------- Gallery ---------- */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.album { text-decoration: none; }
.album__img { position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); margin-bottom: 12px; }
.album__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.album:hover .album__img img { transform: scale(1.05); }
.album__count { position: absolute; right: 12px; bottom: 12px; background: rgba(10,15,8,.7); color: #fff; padding: 5px 10px; border-radius: 99px; font-size: .85rem; font-weight: 600; }
.album h3 { font-size: 1.15rem; margin: 0; }
.album p { margin: 2px 0 0; color: var(--ink-3); font-size: .92rem; }
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; border-radius: var(--r); overflow: hidden; break-inside: avoid; background: var(--surface-2); }
.masonry img { width: 100%; transition: transform .4s var(--ease), opacity .3s; }
.masonry a:hover img { transform: scale(1.03); }
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.strip a { border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.strip a:first-child { grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.strip a:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 9, 5, .94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox iframe { width: min(1000px, 94vw); aspect-ratio: 16/9; border: 0; border-radius: 10px; background: #000; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 1.4rem; display: grid; place-items: center; }
.lightbox [data-lb-close] { top: 18px; right: 18px; }
.lightbox [data-lb-prev] { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox [data-lb-next] { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: .92rem; }

/* videos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video { text-align: left; border: 0; padding: 0; background: none; }
.video__img { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: var(--surface-2) center/cover; margin-bottom: 12px; }
.video__img img { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .2s var(--ease); }
.video__play::after { content: ""; border-left: 18px solid var(--green); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.video:hover .video__play { transform: scale(1.1); }
.video h3 { font-size: 1.08rem; margin: 0; }
.video small { color: var(--ink-3); }

/* ---------- Page hero (inner) ---------- */
.phero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); background: radial-gradient(1000px 300px at 85% 0%, var(--green-soft), transparent 70%); }
.phero h1 { max-width: 18ch; }
.phero .lede { margin-bottom: 0; }
.crumbs { display: flex; gap: 8px; font-size: .92rem; color: var(--ink-3); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a::after { content: "/"; margin-left: 8px; color: var(--line); }
.phero--img { position: relative; color: #fff; border: 0; background: #142010; isolation: isolate; overflow: hidden; }
.phero--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,14,7,.92), rgba(9,14,7,.55)); }
.phero--img h1 { color: #fff; }
.phero--img .lede, .phero--img .crumbs { color: rgba(255,255,255,.82); }
.phero--img .kicker { color: #A6E07F; }

/* ---------- Course page ---------- */
.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.course-layout article > section + section { margin-top: 52px; }
.course-layout article p { color: var(--ink-2); max-width: 68ch; }
.facts { position: sticky; top: calc(var(--nav-h) + 20px); padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.facts dl { margin: 0 0 18px; display: grid; gap: 12px; }
.facts dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts .btn + .btn { margin-top: 10px; }
.stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stack div { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.stack strong { display: block; margin-bottom: 4px; }
.stack span { color: var(--ink-2); font-size: .96rem; }
.weeks { list-style: none; margin: 0; padding: 0; counter-reset: wk; border-left: 2px solid var(--line); }
.weeks li { counter-increment: wk; position: relative; padding: 0 0 18px 26px; }
.weeks li::before { content: "Week " counter(wk); display: block; font: 600 .8rem var(--f-mono); color: var(--green); margin-bottom: 2px; }
.weeks li::after { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green); }
.reqs { display: grid; gap: 10px; }
.acc { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.acc + .acc { margin-top: 10px; }
.acc summary { padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--green); transition: transform .2s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc > div { padding: 0 20px 18px; color: var(--ink-2); }
.outcomes { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 600; font-size: .95rem; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.alert--ok { background: var(--green-soft); color: var(--green-ink); }
.alert--err { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.contact-card:hover { border-color: var(--green); color: inherit; }
.contact-card .mega__ico { width: 46px; height: 46px; }
.contact-card strong { display: block; }
.contact-card span { color: var(--ink-2); font-size: .97rem; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; }
.map iframe { width: 100%; height: 100%; border: 0; }
.panel { padding: clamp(22px, 4vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }

/* ---------- Store ---------- */
.store-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 22px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search input { padding-left: 44px; border-radius: 99px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.product:hover { border-color: var(--ink-3); box-shadow: var(--shadow); }
.product__img { position: relative; aspect-ratio: 1; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__img .ph { width: 46%; color: var(--green); opacity: .85; }
.product__img .pill { position: absolute; top: 12px; left: 12px; }
.product__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: .82rem; color: var(--ink-3); font-weight: 600; }
.product h3 { font: 600 1.05rem/1.3 var(--f-body); letter-spacing: 0; margin: 4px 0 6px; }
.product p { font-size: .9rem; color: var(--ink-2); margin: 0 0 12px; }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font: 700 1.15rem var(--f-display); }
.price s { font: 500 .85rem var(--f-body); color: var(--ink-3); margin-left: 6px; }
.add-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 1.4rem; line-height: 1; transition: background-color .2s, transform .15s; }
.add-btn:hover { background: var(--green); color: var(--on-green); }
.add-btn:active { transform: scale(.92); }
.add-btn.is-added { background: var(--green); color: var(--on-green); }
.empty { padding: 48px 20px; text-align: center; color: var(--ink-3); border: 1.5px dashed var(--line); border-radius: var(--r-lg); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); margin-top: 32px; }
.perks > div { padding: 20px 22px; }
.perks > div + div { border-left: 1px solid var(--line); }
.perks strong { display: block; }
.perks span { color: var(--ink-2); font-size: .95rem; }

.cart__body { padding: 8px 20px; flex: 1; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 56px; height: 56px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; color: var(--green); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item strong { display: block; font-size: .96rem; line-height: 1.3; }
.cart-item small { color: var(--ink-3); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; margin-top: 6px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; font-size: 1.05rem; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .92rem; }
.cart-item__rm { border: 0; background: none; color: var(--ink-3); font-size: .85rem; text-decoration: underline; }
.cart__foot, .cart__checkout { padding: 18px 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--paper); position: sticky; bottom: 0; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 6px; }
.cart__total strong { font: 700 1.4rem var(--f-display); }
.cart__checkout h3 { margin: 0; font-size: 1.1rem; }
.cart__checkout label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.cart__checkout input, .cart__checkout textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); }
.cart__checkout input:focus, .cart__checkout textarea:focus { outline: none; border-color: var(--green); }
.cart__note { font-size: .85rem; color: var(--ink-3); margin: 0; }
.cart-empty { text-align: center; padding: 48px 10px; color: var(--ink-3); }

/* ---------- Post (single) ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article__cover { border-radius: var(--r-lg); overflow: hidden; margin: 0 0 32px; background: var(--surface-2); }
.article__cover img { width: 100%; }
.prose { font-size: 1.1rem; line-height: 1.75; color: var(--ink-2); }
.prose * { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; background: transparent !important; }
.prose h2, .prose h3, .prose h4 { color: var(--ink) !important; font-family: var(--f-display) !important; margin-top: 1.6em; }
.prose img { border-radius: var(--r); margin: 1.2em 0; }
.prose a { color: var(--green) !important; }
.prose p { text-align: left !important; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- CTA band + footer ---------- */
.cta-band { background: #1F4D0C; color: #fff; padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 360px; opacity: .14; background: repeating-linear-gradient(90deg, #fff 0 4px, transparent 4px 9px, #fff 9px 11px, transparent 11px 20px, #fff 20px 26px, transparent 26px 31px); pointer-events: none; }
.cta-band__in { position: relative; z-index: 1; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; max-width: 20ch; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); max-width: 52ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer { padding: 64px 0 28px; background: var(--surface); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__brand img { height: 32px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--ink-2); max-width: 38ch; font-size: .97rem; }
.footer h3 { font: 600 1rem var(--f-body); letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { text-decoration: none; color: var(--ink-2); font-size: .97rem; }
.footer ul a:hover { color: var(--green); }
.barcode { height: 34px; margin: 44px 0 20px; opacity: .9; background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 7px, var(--ink) 7px 8px, transparent 8px 13px, var(--ink) 13px 18px, transparent 18px 21px, var(--green) 21px 23px, transparent 23px 29px); mask-image: linear-gradient(90deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: .9rem; }
.footer__base p { margin: 0; }
.footer__base a { margin-left: 16px; }

/* ---------- Mobile tab bar ---------- */
.tabbar { display: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 120; background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 99px; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); max-width: 90vw; text-align: center; }
.toast { visibility: hidden; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Reveal (one subtle entrance, only for elements marked) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .nav__link { padding: 10px 10px; }
  .hide-md { display: none; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --nav-h: 64px; }
  .nav__menu { display: none; }
  .burger { display: inline-grid; }
  .nav__actions { margin-left: auto; }
  .intro, .contact-grid, .course-layout { grid-template-columns: 1fr; }
  .facts { position: static; }
  .doors { grid-template-columns: 1fr 1fr; }
  .doors .door:last-child { grid-column: span 2; min-height: 300px; }
  .sols, .albums, .videos, .posts { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .programmes, .perks { grid-template-columns: 1fr; }
  .programmes > div + div, .perks > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .svc__row { grid-template-columns: 1fr; gap: 6px; }
  .post--feature { grid-column: span 2; }
  .hero { height: auto; min-height: 640px; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .hide-sm { display: none; }
  .topbar__in { justify-content: space-between; text-align: left; font-size: .84rem; padding: 6px 0; }
  .nav__logo img { height: 26px; }
  .nav__actions { gap: 6px; }
  .icon-btn { width: 40px; height: 40px; }
  .hero { min-height: calc(100svh - var(--nav-h) - 110px); }
  .slide__img::after { background: linear-gradient(0deg, rgba(9,14,7,.95) 10%, rgba(9,14,7,.55) 60%, rgba(9,14,7,.35)); }
  .slide__body { justify-content: flex-end; padding-bottom: 110px; }
  .slide h1, .slide h2.slide__title { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .slide__ctas .btn { flex: 1 1 auto; }
  .hero__ui { bottom: 22px; }
  .hero__arrows, .hero__count { display: none; }
  .doors, .courses, .sols, .albums, .videos, .posts, .team { grid-template-columns: 1fr; }
  .doors .door:last-child { grid-column: auto; }
  .door { min-height: 300px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tm-card { padding: 7px; border-radius: 18px; }
  .tm-card__photo { border-radius: 13px; }
  .tm-card__body { padding: 12px 4px 6px; }
  .tm-card__body h3 { font-size: .98rem; }
  .tm-card__body p { font-size: .74rem; padding: 4px 9px; }
  .tm-card__socials a { width: 30px; height: 30px; }
  .post--feature { grid-column: auto; }
  .post--feature h3 { font-size: 1.35rem; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product__body { padding: 12px; }
  .product p { display: none; }
  .stats > div + div { padding-left: 12px; }
  .stack, .grid-2 { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 120px 120px; }
  .strip a:first-child { grid-column: span 2; grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__base a { margin: 0 16px 0 0; }
  .cta-band::after { width: 160px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry a { margin-bottom: 10px; }
  .lightbox [data-lb-prev], .lightbox [data-lb-next] { top: auto; bottom: 18px; transform: none; }
  .toast { bottom: auto; top: calc(12px + env(safe-area-inset-top)); transform: translate(-50%, -160%); }
  .toast.is-on { transform: translate(-50%, 0); }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; font-size: .72rem; font-weight: 600; text-decoration: none; color: var(--ink-3); }
  .tabbar a.is-active { color: var(--green); }
  .tabbar__apply { color: var(--ink) !important; }
  .tabbar__plus { display: grid; place-items: center; width: 40px; height: 30px; border-radius: 10px; background: var(--green); color: var(--on-green); font-size: 1.4rem; line-height: 1; }
}
@media (max-width: 380px) {
  .products { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

/* ---------- Additions ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.clients-grid .logo-tile { width: auto; }
@media (max-width: 720px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; }
.steps li { counter-increment: st; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--on-green); font: 700 1rem var(--f-display); margin-bottom: 16px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Apply (registration)
   ========================================================================== */
.apply-page { background: var(--paper); }
.apply-top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.apply-top__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.apply-top img { height: 30px; width: auto; }
.apply { padding: clamp(24px, 5vw, 56px) 0 64px; }
.apply__grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.apply__side { position: sticky; top: 88px; }
.apply__logo { width: 150px; height: auto; margin-bottom: 18px; }
.apply__side h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.apply__progress { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 4px; counter-reset: ap; }
.apply__progress li { counter-increment: ap; display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--ink-3); font-weight: 600; }
.apply__progress li::before { content: counter(ap); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); font: 700 .9rem var(--f-display); transition: all .25s; }
.apply__progress li.is-current { color: var(--ink); }
.apply__progress li.is-current::before { border-color: var(--green); color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.apply__progress li.is-done { color: var(--ink-2); cursor: pointer; }
.apply__progress li.is-done::before { content: "✓"; background: var(--green); border-color: var(--green); color: var(--on-green); }
.apply__note { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; }
.apply__note p { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; }
.apply__card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 80px; min-height: 520px; }
.apply__bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--surface-2); }
.apply__bar span { display: block; height: 100%; background: var(--green); transition: width .4s var(--ease); }
.step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-active { display: block; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.step legend { font: 700 clamp(1.4rem, 2.6vw, 1.9rem)/1.15 var(--f-display); letter-spacing: -.02em; margin-bottom: 22px; padding: 0; }
.step__n { display: block; font: 600 .88rem var(--f-body); color: var(--green); letter-spacing: 0; margin-bottom: 8px; }
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { display: block; padding: 16px 18px 16px 52px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .2s, background-color .2s, box-shadow .2s; position: relative; }
.choice__box::before { content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); transition: all .2s; }
.choice__box strong { display: block; font-size: 1.05rem; }
.choice__box small { display: block; color: var(--ink-3); font-size: .93rem; margin-top: 2px; }
.choice__more { font-size: .85rem; font-weight: 600; color: var(--green); }
.choice:hover .choice__box { border-color: var(--ink-3); }
.choice input:checked + .choice__box { border-color: var(--green); background: var(--green-soft); }
.choice input:checked + .choice__box::before { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 4px var(--surface); }
.choice input:focus-visible + .choice__box, .seg input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg--2 { grid-template-columns: 1fr 1fr; max-width: 420px; }
.seg label { cursor: pointer; }
.seg span { display: grid; gap: 2px; place-content: center; text-align: center; min-height: 64px; padding: 10px 8px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); transition: all .2s; height: 100%; }
.seg small { color: var(--ink-3); font-size: .8rem; line-height: 1.25; }
.seg label:hover span { border-color: var(--ink-3); }
.seg input:checked + span { border-color: var(--green); background: var(--green); color: var(--on-green); }
.seg input:checked + span small { color: inherit; opacity: .85; }
.phone { display: flex; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.phone:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.phone span { display: grid; place-items: center; padding: 0 14px; background: var(--surface-2); color: var(--ink-2); font-weight: 600; border-right: 1px solid var(--line); }
.field .phone input { border: 0; box-shadow: none !important; border-radius: 0; }
.hint { color: var(--ink-3); font-size: .88rem; }
.linkish { border: 0; background: none; padding: 0; color: var(--green); font-weight: 600; text-decoration: underline; cursor: pointer; }
.err { min-height: 1.4em; margin: 14px 0 0; color: var(--danger); font-weight: 600; }
.is-invalid input, .is-invalid select, input.is-invalid, select.is-invalid, .is-invalid .choice__box, .is-invalid span, .agree.is-invalid { border-color: var(--danger) !important; }
.review { margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.review div { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; }
.review div + div { border-top: 1px solid var(--line); }
.review dt { color: var(--ink-3); font-size: .92rem; }
.review dd { margin: 0; font-weight: 600; word-break: break-word; }
.agree { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.apply__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.apply__nav [data-next], .apply__nav [data-submit] { margin-left: auto; }
.apply-foot { padding: 24px 0 40px; color: var(--ink-3); font-size: .9rem; text-align: center; }
.done { text-align: center; padding: 10px 0; }
.done__mark { color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.done__mark svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.done .lede { margin-inline: auto; }
.uin { display: grid; justify-items: center; gap: 8px; margin: 24px auto; padding: 22px; max-width: 420px; border: 2px dashed var(--green); border-radius: var(--r-lg); background: var(--green-soft); }
.uin span { color: var(--ink-2); font-size: .92rem; }
.uin strong { font: 600 clamp(1.5rem, 4vw, 2rem) var(--f-mono); letter-spacing: .06em; color: var(--green-ink); }
[data-theme="light"] .uin strong { color: #1F4D0C; }
.done__next { text-align: left; max-width: 440px; margin: 20px auto; padding-left: 20px; color: var(--ink-2); }
.done__next li { margin-bottom: 6px; }
.done__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall 2.2s cubic-bezier(.3,.6,.4,1) forwards; }
@keyframes fall { to { transform: translate(var(--x), 620px) rotate(var(--r)); opacity: 0; } }
@media (max-width: 900px) {
  .apply__grid { grid-template-columns: 1fr; }
  .apply__side { position: static; }
  .apply__side .apply__logo { display: none !important; }
  .apply__side .apply__note, .apply__side > p.muted:last-child { display: none; }
  .apply__side h1 { font-size: 1.6rem; margin-bottom: 4px; }
  .apply__progress { grid-template-columns: repeat(4, 1fr); margin: 16px 0 0; }
  .apply__progress li { flex-direction: column; gap: 4px; font-size: .78rem; text-align: center; }
}
@media (max-width: 720px) {
  .apply-page { padding-bottom: 0; }
  .seg { grid-template-columns: 1fr 1fr; }
  .review div { grid-template-columns: 1fr auto; }
  .review dt { grid-column: 1 / -1; margin-bottom: -8px; }
  .apply__nav { position: sticky; bottom: 0; background: var(--surface); margin: 24px -22px -22px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); }
  .apply__nav .btn--lg { min-height: 52px; flex: 1; }
  .apply__card { min-height: 0; border-radius: var(--r); }
}

/* ---------- Promotions (flyers & videos) ---------- */
.promo-band { background: linear-gradient(180deg, var(--green-soft), transparent 85%); }
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: start; }
.promos--page { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.promo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.promo__media { background: var(--surface-2); }
.promo__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.promo__media a:hover img { transform: scale(1.02); }
.promo__media video { width: 100%; aspect-ratio: 16/9; background: #000; display: block; }
.promo__media .video { display: block; }
.promo__media .video__img { margin: 0; border-radius: 0; }
.promo--video { grid-column: span 2; }
.promo__body { padding: 18px 20px 20px; }
.promo__body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.promo__body p { color: var(--ink-2); font-size: .97rem; margin-bottom: 10px; }
@media (max-width: 720px) { .promo--video { grid-column: auto; } }

.promo-pop { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; }
.promo-pop[hidden] { display: none !important; }
.promo-pop__scrim { position: absolute; inset: 0; background: rgba(6, 9, 5, .72); animation: fadeIn .25s ease; }
.promo-pop__box { position: relative; width: min(520px, 100%); max-height: 92svh; overflow: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); animation: popIn .35s var(--ease); }
.promo-pop__box img { width: 100%; display: block; }
.promo-pop__box video, .promo-pop__video iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; background: #000; }
.promo-pop__x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 1.5rem; line-height: 1; }
.promo-pop__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.promo-pop__foot strong { font-size: .98rem; flex: 1 1 200px; }
.promo-pop__foot div { display: flex; gap: 8px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* ---------- Verify / certificate / legal ---------- */
.verify-row { display: flex; gap: 10px; margin-top: 8px; }
.verify-row .input { flex: 1; font: 600 1.05rem var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.verify-result { margin-top: 22px; padding: 24px; border-radius: var(--r-lg); border: 1.5px solid var(--line); background: var(--surface); }
.verify-result--ok { border-color: var(--green); }
.verify-result--no { border-color: var(--danger); }
.verify-result--no p { margin: 6px 0 0; color: var(--ink-2); }
.verify-result__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.verify-result__head p { margin: 4px 0 0; color: var(--ink-2); }
.verify-badge { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: var(--on-green); }
.verify-img, .cert__img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cert__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.legal h2 { font-size: 1.3rem !important; margin: 1.8em 0 .5em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
@media (max-width: 560px) { .verify-row { flex-direction: column; } }

/* ---------- Apply: selfie, T-shirt ---------- */
.selfie { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.selfie__frame { position: relative; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; background: var(--surface-2); border: 3px solid var(--line); flex: none; display: grid; place-items: center; }
.selfie.is-invalid .selfie__frame { border-color: var(--danger); }
.selfie__frame video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.selfie__frame img { width: 100%; height: 100%; object-fit: cover; }
.selfie__empty { display: grid; justify-items: center; gap: 4px; color: var(--ink-3); font-size: .85rem; }
.selfie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.seg--sizes { grid-template-columns: repeat(7, 1fr); }
.seg--sizes span { min-height: 52px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.swatch { cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: grid; justify-items: center; gap: 8px; padding: 14px 8px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); transition: all .2s; }
.swatch i { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 -6px 12px rgba(0,0,0,.12); }
.swatch input:checked + span { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.swatch input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.swatches.is-invalid .swatch span { border-color: var(--danger); }
.fee-note { margin-top: 24px; padding: 16px 18px; border-radius: var(--r); background: color-mix(in srgb, var(--amber) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); }
.fee-note p { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; }
.review__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
@media (max-width: 560px) { .seg--sizes { grid-template-columns: repeat(4, 1fr); } .swatches { grid-template-columns: repeat(2, 1fr); } .selfie__frame { width: 120px; height: 120px; } }
.product__img > a { display: block; width: 100%; height: 100%; }
.product__more { position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(10,15,8,.72); color: #fff; font-size: .78rem; font-weight: 600; pointer-events: none; }

/* ---------- Online payment ---------- */
.pay-done { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; background: rgba(6,9,5,.6); padding: 16px; }
.pay-done > div { max-width: 420px; width: 100%; background: #fff; color: #141A10; border-radius: 18px; padding: 26px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.4); font-family: Figtree, system-ui, sans-serif; }
.pay-done strong { display: block; font-size: 1.3rem; color: #2B6A10; margin-bottom: 6px; }
.pay-done button { margin-top: 10px; padding: 11px 26px; border: 0; border-radius: 99px; background: #3D8D19; color: #fff; font: 600 1rem Figtree, sans-serif; cursor: pointer; }
.paybox-online { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.paybox-online input { width: 160px; min-height: 42px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.paystack-note { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-3); margin: 10px 0 0; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.pw-wrap { position: relative; display: block; }
.pw-wrap > input { width: 100%; padding-right: 52px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); cursor: pointer; z-index: 2; }
.pw-eye:hover { color: var(--ink); background: var(--surface-2); }
.pw-eye[aria-pressed="true"] { color: var(--green); }
.inline-form .pw-wrap { flex: 1 1 180px; }

/* ==========================================================================
   November 2026 additions
   ========================================================================== */
.pill--gold { background: linear-gradient(135deg, #F2A900, #FFD45C); color: #2a1c00; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 720px) { .grid-3 { grid-template-columns: 1fr; } }
.btn--danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn--danger:hover { background: color-mix(in srgb, var(--danger) 85%, #000); color: #fff; }
.filechip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filechip:hover { border-color: var(--green); color: var(--green); }
.checkline { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: .92rem; margin-top: 8px; }

/* Drag & drop file box */
.dropfile { position: relative; display: block; border: 2px dashed var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .2s, background-color .2s; cursor: pointer; }
.dropfile input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropfile__in { display: grid; justify-items: center; gap: 4px; padding: 24px 16px; text-align: center; color: var(--ink-2); pointer-events: none; }
.dropfile__in svg { color: var(--green); margin-bottom: 4px; }
.dropfile__in strong { color: var(--ink); font-size: .98rem; word-break: break-word; }
.dropfile__in small { color: var(--ink-3); font-size: .85rem; }
.dropfile:hover, .dropfile.is-over { border-color: var(--green); background: var(--green-soft); }
.dropfile.has-file { border-style: solid; border-color: var(--green); background: var(--green-soft); }
.dropfile--sm .dropfile__in { padding: 14px 12px; grid-auto-flow: row; }

/* Application: programme & course pickers */
.choice--feature .choice__box { border-color: color-mix(in srgb, var(--amber) 60%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, var(--amber) 9%, var(--paper)), var(--paper)); }
.choice__box strong .pill { margin-left: 6px; }
.courses-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cpick { position: relative; cursor: pointer; display: block; }
.cpick input { position: absolute; opacity: 0; pointer-events: none; }
.cpick__box { display: grid; gap: 4px; height: 100%; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .2s, background-color .2s, transform .2s; }
.cpick__box strong { font-size: 1.02rem; line-height: 1.3; }
.cpick__box small { color: var(--ink-3); font-size: .86rem; line-height: 1.35; }
.cpick__fee { font-size: .95rem; color: var(--ink-2); }
.cpick__fee b { color: var(--green-ink); font-size: 1.05rem; }
.cpick__fee s { color: var(--ink-3); margin-right: 4px; }
.cpick:hover .cpick__box { border-color: var(--ink-3); }
.cpick input:checked + .cpick__box { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.cpick input:focus-visible + .cpick__box { outline: 3px solid var(--green); outline-offset: 2px; }
.cpick.is-off { cursor: not-allowed; opacity: .45; }
.siwes { margin-top: 22px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2); }
.siwes__h { font-size: 1.1rem; margin: 0 0 12px; }
.perk { display: grid; gap: 2px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border-left: 4px solid var(--amber); }
.perk span { color: var(--ink-2); font-size: .93rem; }
.fee-sum { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.fee-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.fee-sum > div span { color: var(--ink-2); }
.fee-sum s { color: var(--ink-3); font-weight: 400; margin-right: 6px; }
.fee-sum__total { background: var(--green-soft); font-size: 1.05rem !important; }
.fee-sum__total b { color: var(--green-ink); }
.fee-sum p { margin: 0; padding: 12px 16px; font-size: .9rem; color: var(--ink-2); }
.test-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; max-width: 560px; margin: 18px auto; padding: 18px 20px; border-radius: var(--r); background: var(--ink); color: #fff; }
.test-cta p { margin: 4px 0 0; color: #C9D6BE; font-size: .93rem; }
[data-theme="dark"] .test-cta { background: var(--surface-2); color: var(--ink); }
@media (max-width: 640px) { .courses-pick { grid-template-columns: 1fr; } .test-cta { flex-direction: column; align-items: stretch; } }

/* Aptitude test (exam mode) */
.exam-page { background: var(--paper); }
.exam-top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.exam-top__in { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.exam-top img { height: 28px; width: auto; }
.exam-timer { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--line); font: 700 1.1rem var(--f-mono); }
.exam-timer.is-low { border-color: var(--danger); color: var(--danger); animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--danger) 18%, transparent); } }
.exam-bar { height: 4px; background: var(--surface-2); }
.exam-bar span { display: block; height: 100%; width: 100%; background: var(--green); transition: width .25s linear; }
.exam { padding: clamp(20px, 4vw, 48px) 0 64px; }
.exam__wrap { max-width: 820px; }
.exam-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.exam-intro h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 4px 0 6px; }
.exam-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.exam-facts div { display: grid; padding: 16px; border-radius: var(--r); background: var(--surface-2); text-align: center; }
.exam-facts b { font: 700 1.8rem var(--f-display); color: var(--green-ink); }
.exam-facts span { color: var(--ink-3); font-size: .9rem; }
.exam-instr { padding: 14px 16px; border-radius: 12px; border-left: 4px solid var(--green); background: var(--green-soft); margin-bottom: 14px; }
.exam-rules { margin: 0 0 22px; padding-left: 20px; color: var(--ink-2); }
.exam-rules li { margin: 6px 0; }
.exam-run { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3.5vw, 36px); box-shadow: var(--shadow); scroll-margin-top: 80px; }
.exam-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.exam-nav button { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-2); font: 600 .9rem var(--f-body); cursor: pointer; }
.exam-nav button.is-done { background: var(--green-soft); border-color: color-mix(in srgb, var(--green) 50%, var(--line)); color: var(--green-ink); }
.exam-nav button.is-current { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); color: var(--ink); }
.exam-q { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.exam-q.is-active { display: block; animation: fadeUp .35s var(--ease); }
.exam-q legend { font: 600 1.25rem/1.45 var(--f-body); padding: 0; margin-bottom: 18px; }
.exam-q__n { display: block; font: 600 .82rem var(--f-body); color: var(--green); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.exam-opts { display: grid; gap: 10px; }
.exam-opt { position: relative; cursor: pointer; }
.exam-opt input { position: absolute; opacity: 0; }
.exam-opt span { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); transition: all .15s; }
.exam-opt i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); font: 700 .9rem var(--f-body); font-style: normal; color: var(--ink-2); }
.exam-opt:hover span { border-color: var(--ink-3); }
.exam-opt input:checked + span { border-color: var(--green); background: var(--green-soft); }
.exam-opt input:checked + span i { background: var(--green); border-color: var(--green); color: var(--on-green); }
.exam-opt input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.exam-actions { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.exam-actions [data-saved] { flex: 1; text-align: center; font-size: .88rem; }
.exam-result { text-align: center; }
.exam-result h1 { margin: 18px 0 6px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.result-ring { --c: var(--green); width: 168px; height: 168px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--surface-2) 0); }
.result-ring.is-fail { --c: var(--amber); }
.result-ring span { display: grid; place-items: center; align-content: center; gap: 2px; width: 136px; height: 136px; border-radius: 50%; background: var(--surface); }
.result-ring b { font: 700 2.2rem/1 var(--f-display); }
.result-ring small { color: var(--ink-3); }
.exam-review { text-align: left; padding-left: 20px; }
.exam-review li { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.exam-review li.ok { border-left: 4px solid var(--green); } .exam-review li.no { border-left: 4px solid var(--danger); }
.test-list { list-style: none; margin: 0; padding: 0; }
.test-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.test-list li:last-child { border-bottom: 0; }
.test-list strong { display: block; } .test-list small { color: var(--ink-3); }
.score-chip { display: inline-grid; justify-items: center; padding: 6px 14px; border-radius: 12px; text-decoration: none; line-height: 1.15; }
.score-chip b { font-size: 1.1rem; } .score-chip span { font-size: .78rem; opacity: .8; }
.score-chip.is-pass { background: var(--green-soft); color: var(--green-ink); }
.score-chip.is-fail { background: color-mix(in srgb, var(--amber) 22%, transparent); color: #7a5200; }
@media (max-width: 560px) { .exam-facts b { font-size: 1.4rem; } .exam-actions .btn { flex: 1; } .exam-actions [data-saved] { order: 3; flex-basis: 100%; } }

/* Students wall on the website */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.wall__item { text-align: center; }
.wall__av { position: relative; width: 112px; height: 112px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font: 700 1.9rem var(--f-display); color: #fff; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line); }
.wall__av img { width: 100%; height: 100%; object-fit: cover; }
.wall__item strong { display: block; font-size: .98rem; line-height: 1.3; }
.wall__item small { display: block; color: var(--ink-3); font-size: .84rem; }
.wall__grad { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); font: 700 .62rem var(--f-body); letter-spacing: .05em; text-transform: uppercase; background: var(--amber); color: #2a1c00; padding: 3px 7px; border-radius: 99px; }
.wall-strip { display: flex; gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wall-strip__track { display: flex; gap: 22px; animation: marquee 60s linear infinite; }
.wall-strip:hover .wall-strip__track { animation-play-state: paused; }
.wall-strip .wall__item { flex: none; width: 128px; }
.wall-strip .wall__av { width: 92px; height: 92px; font-size: 1.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wall-strip__track { animation: none; flex-wrap: wrap; } }
.wall-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.wall-filter a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.wall-filter a.is-on { background: var(--green); border-color: var(--green); color: var(--on-green); }

/* WhatsApp live chat button */
.wachat { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; justify-items: end; gap: 12px; }
.wachat__btn { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px; border: 0; border-radius: 99px; background: #25D366; color: #fff; font: 700 1rem var(--f-body); cursor: pointer; box-shadow: 0 10px 28px rgba(37, 211, 102, .38); transition: transform .2s, box-shadow .2s; }
.wachat__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 211, 102, .45); }
.wachat__btn .ico { flex: none; }
.wachat:not(.is-open) .wachat__btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: waPulse 2.6s infinite; pointer-events: none; }
.wachat__btn { position: relative; }
@keyframes waPulse { 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.wachat__card { width: min(340px, calc(100vw - 32px)); border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: fadeUp .25s var(--ease); }
.wachat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075E54; color: #fff; }
.wachat__head img { border-radius: 50%; background: #fff; }
.wachat__head small { display: flex; align-items: center; gap: 6px; color: #d7f5e5; font-size: .78rem; line-height: 1.3; }
.wachat__dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; flex: none; }
.wachat__x { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.3rem; cursor: pointer; }
.wachat__body { padding: 18px 16px; background: #ECE5DD; }
[data-theme="dark"] .wachat__body { background: #0b141a; }
.wachat__bubble { margin: 0; max-width: 92%; padding: 10px 12px; border-radius: 0 12px 12px 12px; background: #fff; color: #111; font-size: .93rem; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
[data-theme="dark"] .wachat__bubble { background: #202c33; color: #e9edef; }
.wachat__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.wachat__form input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; }
.wachat__form button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #25D366; color: #fff; cursor: pointer; display: grid; place-items: center; }
@media (max-width: 900px) {
  .wachat { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; }
  .wachat__btn { width: 56px; padding: 0; justify-content: center; }
  .wachat__btn span { display: none; }
}
@media print { .wachat { display: none; } }

/* Idle sign-out countdown */
.idle { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(10, 14, 8, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.idle[hidden] { display: none; }
.idle__box { width: min(420px, 100%); padding: 30px 26px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: center; animation: fadeUp .25s var(--ease); }
.idle__box h2 { margin: 14px 0 6px; font-size: 1.5rem; }
.idle__box p { margin: 0 0 20px; color: var(--ink-2); }
.idle__ring { position: relative; width: 108px; height: 108px; margin: 0 auto; }
.idle__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.idle__ring circle { fill: none; stroke-width: 9; stroke: var(--surface-2); }
.idle__ring circle + circle { stroke: var(--amber); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.idle__ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 2rem var(--f-display); }
.idle__acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Our students page */
.sw-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--green) 22%, transparent), transparent 60%), radial-gradient(60% 90% at 0% 100%, color-mix(in srgb, var(--amber) 14%, transparent), transparent 60%), var(--paper); border-bottom: 1px solid var(--line); }
.sw-hero__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sw-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 8px 0 10px; letter-spacing: -.035em; }
.sw-hero .lede { max-width: 52ch; margin: 0; }
.sw-stats { display: flex; gap: 10px; margin: 0; }
.sw-stats div { min-width: 110px; padding: 14px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sw-stats dt { color: var(--ink-3); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sw-stats dd { margin: 2px 0 0; font: 700 2rem/1.1 var(--f-display); color: var(--green-ink); }
.sw-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sw-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: all .2s; }
.sw-pills a span { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: var(--surface-2); font-size: .78rem; text-align: center; color: var(--ink-3); }
.sw-pills a:hover { border-color: var(--green); color: var(--ink); }
.sw-pills a.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sw-pills a.is-on span { background: rgba(255,255,255,.18); color: inherit; }
.sw-search { position: relative; display: flex; align-items: center; flex: 0 1 280px; }
.sw-search .ico { position: absolute; left: 14px; color: var(--ink-3); pointer-events: none; }
.sw-search input { width: 100%; padding: 11px 16px 11px 42px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.sw-search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.sw-card { position: relative; overflow: hidden; padding: 0 18px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; transition-delay: var(--d, 0ms); }
.sw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.sw-card__band { height: 74px; margin: 0 -18px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); position: relative; }
.sw-card__band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.25) 0 2px, transparent 3px) 0 0/22px 22px; opacity: .5; }
.sw-card__av { position: relative; width: 104px; height: 104px; margin: -52px auto 12px; border-radius: 50%; overflow: hidden; border: 5px solid var(--surface); background: var(--c); box-shadow: 0 8px 20px rgba(0,0,0,.15); display: grid; place-items: center; }
.sw-card__av img { width: 100%; height: 100%; object-fit: cover; }
.sw-card__av span { color: #fff; font: 700 2rem var(--f-display); letter-spacing: -.02em; }
.sw-card h2 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 6px; letter-spacing: -.01em; }
.sw-card__course { display: inline-block; margin: 0 0 6px; padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--c) 12%, transparent); color: color-mix(in srgb, var(--c) 70%, var(--ink)); font-size: .8rem; font-weight: 600; }
[data-theme="dark"] .sw-card__course { color: color-mix(in srgb, var(--c) 45%, #fff); }
.sw-card__year { margin: 0; color: var(--ink-3); font-size: .82rem; }
.sw-card__grad { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 99px; background: #FFD45C; color: #2a1c00; font-size: .72rem; font-weight: 700; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 40px 0 8px; flex-wrap: wrap; }
.pager a { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; color: var(--ink-2); }
.pager a:hover { border-color: var(--green); color: var(--ink); }
.pager a.is-on { background: var(--green); border-color: var(--green); color: var(--on-green); }
.pager__gap { color: var(--ink-3); padding: 0 4px; }
.pager__info { text-align: center; color: var(--ink-3); font-size: .88rem; margin: 0; }
@media (max-width: 640px) { .sw-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .sw-card { padding: 0 10px 16px; } .sw-card__av { width: 84px; height: 84px; margin-top: -42px; } .sw-card__band { height: 60px; margin: 0 -10px; } .sw-stats { width: 100%; } .sw-stats div { flex: 1; min-width: 0; padding: 12px; } .sw-search { flex-basis: 100%; } }
.lo__ico { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }

/* ---------- Reviews (update 3) ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { fill: var(--line); }
.stars svg.on { fill: var(--amber); }
.tm__card > .stars { margin: 4px 0 14px; }
.tm__card > .stars + blockquote::before { display: none; }
.rv-inline { margin: 10px 0 0; color: var(--ink-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tm-nav { align-items: center; flex-wrap: wrap; }
.rv-score { display: grid; justify-items: start; gap: 4px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 260px; }
.rv-score > strong { font: 800 3rem/1 var(--f-display); letter-spacing: -.03em; }
.rv-score > small { color: var(--ink-3); }
.rv-bars { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; width: 100%; }
.rv-bars li { display: grid; grid-template-columns: 30px 1fr 28px; gap: 8px; align-items: center; font-size: .85rem; color: var(--ink-3); }
.rv-bars i { height: 7px; border-radius: 9px; background: var(--surface-2); overflow: hidden; }
.rv-bars b { display: block; height: 100%; background: var(--amber); border-radius: 9px; }
.rv-bars em { font-style: normal; text-align: right; }
.rv-grid { columns: 3 300px; column-gap: 16px; }
.rv-card { break-inside: avoid; margin: 0 0 16px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.rv-card blockquote { margin: 0; line-height: 1.65; overflow-wrap: anywhere; }
.rv-write { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.rv-write h2 { margin: 6px 0 10px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D8D19' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.rv-rate { border: 0; padding: 0; margin: 0 0 14px; }
.rv-rate legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.rv-rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rv-rate__stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv-rate__stars label { cursor: pointer; padding: 2px; border-radius: 8px; line-height: 0; }
.rv-rate__stars svg { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; transition: fill .15s, transform .15s; }
.rv-rate__stars label:hover svg, .rv-rate__stars label:hover ~ label svg, .rv-rate__stars input:checked ~ label svg { fill: var(--amber); stroke: var(--amber); }
.rv-rate__stars label:hover svg { transform: scale(1.12); }
.rv-rate__stars input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
.rv-rate__txt { display: block; color: var(--ink-3); margin-top: 2px; }
.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-pick label { position: relative; cursor: pointer; }
.chips-pick input { position: absolute; opacity: 0; pointer-events: none; }
.chips-pick span { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: .92rem; font-weight: 500; transition: all .15s; }
.chips-pick input:checked + span { background: var(--green); border-color: var(--green); color: var(--on-green); }
.chips-pick input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.rv-thanks { text-align: center; padding: 24px 8px; }
.rv-thanks > span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin-bottom: 8px; }
.rv-thanks h3 { margin: 6px 0; font-size: 1.6rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 860px) { .rv-write { grid-template-columns: 1fr; } }

/* ---------- Careers (update 3) ---------- */
.sub-tag { display: inline-block; padding: 4px 10px; border-radius: 99px; font-weight: 700; font-size: .78rem; }
.sub-tag--ok { background: var(--green-soft); color: var(--green-ink); }
.sub-tag--due { background: color-mix(in srgb, var(--amber) 22%, transparent); color: #7a5200; }
[data-theme="dark"] .sub-tag--due { color: var(--amber); }
.sub-tag--exp, .sub-tag--off { background: var(--surface-2); color: var(--ink-3); }
.job-logo { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; overflow: hidden; color: #fff; font-weight: 800; font-size: .95rem; background: var(--green); }
.job-logo img { width: 100%; height: 100%; object-fit: cover; }
.job-logo--lg { width: 84px; height: 84px; border-radius: 22px; font-size: 1.5rem; box-shadow: var(--shadow); border: 3px solid var(--surface); }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.job-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.job-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--green) 45%, var(--line)); box-shadow: 0 22px 44px -26px rgba(31, 77, 12, .45); }
.job-card--hot { border-color: color-mix(in srgb, var(--amber) 55%, var(--line)); }
.job-card__top { display: flex; align-items: center; gap: 12px; }
.job-card__top > div { flex: 1; min-width: 0; }
.job-card__co { display: block; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-card__top small { color: var(--ink-3); font-size: .82rem; }
.job-card__hot { padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--amber) 22%, transparent); color: #7a5200; font-weight: 700; font-size: .75rem; }
[data-theme="dark"] .job-card__hot { color: var(--amber); }
.job-card h3 { margin: 0; font-size: 1.22rem; line-height: 1.25; letter-spacing: -.01em; }
.job-card__sum { margin: 0; color: var(--ink-2); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.job-tags li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; background: var(--surface-2); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.job-tags__pay { background: var(--green-soft) !important; color: var(--green-ink) !important; }
.job-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-size: .85rem; }
.job-card__foot .muted { display: inline-flex; align-items: center; gap: 4px; }
.job-card__go { margin-left: auto; font-weight: 700; color: var(--green-ink); }
.job-filter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; padding: 10px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 16px; }
.job-filter__q { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-3); }
.job-filter__q input { border: 0; background: transparent; padding: 12px 0; flex: 1; min-width: 0; font: inherit; color: var(--ink); outline: 0; }
.job-filter select { margin: 0; }
.job-pills { margin-bottom: 24px; }
.job-empty { text-align: center; padding: 56px 16px; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.job-empty > span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.job-empty h2 { font-size: 1.5rem; margin: 12px 0 6px; }
.job-hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--green) 20%, transparent), transparent 60%), var(--paper); }
.job-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: blur(2px) saturate(1.1); transform: scale(1.05); }
.job-hero .wrap { position: relative; }
.job-hero__in { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 18px; }
.job-hero__co { margin: 0 0 4px; font-weight: 700; color: var(--ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.job-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0 0 10px; letter-spacing: -.03em; line-height: 1.08; }
.job-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-weight: 500; }
.job-meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { color: var(--green); }
.job-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.job-body > .lede { margin-top: 0; font-size: 1.15rem; }
.job-body .prose { max-width: none; }
.job-apply { margin-top: 36px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.job-apply h2 { font-size: 1.6rem; margin: 0 0 8px; }
.job-side { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 16px); }
.job-side h3 { margin: 0 0 12px; font-size: 1.1rem; }
.job-dl { margin: 0 0 16px; display: grid; }
.job-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.job-dl dt { color: var(--ink-3); }
.job-dl dd { margin: 0; text-align: right; font-weight: 600; }
.job-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.job-share .btn { display: inline-flex; align-items: center; gap: 6px; }
.hiring { background: linear-gradient(135deg, color-mix(in srgb, var(--green) 12%, var(--paper)), var(--paper)); }
.hiring .head .kicker { display: inline-flex; align-items: center; gap: 8px; }
.hiring .head .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); animation: hirePulse 1.8s infinite; }
@keyframes hirePulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.nav-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 99px; background: var(--green); color: var(--on-green); font-size: .72rem; font-weight: 800; }
@media (max-width: 960px) { .job-layout { grid-template-columns: 1fr; } .job-side { position: static; } .job-filter { grid-template-columns: 1fr 1fr; } .job-filter__q { grid-column: 1 / -1; } }
@media (max-width: 560px) { .job-filter { grid-template-columns: 1fr; } .job-hero__cta { width: 100%; } .job-hero__cta .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .hiring .head .kicker::before { animation: none; } }

/* Job photos shown in full (flyers are often portrait) */
.job-photo { margin: 0 0 24px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.job-photo a { display: block; }
.job-photo img { display: block; width: 100%; height: auto; max-height: 85vh; object-fit: contain; margin: 0 auto; }
.job-card--pic { padding-top: 0; overflow: hidden; }
.job-card__pic { position: relative; margin: 0 -20px 4px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.job-card__pic::before { content: ""; position: absolute; inset: -20px; background: var(--bg) center / cover; filter: blur(18px) saturate(1.1); opacity: .55; }
.job-card__pic img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.job-hero__main { flex: 1; min-width: 260px; }

/* Tables inside news, blog and job posts (.prose * resets pasted styles, hence !important) */
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4em 0; font-size: .94rem !important; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; line-height: 1.45 !important; }
.prose thead th { background: var(--green) !important; color: #fff !important; font-weight: 700; }
.prose td:first-child { font-weight: 600; }
.prose td:not(:first-child) { white-space: nowrap; }
.prose tbody tr:nth-child(even) td { background: var(--surface-2) !important; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td strong { color: var(--green-ink) !important; }
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } .prose td:first-child { min-width: 150px; } .prose th, .prose td { white-space: nowrap; } .prose td:first-child { white-space: normal; } }

/* ================= Update 4: accounts, tracking, books, events, chat ================= */
.acct-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--paper); }
.icon-btn { position: relative; }
.bankbox { padding: 14px 16px; border: 1.5px dashed color-mix(in srgb, var(--green) 60%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--green) 6%, var(--surface)); white-space: normal; }
.bankbox small { display: block; color: var(--ink-3); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.bankbox div { font-weight: 600; line-height: 1.55; }
.paypick { border: 0; padding: 0; margin: 10px 0 6px; display: grid; gap: 8px; }
.paypick legend { font-weight: 600; margin-bottom: 6px; padding: 0; font-size: .92rem; }
.paypick label { position: relative; display: block; cursor: pointer; }
.paypick input { position: absolute; opacity: 0; pointer-events: none; }
.paypick span { display: grid; gap: 1px; padding: 10px 12px 10px 38px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s, background .15s; }
.paypick span::before { content: ""; position: absolute; left: 13px; top: 14px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink-3); }
.paypick input:checked + span { border-color: var(--green); background: color-mix(in srgb, var(--green) 7%, var(--surface)); }
.paypick input:checked + span::before { border-color: var(--green); background: radial-gradient(circle, var(--green) 45%, transparent 50%); }
.paypick input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.paypick b { font-size: .93rem; }
.paypick small { color: var(--ink-3); font-size: .8rem; }
.cart__checkout label small { font-weight: 400; color: var(--ink-3); }

/* Account */
.acct-auth__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(24px, 6vw, 80px); align-items: center; }
.acct-auth__side h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 8px 0 6px; letter-spacing: -.03em; line-height: 1.1; }
.acct-auth__form h2 { margin: 0 0 14px; font-size: 1.6rem; }
.acct-auth__alt { text-align: center; margin: 14px 0 0; font-size: .93rem; color: var(--ink-2); }
.acct__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.acct__av { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: color-mix(in srgb, var(--amber) 22%, var(--surface)); color: #7a5200; font-weight: 800; font-size: 1.2rem; flex: none; }
[data-theme="dark"] .acct__av { color: var(--amber); }
.acct__head small { color: var(--ink-3); }
.acct__head h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; }
.acct__out { margin-left: auto; }
.acct__out .btn { display: inline-flex; align-items: center; gap: 6px; }
.acct__verify { margin-bottom: 18px; }
.acct__grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.acct__nav { display: grid; gap: 4px; padding: 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); position: sticky; top: calc(var(--nav-h) + 14px); }
.acct__nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.acct__nav a:hover { background: var(--surface-2); color: var(--ink); }
.acct__nav a.is-on { background: var(--ink); color: var(--paper); }
.acct__nav a.is-on svg { color: var(--amber); }
.acct__nav em { margin-left: auto; font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 99px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; }
.acct__main { display: grid; gap: 18px; min-width: 0; }
.acct__main .panel { padding: clamp(18px, 3vw, 28px); }
.acct__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.acct__stats a { display: grid; gap: 4px; justify-items: center; padding: 22px 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink-3); transition: transform .2s, box-shadow .2s; }
.acct__stats a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.acct__stats strong { font: 700 1.9rem/1 var(--f-display); color: #8a5a00; }
[data-theme="dark"] .acct__stats strong { color: var(--amber); }
.acct__ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.acct__ph h2 { margin: 0; font-size: 1.35rem; }
.acct-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.acct-book { display: flex; gap: 18px; align-items: center; }
.acct-book h3 { margin: 0 0 4px; font-size: 1.1rem; }
.acct-book p { margin: 0 0 10px; }
.book-cover { flex: none; display: block; width: 100px; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .45), inset 3px 0 0 rgba(255, 255, 255, .15); background: var(--surface-2); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-cover--gen { display: flex; flex-direction: column; justify-content: space-between; padding: 12px 10px; background: linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); color: #fff; }
.book-cover--gen b { font: 700 .86rem/1.2 var(--f-display); }
.book-cover--gen small { font-size: .66rem; opacity: .85; text-transform: uppercase; letter-spacing: .05em; }
.book-cover--lg { width: 100%; max-width: 180px; }
.book-cover--lg.book-cover--gen b { font-size: 1.05rem; }
.acct-order, .acct-ticket { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.acct-order:last-child, .acct-ticket:last-child { border-bottom: 0; }
.acct-order > div:first-child, .acct-ticket > div:first-child { flex: 1; min-width: 180px; display: grid; gap: 2px; }
.acct-ticket code { font: 700 1rem ui-monospace, Menlo, Consolas, monospace; padding: 8px 12px; border: 1.5px dashed var(--green); border-radius: 10px; color: var(--green-ink); letter-spacing: .05em; }
.acct-ticket.is-past { opacity: .65; }
.acct-ticket .sub-tag { justify-self: start; margin-top: 4px; }
.acct-tickets { display: grid; }
.mini-steps { display: flex; gap: 4px; }
.mini-steps i { width: 22px; height: 5px; border-radius: 9px; background: var(--surface-2); }
.mini-steps i.on { background: var(--green); }
.acct-tbl td { vertical-align: middle; }
.acct-empty { text-align: center; }
@media (max-width: 900px) { .acct__grid, .acct-auth__in { grid-template-columns: 1fr; } .acct__nav { position: static; display: flex; overflow-x: auto; padding: 6px; } .acct__nav a { white-space: nowrap; padding: 10px 12px; } .acct__nav a span { font-size: .9rem; } }
@media (max-width: 560px) { .acct__stats { gap: 8px; } .acct__stats a { padding: 16px 6px; } .acct__head { flex-wrap: wrap; } .acct__out { margin-left: 0; } }

/* Tracking */
.track-find { max-width: 520px; margin: 0 auto; }
.track-find h1 { margin: 6px 0; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.track__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 6px 0 22px; }
.track__head h1 { margin: 4px 0; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; }
.track__head .sub-tag { font-size: .9rem; padding: 7px 14px; }
.track-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: relative; }
.track-steps li { display: grid; justify-items: center; gap: 8px; text-align: center; position: relative; color: var(--ink-3); font-size: .9rem; }
.track-steps li::before { content: ""; position: absolute; top: 17px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.track-steps li:first-child::before { display: none; }
.track-steps li.is-done::before { background: var(--green); }
.track-steps span { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); font-weight: 700; }
.track-steps li.is-done span { background: var(--green); border-color: var(--green); color: #fff; }
.track-steps li.is-now span { box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 22%, transparent); }
.track-steps li.is-done b { color: var(--ink); }
.track__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.track__grid > div, .track__grid > aside { display: grid; gap: 18px; }
.track__grid h2 { margin: 0 0 12px; font-size: 1.25rem; }
.track-pay__opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
.track-pay__opt > div:first-child { display: grid; gap: 2px; }
.track-pay__opt--col { display: grid; justify-content: stretch; }
.track-items { list-style: none; margin: 0 0 14px; padding: 0; }
.track-items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.track-items__total { border-bottom: 0 !important; font-size: 1.1rem; }
.timeline-pub { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); display: grid; gap: 14px; }
.timeline-pub li { position: relative; display: grid; }
.timeline-pub li::before { content: ""; position: absolute; left: -23px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--surface); }
.timeline-pub small { color: var(--ink-3); font-size: .82rem; }
.timeline-pub p { margin: 2px 0 0; font-size: .92rem; color: var(--ink-2); }
.link-arrow--back::before { content: "← "; }
@media (max-width: 900px) { .track__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .track-steps { grid-auto-flow: row; gap: 10px; } .track-steps li { grid-template-columns: 36px 1fr; justify-items: start; align-items: center; text-align: left; } .track-steps li::before { display: none; } }

/* Bookstore */
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.bk { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.bk.is-focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 25%, transparent); }
.bk__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bk h3 { margin: 0; font-size: 1.3rem; letter-spacing: -.01em; }
.bk__by { margin: 0; color: var(--ink-2); font-weight: 500; }
.bk .muted { margin: 4px 0; }
.bk__more summary { cursor: pointer; font-weight: 600; color: var(--green-ink); }
.bk__more div { margin-top: 8px; color: var(--ink-2); font-size: .94rem; line-height: 1.6; }
.bk .product__foot { margin-top: auto; padding-top: 10px; }
@media (max-width: 520px) { .bk { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 14px; } }

/* Events */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.ev-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ev-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(31, 77, 12, .45); }
.ev-card.is-past { opacity: .8; }
.ev-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--green) 30%, var(--surface-2)), var(--surface-2)); }
.ev-card__img::before { content: ""; position: absolute; inset: -20px; background: var(--bg, none) center / cover; filter: blur(18px); opacity: .5; }
.ev-card__img img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.ev-card__art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green); opacity: .6; }
.ev-card__price { position: absolute; right: 12px; top: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(0, 0, 0, .65); color: #fff; font-weight: 700; font-size: .82rem; }
.ev-date { display: grid; justify-items: center; align-content: center; width: 76px; height: 82px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); flex: none; line-height: 1; }
.ev-date small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--danger); }
.ev-date small:last-child { color: var(--ink-3); margin-top: 3px; }
.ev-date b { font: 800 2rem/1.05 var(--f-display); }
.ev-date--sm { position: absolute; left: 12px; top: 12px; width: 54px; height: 58px; border-radius: 14px; }
.ev-date--sm b { font-size: 1.4rem; }
.ev-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.ev-card__kind { color: var(--green-ink); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.ev-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.ev-card .job-card__go { margin-top: auto; }
.ev-hero { padding: clamp(26px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--green) 18%, transparent), transparent 60%), var(--paper); }
.ev-hero__in { display: flex; gap: 22px; align-items: flex-start; }
.ev-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0 0 10px; letter-spacing: -.03em; line-height: 1.08; }
.ev-hero .crumbs { margin-bottom: 10px; }
@media (max-width: 600px) { .ev-hero__in { flex-direction: column; } }

/* Ticket */
.ticket-wrap { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 24px; align-items: start; }
.ticket { border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(20, 40, 10, .45); }
.ticket__top { padding: 22px; background: linear-gradient(135deg, #1F4D0C, #3D8D19); color: #fff; display: grid; gap: 14px; }
.ticket__top img { width: 100%; max-height: 220px; object-fit: contain; border-radius: 12px; background: rgba(0, 0, 0, .2); }
.ticket__top small { opacity: .85; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.ticket__top h1 { margin: 4px 0 8px; font-size: 1.55rem; line-height: 1.2; color: #fff; }
.ticket__top p { margin: 0; opacity: .92; }
.ticket__cut { height: 0; border-top: 2px dashed var(--line); margin: 0 18px; position: relative; }
.ticket__cut::before, .ticket__cut::after { content: ""; position: absolute; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); }
.ticket__cut::before { left: -33px; } .ticket__cut::after { right: -33px; }
.ticket__bot { display: flex; gap: 20px; align-items: center; padding: 22px; flex-wrap: wrap; }
.ticket__qr { width: 166px; height: 166px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.ticket__qr span { color: #777; font-size: .8rem; text-align: center; padding: 10px; }
.ticket__qr img, .ticket__qr canvas { display: block; }
.ticket__who { display: grid; gap: 2px; min-width: 0; }
.ticket__who small { color: var(--ink-3); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; margin-top: 6px; }
.ticket__who strong { font-size: 1.15rem; }
.ticket__who code { font: 800 1.35rem ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; color: var(--green-ink); }
.ticket__who .sub-tag { justify-self: start; margin-top: 10px; }
.ticket.is-unpaid .ticket__top { background: linear-gradient(135deg, #5b4a14, #a77f12); }
.ticket.is-used { opacity: .85; }
.ticket-side { display: grid; gap: 18px; }
.ticket-side h2 { margin: 0 0 10px; font-size: 1.2rem; }
@media (max-width: 900px) { .ticket-wrap { grid-template-columns: 1fr; } }
@media print { .nav, .site-footer, .ticket-side, .wachat, .mobile-bar, .bottom-bar, header.nav, footer, .alert, .link-arrow { display: none !important; } .ticket { box-shadow: none; } }

/* Chat */
.chat { display: grid; grid-template-columns: 330px minmax(0, 1fr); height: min(78vh, 760px); min-height: 480px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); position: relative; }
.chat > input[type=hidden] { display: none; }
.chat__blocked { position: absolute; top: 0; left: 0; right: 0; z-index: 3; margin: 0; padding: 8px 14px; background: #FFF4D6; color: #6b4b00; font-size: .88rem; text-align: center; }
.chat__side { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-height: 0; background: var(--surface); }
.chat__side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 16px 10px; }
.chat__side-head h2 { margin: 0; font-size: 1.25rem; }
.chat__search { display: flex; align-items: center; gap: 8px; margin: 0 14px 10px; padding: 0 12px; border-radius: 12px; background: var(--surface-2); color: var(--ink-3); }
.chat__search input { border: 0; background: transparent; padding: 10px 0; flex: 1; min-width: 0; font: inherit; color: var(--ink); outline: 0; }
.chat__list { flex: 1; overflow-y: auto; padding: 4px 8px 12px; }
.chat__sec { margin: 12px 8px 4px; font-size: .74rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .07em; }
.chat__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 14px; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.chat__item:hover { background: var(--surface-2); }
.chat__item.is-on { background: color-mix(in srgb, var(--green) 12%, var(--surface)); }
.chat__item-main { flex: 1; min-width: 0; display: grid; }
.chat__item-main b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__item-main small { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .84rem; }
.chat__item.is-unread .chat__item-main b, .chat__item.is-unread .chat__item-main small { color: var(--ink); font-weight: 700; }
.chat__item-meta { display: grid; justify-items: end; gap: 4px; flex: none; }
.chat__item-meta small { color: var(--ink-3); font-size: .74rem; }
.chat__item-meta em { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.chat__av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .85rem; }
.chat__av--group { background: color-mix(in srgb, var(--green) 18%, var(--surface)); color: var(--green-ink); }
.chat__back-list { margin: 4px 6px 6px; border: 0; background: none; color: var(--green-ink); font: inherit; font-weight: 600; cursor: pointer; }
.chat__muted { color: var(--ink-3); text-align: center; padding: 24px 12px; font-size: .92rem; }
.chat__main { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: color-mix(in srgb, var(--surface-2) 50%, var(--surface)); }
.chat__empty { margin: auto; text-align: center; color: var(--ink-3); padding: 20px; }
.chat__empty h3 { margin: 10px 0 4px; color: var(--ink); }
.chat__empty-ico { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: color-mix(in srgb, var(--green) 14%, var(--surface)); color: var(--green); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.chat__head > div { flex: 1; min-width: 0; display: grid; }
.chat__head small { color: var(--ink-3); font-size: .82rem; }
.chat__back { display: none; border: 0; background: var(--surface-2); border-radius: 10px; width: 36px; height: 36px; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.chat__snd { border: 0; background: none; font-size: 1.15rem; cursor: pointer; padding: 6px; border-radius: 10px; }
.chat__snd:hover { background: var(--surface-2); }
.chat__msgs { flex: 1; overflow-y: auto; padding: 16px clamp(12px, 3vw, 26px); display: flex; flex-direction: column; gap: 4px; }
.chat__day { text-align: center; margin: 12px 0 6px; }
.chat__day span { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: .76rem; color: var(--ink-3); }
.chat__msg { display: flex; flex-direction: column; align-items: flex-start; max-width: min(78%, 560px); position: relative; }
.chat__msg.is-mine { align-self: flex-end; align-items: flex-end; }
.chat__who { font-size: .76rem; font-weight: 700; margin: 6px 0 2px 10px; }
.chat__bubble { padding: 8px 12px 6px; border-radius: 16px 16px 16px 6px; background: var(--surface); border: 1px solid var(--line); line-height: 1.45; overflow-wrap: anywhere; white-space: normal; box-shadow: 0 1px 1px rgba(0, 0, 0, .03); }
.chat__msg.is-mine .chat__bubble { background: #DDF5CC; border-color: #C8EBB0; border-radius: 16px 16px 6px 16px; color: #14240c; }
[data-theme="dark"] .chat__msg.is-mine .chat__bubble { background: #24461a; border-color: #2f5a22; color: #EAF6E0; }
.chat__msg.is-del .chat__bubble { opacity: .6; }
.chat__bubble a { color: inherit; text-decoration: underline; }
.chat__time { display: block; text-align: right; font-size: .68rem; color: var(--ink-3); margin-top: 2px; }
.chat__del { position: absolute; top: 2px; right: -26px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink-3); cursor: pointer; opacity: 0; transition: opacity .15s; }
.chat__msg.is-mine .chat__del { right: auto; left: -26px; }
.chat__msg:hover .chat__del, .chat__del:focus { opacity: 1; }
.chat__older { align-self: center; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 14px; font: inherit; font-size: .84rem; cursor: pointer; color: var(--ink-2); margin-bottom: 8px; }
.chat__start { margin: auto; }
.chat__compose { display: flex; align-items: flex-end; gap: 10px; padding: 12px 14px; background: var(--surface); border-top: 1px solid var(--line); }
.chat__compose textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px; font: inherit; background: var(--paper); color: var(--ink); max-height: 140px; line-height: 1.4; }
.chat__compose textarea:focus { outline: 2px solid color-mix(in srgb, var(--green) 50%, transparent); border-color: var(--green); }
.chat__send { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat__send:hover { filter: brightness(1.08); }
@media (max-width: 820px) {
  .chat { grid-template-columns: 1fr; height: calc(100vh - 250px); height: calc(100dvh - 250px); min-height: 420px; }
  .chat__main { display: none; }
  .chat.is-open .chat__side { display: none; }
  .chat.is-open .chat__main { display: flex; }
  .chat__back { display: grid; place-items: center; }
  .chat__msg { max-width: 88%; }
  .chat__del { opacity: 1; }
}
.link-arrow--back::after { display: none !important; }
.acct-tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.acct-tbl th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.acct-tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.acct-tbl tr:last-child td { border-bottom: 0; }
.acct > .wrap > .acct__head { margin-top: -20px; }
.cart__checkout .paypick label { display: block; margin: 0; padding: 0; border: 0; background: none; font-weight: 400; }
.book-cover--gen { gap: 8px; }
.book-cover--gen small { display: block; }
