:root {
  /* Brazil flag palette */
  --forest: #009c3b;
  --forest-deep: #006b29;
  --forest-soft: #00b344;
  --brazil-blue: #002776;
  --brazil-yellow: #ffdf00;
  --brazil-yellow-hot: #ffe84d;
  --copper: var(--brazil-yellow);
  --copper-hot: var(--brazil-yellow-hot);
  --copper-deep: #e6c200;
  --ink: #0b1a14;
  --muted: #4d6358;
  --white: #ffffff;
  --snow: #f6f8f6;
  --line: rgba(0, 156, 59, 0.14);
  --radius: 1.35rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow: 0 28px 70px rgba(0, 39, 118, 0.18);
  --header-h: 4.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--snow);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-deep);
}

.eyebrow--light { color: var(--copper-hot); }

.section-lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head { margin-bottom: 2.5rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .section-lede { margin-inline: auto; }
.section-head h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }

.text-link {
  display: inline-flex;
  font-weight: 700;
  color: var(--forest);
  border-bottom: 1px solid currentColor;
  transition: color 0.25s ease;
}
.text-link:hover { color: var(--copper-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.15rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), background 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }

.btn--copper,
.btn--yellow {
  background: linear-gradient(135deg, var(--brazil-yellow-hot), var(--brazil-yellow));
  color: var(--brazil-blue);
  box-shadow: 0 14px 36px rgba(255, 223, 0, 0.35);
}
.btn--copper:hover,
.btn--yellow:hover {
  background: linear-gradient(135deg, #fff36a, var(--brazil-yellow-hot));
  box-shadow: 0 18px 44px rgba(255, 223, 0, 0.48);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--dark {
  background: var(--brazil-blue);
  color: var(--snow);
}
.btn--dark:hover { background: #003a9e; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1rem, 4vw, 2.75rem);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(0, 39, 118, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 39, 118, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  z-index: 2;
}

.brand__mark {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 132, 58, 0.5);
}

.brand__text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:not(.nav__cta):hover { color: var(--copper-hot); }

.nav__cta {
  padding: 0.55rem 1.05rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}
.nav__cta:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--white);
  transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero — Rio backdrop + Juliana overlay */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end start;
  color: var(--white);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }

.hero__bg {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
  filter: saturate(1.15) contrast(1.05);
}

.hero__portrait {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: min(52vw, 580px);
  max-width: none;
  object-fit: cover;
  object-position: center 12%;
  z-index: 2;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 12%, #000 28%, #000 100%),
    linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 12%, #000 28%, #000 100%),
    linear-gradient(180deg, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  animation: portraitIn 1.15s cubic-bezier(.2,.8,.2,1) 0.15s both;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 39, 118, 0.72) 0%, rgba(0, 107, 41, 0.45) 42%, rgba(0, 39, 118, 0.15) 68%, rgba(0, 39, 118, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 39, 118, 0.35) 0%, transparent 30%, rgba(0, 107, 41, 0.35) 72%, var(--snow) 100%);
}

.hero__flag {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 18%;
  width: 6px;
  z-index: 3;
  background: linear-gradient(180deg, var(--forest) 0 33%, var(--brazil-yellow) 33% 66%, var(--brazil-blue) 66% 100%);
}

.hero__content {
  position: relative;
  z-index: 4;
  width: min(620px, 100%);
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 5vw, 4rem) 5.75rem;
  text-align: left;
  animation: riseIn 1s cubic-bezier(.2,.8,.2,1) both;
}

