@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F6F5FA;
  --bg-card: #FFFFFF;
  --text: #0A0A0A;
  --text-sec: #52525B;
  --text-ter: #A1A1AA;
  --accent: #4338CA;
  --accent-hover: #3730A3;
  --accent-light: #EEF2FF;
  --accent-glow: rgba(67,56,202,.06);
  --accent-block: #3730A3;
  --border: #D4D4D8;
  --border-lt: #E4E4E7;
  --radius: 0px;
  --radius-sm: 0px;
  --radius-xs: 0px;
  --max-w: 1120px;
  --nav-h: 64px;
  --section-py: clamp(72px, 10vw, 120px);
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font: var(--font-body);
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────── */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 24px); }
html { overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display:block; max-width:100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul,ol { list-style: none; }

/* ── Typography ─────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { text-wrap: pretty; }

/* ── Utility ────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: var(--section-py) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section-pre {
  font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px; display: inline-block;
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
}
.section-title { margin-bottom: 14px; color: var(--text); }

/* Silky word style */
.silky-word {
  color: var(--accent);
}
.section-subtitle { font-size: clamp(0.95rem, 1.3vw, 1.1rem); color: var(--text-sec); max-width: 540px; line-height: 1.6; }
.section-header { margin-bottom: clamp(44px, 5vw, 64px); }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }
.section-header--center .section-pre { display: inline-block; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 0;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; border: 2px solid var(--accent); position: relative; overflow: visible; }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--secondary { background: transparent; color: var(--text); border: 2px solid var(--text); position: relative; overflow: visible; }
.btn--secondary::before {
  content: none;
}
.btn--secondary:hover { background: var(--text); color: var(--bg); }

/* Snake border for buttons */
.snake-wrap { position: relative; display: inline-flex; }
.snake-wrap > .btn { position: relative; z-index: 1; }
.snake-svg {
  position: absolute; inset: -7px;
  pointer-events: none; z-index: 0; overflow: visible;
}
.snake-svg path {
  fill: none; stroke: #0A0A0A; stroke-width: 2;
  stroke-linejoin: miter; stroke-linecap: square;
  transition: stroke-dashoffset 0s;
}
.snake-wrap:hover .snake-svg path {
  stroke-dashoffset: 0 !important;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.btn--sm { padding: 10px 22px; font-size: 0.75rem; }

/* ── Nav ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.nav--scrolled { border-bottom-color: var(--text); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px,4vw,40px); }
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0;
}
.nav__logo { height: 30px; width: auto; filter: drop-shadow(0 0 0.4px #0A0A0A) drop-shadow(0 0 0.4px #0A0A0A) drop-shadow(0 0 0.3px #0A0A0A); }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600;
  color: var(--text); text-transform: uppercase; letter-spacing: 0.1em;
  transition: color .25s; padding: 6px 0; position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Pulsing green notification dot */
.nav__dot-pulse {
  position: absolute; top: -2px; right: -8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.nav__cta {
  margin-left: 16px; position: relative; overflow: hidden;
}
.nav__cta::after {
  content: ''; position: absolute; bottom: 4px; left: 6px;
  width: 0; height: 2px; background: #fff;
  transition: width .35s var(--ease);
}
.nav__cta:hover::after { width: calc(100% - 12px); }
.nav__hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav__hamburger span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: .3s; }
.nav__hamburger span::before, .nav__hamburger span::after { content:''; position:absolute; width:20px; height:2px; background:var(--text); transition:.3s; }
.nav__hamburger span::before { top: -6px; }
.nav__hamburger span::after { top: 6px; }

/* Mobile nav overlay */
.nav__mobile { display: none; position: fixed; inset: 0; top: var(--nav-h); background: var(--bg); z-index: 99; padding: 32px; flex-direction: column; gap: 0; }
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1rem; font-weight: 600; padding: 18px 0;
  border-bottom: 1px solid var(--border-lt); color: var(--text);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.nav__mobile .btn { margin-top: 20px; text-align: center; justify-content: center; }

/* ── Hero (Bold Geometric) ──────────────────────────── */
.hero {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: row; align-items: stretch;
  padding-top: var(--nav-h); position: relative; overflow: hidden;
  text-align: left;
}
.hero__bg { display: none; }
.hero__content {
  flex: 0 0 55%; display: flex; flex-direction: column; justify-content: center;
  padding: 60px clamp(32px,5vw,64px); z-index: 1;
}
.hero__logo-mark { display: none; }
.hero__pre {
  font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 24px;
  display: inline-block; border-bottom: 2px solid var(--accent); padding-bottom: 4px;
  align-self: flex-start;
}
.hero__title { margin-bottom: 18px; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1.0; }
.hero__tagline { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-sec); margin-bottom: 36px; line-height: 1.55; max-width: 420px; }
.hero__cta { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 44px; }

