/* ============================================================
   Mayo School — L'Arte dell'Oreficeria
   Stile: caldo / artigianale (terracotta + crema + espresso)
   Coerente con il brand Mayo Atelier.
   ============================================================ */

/* ---------- Font brand: Nexa ---------- */
@font-face {
  font-family: "Nexa";
  src: url("../fonts/Nexa-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nexa";
  src: url("../fonts/Nexa-Regular.otf") format("opentype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nexa";
  src: url("../fonts/Nexa-Bold.otf") format("opentype");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* palette — calda, terrosa */
  --espresso:   #3d2418;   /* marrone scuro: testo + sezioni scure */
  --espresso-2: #5c3a28;   /* testo secondario scuro */
  --brown:      #6e2a12;   /* marrone header / blocchi scuri */
  --terra:      #a8481f;   /* terracotta / ruggine: accento principale */
  --terra-deep: #8a3817;   /* terracotta profonda */
  --cream:      #f4ebdd;   /* crema chiara: sfondo principale */
  --cream-2:    #ece0cd;   /* crema più profonda */
  --cream-3:    #e3d3ba;   /* crema/beige sezioni */
  --tan:        #d9c3a5;   /* beige bottoni/dettagli */
  --line:       #dcc9ad;   /* hairline */
  --muted:      #856b53;   /* testo secondario */
  --white:      #ffffff;

  /* alias semantici usati nel CSS */
  --ink:        var(--espresso);
  --ink-soft:   var(--espresso-2);
  --paper:      var(--cream);
  --paper-2:    var(--cream-2);
  --accent:     var(--terra);
  --accent-deep:var(--terra-deep);

  /* type — Nexa (font brand Mayo Atelier) */
  --round: "Nexa", "Helvetica Neue", Arial, sans-serif; /* display / titoli / nav */
  --body:  "Nexa", "Helvetica Neue", Arial, sans-serif; /* testo corrente */

  /* spacing */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --maxw: 1200px;
  --maxw-narrow: 780px;

  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; padding: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--section-y); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.grid-2--media { align-items: center; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--round);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  color: var(--terra);
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: #e9bb98; }

.section__title {
  font-family: var(--round);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.005em;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  color: var(--brown);
}
.section__title em { font-style: normal; color: var(--terra); }

.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__sub { color: var(--muted); margin-top: 1.2rem; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--round);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  padding: 1.05em 2.2em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--terra); color: var(--white); }
.btn--gold:hover { background: var(--terra-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(138,56,23,0.6); }
.btn--ghost-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 1.4rem;
}
.site-header.is-scrolled {
  background: var(--brown);
  box-shadow: 0 2px 18px -8px rgba(61,36,24,0.5);
  padding-block: 0.8rem;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 0.28rem; line-height: 1; color: var(--white); }
.brand__logo { height: 30px; width: auto; display: block; transition: height 0.4s var(--ease); }
.site-header.is-scrolled .brand__logo { height: 26px; }
.brand__sub { font-family: var(--round); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.42em; font-weight: 600; text-indent: 0.42em; }
.brand--light .brand__sub { color: var(--cream); }
.footer__brand .brand__logo { height: 32px; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav__link {
  font-family: var(--round);
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
  color: rgba(255,255,255,0.9); position: relative; padding-block: 0.3rem;
  transition: color 0.3s var(--ease);
}
.nav__link:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--tan); transition: width 0.35s var(--ease);
}
.nav__link:not(.nav__cta):hover { color: #fff; }
.nav__link:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--tan); padding: 0.7em 1.4em; border-radius: var(--radius);
  color: var(--brown) !important;
}
.nav__cta:hover { background: #fff; color: var(--brown) !important; }

/* hamburger */
.nav-toggle { display: none; width: 30px; height: 22px; position: relative; }
.nav-toggle span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--white); border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-toggle.is-open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  /* fallback caldo prima/se il video non carica */
  background:
    radial-gradient(1100px 760px at 78% 26%, rgba(168,72,31,0.55), transparent 62%),
    linear-gradient(165deg, #7c3216 0%, #5e2410 52%, #441a0c 100%);
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* overlay caldo per leggibilità del testo (più scuro a sinistra, dove sta il copy) */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(44,17,8,0.86) 0%, rgba(44,17,8,0.55) 48%, rgba(44,17,8,0.22) 100%),
    linear-gradient(180deg, rgba(44,17,8,0.15) 55%, rgba(44,17,8,0.78) 100%);
}
.hero__inner { padding-block: 8rem 6rem; max-width: 900px; }
.hero__title {
  font-family: var(--round); font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.02; font-size: clamp(2.6rem, 1.6rem + 5.4vw, 5.4rem); margin-bottom: 1.6rem;
}
.hero__title em { font-style: normal; color: #f0c9a8; }
.hero__lead { max-width: 560px; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: rgba(255,255,255,0.88); margin-bottom: 2.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero__meta {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--round); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.78);
}
.hero__meta strong { color: #f0c9a8; font-weight: 700; }
.hero__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-size: 1.4rem; color: rgba(255,255,255,0.65); animation: float 2.4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Intro ---------- */
.section--intro { background: var(--paper); }
.intro__text p + p { margin-top: 1.2rem; color: var(--muted); }
.intro__text em { font-style: normal; font-weight: 600; color: var(--terra); }

.value-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.value-card {
  padding: clamp(1.8rem, 3vw, 2.6rem); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(110,42,18,0.35); }
.value-card__icon { font-family: var(--round); font-weight: 700; font-size: 1.9rem; color: var(--terra); display: block; margin-bottom: 0.9rem; }
.value-card h3 { font-family: var(--round); font-weight: 600; font-size: 1.35rem; margin-bottom: 0.6rem; color: var(--brown); }
.value-card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Strip ---------- */
.strip { background: var(--terra); color: var(--cream); }
.strip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: clamp(2.5rem, 5vw, 3.5rem); gap: 1.5rem; text-align: center;
}
.strip__item { display: flex; flex-direction: column; gap: 0.4rem; position: relative; }
.strip__item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,0.22);
}
.strip__num { font-family: var(--round); font-weight: 700; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); color: #fff; line-height: 1; }
.strip__label { font-family: var(--round); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.88); }

