/* ==========================================================================
   Happy Coders Academy — company website
   Built on the HCA Playroom design system (clay cards, hard shadows,
   paper surfaces, springy motion). One stylesheet, no framework.
   ========================================================================== */

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Very light paper grain — warmth without noise. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--orange-50); color: var(--action); }

:focus-visible {
  outline: 3px solid var(--sky-700);
  outline-offset: 4px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 0.8rem 1.1rem;
  background: var(--ink);
  color: var(--surface);
  font-weight: 900;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.section { padding-block: var(--section-y); }
.section--flush-top { padding-top: 0; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--line { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}
.section-head .lede { margin-top: 1rem; }
.section-head--center {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}
.section-head--center .lede { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.display {
  font-size: clamp(2.45rem, 4.2vw, 3.5rem);
  font-weight: 950;
  line-height: 1.01;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

h1, .h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.9rem);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -0.033em;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 3.05rem);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.small { font-size: 0.9rem; line-height: 1.55; }
.tiny { font-size: 0.78rem; line-height: 1.45; }
.muted { color: var(--muted); }
.strong { font-weight: 900; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--action);
}
.eyebrow::before {
  content: "";
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: #ffd9c9; }
.eyebrow--ink { color: var(--ink); }

/* Hand-drawn underline for one or two words. */
.scribble {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.scribble::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: -0.06em;
  height: 0.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13C52 5 109 4 152 7c45 3 90 7 145 1' fill='none' stroke='%23e34321' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  z-index: -1;
}

.text-orange { color: var(--action); }
.text-sky { color: var(--sky-700); }

/* --------------------------------------------------------------------------
   Buttons & pills
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.72rem 1.3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 0 #d9dcd2;
  transition: transform 0.18s var(--spring), box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #d9dcd2; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #d9dcd2; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--action);
  border-color: var(--action);
  color: #fff;
  box-shadow: 0 4px 0 var(--action-dark);
}
.btn--primary:hover { background: var(--action-hover); box-shadow: 0 6px 0 var(--action-dark); }
.btn--primary:active { box-shadow: 0 1px 0 var(--action-dark); }

.btn--sky {
  background: var(--sky-300);
  border-color: #7fb9c9;
  box-shadow: 0 4px 0 #79aab5;
}
.btn--sky:hover { background: #a8d6e2; box-shadow: 0 6px 0 #79aab5; }

.btn--ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.btn--ghost:hover { background: var(--orange-50); box-shadow: none; transform: none; }
.cta-panel .btn--ghost { text-decoration: underline; text-underline-offset: 5px; }
.cta-panel .btn--ghost:hover { background: rgba(255,255,255,0.08); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--action);
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 5px; }
.link-arrow svg { width: 17px; height: 17px; }

.btn--light {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 0 rgba(126, 40, 24, 0.55);
}
.btn--light:hover { background: #fff; box-shadow: 0 6px 0 rgba(126, 40, 24, 0.55); }

.btn--lg { min-height: 54px; padding: 0.9rem 1.65rem; font-size: 1rem; border-radius: 16px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}
.pill--orange { background: var(--orange-50); border-color: var(--orange-100); color: var(--action); }
.pill--sky { background: var(--sky-50); border-color: var(--sky-100); color: var(--sky-700); }
.pill--ink { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.pill--success { background: var(--success-soft); border-color: #b8d1c3; color: var(--success); }

/* --------------------------------------------------------------------------
   Top bar & header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: #dfe8e4;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 60;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-left { display: inline-flex; align-items: center; gap: 0.55rem; }
.topbar-left::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  flex-shrink: 0;
}
.topbar-right { display: inline-flex; align-items: center; gap: 1rem; }
.topbar-wa { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 900; }
.topbar-wa svg { width: 15px; height: 15px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 241, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 14px 34px -28px rgba(38, 56, 62, 0.6);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 2.2rem);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 0 rgba(227, 67, 33, 0.12));
}
.brand-text { display: grid; line-height: 1; gap: 0.3rem; }
.brand-name {
  font-size: 1.12rem;
  font-weight: 950;
  letter-spacing: -0.028em;
  white-space: nowrap;
}
.brand-name em { font-style: normal; color: var(--action); }
.brand-sub {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.16s ease, color 0.16s ease;
}
.nav a:hover { background: var(--orange-50); color: var(--action); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--surface); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.header-actions .btn { min-height: 44px; padding: 0.55rem 1.05rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 3px 0 #d9dcd2;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background 0.15s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s var(--spring), top 0.2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 49;
  padding: 0.75rem var(--gutter) 1.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(38, 56, 62, 0.45);
  animation: nav-in 0.22s var(--spring);
}
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
}
.mobile-nav a:not(.btn)::after { content: "→"; color: var(--action); font-weight: 900; }
.mobile-nav .btn { margin-top: 1rem; }
@keyframes nav-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(2.8rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 46rem;
  height: 46rem;
  right: -16rem;
  top: -20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 67, 33, 0.13), rgba(227, 67, 33, 0) 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  left: -18rem;
  bottom: -18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 205, 219, 0.28), rgba(157, 205, 219, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 1.15rem; }
.hero-copy .display { max-width: none; }
.hero-copy .lede { margin-top: 1.4rem; max-width: 46ch; }
.hero-cta { margin-top: 1.9rem; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.2rem;
  margin-top: 1.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  font-weight: 850;
  color: var(--muted);
}
.proof-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.proof-item svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

.hero-art { position: relative; z-index: 2; padding: 1.1rem 0.6rem 1.6rem; }

.window {
 position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  transform: rotate(-1.4deg);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.window-dots { display: inline-flex; gap: 5px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d8ddd3; display: block; }
.window-dots i:first-child { background: var(--brand-orange); }
.window-title { font-size: 0.72rem; font-weight: 850; color: var(--muted); letter-spacing: 0.01em; }
.window-tag {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--sky-700);
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
  border-radius: 6px;
  padding: 0.18rem 0.4rem;
}
.game-screen { background: var(--sky-50); padding: 0.7rem; }
.game-screen svg { width: 100%; height: auto; border-radius: 16px; }
.window-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.8rem 0.95rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 850;
}
.window-foot .mini-score { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); }
.window-foot .mini-score b { color: var(--ink); font-size: 0.9rem; }

.sticker {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 0.05rem;
  padding: 0.6rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 4px 0 #e0e1d6;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transform: rotate(4deg);
}
.sticker b { font-size: 0.92rem; letter-spacing: -0.01em; color: var(--ink); text-transform: none; }
.sticker--top { top: -1rem; right: -2.6rem; }
.sticker--side {
  bottom: 4.8rem;
  left: -1.9rem;
  transform: rotate(-5deg);
  background: var(--orange-50);
  border-color: var(--orange-100);
  color: var(--action);
}
.sticker--side b { color: var(--action); }

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 0 #e0e1d6;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}
.float-chip svg { width: 15px; height: 15px; }
.float-chip--a { top: 3.2rem; left: -1.9rem; transform: rotate(-4deg); color: var(--sky-700); }
.float-chip--b { bottom: 1rem; right: -1.2rem; transform: rotate(3deg); color: var(--action); }

.hero-art .sparkle { position: absolute; z-index: 1; color: var(--brand-orange); }
.hero-art .sparkle svg { width: 100%; height: 100%; }
.hero-art .sparkle--one { width: 26px; height: 26px; top: -0.9rem; left: -0.4rem; }
.hero-art .sparkle--two { width: 18px; height: 18px; bottom: 0.9rem; right: -1.2rem; color: var(--sky-500); }

/* --------------------------------------------------------------------------
   Tool marquee
   -------------------------------------------------------------------------- */

.toolbelt {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding-block: 1.05rem;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.toolbelt::before,
.toolbelt::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.toolbelt::before { left: 0; background: linear-gradient(90deg, var(--surface), transparent); }
.toolbelt::after { right: 0; background: linear-gradient(-90deg, var(--surface), transparent); }
.marquee {
  display: flex;
  width: max-content;
  gap: 2.6rem;
  animation: marquee 38s linear infinite;
}
.toolbelt:hover .marquee { animation-play-state: paused; }
.tool {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.tool::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand-orange);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.tool:nth-child(3n+2)::before { background: var(--brand-sky); }
.tool:nth-child(3n+3)::before { background: var(--brand-slate); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Editorial split / features
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.split-aside { position: sticky; top: calc(var(--header-h) + 2.5rem); }
.split-aside .section-title { max-width: 12ch; }
.split-aside .lede { margin-top: 1.2rem; max-width: 34ch; }

.feature-list { display: grid; border-top: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1.3rem, 2.6vw, 1.9rem) 0;
  border-bottom: 1px solid var(--line);
}
.feature-num {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--action);
  padding-top: 0.28rem;
}
.feature h3 { margin-bottom: 0.35rem; }
.feature p { color: var(--muted); font-size: 0.97rem; max-width: 52ch; }
.feature:hover .feature-num { color: var(--sky-700); }

/* --------------------------------------------------------------------------
   Program cards
   -------------------------------------------------------------------------- */

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}
.program-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.22s var(--spring), box-shadow 0.22s ease;
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); }
.program-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 168px;
  padding: 1.25rem 1.35rem;
  background: var(--sky-50);
  border-bottom: 1px solid var(--sky-100);
  overflow: hidden;
}
.program-card:nth-child(2) .program-art { background: var(--orange-50); border-bottom-color: var(--orange-100); }
.program-card:nth-child(3) .program-art { background: #eef2ec; border-bottom-color: #d8ded4; }
.program-art::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  right: -70px;
  top: -80px;
  background: rgba(255, 255, 255, 0.38);
}
.program-art svg { width: 108px; height: 108px; position: relative; z-index: 1; flex-shrink: 0; }
.program-art .age {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.1rem;
  line-height: 1;
}
.program-art .age b { font-size: 1.9rem; font-weight: 950; letter-spacing: -0.04em; }
.program-art .age span { font-size: 0.62rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.program-body { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.35rem 1.35rem 1.25rem; flex: 1; }
.program-body h3 { font-size: 1.32rem; }
.program-body > p { color: var(--muted); font-size: 0.97rem; }
.program-list { display: grid; gap: 0.38rem; margin-top: 0.1rem; }
.program-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.program-list li::before {
  content: "→";
  color: var(--action);
  font-weight: 900;
  line-height: 1.5;
}
.program-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--line);
  font-size: 0.78rem;
  font-weight: 850;
  color: var(--muted);
}
.program-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--action);
  text-decoration: none;
}
.program-foot a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Session band (sky)
   -------------------------------------------------------------------------- */

