/* =========================================================
   Socrate Scuola di Formazione — modern static site
   ========================================================= */

:root {
  --bg: #0f0f12;
  --bg-2: #17171c;
  --surface: #ffffff;
  --ink: #101014;
  --ink-2: #2a2a33;
  --muted: #6b6b78;
  --line: #ececef;
  --line-dark: #2a2a33;
  --brand: #2d5c3a;
  --brand-2: #4a8a5c;
  --brand-soft: #eaf2ec;
  --accent: #d4a84b;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15,15,18,.06), 0 4px 12px rgba(15,15,18,.05);
  --shadow-md: 0 8px 24px rgba(15,15,18,.08), 0 24px 60px rgba(15,15,18,.08);
  --shadow-lg: 0 20px 60px rgba(45,92,58,.25);
  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1,h2,h3,h4 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .4em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.005em; }
p  { margin: 0 0 1rem; color: var(--ink-2); }

.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #000; color: #fff; padding: .6rem .9rem; border-radius: 8px; z-index: 999; }

.kicker {
  display: inline-flex; align-items: center;
  text-transform: uppercase; font-weight: 600; letter-spacing: .14em;
  font-size: .78rem; color: var(--brand);
  background: var(--brand-soft);
  padding: .4rem .7rem; border-radius: 999px;
  margin-bottom: 1rem;
  font-family: "Inter", sans-serif;
}
.kicker--light { color: #fff; background: rgba(255,255,255,.12); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 500; font-size: .85rem; color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(45,92,58,.18);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45,92,58,.18); }
  50%      { box-shadow: 0 0 0 10px rgba(45,92,58,0); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(16,16,20,.2); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--sm { padding: .6rem 1rem; font-size: .88rem; }
.btn--block { width: 100%; }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(255,255,255,.7);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--line); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 1.2rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__logo { border-radius: 10px; object-fit: contain; background: var(--brand-soft); padding: 4px; }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; }
.brand__text em { font-style: normal; font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }

.nav__menu { display: flex; gap: .2rem; }
.nav__menu a {
  padding: .55rem .9rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__menu a:hover { background: var(--brand-soft); color: var(--brand); }

.nav__cta { display: inline-flex; }
.nav__toggle {
  display: none; width: 42px; height: 42px;
  border-radius: 12px; background: var(--brand-soft);
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav__toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile { display: none; padding: 1rem 1.2rem 1.4rem; border-top: 1px solid var(--line); background: #fff; }
.mobile a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile .btn { margin-top: 1rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 40% at 10% 10%, rgba(45,92,58,.22), transparent 60%),
    radial-gradient(35% 35% at 90% 20%, rgba(212,168,75,.18), transparent 60%),
    radial-gradient(50% 50% at 60% 90%, rgba(74,138,92,.15), transparent 60%);
  filter: blur(30px);
  animation: float 18s ease-in-out infinite alternate;
}
@keyframes float {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-3%, 2%, 0) scale(1.05); }
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(16,16,20,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16,16,20,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 60% at 50% 40%, #000 40%, transparent 75%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.hero__title { margin-bottom: 1rem; }
.hero__title .underline-brush {
  position: relative; white-space: nowrap;
  background: linear-gradient(110deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .underline-brush::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'><path d='M2 8 Q80 2 150 7 T298 6' fill='none' stroke='%232d5c3a' stroke-width='3' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
  opacity: .85;
}
.hero__lead { font-size: 1.1rem; max-width: 52ch; color: var(--ink-2); }
.hero__lead em { color: var(--brand); font-style: italic; font-family: "Fraunces", serif; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }

.hero__stats {
  list-style: none; padding: 0; margin: 3rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 540px;
}
.hero__stats li { border-left: 2px solid var(--brand); padding: .2rem 0 .2rem 1rem; }
.hero__stats strong { display: block; font-family: "Fraunces", serif; font-size: clamp(1.7rem, 2.5vw, 2.2rem); font-weight: 600; color: var(--ink); }
.hero__stats span { font-size: .85rem; color: var(--muted); }

/* Hero visual — stacked photos */
.hero__visual { position: relative; min-height: 480px; }
.card-stack { position: relative; width: 100%; height: 100%; min-height: 480px; }
.card-photo {
  position: absolute; border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: translateZ(0);
}
.card-photo--a { inset: 6% 22% 30% 0; z-index: 2; transform: rotate(-3deg); }
.card-photo--b { inset: 20% 0 8% 30%; z-index: 3; transform: rotate(3deg); }
.card-photo--c { inset: 38% 40% 0 18%; z-index: 4; transform: rotate(-1.5deg); }
.card-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35));
}
.chip {
  position: absolute; z-index: 10;
  display: inline-flex; align-items: center; gap: .7rem;
  background: #fff; border-radius: 14px;
  padding: .8rem 1rem; box-shadow: var(--shadow-md);
  font-size: .85rem;
  max-width: 240px;
}
.chip strong { display: block; font-family: "Inter", sans-serif; font-weight: 600; font-size: .9rem; }
.chip small { color: var(--muted); display: block; margin-top: 1px; }
.chip--top    { top: 6%; right: 4%; animation: floatY 6s ease-in-out infinite alternate; }
.chip--bottom { bottom: 3%; left: 0; color: var(--brand); animation: floatY 7s ease-in-out infinite alternate-reverse; }
.chip--bottom strong { color: var(--ink); }
.chip__pulse { width: 10px; height: 10px; border-radius: 999px; background: #d4a84b; box-shadow: 0 0 0 3px rgba(212,168,75,.25); }
@keyframes floatY { from { transform: translateY(0); } to { transform: translateY(-8px); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  width: 28px; height: 46px; border-radius: 999px; border: 1.5px solid rgba(16,16,20,.2);
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px; background: var(--ink); border-radius: 2px;
  animation: scrolly 1.8s ease-in-out infinite;
}
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   Strip
   ========================================================= */
.strip {
  border-block: 1px solid var(--line);
  background: #fafafa;
}
.strip__inner {
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: space-between;
  padding: 1.2rem 0;
}
.strip__item { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.strip__item svg { color: var(--brand); }

/* =========================================================
   Sections
   ========================================================= */
section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 780px; margin-bottom: 3rem; }
.section-head h2 em { font-style: italic; color: var(--brand); font-family: "Fraunces", serif; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end;
  max-width: none;
}
.section-head__desc { color: var(--muted); max-width: 52ch; }

/* Mission */
.mission { background: #fff; }
.mission__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.mission__lead { font-size: 1.25rem; font-family: "Fraunces", serif; color: var(--ink); line-height: 1.4; }
.mission__cards { display: grid; gap: 1rem; }
.pillar {
  display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .2rem;
  padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar__icon {
  grid-row: span 2;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.pillar h3 { margin: 0; font-family: "Inter", sans-serif; font-weight: 600; font-size: 1.05rem; }
.pillar p  { margin: 0; color: var(--muted); font-size: .95rem; }

/* Corsi */
.corsi { background: #fafafa; border-block: 1px solid var(--line); }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter {
  padding: .55rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 500; font-size: .9rem; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.course {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.course[hidden] { display: none; }
.course__media {
  aspect-ratio: 16/10; background-size: cover; background-position: center;
  position: relative;
}
.course__tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  padding: .35rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}
.course__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.course__body h3 { margin-bottom: .5rem; }
.course__body p  { color: var(--muted); margin-bottom: 1rem; font-size: .95rem; flex: 1; }
.course__meta {
  display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem;
  font-size: .82rem; color: var(--muted);
}
.course__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.course__level {
  background: var(--brand-soft); color: var(--brand);
  padding: .15rem .55rem; border-radius: 999px;
  font-weight: 600;
}
.course__link { color: var(--ink); font-weight: 600; font-size: .95rem; transition: color .2s var(--ease); align-self: flex-start; }
.course__link:hover { color: var(--brand); }

/* Laboratori */
.labs {
  background: var(--bg); color: #fff;
  position: relative; overflow: hidden;
}
.labs::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 80% 20%, rgba(45,92,58,.25), transparent 70%),
    radial-gradient(40% 30% at 10% 80%, rgba(212,168,75,.12), transparent 70%);
  pointer-events: none;
}
.labs__inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem;
  align-items: center; position: relative;
}
.labs h2 { color: #fff; }
.labs p { color: rgba(255,255,255,.72); }
.labs__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.labs__list li { display: flex; gap: 1rem; align-items: flex-start; }
.labs__list span {
  flex-shrink: 0;
  font-family: "Fraunces", serif;
  font-size: 1.5rem; color: var(--brand);
  min-width: 44px;
}
.labs__list strong { display: block; color: #fff; margin-bottom: .2rem; font-family: "Inter", sans-serif; font-weight: 600; font-size: 1.05rem; }
.labs__list p { margin: 0; color: rgba(255,255,255,.6); font-size: .94rem; }

.labs__gallery {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px;
  gap: 1rem; min-height: 420px;
}
.labs__photo {
  background-size: cover; background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.labs__photo--1 { grid-row: span 2; min-height: 380px; }
.labs__photo--2, .labs__photo--3 { min-height: 180px; }

/* Method */
.method { background: #fff; }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  counter-reset: steps;
}
.steps li {
  position: relative;
  padding: 2rem 1.4rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.steps li:hover { transform: translateY(-4px); border-color: var(--brand); }
.steps__num {
  display: inline-block; font-family: "Fraunces", serif;
  color: var(--brand); font-size: 1.2rem; margin-bottom: .6rem;
}
.steps h3 { margin: 0 0 .3rem; font-family: "Inter", sans-serif; font-weight: 600; }
.steps p  { margin: 0; font-size: .92rem; color: var(--muted); }

/* Team */
.team { background: #fafafa; border-block: 1px solid var(--line); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.person {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.person__avatar {
  width: 64px; height: 64px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; display: grid; place-items: center;
  font-family: "Fraunces", serif; font-weight: 600; font-size: 1.3rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 10px 30px rgba(45,92,58,.3);
}
.person h3 { margin: 0 0 .15rem; font-family: "Inter", sans-serif; font-weight: 600; font-size: 1.1rem; }
.person__role { color: var(--brand); font-weight: 600; font-size: .88rem; margin-bottom: .6rem; }
.person__bio  { color: var(--muted); font-size: .92rem; margin: 0; }

/* Testimonial */
.testimonial {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  text-align: center;
}
.testimonial figure { margin: 0; max-width: 760px; margin-inline: auto; }
.testimonial__q { color: var(--brand); opacity: .35; }
.testimonial blockquote {
  font-family: "Fraunces", serif; font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.4; margin: 1rem 0 1.5rem; font-weight: 500; color: var(--ink);
}
.testimonial figcaption { color: var(--muted); font-size: .95rem; }
.testimonial figcaption strong { color: var(--ink); }

/* CTA / Contact */
.cta {
  background: var(--bg); color: #fff;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 40% at 90% 0%, rgba(45,92,58,.35), transparent 70%),
    radial-gradient(40% 35% at 0% 100%, rgba(212,168,75,.15), transparent 70%);
  pointer-events: none;
}
.cta__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start; position: relative;
}
.cta__copy h2 { color: #fff; }
.cta__copy p  { color: rgba(255,255,255,.72); max-width: 52ch; }
.cta__info { display: flex; flex-direction: column; gap: .8rem; margin-top: 2rem; }
.cta__item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #fff; transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cta__item:hover { background: rgba(255,255,255,.1); border-color: var(--brand); }
.cta__item svg { color: var(--brand); flex-shrink: 0; }
.cta__item small { display: block; color: rgba(255,255,255,.55); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.cta__item strong { font-weight: 500; }

.cta__form {
  background: #fff; color: var(--ink);
  padding: 2rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid; gap: .9rem;
}
.cta__form h3 { margin: 0 0 .4rem; font-family: "Fraunces", serif; font-size: 1.4rem; }
.cta__form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.cta__form input,
.cta__form select,
.cta__form textarea {
  font: inherit; color: var(--ink);
  padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: #fafafa;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  font-family: inherit;
}
.cta__form input:focus,
.cta__form select:focus,
.cta__form textarea:focus { outline: 0; border-color: var(--brand); background: #fff; }
.cta__form .check { flex-direction: row; display: flex; align-items: flex-start; gap: .6rem; font-size: .82rem; font-weight: 400; color: var(--muted); }
.cta__form .check input { margin-top: 3px; }
.cta__form-note { font-size: .82rem; color: var(--muted); text-align: center; margin: .2rem 0 0; }
.cta__form-note a { color: var(--brand); font-weight: 600; }

/* Footer */
.foot {
  background: #0a0a0d; color: #d1d1d8;
  padding: 3rem 0 1.5rem;
}
.foot__inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.foot__brand { display: flex; gap: .9rem; align-items: center; }
.foot__brand img { border-radius: 10px; background: rgba(255,255,255,.05); padding: 4px; }
.foot__brand strong { color: #fff; display: block; font-family: "Fraunces", serif; font-size: 1.1rem; }
.foot__brand small  { color: rgba(255,255,255,.5); font-size: .8rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.foot nav a { color: rgba(255,255,255,.72); font-size: .9rem; }
.foot nav a:hover { color: var(--brand); }
.foot__meta { display: flex; flex-direction: column; gap: .4rem; font-size: .88rem; color: rgba(255,255,255,.65); text-align: right; }
.foot__meta a { color: rgba(255,255,255,.85); }
.foot__meta a:hover { color: var(--brand); }

.foot__bottom {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem;
  font-size: .82rem; color: rgba(255,255,255,.45);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .mobile[aria-open="true"], .mobile.is-open { display: block; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 420px; order: -1; }
  .hero__stats { margin-top: 2rem; }

  .mission__grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-head--row { grid-template-columns: 1fr; align-items: start; }

  .courses { grid-template-columns: repeat(2, 1fr); }

  .labs__inner { grid-template-columns: 1fr; }
  .labs__gallery { grid-template-rows: 200px 200px; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .team__grid { grid-template-columns: 1fr; }

  .cta__inner { grid-template-columns: 1fr; }

  .foot__inner { grid-template-columns: 1fr; text-align: left; }
  .foot__meta { text-align: left; }
  .foot__bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .courses { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats li:last-child { grid-column: span 2; }
  .chip--top { top: 2%; right: 2%; }
  .chip--bottom { bottom: 2%; }
  .card-photo--a { inset: 4% 30% 40% 0; }
  .card-photo--b { inset: 20% 0 20% 30%; }
  .card-photo--c { inset: 50% 40% 0 15%; }
  .cta__form { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
