/* ============================================================
   LB Studios — Global Stylesheet
   Design language: dark luxury / editorial (inspired by MJ London)
   Slot into Laravel: copy /css, /js, /images and the HTML pages
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg:          #080808;
  --bg-2:        #111111;
  --bg-3:        #191919;
  --text:        #f4ede3;
  --text-muted:  #8a8078;
  --accent:      #7b5ea7;
  --accent-light:#a882d4;
  --border:      rgba(244,237,227,0.08);
  --border-mid:  rgba(244,237,227,0.15);
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Inter', system-ui, sans-serif;
  --radius:      2px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; letter-spacing: 0.08em; font-family: var(--sans); font-weight: 500; text-transform: uppercase; }

p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.85; }
.lead { font-size: 1.1rem; line-height: 1.75; color: var(--text); font-weight: 300; }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container--narrow { max-width: 780px; }
.section { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }
.section--lg { padding: 9rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ---------- Dividers ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-mid);
}
.divider--centered { justify-content: center; }
.section-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  transition: var(--transition);
  var(--radius): var(--radius);
}
.btn:hover {
  background: var(--text);
  color: var(--bg);
}
.btn--accent {
  border-color: var(--accent);
  color: var(--accent-light);
}
.btn--accent:hover {
  background: var(--accent);
  color: var(--text);
}
.btn--filled {
  background: var(--text);
  color: var(--bg);
}
.btn--filled:hover {
  background: transparent;
  color: var(--text);
}
.btn--lg {
  padding: 1.1rem 2.8rem;
  font-size: 0.82rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.5rem;
  transition: background var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(8,8,8,0.97);
  padding: 1rem 2.5rem;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__logo-mark span {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
}
.nav__logo-text {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}
.nav__logo-text small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  font-weight: 400;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,237,227,0.7);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: width var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__cta {
  padding: 0.65rem 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

/* Mobile nav */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
  z-index: 110;
}
.nav__burger span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--accent-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  /* TODO: Replace with hero photo — e.g. background-image: url('../images/hero.jpg'); */
  background: linear-gradient(160deg, #1a0f2e 0%, #0d0d0d 40%, #0a0810 100%);
  background-size: cover;
  background-position: center;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.3) 60%, rgba(8,8,8,0.2) 100%);
}
/* Decorative texture overlay */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 25% 60%, rgba(123,94,167,0.12) 0%, transparent 50%),
    radial-gradient(circle at 75% 30%, rgba(123,94,167,0.06) 0%, transparent 40%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 2.5rem 7rem;
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent-light);
}
.hero__title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 300;
  color: var(--text);
  max-width: 900px;
  line-height: 1.05;
  margin-bottom: 2rem;
}
.hero__title em {
  font-style: italic;
  color: var(--accent-light);
}
.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(244,237,227,0.65);
  max-width: 480px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.hero__location {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero__location svg { width: 12px; height: 12px; opacity: 0.6; }
.hero__actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- About Strip ---------- */
.about-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  overflow: hidden;
}
.about-strip__inner {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.about-strip__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.about-strip__item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Mission Section ---------- */
.mission__label { margin-bottom: 2rem; }
.mission__heading {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 2rem;
}
.mission__heading strong {
  font-weight: 600;
  font-style: italic;
}
.mission__body {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.mission__image {
  position: relative;
}
.mission__image-frame {
  /* TODO: Replace with your image — background-image: url('../images/studio.jpg') */
  aspect-ratio: 4/5;
  background: var(--bg-3);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mission__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mission__image-placeholder {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 2rem;
}
.mission__image-caption {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--accent);
  padding: 1.2rem 1.6rem;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text);
  max-width: 200px;
  line-height: 1.4;
}

/* ---------- Pillars / Features ---------- */
.pillar {
  padding: 2.5rem;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color var(--transition), transform var(--transition);
}
.pillar:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
}
.pillar__number {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--border-mid);
  line-height: 1;
  margin-bottom: 1rem;
}
.pillar__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.pillar__body {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- Event Feature ---------- */
.event-feature {
  position: relative;
  overflow: hidden;
}
.event-feature__bg {
  /* TODO: Replace with event photo — background-image: url('../images/equilibrium.jpg') */
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, #1a0f2e 0%, #110d1f 50%, #0d0a1a 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.event-feature__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.55);
}
.event-feature__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
}
.event-feature__tag {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  margin-bottom: 1.5rem;
  font-family: var(--sans);
  font-weight: 500;
}
.event-feature__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 1rem;
  font-style: italic;
}
.event-feature__date {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}
.event-feature__desc {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: rgba(244,237,227,0.75);
  line-height: 1.75;
}