.session-band {
  background: var(--sky-50);
  border-block: 1px solid var(--sky-100);
  position: relative;
  overflow: hidden;
}
.session-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(50, 97, 110, 0.1) 0.9px, transparent 0.9px);
  background-size: 18px 18px;
  opacity: 0.5;
  pointer-events: none;
}
.session-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.session-head .section-title { max-width: 16ch; }
.session-head .lede { max-width: 36ch; margin-top: 0.8rem; }
.session-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 3rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 0 rgba(20, 37, 42, 0.35);
}
.step::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 50px;
  right: calc(-1 * clamp(1rem, 2.5vw, 1.75rem));
  border-top: 2px dashed rgba(50, 97, 110, 0.32);
}
.step:last-child::after { display: none; }
.step time,
.step .step-time {
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--sky-700);
  margin-bottom: 0.15rem;
}
.step h3 { font-size: 1.06rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.89rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Method / levels
   -------------------------------------------------------------------------- */

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.level-list { display: grid; gap: 0.7rem; margin-top: 1.7rem; }
.level {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 0 #e5e6dc;
}
.level-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--sky-50);
  color: var(--sky-700);
  font-weight: 950;
  font-size: 0.85rem;
}
.level:nth-child(2) .level-mark { background: var(--orange-50); color: var(--action); }
.level:nth-child(3) .level-mark { background: var(--ink); color: var(--surface); }
.level strong { display: block; font-size: 0.98rem; font-weight: 900; }
.level small { display: block; font-size: 0.8rem; color: var(--muted); }
.level-bar { width: 76px; height: 7px; border-radius: 99px; background: #e6e9df; overflow: hidden; }
.level-bar span { display: block; height: 100%; background: var(--brand-sky); border-radius: 99px; }
.level:nth-child(2) .level-bar span { background: var(--brand-orange); width: 68%; }
.level:nth-child(3) .level-bar span { background: var(--brand-slate); width: 100%; }
.level:first-child .level-bar span { width: 36%; }

.note-card {
  position: relative;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: var(--radius);
  box-shadow: 0 5px 0 #f0d3c2;
  transform: rotate(1.1deg);
}
.note-card::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 74px;
  height: 20px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(255, 254, 250, 0.75);
  border: 1px solid rgba(222, 223, 212, 0.9);
  border-radius: 2px;
}
.note-card h3 { font-size: 1.05rem; }
.note-card p { margin-top: 0.5rem; font-size: 0.9rem; color: #7a4a3b; }
.note-card ul { display: grid; gap: 0.5rem; margin-top: 0.9rem; }
.note-card li { position: relative; padding-left: 1rem; font-size: 0.87rem; color: #7a4a3b; }
.note-card li::before { content: ""; position: absolute; left: 0; top: 0.48em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-orange); }
.note-card li::before { content: "✓"; color: var(--action); font-weight: 900; }
.note-card .signature {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--orange-100);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--action);
}
.note-card .signature img { width: 30px; height: 30px; object-fit: contain; }