/* ---------- Programma / curriculum ---------- */
.section--programma { background: var(--cream-3); }
.curriculum { display: flex; flex-direction: column; }
.chapter { border-top: 1px solid var(--line); }
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter__head {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem); padding-block: clamp(1.5rem, 3vw, 2.2rem); text-align: left;
  transition: color 0.3s var(--ease);
}
.chapter__head:hover { color: var(--terra); }
.chapter__num { font-family: var(--round); font-weight: 700; font-size: 1.1rem; color: var(--terra); letter-spacing: 0.03em; min-width: 2.2em; }
.chapter__title { font-family: var(--round); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1.3vw, 1.9rem); line-height: 1.18; color: var(--brown); }
.chapter__head:hover .chapter__title { color: var(--terra); }
.chapter__toggle { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.chapter__toggle::before, .chapter__toggle::after {
  content: ""; position: absolute; background: var(--terra); transition: transform 0.35s var(--ease);
}
.chapter__toggle::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.chapter__toggle::after  { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.chapter.is-open .chapter__toggle::after { transform: translateX(-50%) scaleY(0); }

.chapter__body { overflow: hidden; max-height: 0; transition: max-height 0.5s var(--ease); }
.chapter__intro {
  font-family: var(--body); font-weight: 400; font-size: 1.15rem; color: var(--terra-deep);
  padding-left: calc(2.2em + clamp(1rem, 3vw, 2.5rem)); margin-bottom: 1.2rem;
}
.chapter__list {
  display: flex; flex-direction: column; gap: 0.9rem;
  padding: 0 0 2rem calc(2.2em + clamp(1rem, 3vw, 2.5rem));
  max-width: 820px;
}
.chapter__list li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: 0.98rem; }
.chapter__list li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 7px; height: 7px; background: var(--terra); border-radius: 50%; }
.chapter__list strong { color: var(--ink); font-weight: 600; }

/* ---------- Audience ---------- */
.section--audience { background: var(--paper); }
.audience__list { display: flex; flex-direction: column; gap: 1.1rem; }
.audience__list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline;
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 1.08rem;
}
.audience__list li span { color: var(--terra); font-family: var(--round); font-weight: 700; }

/* ---------- Maestro ---------- */
.section--maestro { background: var(--brown); color: var(--cream); }
.section--maestro .section__title { color: var(--cream); }
.section--maestro .eyebrow { color: #e9bb98; }
.maestro__text p { color: rgba(255,255,255,0.84); margin-top: 1.2rem; }
.maestro__role { font-family: var(--round); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: #e9bb98 !important; margin-top: 0.6rem !important; }
.maestro__media { margin: 0; position: relative; }
.maestro__photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%;
  border-radius: var(--radius); display: block;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
/* cornice calda sottile attorno alla foto */
.maestro__media::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius); pointer-events: none;
}
.pull-quote {
  font-family: var(--round); font-weight: 500; font-style: normal; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.7rem);
  line-height: 1.35; color: #f0c9a8; margin-top: 2rem; padding-left: 1.5rem; border-left: 3px solid var(--tan);
}