/* ---------- Class Cards ---------- */
.class-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition);
}
.class-card:hover { border-color: var(--accent); }
.class-card__image {
  /* TODO: Replace with class photo */
  aspect-ratio: 3/2;
  background: var(--bg-3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.class-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.class-card:hover .class-card__image img { transform: scale(1.04); }
.class-card__image-placeholder {
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-align: center;
}
.class-card__body { padding: 1.8rem; }
.class-card__type {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.6rem;
  font-family: var(--sans);
  font-weight: 500;
}
.class-card__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.class-card__desc {
  font-size: 0.87rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.class-card__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

/* ---------- Subscribe Section ---------- */
.subscribe {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.subscribe__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.subscribe__heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.subscribe__sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.subscribe__form {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-mid);
  overflow: hidden;
}
.subscribe__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 1rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 300;
}
.subscribe__input::placeholder { color: var(--text-muted); }
.subscribe__btn {
  padding: 1rem 1.8rem;
  background: var(--text);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}
.subscribe__btn:hover { background: var(--accent-light); color: var(--text); }

/* ---------- Contact Form ---------- */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-family: var(--sans);
}
.form-control {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  outline: none;
  padding: 0.9rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 300;
  transition: border-color var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--accent); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8078' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 2.8rem;
  cursor: pointer;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition);
}
.social-links a:hover {
  color: var(--text);
  border-color: var(--text);
}
.social-links a svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.footer {
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer__brand-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.footer__brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer__brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.footer__heading {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.footer__links li + li { margin-top: 0.6rem; }
.footer__links a {
  font-size: 0.88rem;
  color: rgba(244,237,227,0.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 12rem 0 6rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-header__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(123,94,167,0.08) 0%, transparent 60%);
}
.page-header__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
  font-family: var(--sans);
}
.page-header__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.page-header__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
}

/* ---------- Info Panels ---------- */
.info-panel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 2.5rem;
}
.info-panel__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent-light);
}
.info-panel__icon svg { width: 20px; height: 20px; }
.info-panel__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.info-panel__body {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ---------- Utility ---------- */
.accent-text { color: var(--accent-light); }
.muted { color: var(--text-muted); }
.spacer-sm { height: 1.5rem; }
.spacer-md { height: 3rem; }
.spacer-lg { height: 5rem; }
.full-bleed {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }

  .hero__content { padding: 0 1.25rem 5rem; }
  .mission__image-caption { right: 0; bottom: -1rem; }

  .section { padding: 4rem 0; }
  .section--lg { padding: 5rem 0; }

  .about-strip__inner { gap: 2rem; justify-content: flex-start; padding: 0 1.25rem; }
  .subscribe__form { flex-direction: column; }
  .subscribe__btn { width: 100%; text-align: center; }

  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__bottom .social-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .pillar { padding: 1.8rem; }
  .class-card__body { padding: 1.4rem; }
}

/* ---------- Legal pages (privacy.html, terms.html) ---------- */
.legal-body {
  max-width: 100%;
}
.legal-intro {
  margin-bottom: 3rem;
}
.legal-intro .lead {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.legal-intro p {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.legal-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 3rem;
}
.legal-section {
  margin-bottom: 3rem;
}
.legal-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.legal-section h3 {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin: 1.5rem 0 0.6rem;
}
.legal-section p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 0.85rem;
}
.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem 0;
}
.legal-section ul li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.legal-section strong { color: var(--text); font-weight: 600; }
.legal-section a { color: var(--accent-light); transition: color var(--transition); }
.legal-section a:hover { color: var(--text); }

/* Cookie table */
.cookie-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--border);
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.cookie-table th {
  background: var(--bg-3);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.cookie-table td {
  padding: 0.85rem 1.2rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table td strong { color: var(--text); }