/* --------------------------------------------------------------------------
   Camps band
   -------------------------------------------------------------------------- */

.camps {
  position: relative;
  overflow: hidden;
  padding: clamp(0.8rem, 1.8vw, 1.1rem);
  background: var(--brand-orange);
  color: #fff;
  border-radius: var(--radius-lg);
}
.camps::before {
  content: "";
  position: absolute;
  width: 32rem;
  height: 32rem;
  right: -10rem;
  top: -14rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}
.camps::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  left: -6rem;
  bottom: -10rem;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.28);
}
.camps-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 0 rgba(126, 40, 24, 0.45);
}
.camps-panel .eyebrow { color: var(--action); }
.camps-panel h2 { margin-top: 0.7rem; max-width: 17ch; }
.camps-panel p { margin-top: 0.9rem; color: var(--muted); max-width: 46ch; }
.camps-list { display: grid; gap: 0.6rem; }
.camps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.9rem;
  font-weight: 750;
}
.camps-list li svg { width: 17px; height: 17px; color: var(--success); margin-top: 0.1rem; }
.camps-panel .btn-row { margin-top: 1.3rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat,
    var(--surface);
  transition: transform 0.22s var(--spring), background-color 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(90deg);
  background:
    linear-gradient(var(--surface), var(--surface)) center / 10px 2px no-repeat,
    var(--ink);
}
.faq details[open] summary { color: var(--action); }
.faq .faq-answer { padding: 0 2.5rem 1.3rem 0; color: var(--muted); font-size: 0.96rem; max-width: 68ch; }
.faq .faq-answer p + p { margin-top: 0.6rem; }