/* ---------- Include ---------- */
.section--include { background: var(--paper); }
.include__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.include__item { padding: clamp(1.8rem, 3vw, 2.6rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background 0.3s var(--ease); }
.include__item:hover { background: var(--cream-2); }
.include__item h3 { font-family: var(--round); font-weight: 600; font-size: 1.25rem; margin-bottom: 0.6rem; color: var(--brown); }
.include__item p { color: var(--muted); font-size: 0.96rem; }
.note-symbolic { display: block; margin-top: 0.5rem; font-size: 0.82rem; color: var(--terra-deep); font-style: italic; }

/* ---------- Pricing ---------- */
.section--pricing { background: var(--cream-3); }
.pricing-card {
  display: grid; grid-template-columns: 1.3fr 1fr; background: var(--brown); color: var(--cream);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -50px rgba(61,36,24,0.8);
}
.pricing-card__left { padding: clamp(2.2rem, 4vw, 3.6rem); }
.pricing-card__title { font-family: var(--round); font-weight: 600; font-size: clamp(1.7rem, 1.4rem + 1.6vw, 2.5rem); margin-bottom: 1rem; }
.pricing-card__desc { color: rgba(255,255,255,0.82); margin-bottom: 1.8rem; max-width: 40ch; }
.pricing-card__features { display: flex; flex-direction: column; gap: 0.8rem; }
.pricing-card__features li { position: relative; padding-left: 1.6rem; color: rgba(255,255,255,0.9); font-size: 0.98rem; }
.pricing-card__features li::before { content: "✦"; position: absolute; left: 0; color: #e9bb98; }
.pricing-card__hint { color: rgba(255,255,255,0.6); font-size: 0.84em; }
.pricing-card__right {
  padding: clamp(2.2rem, 4vw, 3.6rem); background: var(--terra);
  display: flex; flex-direction: column; justify-content: center;
}
.pricing-card__price-label { font-family: var(--round); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.85); }
.pricing-card__price { font-family: var(--round); font-weight: 700; font-size: clamp(2.8rem, 2rem + 3vw, 4rem); line-height: 1; margin: 0.5rem 0 0.4rem; color: #fff; }
.pricing-card__price .cur { font-size: 0.4em; color: rgba(255,255,255,0.85); vertical-align: super; letter-spacing: 0.04em; }
.pricing-card__note { font-size: 0.82rem; color: rgba(255,255,255,0.8); margin-bottom: 1.8rem; }
.pricing-card__right .btn--gold { background: #fff; color: var(--terra); }
.pricing-card__right .btn--gold:hover { background: var(--cream); color: var(--terra-deep); }
.pricing-card__fineprint { font-size: 0.72rem; color: rgba(255,255,255,0.7); margin-top: 0.9rem; text-align: center; }

/* ---------- FAQ ---------- */
.section--faq { background: var(--paper); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.5rem; text-align: left; font-family: var(--round); font-weight: 600; color: var(--brown);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); transition: color 0.3s var(--ease);
}
.faq__q:hover { color: var(--terra); }
.faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--terra); transition: transform 0.35s var(--ease); }
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.45s var(--ease); }
.faq__a p { padding-bottom: 1.5rem; color: var(--muted); max-width: 65ch; }

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(820px 520px at 50% 0%, rgba(168,72,31,0.55), transparent 64%),
    linear-gradient(165deg, #7c3216, #5e2410);
  color: var(--white); text-align: center;
}
.final-cta__inner { padding-block: clamp(5rem, 10vw, 8rem); display: flex; flex-direction: column; align-items: center; gap: 2.2rem; }
.final-cta__title { font-family: var(--round); font-weight: 700; line-height: 1.05; font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); }

/* ---------- Footer ---------- */
.site-footer { background: #2e1a10; color: rgba(255,255,255,0.72); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand .brand { margin-bottom: 1rem; }
.footer__tag { max-width: 32ch; font-size: 0.92rem; color: rgba(255,255,255,0.6); }
.footer__col h4 { font-family: var(--round); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: #e9bb98; margin-bottom: 1.2rem; }
.footer__col a { display: block; font-size: 0.92rem; padding-block: 0.35rem; color: rgba(255,255,255,0.72); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 1rem; margin-top: 0.8rem; }
.footer__social a { display: inline; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-block: 1.8rem; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a:hover { color: #fff; }

/* ---------- Placeholder styling ---------- */
.is-placeholder {
  color: var(--terra-deep); background: rgba(168,72,31,0.14);
  border-bottom: 1px dashed var(--terra); padding: 0 0.2em; border-radius: 2px;
}
.is-placeholder-block {
  display: block; color: var(--terra-deep); background: rgba(168,72,31,0.1);
  border: 1px dashed rgba(168,72,31,0.55); padding: 0.8em 1em; border-radius: var(--radius);
  font-style: italic; margin-top: 1rem;
}
.section--maestro .is-placeholder, .section--pricing .is-placeholder { color: #f0c9a8; background: rgba(255,255,255,0.12); border-bottom-color: rgba(255,255,255,0.5); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__scroll { animation: none; }
  .hero__video { display: none; } /* resta il gradiente caldo di fallback */
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .value-cards { grid-template-columns: 1fr; }
  .include__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .pricing-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* mobile nav */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.8rem;
    background: var(--brown); padding: 2rem var(--gutter);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,0.6);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { color: rgba(255,255,255,0.9); font-size: 1rem; }
  .nav-toggle { display: block; z-index: 110; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-2--media { gap: 2rem; }
  .strip__inner { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .strip__item:nth-child(2)::after { display: none; }
  .include__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .chapter__intro, .chapter__list { padding-left: 0; }
  .hero__inner { padding-block: 7rem 5rem; }
}

@media (max-width: 420px) {
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item::after { display: none !important; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