.hero__brand {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.hero__title {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.hero__title em {
  font-style: normal;
  color: var(--brazil-yellow);
  text-shadow: 0 0 28px rgba(255, 223, 0, 0.35);
}

.hero__lede {
  max-width: 32rem;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.hero__meta {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}

/* Moving image strip */
.strip {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: 0 0 1rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.strip__track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: marquee 42s linear infinite;
  padding-inline: 1rem;
}

.strip:hover .strip__track { animation-play-state: paused; }

.strip__item {
  position: relative;
  margin: 0;
  width: clamp(160px, 18vw, 240px);
  aspect-ratio: 3 / 4;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.strip__item:hover img { transform: scale(1.08); }

.strip__item figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Courses — sexy cards */
.courses {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.1rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
}

.course-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 39, 118, 0.1);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.45s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 39, 118, 0.18);
}

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--forest);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.card:hover .card__media img { transform: scale(1.08); }

.card__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--brazil-yellow);
  color: var(--brazil-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card__tag--new { background: var(--forest); color: var(--white); }

.card__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(0, 39, 118, 0.78));
  letter-spacing: -0.02em;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem 1.3rem;
  flex: 1;
}

.card__body h3 {
  font-size: 1.25rem;
  margin: 0;
}

.card__body p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

/* Full-bleed mood */
.bleed {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: clamp(1rem, 4vw, 2.5rem) 0;
  color: var(--white);
  text-align: center;
}

.bleed__img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  will-change: transform;
}

.bleed__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 39, 118, 0.25), rgba(0, 107, 41, 0.55)),
    radial-gradient(ellipse at center, transparent 10%, rgba(0, 39, 118, 0.45) 100%);
}

.bleed__copy {
  position: relative;
  z-index: 1;
  padding: 2rem 1.25rem;
  max-width: 36rem;
}

.bleed__copy h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 0.6rem;
}

.bleed__copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
}

/* Lessons */
.lessons {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 2.5rem);
}

.lessons__stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  background: var(--brazil-blue);
  box-shadow: var(--shadow);
  min-height: 520px;
}

.lessons__photo {
  margin: 0;
  min-height: 100%;
}

.lessons__photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.lessons__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  color: var(--snow);
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(255, 223, 0, 0.22), transparent 60%),
    linear-gradient(160deg, var(--forest), var(--brazil-blue));
}

.lessons__copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  max-width: 11ch;
}

.lessons__copy > p {
  color: rgba(247, 247, 245, 0.82);
  max-width: 32rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.7rem;
  display: grid;
  gap: 0.6rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 600;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--brazil-yellow);
  box-shadow: 0 0 0 4px rgba(255, 223, 0, 0.25);
}

/* About */
.about {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.1rem, 4vw, 2.5rem);
}

.about__frame {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.about__photo {
  margin: 0;
  border-radius: calc(var(--radius) + 0.2rem);
  overflow: hidden;
  min-height: 520px;
  box-shadow: var(--shadow);
}

.about__photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
  transition: transform 1s ease;
}

.about__frame:hover .about__photo img { transform: scale(1.04); }

.about__copy h2 {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
}

.about__lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--forest);
  line-height: 1.35;
}

.about__copy p { color: var(--muted); max-width: 36rem; }

.about__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0;
  margin: 1.4rem 0 1.5rem;
  max-width: 34rem;
}

.about__stats li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: rgba(0, 156, 59, 0.08);
  border: 1px solid rgba(0, 156, 59, 0.16);
}

.about__stats strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--brazil-blue);
  line-height: 1;
}

.about__stats span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.inline-link {
  color: var(--forest-deep);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.inline-link:hover { color: var(--brazil-blue); }

/* Promise / foreigners */
.promise {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.1rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.5rem);
}

.promise__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.promise__item {
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border-top: 4px solid var(--brazil-yellow);
  box-shadow: 0 16px 40px rgba(0, 39, 118, 0.08);
}

.promise__item:nth-child(2) { border-top-color: var(--forest); }
.promise__item:nth-child(3) { border-top-color: var(--brazil-blue); }

.promise__item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.promise__item p {
  margin: 0;
  color: var(--muted);
}

/* Reviews */
.reviews {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.1rem, 4vw, 2.5rem);
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(255, 223, 0, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(0, 156, 59, 0.04), transparent);
}