/* --------------------------------------------------------------------------
   CTA panel
   -------------------------------------------------------------------------- */

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--ink);
  color: #eef3ef;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 0 #14252a;
}
.cta-panel::before {
  content: "";
  position: absolute;
  width: 30rem;
  height: 30rem;
  right: -10rem;
  bottom: -16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 205, 219, 0.22), transparent 65%);
}
.cta-panel h2 { color: #fff; max-width: 17ch; }
.cta-panel p { margin-top: 1rem; color: #c7d4d0; max-width: 48ch; }
.cta-panel .btn-row { margin-top: 1.6rem; }
.cta-note { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.82rem; color: #b7c6c1; }
.cta-note svg { width: 15px; height: 15px; }
.cta-aside { position: relative; z-index: 1; display: grid; gap: 0.75rem; justify-items: start; }
.cta-aside .phone-card {
  width: 100%;
  display: grid;
  gap: 0.15rem;
  padding: 1.1rem 1.25rem;
  min-width: 240px;
  background: rgba(255, 254, 250, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}
.cta-aside .phone-card span { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: #9fb0ac; }
.cta-aside .phone-card a { font-size: 1.25rem; font-weight: 950; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.cta-aside .phone-card small { font-size: 0.8rem; color: #b7c6c1; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 0;
  padding-block: clamp(2.6rem, 5vw, 4rem) 1.5rem;
  background: var(--ink);
  color: #c9d5d1;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; margin-bottom: 0.9rem; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; background: var(--surface); border-radius: 12px; padding: 4px; }
.footer-brand strong { display: block; font-size: 1.05rem; font-weight: 950; letter-spacing: -0.02em; }
.footer-brand small { display: block; font-size: 0.6rem; letter-spacing: 0.17em; text-transform: uppercase; color: #a9bbb6; font-weight: 900; margin-top: 0.25rem; }
.footer-about { font-size: 0.9rem; line-height: 1.6; max-width: 34ch; color: #bccbc6; }
.footer-col h3 {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a9bbb6;
  margin-bottom: 0.9rem;
}
.footer-col ul { display: grid; gap: 0.15rem; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.87rem;
  font-weight: 700;
  color: #d3ded9;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding-top: 1.25rem;
  font-size: 0.78rem;
  color: #a9bbb6;
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; }

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding-block: clamp(2.4rem, 5vw, 4rem) clamp(2.4rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 38rem;
  height: 38rem;
  right: -12rem;
  top: -22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 205, 219, 0.35), transparent 66%);
}
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.page-hero .lede { margin-top: 1.1rem; max-width: 52ch; }
.page-hero .btn-row { margin-top: 1.6rem; }
.page-hero + .section { padding-top: clamp(2.6rem, 4.5vw, 4rem); }
.page-hero-aside {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  justify-self: end;
  width: min(100%, 300px);
  padding: 1.5rem 1.25rem 1.35rem;
  text-align: center;
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 0 #d5e4e5;
  transform: rotate(-1.6deg);
}
.page-hero-aside img { width: 132px; height: 132px; object-fit: contain; margin-bottom: 0.2rem; }

/* --------------------------------------------------------------------------
   Catalogue / filters
   -------------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.filter-label { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-right: 0.4rem; }
.filter-btn {
  min-height: 40px;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 3px 0 #e0e1d6;
  transition: transform 0.16s var(--spring), background 0.16s ease, color 0.16s ease;
}
.filter-btn:hover { transform: translateY(-1px); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); box-shadow: 0 3px 0 #14252a; }
.filter-count { margin-left: auto; font-size: 0.78rem; font-weight: 800; color: var(--muted); }

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.course-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 #e3e4d9;
  transition: transform 0.2s var(--spring), box-shadow 0.2s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.course-card[hidden] { display: none !important; }
.course-top { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 0.4rem; }
.course-card h3 { font-size: 1.18rem; }
.course-card > p { font-size: 0.9rem; color: var(--muted); }
.course-note { font-size: 0.77rem; font-weight: 700; color: var(--action); }
.course-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: auto; padding-top: 0.6rem; }
.course-tags span {
  font-size: 0.7rem;
  font-weight: 850;
  color: var(--sky-700);
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
  border-radius: 6px;
  padding: 0.16rem 0.42rem;
}
.course-card .course-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--action);
  text-decoration: none;
}
.course-card .course-link:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Simple content components
   -------------------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.9rem);
  box-shadow: 0 4px 0 #e3e4d9;
}
.card--sky { background: var(--sky-50); border-color: var(--sky-100); }
.card--warm { background: var(--orange-50); border-color: var(--orange-100); }
.card--ink { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card--ink p { color: #c7d4d0; }

.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.two-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }

.numbered-card { position: relative; padding-top: 2.6rem; }
.numbered-card .num {
  position: absolute;
  top: 1.2rem;
  left: 1.3rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--action);
}

.check-list { display: grid; gap: 0.55rem; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem; align-items: start; font-size: 0.93rem; }
.check-list svg { width: 17px; height: 17px; color: var(--success); margin-top: 0.13rem; }

.steps-list { counter-reset: item; display: grid; gap: 0.8rem; }
.steps-list li {
  counter-increment: item;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.93rem;
}
.steps-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps-list li::before {
  content: counter(item);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--sky-50);
  color: var(--sky-700);
  font-size: 0.72rem;
  font-weight: 900;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.contact-form { display: grid; gap: 0.95rem; }
.field { display: grid; gap: 0.35rem; }
.field > label { font-size: 0.82rem; font-weight: 900; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  background: var(--paper);
  border: 1.5px solid #b9c9c8;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  outline-offset: 2px;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--sky-700); background: #fff; }
.field .hint { font-size: 0.75rem; color: var(--muted); }
.form-note { font-size: 0.78rem; color: var(--muted); display: flex; gap: 0.45rem; align-items: flex-start; }
.form-note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 0.15rem; color: var(--success); }
.form-status { font-size: 0.85rem; font-weight: 800; color: var(--success); min-height: 20px; }

.contact-card { display: grid; gap: 0.8rem; }
.contact-line { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--sky-50); color: var(--sky-700); flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; }
.contact-line strong { display: block; font-size: 0.9rem; }
.contact-line small { display: block; font-size: 0.82rem; color: var(--muted); }
.contact-line a { text-decoration: none; font-weight: 800; }
.contact-line a:hover { text-decoration: underline; }

/* Mission card & pull quote */
.mission-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  transform: rotate(-1.2deg);
}
.mission-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--action);
}
.mission-card h3 { margin-top: 1rem; font-size: 1.35rem; max-width: 24ch; }
.mission-card > p { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; }
.mission-checks { display: grid; gap: 0.55rem; margin-top: 1.2rem; }
.mission-checks li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--muted);
}
.mission-checks li::before {
  content: "";
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  font-size: 0.7rem;
  color: #fff;
}
.mission-checks li.done { color: var(--ink); }
.mission-checks li.done::before {
  content: "✓";
  background: var(--success);
  border-color: var(--success);
}
.mission-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.3rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
  font-size: 0.75rem;
  font-weight: 850;
  color: var(--muted);
}

.quote-card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 0 #14252a;
  overflow: hidden;
}
.quote-card::before {
  content: "“";
  position: absolute;
  top: -2.4rem;
  right: 1rem;
  font-size: 11rem;
  line-height: 1;
  font-weight: 950;
  color: rgba(157, 205, 219, 0.16);
}
.quote-card blockquote {
  position: relative;
  z-index: 1;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 22ch;
}
.quote-card blockquote em { font-style: normal; color: var(--sky-300); }
.quote-card cite {
  display: block;
  margin-top: 1.1rem;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb0ac;
}