/* Neutron animation in dark banners */
.neutron-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; filter: blur(1px);
}
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }

/* Materials CTA */
.materials__cta {
  display: flex; gap: 16px; justify-content: center; margin-top: 40px;
}
.hero__stats { display: flex; gap: 40px; justify-content: flex-start; flex-wrap: wrap; }.hero__stat { text-align: left; }
.hero__stat-value { font-size: 2.8rem; font-weight: 700; color: var(--text); font-family: var(--font-heading); }
.hero__stat-label { font-family: var(--font-heading); font-size: 0.65rem; color: var(--text-ter); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

.hero__right {
  flex: 0 0 45%; background: var(--accent-block);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero__right img { opacity: 0.5; width: clamp(180px, 20vw, 280px); filter: invert(1); }
.hero__right-text {
  position: absolute; z-index: 1;
  font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: 0.12em;
  /* Desktop: bottom-right, rotated */
  bottom: 28px; right: 28px;
  writing-mode: vertical-rl;
}

/* Hide split/minimal variants — bold geometric is the only hero now */
.hero--split, .hero--minimal { display: none; }

/* ── Indigo banner accent ────────────────────────────── */
.accent-bar { width: 100%; height: 4px; background: var(--accent); }
.accent-bar--thin { height: 2px; }
.accent-bar--short { max-width: 120px; }
.accent-bar--section { margin-bottom: var(--section-py); }

/* ── About ──────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px,5vw,56px); align-items: stretch; }
.about__text { font-size: 1rem; color: var(--text-sec); line-height: 1.75; margin-bottom: 24px; text-align: justify; text-justify: inter-word; }
/* About credentials row — full width below */
.about__credentials-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 48px;
}
.about__credential {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 4px 0;
}
.about__credential-bar {
  width: 4px; min-height: 48px; align-self: stretch;
  background: var(--accent); flex-shrink: 0;
}
.about__credential-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.about__credential-desc {
  font-size: 0.9rem; color: var(--text-sec); line-height: 1.5;
}
.about__subjects { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.about__subject {
  padding: 8px 18px; font-size: 0.7rem; font-weight: 700;
  background: var(--text); color: var(--bg);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* About bio photo */
.about__photo {
  width: clamp(200px, 22vw, 280px); aspect-ratio: 4/5;
  overflow: hidden; background: var(--bg-alt); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--text-ter); font-size: 0.85rem; font-family: monospace;
}
.about__photo-placeholder svg { opacity: 0.3; }

/* Services + Materials + subpage left banner */
#services, #materials, .section--banner {
  position: relative;
}
#services::before, #materials::before, .section--banner::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: clamp(40px, 4vw, 60px); background: var(--accent-block);
  z-index: 0;
}
#services > .container, #materials > .container, .section--banner > .container { position: relative; z-index: 1; }

/* ── Services ───────────────────────────────────────── */
.services__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.service-card {
  padding: clamp(28px,3vw,36px); background: var(--bg-card);
  border: 2px solid var(--border); border-top: 4px solid var(--accent);
  transition: all .35s var(--ease); position: relative;
}
.service-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(67,56,202,.08);
}
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-card__title { margin-bottom: 14px; font-size: clamp(1.3rem, 2vw, 1.5rem); }
.service-card__features { display: flex; flex-direction: column; gap: 10px; }
.service-card__feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--text-sec);
}
.service-card__check { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Services comparison grid */
.services__comparison { max-width: 720px; margin: 0 auto; }
.services__compare-head {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 0;
  padding: 16px 0; border-bottom: 2px solid var(--text);
}
.services__compare-head strong {
  font-family: var(--font-heading); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
}
.services__compare-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 0;
  padding: 18px 0; border-bottom: 1px solid var(--border-lt);
  transition: background .2s;
}
.services__compare-row:hover { background: var(--accent-light); }
.services__compare-label {
  font-weight: 600; font-size: 0.9rem; display: flex; align-items: center;
}
.services__compare-col, .services__compare-cell {
  display: flex; align-items: center; justify-content: center;
}
.services__compare-cell {
  font-size: 0.9rem; color: var(--text-ter);
}
.services__compare-cell--yes {
  color: var(--accent);
}
.services__compare-cell--yes svg { stroke: var(--accent); }