.review-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.review {
  margin: 0;
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 39, 118, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.review--wide {
  grid-column: span 2;
}

.review__stars {
  color: var(--brazil-yellow);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-shadow: 0 0 1px rgba(0, 39, 118, 0.35);
}

.review p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
  flex: 1;
}

.review footer {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brazil-blue);
}

/* Instagram mosaic */
.instagram {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 2.5rem);
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 0.75rem;
}

.mosaic__tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--forest);
}

.mosaic__tile--tall { grid-row: span 2; }
.mosaic__tile--wide { grid-column: span 2; }

.mosaic__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1), filter 0.4s ease;
}

.mosaic__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 39, 118, 0.4));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mosaic__tile:hover img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.05);
}
.mosaic__tile:hover::after { opacity: 1; }

.ig-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

/* FAQ */
.faq {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 2.5rem);
}

.faq__layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.faq-list { display: grid; gap: 0.7rem; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 1.1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(212, 132, 58, 0.45);
  background: var(--white);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 1rem 0;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--copper-deep);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding-bottom: 1rem; }

/* Book CTA */
.book {
  padding: 0 clamp(1.1rem, 4vw, 2.5rem) clamp(3.5rem, 8vw, 5.5rem);
}

.book__panel {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.55rem);
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow);
}

.book__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(0, 107, 41, 0.78), rgba(0, 39, 118, 0.7)),
    radial-gradient(ellipse at 50% 20%, rgba(255, 223, 0, 0.28), transparent 55%);
}

.book__content {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
  max-width: 38rem;
}

.book__content h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.book__content > p {
  color: rgba(255, 255, 255, 0.88);
}

.book__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.5rem 0 1rem;
}

.book__meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

/* Footer */
.site-footer {
  padding: 2.5rem clamp(1.1rem, 4vw, 2.5rem) 2rem;
  background: var(--brazil-blue);
  color: rgba(247, 247, 245, 0.78);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer__brand img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 132, 58, 0.4);
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--snow);
  margin-bottom: 0.2rem;
}

.footer__brand p { margin: 0; max-width: 22rem; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__cols h3 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-hot);
  margin-bottom: 0.85rem;
}

.footer__cols a {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 600;
}
.footer__cols a:hover { color: var(--copper-hot); }

.footer__copy {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 247, 245, 0.12);
  font-size: 0.85rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: none; }
}

@keyframes portraitIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .course-rail {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .lessons__stage,
  .about__frame,
  .faq__layout,
  .promise__grid {
    grid-template-columns: 1fr;
  }

  .review-rail {
    grid-template-columns: 1fr;
  }

  .review--wide {
    grid-column: auto;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .mosaic__tile--wide { grid-column: span 2; }
  .mosaic__tile--tall { grid-row: span 2; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    background: rgba(0, 39, 118, 0.97);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav a { font-size: 1.25rem; }

  .hero {
    place-items: end center;
  }

  .hero__content {
    text-align: center;
    width: min(760px, 100%);
    padding: calc(var(--header-h) + 1.5rem) 1.25rem 11.5rem;
  }

  .hero__actions { justify-content: center; }

  .hero__portrait {
    left: auto;
    right: 0;
    width: min(92vw, 420px);
    height: 62%;
    bottom: 0;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 22%, #000 100%),
      linear-gradient(180deg, #000 68%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 22%, #000 100%),
      linear-gradient(180deg, #000 68%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    animation: portraitIn 1s cubic-bezier(.2,.8,.2,1) 0.1s both;
    box-shadow: none;
    border-radius: 0;
  }

  .hero__flag { bottom: 28%; }

  .strip { margin-top: -1.5rem; }
}

@keyframes portraitInMobile {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip__track,
  .hero__content,
  .reveal,
  .btn,
  .card,
  .card__media img,
  .mosaic__tile img {
    animation: none !important;
    transition: none !important;
  }
}