.manifesto-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 2rem;
  padding: 1.4rem;
  border-block: 1px solid var(--line);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  text-align: center;
}
.manifesto-strip span { display: inline-flex; align-items: center; gap: 0.55rem; }
.manifesto-strip span::before { content: "✕"; color: var(--action); font-size: 0.8em; }

/* Project wall (academy page) */
.project-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
  padding: 1rem 0;
}
.project-tile {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 5px 0 #e3e4d9;
  transform: rotate(-2deg);
}
.project-tile:nth-child(2) { transform: rotate(1.6deg) translateY(-14px); background: var(--orange-50); border-color: var(--orange-100); }
.project-tile:nth-child(3) { transform: rotate(-1deg); background: var(--sky-50); border-color: var(--sky-100); }
.project-tile img { width: 100%; height: 118px; object-fit: contain; }
.project-tile b { font-size: 0.8rem; font-weight: 900; }
.project-tile span { font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.b2b-band {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 0 #d5e4e5;
}
.b2b-band .btn-row { justify-content: flex-end; }
@media (max-width: 700px) {
  .b2b-band { grid-template-columns: minmax(0, 1fr); }
  .b2b-band .btn-row { justify-content: flex-start; }
}

.stats-band {
  padding-block: clamp(1.8rem, 3.6vw, 2.7rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stat { display: grid; gap: 0.12rem; padding-left: clamp(0.9rem, 2vw, 1.4rem); border-left: 2px solid var(--line-strong); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-size: clamp(1.45rem, 2.6vw, 2.05rem); font-weight: 950; letter-spacing: -0.035em; line-height: 1.05; }
.stat span { font-size: 0.8rem; font-weight: 800; color: var(--muted); }
.stats-note { margin-top: 1.1rem; font-size: 0.78rem; color: var(--muted); text-align: center; }
.stats-band + .section { padding-top: clamp(2.8rem, 4.5vw, 4rem); }
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-note { text-align: left; }
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.offer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: clamp(1.35rem, 2.6vw, 1.9rem);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.offer > .pill { align-self: flex-start; }
.offer h3 { font-size: 1.28rem; }
.offer > p { color: var(--muted); font-size: 0.95rem; }
.offer .check-list {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
}
.offer .link-arrow { margin-top: 0.1rem; }
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(1.25rem, 3vw, 2.4rem);
  border-top: 1px solid var(--line);
}
.ref {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}
.ref-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.ref-top b { font-size: 1.02rem; font-weight: 950; letter-spacing: -0.015em; }
.ref .year { font-size: 0.74rem; font-weight: 900; letter-spacing: 0.06em; color: var(--sky-700); white-space: nowrap; }
.ref p { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 1180px) {
  .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .offer-grid, .reference-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Reveal & motion
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.7s var(--spring);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  .toolbelt::before, .toolbelt::after { display: none; }
  .btn:hover, .program-card:hover, .course-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav a { padding-inline: 0.65rem; font-size: 0.86rem; }
  .program-grid, .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .program-card:last-child:nth-child(odd) .program-art { min-height: 150px; }
  .session-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 1060px) {
  .nav { display: none; }
  .nav-toggle { display: grid; margin-left: auto; }
  .header-actions .btn { display: none; }
}

@media (max-width: 920px) {
  :root { --header-h: 70px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.6rem; }
  .hero-copy .display { max-width: 16ch; }
  .hero-art { max-width: 560px; width: 100%; margin-inline: auto; }
  .split, .method-grid, .faq-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split-aside { position: static; }
  .split-aside .section-title, .split-aside .lede { max-width: none; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1rem; }
  .page-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-hero-aside { display: none; }
  .camps-panel { grid-template-columns: minmax(0, 1fr); }
  .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .three-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .topbar-left { font-size: 0.7rem; }
  .topbar-right .topbar-phone { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.52rem; letter-spacing: 0.15em; }
  .hero { padding-top: 2rem; }
  .hero-copy .display { font-size: clamp(2.3rem, 9.4vw, 3.2rem); }
  .hero-copy .lede { font-size: 1rem; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { gap: 0.6rem; }
  .page-hero .btn-row { display: grid; gap: 0.6rem; }
  .page-hero .btn-row .btn { width: 100%; }
  .hero-proof { gap: 0.45rem 0.9rem; font-size: 0.78rem; }
  .sticker--side { left: 0.2rem; bottom: 4.2rem; }
  .float-chip--a { left: -0.4rem; }
  .float-chip--b { right: 0.1rem; }
  .program-grid, .course-grid, .three-grid, .two-grid { grid-template-columns: minmax(0, 1fr); }
  .program-card:last-child:nth-child(odd) { grid-column: auto; }
  .session-grid { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .step { padding-top: 0; padding-left: 3.2rem; }
  .step::before { top: 0; }
  .level { grid-template-columns: auto minmax(0, 1fr); }
  .level-bar { display: none; }
  .cta-panel { padding: 1.6rem 1.35rem; }
  .cta-panel .btn { width: 100%; }
  .cta-aside { width: 100%; }
  .cta-aside .phone-card { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .footer-brand-col { grid-column: auto; }
  .faq .faq-answer { padding-right: 1rem; }
  .filter-count { margin-left: 0; width: 100%; }
  .btn--lg { min-height: 50px; font-size: 0.95rem; }
}

@media (max-width: 420px) {
  .topbar-label-long { display: none; }
  .brand-sub { display: none; }
  .brand-name { font-size: 0.98rem; }
  .sticker--top { right: 0; top: -0.4rem; }
  .float-chip { font-size: 0.66rem; padding: 0.35rem 0.55rem; }
  .hero-art { padding-inline: 0; }
}


/* --------------------------------------------------------------------------
   Four pillars
   -------------------------------------------------------------------------- */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 230px;
  padding: 1.35rem 1.3rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.pillar-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--orange-50);
  color: var(--action);
  margin-bottom: 0.2rem;
}
.pillar-icon svg { width: 25px; height: 25px; }
.pillar:nth-child(2) .pillar-icon { background: var(--sky-50); color: var(--sky-700); }
.pillar:nth-child(3) .pillar-icon { background: #eef2ec; color: var(--success); }
.pillar:nth-child(4) .pillar-icon { background: #eef0ea; color: var(--brand-slate); }
.pillar h3 { font-size: 1.12rem; line-height: 1.15; }
.pillar p { flex: 1; font-size: 0.92rem; color: var(--muted); }
.pillar-example {
  display: flex;
  align-items: flex-start;
  min-height: 2.9em;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Age rows
   -------------------------------------------------------------------------- */

.age-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.age-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto 22px;
  gap: 1.1rem;
  align-items: center;
  padding: 1.2rem 0.2rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, padding 0.2s ease;
}
.age-row:hover { background: var(--surface); padding-inline: 0.85rem; }
.age-badge {
  display: flex;
  align-items: baseline;
  gap: 0.28rem;
  font-size: 1.5rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.age-badge small {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.age-copy h3 { font-size: 1.06rem; margin-bottom: 0.15rem; }
.age-copy p { font-size: 0.92rem; color: var(--muted); max-width: 62ch; }
.age-tools {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-700);
  white-space: nowrap;
}
.age-row > svg { width: 20px; height: 20px; color: var(--action); }

@media (max-width: 1120px) {
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pillar-grid { grid-template-columns: minmax(0, 1fr); }
  .pillar { min-height: 0; }
  .age-row { grid-template-columns: 5.4rem minmax(0, 1fr) 20px; gap: 0.65rem; padding-block: 1.05rem; }
  .age-tools { display: none; }
  .age-badge { font-size: 1.15rem; gap: 0.22rem; }
  .age-copy h3 { font-size: 1rem; }
}


/* Atelier rituals ---------------------------------------------------- */
.ritual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ritual {
  padding: 1.45rem 1.3rem 1.6rem;
  border-right: 1px solid var(--line);
}
.ritual:last-child { border-right: 0; }
.ritual-num {
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--brand-orange);
}
.ritual h3 { margin-top: 0.55rem; font-size: 1.04rem; }
.ritual p { margin-top: 0.4rem; font-size: 0.87rem; color: var(--muted); }
@media (max-width: 1060px) {
  .ritual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ritual:nth-child(2n) { border-right: 0; }
  .ritual:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .ritual-grid { grid-template-columns: minmax(0, 1fr); }
  .ritual { border-right: 0; border-bottom: 1px solid var(--line); }
  .ritual:last-child { border-bottom: 0; }
}


@media (max-width: 700px) {
  .filter-label { flex-basis: 100%; margin: 0 0 0.15rem; }
  .filter-count { flex-basis: 100%; margin-left: 0; margin-top: 0.35rem; }
}