/* ── Materials ──────────────────────────────────────── */
.materials__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.material-card {
  display: flex; align-items: flex-start; gap: 20px;
  padding: clamp(24px,3vw,32px); background: var(--bg-card); border: 2px solid var(--border);
  transition: all .25s var(--ease);
}
.material-card:hover { border-color: var(--accent); }
.material-card__icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 1.2rem;
}
.material-card__title { margin-bottom: 4px; font-size: 1rem; }
.material-card__desc { font-size: 0.85rem; color: var(--text-sec); line-height: 1.6; }

/* ── FAQ ────────────────────────────────────────────── */
.faq__list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 2px solid var(--border-lt); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-size: 1rem; font-weight: 600; text-align: left;
  color: var(--text); cursor: pointer; letter-spacing: -0.01em;
}
.faq-item__q:hover { color: var(--accent); }
.faq-item__icon {
  width: 28px; height: 28px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 1.1rem; transition: transform .3s var(--ease), background .2s, color .2s;
}
.faq-item--open .faq-item__icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s; }
.faq-item--open .faq-item__a { max-height: 300px; padding-bottom: 20px; }
.faq-item__a p { font-size: 0.9rem; color: var(--text-sec); line-height: 1.7; }

/* ── Contact ────────────────────────────────────────── */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px,6vw,80px); align-items: stretch; }
.contact__items { display: flex; flex-direction: column; gap: 28px; justify-content: space-between; height: 100%; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; }
.contact-item__icon {
  width: 44px; height: 44px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-item__label { font-size: 0.7rem; color: var(--text-ter); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.contact-item__value { font-size: 1rem; font-weight: 500; margin-top: 2px; }
.contact-item__value a { color: var(--accent); transition: color .2s; }
.contact-item__value a:hover { color: var(--accent-hover); }
.contact__map { overflow: hidden; border: 2px solid var(--border); height: 100%; min-height: 320px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.contact__note {
  margin-top: 24px; padding: 16px 20px; background: var(--accent);
  font-size: 0.85rem; color: #fff; font-weight: 600;
}

/* ── Gallery / Carousel ─────────────────────────────── */
.gallery__track-wrap { position: relative; overflow: hidden; border: 2px solid var(--border); }
.gallery__track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.gallery__slide {
  min-width: 100%; aspect-ratio: 16/10;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
}
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-ter); font-size: 0.85rem; font-family: monospace;
}
.gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px;
  background: var(--bg); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--text); cursor: pointer; transition: all .2s;
}
.gallery__arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.gallery__arrow--prev { left: 12px; }
.gallery__arrow--next { right: 12px; }
.gallery__dots { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.gallery__dot { width: 10px; height: 10px; background: var(--border); border: none; cursor: pointer; transition: all .25s; padding: 0; }
.gallery__dot--active { background: var(--accent); width: 32px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.gallery__thumb {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--bg-alt); border: 2px solid transparent; cursor: pointer;
  transition: border-color .2s; display: flex; align-items: center; justify-content: center;
}
.gallery__thumb--active { border-color: var(--accent); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb-placeholder { color: var(--text-ter); font-size: 0.7rem; font-family: monospace; }

/* ── Footer ─────────────────────────────────────────── */
.footer { padding: 48px 0 40px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.06em;
  text-decoration: none;
}
.footer__brand img { height: 24px; filter: drop-shadow(0 0 0.4px #0A0A0A) drop-shadow(0 0 0.4px #0A0A0A) drop-shadow(0 0 0.3px #0A0A0A); }
.footer__links { display: flex; gap: 24px; }
.footer__link { font-family: var(--font-heading); font-size: 0.75rem; color: var(--text-ter); font-weight: 600; transition: color .2s; text-transform: uppercase; letter-spacing: 0.04em; }
.footer__link:hover { color: var(--accent); }
.footer__copy { width: 100%; text-align: center; font-size: 0.75rem; color: var(--text-ter); margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--border-lt); }

/* ── Scroll Reveal ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.visible { opacity: 1; transform: translateY(0); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: clamp(56px, 8vw, 96px); }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__cta { display: none; }
  .nav__brand span { font-size: 0.7rem; max-width: 200px; }

  /* Hero stacks vertically */
  .hero { flex-direction: column; min-height: auto; padding-bottom: 0; }
  .hero__content { flex: none; padding: 80px 24px var(--section-py); width: 100%; }
  .hero__right { flex: none; min-height: 220px; width: 100%; }
  .hero__right-text {
    display: none;
  }
  .hero__title { font-size: clamp(2.4rem, 8vw, 3.2rem); }
  .hero__tagline { font-size: 1rem; max-width: 100%; }
  .hero__stats { gap: 28px; justify-content: center; }
  .hero__stat-value { font-size: 1.6rem; }

  /* About */
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { width: 100%; max-width: 320px; margin: 0 auto 24px; }
  .about__credentials-row, .about__credentials { grid-template-columns: 1fr; }
  .about__visual { display: flex; flex-direction: column; align-items: center; }

  /* Services & Materials */
  .services__cards { grid-template-columns: 1fr; gap: 16px; }
  .materials__grid { grid-template-columns: 1fr; gap: 16px; }
  .services__comparison { font-size: 0.85rem; }
  .services__compare-head, .services__compare-row {
    grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr;
    padding: 12px 8px;
  }
  .services__compare-head strong { font-size: 0.65rem; }
  .services__compare-label { font-size: 0.85rem; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__items { gap: 24px; }
  .contact__map { min-height: 280px; }

  /* Section banners thinner on mobile */
  #services::before, #materials::before, .section--banner::before {
    width: 16px;
  }

  /* FAQ orbitals smaller */
  .faq-orbitals { width: 280px !important; height: 280px !important; right: -100px !important; }

  /* Gallery */
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  :root { --nav-h: 56px; --section-py: clamp(48px, 8vw, 72px); }
  .container { padding: 0 20px; }

  /* Hero */
  .hero__content { padding: 72px 20px var(--section-py); }
  .hero__title { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .hero__pre { font-size: 0.65rem; }
  .hero__tagline { font-size: 0.95rem; margin-bottom: 28px; }
  .hero__stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .hero__stat-value { font-size: 1.4rem; }
  .hero__cta { gap: 10px; }

  /* Buttons: bigger touch targets */
  .btn { padding: 16px 28px; font-size: 0.85rem; min-height: 48px; }
  .btn--sm { padding: 12px 20px; font-size: 0.75rem; min-height: 42px; }

  /* Section titles */
  h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .section-pre { font-size: 0.65rem; letter-spacing: 0.1em; }
  .section-header { margin-bottom: 36px; }

  /* Cards & material */
  .service-card { padding: 24px 20px; }
  .material-card { padding: 20px; }
  .service-card__title { font-size: 1.2rem; }
  .lesson-card { padding: 24px 20px; }

  /* Compare grid: compact */
  .services__compare-head, .services__compare-row {
    padding: 12px 4px; gap: 4px;
  }
  .services__compare-cell svg { width: 14px; height: 14px; }

  /* About credentials */
  .about__credential { gap: 14px; padding: 2px 0; }
  .about__credential-bar { width: 3px; min-height: 36px; }
  .about__credential-title { font-size: 1rem; }
  .about__credential-desc { font-size: 0.85rem; }

  /* Contact items */
  .contact-item__icon { width: 40px; height: 40px; }
  .contact-item__value { font-size: 0.95rem; }
  .contact__items { gap: 20px; }

  /* FAQ */
  .faq-item__q { padding: 18px 0; font-size: 0.95rem; gap: 12px; }
  .faq-item__a p { font-size: 0.9rem; }
  .faq-orbitals { display: none; }

  /* Footer */
  .footer { padding: 36px 0 28px; }
  .footer__inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 16px; }

  /* Mobile nav fullscreen */
  .nav__mobile { padding: 24px 20px; }
  .nav__mobile a { font-size: 1rem; padding: 16px 0; }

  /* Page hero subpages */
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 40px !important; }
  .page-hero__title { font-size: clamp(1.8rem, 7vw, 2.4rem) !important; }
  .page-hero__subtitle { font-size: 0.9rem !important; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; width: 100%; }
  .snake-wrap { display: flex; }
  .snake-wrap > .btn { width: 100%; justify-content: center; }
  .hero__stats { gap: 16px; justify-content: center; width: 100%; }
  .hero__stat { text-align: center; flex: 0 0 auto; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .lesson-types { grid-template-columns: 1fr !important; }
  .levels { grid-template-columns: 1fr !important; }
  .front-stats { gap: 16px !important; flex-direction: column !important; align-items: center !important; }
  .timeline::before { left: 12px !important; }
  .tl-item, .tl-item:nth-child(odd) {
    flex-direction: column !important; padding-left: 36px !important;
    text-align: left !important; gap: 0 !important;
  }
  .tl-item__content { max-width: 100% !important; }
  .tl-item__dot { left: 12px !important; }
  .exercise-card { padding: 20px; }
  .exercises__intro-stats { flex-direction: row; flex-wrap: wrap; gap: 16px !important; justify-content: space-around; }
  .exercises__intro-stat-val { font-size: 3rem !important; }
}
