:root {
  --navy: #292330;
  --navy-deep: #292330;
  --teal: #48266a;
  --teal-dark: #48266a;
  --coral: #de4a2c;
  --sand: #f6f4fa;
  --cream: #ffffff;
  --ink: #292330;
  --muted: #6d6573;
  --gold: #48266a;
  --gold-soft: #c9b8e8;
  --line: #eceaf2;
  --shadow: 0 16px 40px rgba(41, 35, 48, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 120px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Source Sans 3", "Plus Jakarta Sans", sans-serif;
  line-height: 1.65;
  font-size: 17px;
  overflow-x: clip;
}
::selection { background: #d7efe8; color: var(--navy); }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--coral); }
h1, h2, h3, h4 {
  font-family: "DM Sans", "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .55em;
  font-weight: 650;
}
p { margin: 0 0 1em; }
.wrap { width: min(1440px, calc(100% - 80px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: .85;
}
.eyebrow.light { color: var(--gold-soft); }
.chapter {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.chapter b {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px; font-weight: 600; letter-spacing: 0; line-height: 1;
}
.chapter::after {
  content: ""; flex: 1; height: 1px; background: currentColor; opacity: .28;
}
.chapter.light { color: var(--gold-soft); }
.ico-arrow {
  width: 16px; height: 16px; flex-shrink: 0;
  stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  display: inline-block; vertical-align: -0.15em;
}
.topbar .ico-arrow { width: 12px; height: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 13px 20px; font-weight: 700;
  font-family: "DM Sans", "Plus Jakarta Sans", sans-serif; cursor: pointer;
  position: relative;
  isolation: isolate;
  letter-spacing: 0; font-size: 15px;
  will-change: transform;
  transition:
    transform .55s cubic-bezier(.33,1,.68,1),
    box-shadow .55s cubic-bezier(.33,1,.68,1),
    background-color .45s ease,
    border-color .45s ease,
    color .45s ease,
    gap .45s ease;
}
.btn:not(.btn-text) { overflow: hidden; }
.btn:not(.btn-text)::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-85%) skewX(-16deg);
  transition: transform .85s cubic-bezier(.33,1,.68,1);
  pointer-events: none;
  z-index: 1;
}
.btn:hover:not(.btn-text)::after { transform: translateX(85%) skewX(-16deg); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); transition-duration: .18s; }
.btn:focus-visible { outline: 2px solid #48266a; outline-offset: 3px; }
.btn .ico-arrow {
  position: relative;
  z-index: 2;
  transition: transform .55s cubic-bezier(.33,1,.68,1);
}
.btn:hover { gap: 10px; }
.btn:hover .ico-arrow-ne { transform: translate(2px, -2px); }
.btn:hover .ico-arrow-right { transform: translateX(3px); }
.btn:hover .ico-arrow-down { transform: translateY(3px); }
.btn-teal, .btn-navy, .btn-dark { background: #16141f; color: #fff; }
.btn-teal:hover, .btn-navy:hover, .btn-dark:hover {
  background: #2a2640; color: #fff;
  box-shadow: 0 10px 24px rgba(22, 20, 31, .16);
}
.btn-coral { background: #16141f; color: #fff; }
.btn-coral:hover {
  background: #2a2640; color: #fff;
  box-shadow: 0 10px 24px rgba(22, 20, 31, .16);
}
.btn-primary { background: #48266a; color: #fff; }
.btn-primary:hover {
  background: #5a3480; color: #fff;
  box-shadow: 0 10px 24px rgba(72, 38, 106, .22);
}
.btn-ghost, .btn-light { background: #fff; color: #16141f; }
.btn-ghost:hover, .btn-light:hover {
  background: #fff; color: #16141f;
  box-shadow: 0 10px 24px rgba(22, 20, 31, .1);
}
.btn-line {
  background: #fff; color: var(--navy); border: 1px solid var(--line);
}
.btn-line:hover {
  background: #16141f; color: #fff; border-color: #16141f;
  box-shadow: 0 10px 24px rgba(22, 20, 31, .12);
}
.btn-text { background: transparent; color: #16141f; padding-left: 0; padding-right: 0; }
.btn-text:hover { transform: none; box-shadow: none; color: #48266a; }

.lux-frame { position: relative; }
.lux-c {
  position: absolute; width: 22px; height: 22px; z-index: 3; pointer-events: none;
  border: 1px solid var(--gold-soft);
}
.lux-c.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.lux-c.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.lux-c.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.lux-c.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.topbar { background: #48266a; color: #f4efff; font-size: 13px; letter-spacing: 0; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; }
.topbar a { color: #e8f1ee; }
.social { display: flex; gap: 16px; }

.site-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-sticky.is-scrolled .site-header {
  box-shadow: 0 12px 32px rgba(8, 22, 28, .08);
}
.site-header {
  position: relative; top: auto; z-index: 1;
  background: rgba(255,255,255,.96); backdrop-filter: blur(18px);
  border-bottom: 1px solid #f0eef5;
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header .wrap.header-row { position: relative; }
.site-header.is-scrolled { box-shadow: 0 12px 32px rgba(8, 22, 28, .08); }
.header-row {
  display: flex; align-items: center; justify-content: flex-start;
  height: 105px; min-height: 105px; gap: 32px;
  transition: height .25s ease, min-height .25s ease;
}
.site-header.is-scrolled .header-row { height: 72px; min-height: 72px; }
.brand img {
  height: 64px; width: auto; max-width: 211px; object-fit: contain;
  transition: height .25s ease, max-width .25s ease;
}
.site-header.is-scrolled .brand img { height: 38px; max-width: 280px; }
.site-footer { background: #fff; color: #5c5c6b; }
.site-footer h4 { color: #16141f; letter-spacing: .08em; }
.site-footer a { color: #5c5c6b; }
.site-footer a:hover { color: #4b2a86; }
.footer-brand p { color: #5c5c6b; }
.footer-logo { background: none; padding: 0; height: 52px; }
.footer-contact a { color: #16141f; }
.footer-contact small { color: #8a8796; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-social a {
  width: auto; height: auto; border: 0; border-radius: 0;
  display: inline; color: #48266a; font-weight: 600; font-size: 14px;
}
.site-footer .footer-cta-actions .btn-light,
.site-footer .footer-cta-actions .btn-light > span {
  color: #48266a;
}
.site-footer .footer-cta-actions .btn-light:hover {
  color: #48266a;
  background: #fff;
}
.site-footer .footer-cta-actions .btn-text,
.site-footer .footer-cta-actions .btn-text:hover {
  color: #e7dced;
}
.site-footer .footer-cta-actions .btn-text:hover {
  color: #fff;
}
.footer-cta small { color: #eac599; }
.footer-cta strong { color: #fff; }
.footer-cta-copy > span { color: #eadff0; }
.footer-social a:hover { background: none; color: #292330; }
.footer-trust, .footer-bottom { border-color: #eceaf2; }
.footer-trust .wrap, .legal, .legal a { color: #8a8796; }
.site-header.is-scrolled .brand img { height: 38px; max-width: 280px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; background: none; padding: 0; border-radius: 0; }
nav.primary {
  display: flex; gap: 28px; align-items: center;
  margin-left: auto; margin-right: 0; flex-shrink: 0;
}
nav.primary a, .nav-drop button {
  position: relative;
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px; font-weight: 600; color: #292330; line-height: 25.6px;
  background: none; border: 0; cursor: pointer; padding: 0;
  transition: color .35s ease;
}
nav.primary a:hover, .nav-drop button:hover,
.nav-drop.open button { color: #6b4aa0; }
.nav-drop button {
  display: inline-flex; align-items: center; gap: 6px;
  outline: none;
  box-shadow: none;
}
.nav-drop button:focus,
.nav-drop button:focus-visible {
  outline: none;
  box-shadow: none;
}
.nav-drop { position: static; }
.nav-drop button::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .28s ease;
  flex-shrink: 0;
}
.nav-drop.open button::after,
.nav-drop:hover button::after {
  transform: rotate(225deg) translateY(-1px);
}
.nav-menu {
  --nav-top: 150px;
  --nav-caret-x: 50%;
  position: fixed;
  top: var(--nav-top);
  left: 0;
  right: 0;
  width: min(960px, calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, #e8dff2, #f3e7d4 45%, #e8dff2) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow:
    0 4px 14px rgba(22, 20, 31, .04),
    0 30px 64px rgba(22, 20, 31, .16);
  z-index: 80;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .26s ease, transform .26s ease, visibility .26s;
}
.nav-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: var(--nav-caret-x);
  width: 14px;
  height: 14px;
  margin-left: -7px;
  background: #fff;
  border-left: 1px solid #eceaf2;
  border-top: 1px solid #eceaf2;
  transform: rotate(45deg);
  z-index: 2;
}
.nav-menu::after {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.nav-drop.open .nav-menu,
.nav-drop:hover .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-menu-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  padding: 20px 12px 16px;
  background: #fff;
}
.nav-menu-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 16px;
  min-width: 0;
}
.nav-menu-col + .nav-menu-col {
  border-left: 1px solid #efeaf5;
}
.nav-menu-label {
  margin: 0 0 8px;
  padding: 0 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #48266a;
  line-height: 1.3;
}
.nav-menu-feature {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0 0 6px;
  padding: 10px;
  border-radius: 14px;
  background: #f7f3fb;
  border: 1px solid #ebe4f3;
  transition: border-color .2s ease, background .2s ease;
}
.nav-menu-feature:hover {
  border-color: #d9cce8;
  background: #f3edf8;
  color: inherit;
}
.nav-menu-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #48266a;
  box-shadow: 0 4px 10px rgba(72, 38, 106, .06);
}
.nav-menu-feature-icon svg {
  width: 20px;
  height: 20px;
}
.nav-menu-feature-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.nav-menu-feature-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e8893a;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.nav-menu-feature strong {
  font-family: "DM Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #292330;
}
.nav-menu-feature-meta {
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #7a7585;
}
.nav-menu-link {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 6px 4px;
  border-radius: 10px;
  font-family: "Source Sans 3", sans-serif;
  color: #292330;
  transition: background .18s ease, color .18s ease;
}
.nav-menu-link:hover {
  background: #f6f3f8;
  color: #48266a;
}
.nav-menu-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #f4f0f8;
  color: #48266a;
  transition: background .18s ease;
}
.nav-menu-link:hover .nav-menu-ico {
  background: #ebe3f3;
}
.nav-menu-ico svg {
  width: 16px;
  height: 16px;
}
.nav-menu-link > span:last-child {
  min-width: 0;
}
.nav-menu-link strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}
.nav-menu-link small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #8a8796;
}
.nav-menu-link:hover small { color: #6f6880; }
.nav-menu-list {
  display: grid;
  gap: 0;
  margin: 2px 0 0 42px;
  padding: 2px 0;
  border-left: 1px solid #ebe4f3;
}
.nav-menu-list a {
  display: block;
  padding: 6px 8px 6px 12px;
  border-radius: 0;
  font-family: "Source Sans 3", sans-serif;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.35;
  color: #5c5c6b;
  transition: color .18s ease, padding-left .18s ease;
}
.nav-menu-list a::before { display: none; }
.nav-menu-list a:hover {
  background: transparent;
  color: #48266a;
  padding-left: 16px;
}
.nav-menu-col--aside {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0 16px;
  border-radius: 0;
  background: transparent;
}
.nav-menu-col--aside .nav-menu-cta {
  margin-top: 8px;
}
.nav-menu-cta {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 10px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(234,197,153,.28), transparent 42%),
    linear-gradient(145deg, #48266a 0%, #5a3480 52%, #3a1d55 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(72, 38, 106, .22);
  transition: background .2s ease, box-shadow .2s ease;
}
.nav-menu-cta:hover {
  color: #fff;
  transform: none;
  box-shadow: 0 14px 32px rgba(72, 38, 106, .28);
}
.nav-menu-cta-kicker {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #eac599;
}
.nav-menu-cta strong {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.nav-menu-cta-copy {
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,.78);
}
.nav-menu-cta-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #f3e4c8;
}
.nav-menu-cta-action .ico-arrow {
  width: 12px;
  height: 12px;
  color: #eac599;
  transition: transform .2s ease;
}
.nav-menu-cta:hover .nav-menu-cta-action .ico-arrow {
  transform: translateX(3px);
}
.nav-menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 28px;
  background: #f8f5fa;
  border-top: 1px solid #efeaf5;
}
.nav-menu-foot span {
  font-family: "Source Sans 3", sans-serif;
  font-size: 13.5px;
  font-weight: 550;
  color: #5c5c6b;
}
.nav-menu-foot a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #48266a;
  transition: gap .18s ease, color .18s ease;
}
.nav-menu-foot a:hover {
  color: #3a1d55;
  gap: 10px;
}
.nav-menu-foot .ico-arrow {
  width: 12px;
  height: 12px;
}
/* Override nav.primary a { padding: 0 } for mega menu */
nav.primary .nav-menu-link {
  padding: 6px 4px;
  background: transparent;
}
nav.primary .nav-menu-list a {
  padding: 6px 8px 6px 12px;
  background: transparent;
}
nav.primary .nav-menu-feature {
  background: #f7f3fb;
  color: inherit;
  padding: 10px;
}
nav.primary .nav-menu-feature:hover {
  background: #f3edf8;
  color: inherit;
}
nav.primary .nav-menu-cta {
  background:
    radial-gradient(circle at 100% 0%, rgba(234,197,153,.28), transparent 42%),
    linear-gradient(145deg, #48266a 0%, #5a3480 52%, #3a1d55 100%);
  color: #fff;
  padding: 10px;
}
nav.primary .nav-menu-cta:hover {
  background:
    radial-gradient(circle at 100% 0%, rgba(234,197,153,.34), transparent 42%),
    linear-gradient(145deg, #52307a 0%, #64408c 52%, #432260 100%);
  color: #fff;
}
nav.primary .nav-menu-link:hover {
  background: #f6f3f8;
  color: #48266a;
}
nav.primary .nav-menu-list a:hover {
  background: transparent;
  color: #48266a;
  padding-left: 16px;
}
nav.primary .nav-menu-foot a {
  padding: 0;
  background: transparent;
}
nav.primary .nav-menu-foot a:hover {
  background: transparent;
  color: #3a1d55;
}


.header-cta { display: flex; gap: 8px; align-items: center; }
.header-cta .btn { padding: 8px 16px; font-size: 14px; box-shadow: none; }
.site-header { border-bottom: 0; background: #fff; backdrop-filter: none; }
.topbar {
  height: 36px; padding: 0; display: flex; align-items: center;
  font-family: "Source Sans 3", sans-serif;
  background: #48266a;
}
.topbar .wrap {
  width: min(1440px, calc(100% - 80px));
  align-items: center;
}
.topbar .wrap > div:first-child {
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 18.2px;
  letter-spacing: 0.195px;
}
.topbar a {
  color: #f6d6ab;
  font-size: 13px;
  font-weight: 600;
  line-height: 18.2px;
  letter-spacing: 0.195px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topbar a .ico-arrow { width: 10px; height: 10px; stroke-width: 2; }
.topbar a[href^="tel"] { display: none; }
.header-cta {
  gap: 14px;
  flex-shrink: 0;
  margin-left: 0;
}
.header-cta .btn-text {
  font-family: "Source Sans 3", sans-serif; font-size: 16px; font-weight: 600; color: #292330;
  position: relative; margin-left: 8px; padding-left: 22px;
  display: inline-flex; align-items: center; gap: 6px;
}
.header-cta .btn-text .ico-arrow { width: 12px; height: 12px; }
.header-cta .btn-text::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 18px; background: #d4d0dc;
}
.header-cta .btn-dark {
  width: auto; min-width: 147px; height: 46px; padding: 12px 18px; border-radius: 7px;
  background: #48266a; color: #fff;
  font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 600; line-height: 19.6px;
  gap: 12px; justify-content: space-between;
}
.header-cta .btn-dark .ico-arrow { width: 14px; height: 14px; }
.header-cta .btn-dark:hover {
  transform: translateY(-1px);
  background: #3a1d55;
  box-shadow: 0 8px 20px rgba(72, 38, 106, .22);
  color: #fff;
}
.header-cta .btn-text:hover {
  transform: none;
  color: #48266a;
}
.header-cta .btn-text:hover .ico-arrow-ne { transform: translate(2px, -2px); }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; }
.mobile-drawer { display: contents; }

.hero-cinematic,
.hero-split {
  position: relative;
  min-height: min(90vh, 840px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #060e12;
  overflow: hidden;
}
.hero-stage { position: absolute; inset: 0; }
.hero-bg {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 16%;
  min-height: min(90vh, 840px);
  filter: saturate(1.12) contrast(1.1);
  transform: scale(1.06);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6,14,18,.93) 0%, rgba(6,14,18,.72) 40%, rgba(6,14,18,.2) 70%, rgba(6,14,18,.45) 100%),
    linear-gradient(180deg, rgba(6,14,18,.2) 0%, transparent 30%, rgba(6,14,18,.72) 100%);
}
.hero-frame {
  position: absolute; width: 56px; height: 56px; z-index: 3;
  border: 1px solid rgba(215,178,122,.7);
}
.hero-frame.tl { top: 28px; left: 28px; border-right: 0; border-bottom: 0; }
.hero-frame.tr { top: 28px; right: 28px; border-left: 0; border-bottom: 0; }
.hero-frame.bl { bottom: 96px; left: 28px; border-right: 0; border-top: 0; }
.hero-frame.br { bottom: 96px; right: 28px; border-left: 0; border-top: 0; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 80px 0 36px; flex: 1; display: flex; align-items: center; }
.hero-copy {
  color: #e7f1ee;
  max-width: 720px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  padding: 0;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(46px, 6.2vw, 82px);
  max-width: 14ch;
  font-weight: 500;
  line-height: 1.05;
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}
.hero-copy p { color: #d5dfd9; max-width: 46ch; font-size: 18px; }
.hero-prompt {
  color: var(--gold-soft) !important;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  margin: 4px 0 8px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; }
.hero-rail {
  position: relative; z-index: 3;
  border-top: 1px solid rgba(215,178,122,.28);
  background: rgba(6,14,18,.72);
  backdrop-filter: blur(18px);
}
.hero-rail .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr);
  min-height: 88px;
}
.hero-rail .wrap > div {
  padding: 18px 8px;
  border-right: 1px solid rgba(215,178,122,.18);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-rail .wrap > div:last-child { border-right: 0; }
.hero-rail b { display: block; color: #fff; font-family: "Cormorant Garamond", serif; font-size: 34px; font-weight: 600; line-height: 1; }
.hero-rail span { color: var(--gold-soft); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; }
.hero-metrics { display: none; }
.hero-visual { position: relative; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 720px; filter: saturate(1.05) contrast(1.04); }

.section { padding: 88px 0; }
.section.sand {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(42,168,148,.08), transparent 40%),
    radial-gradient(ellipse at 8% 100%, rgba(184,146,90,.1), transparent 42%),
    var(--sand);
}
.section.alt { background: #fff; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; max-width: 820px; }
.section-head.light h2 { color: #fff; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 48px); font-weight: 650; letter-spacing: -0.045em; }
.section-head p { color: var(--muted); }
.section-head.left::after { display: none; }
.section-head::after {
  content: ""; display: block; width: 72px; height: 1px; margin: 26px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.center-note { text-align: center; margin-top: 40px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 500; }
.lede { font-size: 24px; color: inherit; font-family: "Cormorant Garamond", serif; font-style: italic; line-height: 1.4; }
.lede strong { display: inline; color: var(--coral); font-weight: 700; font-style: normal; font-family: Outfit, sans-serif; font-size: .72em; letter-spacing: .08em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.mission-section {
  background: #071114;
  color: #d8e4df;
  padding: 0;
}
.mission-grid {
  display: grid;
  grid-template-columns: minmax(300px, 580px) 1.2fr;
  gap: 0;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 640px;
}
.mission-copy {
  padding: 80px 48px 80px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.mission-copy h2 { color: #fff; max-width: 16ch; }
.mission-copy p { color: #c5d4ce; }

.video-card {
  background: #061015;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 0;
  border-left: 1px solid rgba(215,178,122,.28);
  display: flex; flex-direction: column;
}
.video-shell {
  position: relative;
  overflow: hidden;
  background: #0b1c24;
  flex: 1;
  min-height: 520px;
}
.video-card video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; background: #0b1c24;
}
.video-card span,
.video-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; color: var(--gold-soft);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: #08151b;
}
.video-meta i {
  width: 36px; height: 1px; background: var(--gold-soft); display: block;
}

.powerup-section {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(184,146,90,.12), transparent 34%),
    #0a1216;
  padding: 96px 0;
  color: #d5e0db;
}
.powerup-section .section-head h2 { color: #fff; }
.powerup-section .section-head p { color: #b7c8c3; }
.plan-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: stretch;
  border: 1px solid rgba(215,178,122,.32);
}
.plan-card {
  background: transparent;
  border-radius: 0; padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  border: 0;
  border-right: 1px solid rgba(215,178,122,.18);
  box-shadow: none;
  position: relative;
  transition: background .35s ease;
}
.plan-card:last-child { border-right: 0; }
.plan-card:hover { transform: none; background: rgba(215,178,122,.05); }
.plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.plan-index {
  font-size: 12px; letter-spacing: .18em; color: var(--gold); font-weight: 700;
}
.plan-card em {
  font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; background: var(--coral);
  border-radius: 2px; padding: 5px 9px;
}
.plan-card h3 { font-size: 26px; font-weight: 600; min-height: 2.5em; color: #fff; }
.plan-card .price { font-family: "Cormorant Garamond", serif; font-size: 56px; color: var(--gold-soft); line-height: 1; font-weight: 600; }
.plan-card small { color: #9fb2ac; margin: 8px 0 18px; display: block; }
.plan-card ul { padding: 0; margin: 0 0 28px; color: #c5d4ce; list-style: none; display: grid; gap: 12px; }
.plan-card li { padding-left: 26px; position: relative; }
.plan-card li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.plan-card .btn { margin-top: auto; }
.plan-card.is-featured {
  background: rgba(215,178,122,.08);
  color: #fff; transform: none;
  border-right: 1px solid rgba(215,178,122,.18);
  box-shadow: inset 0 3px 0 var(--gold-soft);
}
.plan-card.is-featured:hover { transform: none; background: rgba(215,178,122,.12); }
.plan-card.is-featured h3, .plan-card.is-featured .price, .plan-card.is-featured li { color: #fff; }
.plan-card.is-featured small { color: #b7c8c3; }
.plan-card.is-featured li::before { border-color: var(--gold-soft); }
.plan-card.is-featured .plan-index { color: #d7b27a; }

.mentor-band {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(184,146,90,.18), transparent 32%),
    #071114;
  color: #e6f2ee; padding: 0;
}
.mentor-grid {
  display: grid; grid-template-columns: 1.1fr minmax(300px, 640px); gap: 56px; align-items: stretch;
  min-height: 640px;
  max-width: 1440px; margin: 0 auto; padding-right: 40px;
}
.mentor-band h2 { color: #fff; font-size: clamp(36px, 4vw, 56px); }
.mentor-band p { color: #c9ddd7; max-width: 44ch; font-size: 18px; }
.mentor-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px 0; }
.mentor-art {
  background: linear-gradient(180deg, #f7f1e4, #e4efe8);
  min-height: 620px; display: grid; place-items: end center;
  overflow: hidden;
  border-right: 1px solid rgba(215,178,122,.2);
}
.mentor-art img { max-height: 620px; width: auto; object-fit: contain; }

.founder-section {
  background: #f6efe4;
  padding: 0;
}
.founder {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; align-items: stretch;
  min-height: 760px;
  max-width: 1440px; margin: 0 auto;
}
.founder figure {
  margin: 0; overflow: hidden;
  position: relative;
}
.founder img { width: 100%; height: 100%; min-height: 680px; object-fit: cover; object-position: top; }
.founder figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 26px;
  background: linear-gradient(180deg, transparent, rgba(6,14,18,.78));
  color: #fff;
}
.founder figcaption strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px; font-weight: 600;
}
.founder figcaption span {
  color: var(--gold-soft);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.founder-copy { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.founder .pull {
  font-family: "Cormorant Garamond", serif; font-size: 28px; line-height: 1.4; color: var(--navy);
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 22px;
  font-style: italic;
  font-weight: 500;
}

.quotes { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.quote {
  background: #fff; margin: 0; padding: 26px 24px 22px; border-radius: 22px;
  border: 1px solid rgba(18,42,54,.06);
}
.quote::before {
  content: "“"; display: block; font-family: "Cormorant Garamond", serif; font-size: 56px;
  line-height: .55; color: var(--gold); margin-bottom: 10px;
}
.quote p { margin: 0 0 16px; }
.quote cite { color: var(--muted); font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.quote.featured { grid-row: span 2; padding: 40px 36px; background: var(--navy); color: #fff; }
.quote.featured p { font-family: "Cormorant Garamond", serif; font-size: 28px; line-height: 1.35; font-weight: 500; }
.quote.featured cite { color: #d7b27a; }
.quote.featured::before { color: #d7b27a; }

.smile-band {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(184,146,90,.14), transparent 36%),
    #071114;
  position: relative;
  padding: 96px 0;
}
.smile-band::before {
  content: "“";
  position: absolute; left: 3%; top: 24px;
  font-family: "Cormorant Garamond", serif; font-size: 260px; line-height: .7;
  color: rgba(215,178,122,.08); pointer-events: none;
}
.smile-slider { position: relative; }
.smile-viewport { overflow: hidden; padding: 18px 0 12px; width: 100%; }
.smile-track {
  display: flex;
  width: max-content;
  transform: translate3d(0,0,0);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}
.smile-slide {
  flex: 0 0 auto;
  min-width: 0;
  padding: 10px 11px;
  box-sizing: border-box;
}
.smile-slide .quote,
.smile-slide .quote.featured {
  grid-row: auto; min-height: 280px; margin: 0; border: 1px solid rgba(215,178,122,.18); border-left: 3px solid var(--gold-soft); border-radius: 0;
  padding: 36px 30px 28px; display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255,255,255,.04); color: #e8efe9; box-shadow: none;
  transition: transform .45s ease, background .45s ease, color .45s ease, border-color .45s ease;
}
.smile-slide .quote p,
.smile-slide .quote.featured p {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0;
  word-spacing: 0.04em;
  color: inherit;
}
.smile-slide .quote cite {
  color: var(--gold-soft);
  letter-spacing: 0.12em;
}
.smile-slide .quote::before { color: var(--gold-soft); }
.smile-slide.is-active .quote {
  background: #101c22; color: #fff;
  transform: translateY(-8px);
  border-color: var(--gold-soft);
}
.smile-slide.is-active .quote cite { color: #d7b27a; }
.smile-slide.is-active .quote::before { color: #d7b27a; }
.smile-bar {
  display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px;
}
.smile-count { font-size: 13px; letter-spacing: .14em; font-weight: 700; color: var(--gold-soft); }
.smile-nav {
  width: 48px; height: 48px; border-radius: 3px; border: 1px solid rgba(215,178,122,.35);
  background: transparent; color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer; box-shadow: none; position: static; transform: none;
}
.smile-nav:hover { background: var(--gold); color: #0b1a20; border-color: var(--gold); }
.smile-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.smile-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px;
  background: rgba(18,42,54,.22); cursor: pointer;
}
.smile-dots button { background: rgba(215,178,122,.28); }
.smile-dots button.is-on { width: 22px; background: var(--gold-soft); }

.ebook-band {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(184,146,90,.22), transparent 34%),
    #0a1614;
  color: #e8f3ef; padding: 0;
}
.ebook-grid {
  display: grid; grid-template-columns: minmax(300px, 640px) 1.1fr; gap: 24px; align-items: center;
  min-height: 620px;
  max-width: 1440px; margin: 0 auto; padding-left: 40px;
}
.ebook-band h2 { color: #fff; font-size: clamp(40px, 5vw, 64px); }
.ebook-band p { color: #c9ddd7; max-width: 42ch; font-size: 18px; }
.ebook-copy { padding: 80px 0; display: flex; flex-direction: column; align-items: flex-start; }
.ebook-stage { position: relative; display: grid; place-items: center; min-height: 620px; }
.ebook-stage::before {
  content: "";
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,146,90,.32), transparent 68%);
  filter: blur(6px);
}
.ebook-art { position: relative; z-index: 1; max-width: 420px; margin: 0 auto; filter: drop-shadow(0 34px 48px rgba(0,0,0,.45)); transform: rotate(3deg); animation: ebookFloat 5.5s ease-in-out infinite; }
@keyframes ebookFloat {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-10px); }
}

.courses-section {
  background: #f6efe4;
  padding: 96px 0;
}
.course-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-card {
  background: #fffdf8; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(184,146,90,.2);
  box-shadow: 0 16px 36px rgba(8,22,28,.06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(8,22,28,.12); }
.course-card .thumb { aspect-ratio: 16/11; background: #d7efe8 center/cover no-repeat; transition: transform .7s ease; }
.course-card:hover .thumb { transform: scale(1.05); }
.course-card .body { padding: 20px 22px 24px; }
.course-card h3 { font-size: 26px; font-weight: 600; }
.course-card p { color: var(--muted); }
.course-card a {
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--navy);
}

.card { background: #fff; border-radius: 26px; box-shadow: 0 16px 40px rgba(8,22,28,.06); overflow: hidden; border: 1px solid rgba(18,42,54,.06); }
.card .body { padding: 26px; }
.card.lift { transition: .22s ease; }
.card.lift:hover { transform: translateY(-4px); }
.card-stack { display: flex; flex-direction: column; height: 100%; }
.card-stack .body { display: flex; flex-direction: column; flex: 1; }
.card-stack .body > p:not(.meta) {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card-stack .body .btn,
.card-stack > .btn { margin-top: auto; align-self: flex-start; }
.card-stack .meta { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.cards-equal { align-items: stretch; }
.thumb { aspect-ratio: 16/10; background: #d7efe8 center/cover no-repeat; transition: transform .7s ease; flex-shrink: 0; }
.card:hover .thumb { transform: scale(1.05); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-2.top { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-companies {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.grid-companies > * { grid-column: span 2; }
.grid-companies > *:nth-child(4) { grid-column: 2 / span 2; }
.grid-companies > *:nth-child(5) { grid-column: 4 / span 2; }
.feature-tiles .card .body {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  line-height: 1.35;
}
.feature-tiles.learn-features .card .body {
  min-height: 0;
  flex-direction: column;
  gap: 14px;
}
.price { font-family: "Cormorant Garamond", serif; font-size: 34px; }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.article { font-size: 17px; line-height: 1.65; max-width: 100%; }
.article.narrow { max-width: 920px; }
.article p + p { margin-top: 16px; }
.article h1, .article h2, .article h3 { margin: 36px 0 14px; font-weight: 650; color: var(--ink); }
.article h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.045em; }
.article h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.04em; }
.article h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; }
.article ul, .article ol { margin: 16px 0 16px 1.2em; }
.article li { margin: 8px 0; }
.article a { color: #48266a; text-decoration: underline; text-underline-offset: 2px; }
.article img,
.forms-content img,
.article figure img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 20px 0;
  border-radius: 18px;
}
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article iframe, .article video { max-width: 100%; border-radius: 16px; }
.forms-content { margin-top: 48px; }
.forms-content h1:first-child,
.forms-content h2:first-child { margin-top: 0; }
.forms-content .wp-block-image,
.forms-content .vc_single_image-wrapper { margin: 20px 0; }
.forms-extra { margin-top: 28px; }
.forms-nav a.card { color: inherit; text-decoration: none; }
.forms-nav a.card:hover { transform: translateY(-3px); }
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 400px);
  gap: 48px;
  align-items: stretch;
}
.about-story::after { content: none; }
.about-story .article { max-width: none; }
.about-story .portrait {
  float: none;
  width: auto;
  margin: 0;
  position: relative;
  height: 100%;
  min-height: 560px;
}
.about-story .portrait.tall img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
}
.company-card .body {
  text-align: center;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.company-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.company-card-link:hover h3 { color: #48266a; }
.company-card .body p {
  margin: 0;
  flex: 1;
}
.company-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
  border-radius: 18px;
  background: #f7f5fb;
}
.ebook-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 80px 0 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 8, 20, .94) 0%, rgba(12, 8, 20, .82) 38%, rgba(12, 8, 20, .35) 64%, rgba(12, 8, 20, .12) 100%),
    var(--ebook-hero-image) center right / cover no-repeat;
  overflow: hidden;
}
.ebook-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  align-items: center;
}
.ebook-hero-copy {
  max-width: 560px;
  position: relative;
  z-index: 1;
}
.ebook-hero h1 {
  color: #fff;
  max-width: 11ch;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  margin: 22px 0 0;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}
.ebook-hero .ebook-year {
  display: block;
  font-size: .58em;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.ebook-alert {
  margin: 0 0 18px;
  color: #ffe566;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}
.ebook-lede {
  margin: 16px 0 0;
  max-width: 34ch;
  color: #fff;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}
.ebook-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 4px;
  background: #e87722;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.ebook-download-btn:hover {
  background: #f08a3a;
  color: #fff;
}
.denied-stamp {
  display: block;
  width: min(260px, 72%);
  margin: 0 0 16px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35));
}

.ebook-lead {
  background: #f7f5fb;
  padding: 72px 0;
}
.ebook-page {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(280px, 400px);
  justify-content: center;
  align-items: center;
  gap: 36px 48px;
}
.ebook-page-visual {
  text-align: center;
}
.ebook-page-visual .ebook-art {
  display: block;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  transform: none;
  animation: none;
  filter: drop-shadow(0 28px 40px rgba(18, 10, 28, .22));
}
.ebook-page-visual p {
  margin: 22px auto 0;
  color: var(--muted);
  max-width: 36ch;
  font-size: 16px;
  line-height: 1.55;
}
.ebook-form-card {
  background: #fff;
  border: 1px solid rgba(18, 42, 54, .08);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 10, 28, .08);
  padding: 32px 28px;
}
.ebook-form-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
}
.ebook-form-note {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.ebook-form-card .btn {
  width: 100%;
  justify-content: center;
}
.learn-story {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  margin-bottom: 8px;
  align-items: stretch;
}
.learn-photo { align-self: stretch; height: 100%; min-height: 420px; }
.learn-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.learn-features { margin-top: 48px; }
.feature-tile .body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  min-height: 0;
  padding-top: 28px;
  padding-bottom: 28px;
}
.feature-tile img {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}
.feature-tile span { font-weight: 650; line-height: 1.35; }
.learn-cta { margin-top: 36px; font-size: 18px; max-width: 920px; }
.shop-hero-visual {
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 18px 40px rgba(8,22,28,.1);
}
.shop-hero-visual img { width: 100%; display: block; max-height: 360px; object-fit: cover; }
.library-topics { margin-bottom: 8px; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .8fr);
  gap: 48px;
  align-items: start;
}
.contact-card .body { padding: 32px; }
.contact-aside {
  text-align: center;
  position: sticky;
  top: 120px;
}
.contact-aside h3 { margin: 18px 0 10px; }
.contact-aside p { color: var(--muted); }
.contact-hero-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(8,22,28,.18));
}
.contact-note {
  margin-top: 24px;
  font-size: 22px;
  font-weight: 650;
  color: var(--ink) !important;
}
.center-note {
  text-align: center;
  max-width: 720px;
  margin: 36px auto 40px;
  color: var(--muted);
  font-size: 18px;
}
.block-title { margin: 56px 0 24px; font-size: clamp(28px, 3.2vw, 36px); font-weight: 650; letter-spacing: -0.04em; }
.page-hero {
  padding: 64px 0 36px;
  background: #f6f4fa;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 650;
  max-width: 18ch;
  line-height: 1.15;
  letter-spacing: -0.045em;
}
.page-hero p { max-width: 62ch; color: var(--muted); font-size: 18px; line-height: 1.6; margin-top: 12px; }
.page-hero .eyebrow + h1 { margin-top: 10px; }
.amca-enroll-section { padding-top: 48px; }
.amca-enroll {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.amca-enroll-logo {
  display: block;
  width: min(280px, 70vw);
  height: auto;
  margin: 0 auto 28px;
}
.amca-enroll-title {
  margin: 0 0 28px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  color: #292330;
}
.amca-enroll-box {
  background: #f6f4fa;
  border: 1px solid #eceaf2;
  border-radius: 16px;
  padding: 28px 24px;
}
.amca-enroll-box p {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.35;
  color: #292330;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.amca-enroll-box p:last-child { margin-bottom: 0; }
.amca-enroll-phone {
  margin-top: 18px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: clamp(20px, 2.6vw, 28px) !important;
}
.amca-enroll-phone a {
  color: #c62828;
  font-weight: 700;
  text-decoration: none;
}
.amca-enroll-phone a:hover { text-decoration: underline; }
.booking-side h3 { margin: 8px 0 10px; }
.booking-side p { color: var(--muted); }
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.booking-layout .form.card {
  padding: 28px;
}
.booking-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.booking-aside .media-frame {
  margin: 0;
}
.surveys-page {
  display: grid;
  gap: 28px;
}
.surveys-hero {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.surveys-hero img {
  width: 100%;
  display: block;
  max-height: 360px;
  object-fit: cover;
}
.survey-card {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: 22px;
  background: #48266a;
  color: #fff;
  box-shadow: 0 18px 40px rgba(72, 38, 106, .18);
}
.survey-card-media {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
.survey-card-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.survey-card-year {
  margin: 0 0 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #eac599;
}
.survey-card-copy h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
}
.survey-card-copy p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  max-width: 48ch;
}
.survey-card .btn-line {
  background: #fff;
  color: #292330;
  border-color: #fff;
}
.survey-card .btn-line:hover {
  background: #f6f3f8;
  color: #48266a;
}
.media-frame { border-radius: 24px; overflow: hidden; background: #111; box-shadow: var(--shadow); }
.media-frame video, .media-frame iframe, .media-frame img { width: 100%; display: block; }
.media-frame iframe { aspect-ratio: 16/9; border: 0; }
.portrait { border-radius: 28px; overflow: hidden; background: #eee; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait.tall img { height: 560px; object-position: top; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pay-choices { display: grid; gap: 10px; margin: 4px 0; }
.form label.pay-choice,
.form label.form-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}
.form label.pay-choice input,
.form label.form-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #48266a;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font: inherit; font-weight: 400; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42,168,148,.14);
}
.notice { background: #e7f6f1; color: #1c5348; padding: 12px 14px; border-radius: 12px; }
.error { color: #b42318; font-size: 14px; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table-wrap { width: 100%; overflow-x: auto; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.table th { background: var(--navy); color: #fff; }
.account, .admin { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 70px); }
.side {
  background: linear-gradient(180deg, #1a0f28 0%, #2a1744 55%, #1d1230 100%);
  color: #ebe4f5;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.side-brand strong { display: block; color: #fff; font-size: 18px; }
.side-brand span { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.62); }
.side-nav { display: grid; gap: 4px; flex: 1; }
.side a { display: block; color: #d9d0e8; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.side a:hover, .side a.active { background: rgba(255,255,255,.1); color: #fff; }
.side-foot { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.side-foot button {
  width: 100%; text-align: left; background: transparent; border: 0; color: #d9d0e8;
  padding: 10px 12px; border-radius: 10px; cursor: pointer; font: inherit;
}
.side-foot button:hover { background: rgba(255,255,255,.1); color: #fff; }
.main { padding: 28px; }
.admin-main { background: #f4f1f8; padding: 28px 28px 48px; }
.admin-hero {
  display: flex; justify-content: space-between; gap: 24px; align-items: end;
  margin-bottom: 22px; flex-wrap: wrap;
}
.admin-kicker {
  margin: 0 0 6px; text-transform: uppercase; letter-spacing: .08em;
  font-size: 12px; font-weight: 700; color: #7a5a9a;
}
.admin-hero h1 { margin: 0; font-size: clamp(28px, 3vw, 40px); }
.admin-sub { margin: 8px 0 0; color: var(--muted); max-width: 54ch; }
.admin-hero-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  background: #fff; border: 1px solid rgba(18,42,54,.08); border-radius: 14px; padding: 14px 16px;
}
.admin-hero-meta span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.admin-hero-meta strong { display: block; margin-top: 2px; }
.admin-kpi-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px;
}
.admin-kpi {
  display: block; background: #fff; border: 1px solid rgba(18,42,54,.07);
  border-radius: 16px; padding: 16px 16px 14px; color: inherit; text-decoration: none;
  box-shadow: 0 10px 24px rgba(18,10,28,.04); transition: transform .2s ease, box-shadow .2s ease;
}
.admin-kpi:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(18,10,28,.08); }
.admin-kpi.accent { background: linear-gradient(145deg, #48266a, #2f1748); color: #fff; border-color: transparent; }
.admin-kpi.accent em { color: rgba(255,255,255,.72); }
.admin-kpi-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.admin-kpi strong { display: block; margin: 8px 0 6px; font-size: 30px; line-height: 1; font-family: "Cormorant Garamond", serif; }
.admin-kpi em { display: block; font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.4; }
.admin-panel {
  background: #fff; border: 1px solid rgba(18,42,54,.07); border-radius: 16px;
  padding: 18px; margin-bottom: 16px; box-shadow: 0 10px 24px rgba(18,10,28,.03);
}
.admin-panel h2 { margin: 0; font-size: 18px; }
.admin-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.admin-panel-head a { font-size: 13px; font-weight: 600; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.admin-actions a {
  display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px;
  background: #f3edf8; color: #3d2458; text-decoration: none; font-size: 13px; font-weight: 600;
}
.admin-actions a:hover { background: #48266a; color: #fff; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.admin-pulse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.admin-pulse div { background: #f7f3fb; border-radius: 12px; padding: 14px 12px; }
.admin-pulse b { display: block; font-size: 24px; font-family: "Cormorant Garamond", serif; }
.admin-pulse span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.admin-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.admin-bars-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.admin-bar { height: 8px; border-radius: 99px; background: #efe8f6; overflow: hidden; }
.admin-bar i { display: block; height: 100%; background: linear-gradient(90deg, #48266a, #7a4aa8); border-radius: inherit; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.admin-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px solid rgba(18,42,54,.06); }
.admin-list li:last-child { border-bottom: 0; }
.admin-mini-title { margin: 16px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.admin-pill {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px;
  background: #f1ebf7; color: #3d2458; font-size: 12px; font-weight: 600; text-transform: capitalize;
}
.admin-pill.tone-success, .admin-pill.tone-paid, .admin-pill.tone-completed { background: #e7f6ee; color: #176b3a; }
.admin-pill.tone-pending, .admin-pill.tone-token, .admin-pill.tone-review { background: #fff4df; color: #8a5a00; }
.admin-bars-note { margin-top: 4px; font-size: 12px; color: var(--muted); }
.admin-muted { color: var(--muted); font-weight: 500; }
.admin-legend { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.admin-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; }
.admin-legend .lg-orders { background: #48266a; }
.admin-legend .lg-users { background: #3cb19d; }
.admin-legend .lg-entries { background: #e87722; }
.admin-trend {
  display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px;
  align-items: end; min-height: 140px; padding-top: 8px;
}
.admin-trend-day { display: grid; gap: 6px; justify-items: center; }
.admin-trend-bars {
  display: flex; align-items: flex-end; gap: 2px; height: 110px; width: 100%; justify-content: center;
}
.admin-trend-bars span { width: 6px; border-radius: 4px 4px 2px 2px; display: block; min-height: 4px; }
.admin-trend-bars .t-orders { background: #48266a; }
.admin-trend-bars .t-users { background: #3cb19d; }
.admin-trend-bars .t-entries { background: #e87722; }
.admin-trend-day em { font-style: normal; font-size: 10px; color: var(--muted); white-space: nowrap; }
.admin-bars-meta small { color: var(--muted); font-weight: 600; }
.kpi { background: #fff; border-radius: 16px; padding: 18px; }
.kpi b { font-size: 30px; font-family: "Cormorant Garamond", serif; display: block; }
a.kpi { color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
a.kpi:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8,22,28,.08); }
.site-footer { background: #fff; color: #5c5c6b; padding: 0; }
.site-footer h4 { color: #16141f; font-size: 12px; margin-bottom: 18px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { color: #5c5c6b; }
.site-footer a:hover { color: #4b2a86; }
.footer-cta { background: #fff; border-bottom: 0; padding: 20px 0 8px; }
.footer-cta-row {
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
  padding: 57px 60px; background: #48266a; border-radius: 13px;
}
.footer-cta-copy {
  max-width: 620px;
  padding-left: 16px;
  border-left: 2px solid #eac599;
}
.footer-cta small {
  display: block;
  font-family: "DM Sans", sans-serif;
  color: #eac599;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.44px;
  line-height: 18px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-cta strong {
  display: block;
  font-family: "DM Sans", sans-serif;
  color: #fff;
  font-size: 43px;
  font-weight: 650;
  line-height: 49.45px;
  letter-spacing: -1.935px;
  margin-bottom: 10px;
}
.footer-cta-copy > span {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  color: #eadff0;
  font-size: 18px;
  font-weight: 400;
  line-height: 28.8px;
  max-width: 580px;
}
.footer-cta-copy > span a { color: #fff; font-weight: 700; }
.footer-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  flex-shrink: 0;
  margin-left: auto;
}
.footer-cta-actions .btn-light {
  width: 220px;
  height: 54px;
  border-radius: 7px;
  padding: 15px 23px;
  justify-content: space-between;
  gap: 24px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
  color: #48266a;
  background: #fff;
  box-shadow: none;
}
.footer-cta-actions .btn-light .ico-arrow {
  width: 14px;
  height: 21px;
  stroke-width: 1.75;
}
.footer-cta-actions .btn-light > span {
  position: relative;
  z-index: 2;
  display: inline;
  color: #48266a;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  max-width: none;
}
.footer-cta-actions .btn-text {
  color: #e7dced;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
  padding: 0;
  gap: 6px;
}
.footer-cta-actions .btn-text .ico-arrow {
  width: 14px;
  height: 14px;
  stroke-width: 1.75;
}
.footer-cta-actions .btn-text:hover { color: #fff; }
.footer-cta-actions .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 10, 32, .14);
  color: #48266a;
  background: #fff;
  gap: 24px;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, .75fr); gap: 40px; padding: 72px 0 52px; }
.footer-brand p { max-width: 36ch; margin: 0 0 22px; color: #5c5c6b; }
.footer-contact { display: grid; gap: 12px; margin-bottom: 22px; }
.footer-contact a { color: #16141f; font-weight: 700; line-height: 1.25; }
.footer-contact small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8a8796; font-weight: 600; margin-bottom: 2px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-social a {
  width: auto; height: auto; border-radius: 0;
  border: 0; color: #48266a;
  display: inline; font-weight: 600; font-size: 14px;
  transition: color .2s ease;
}
.footer-social a:hover { background: none; border-color: transparent; color: #292330; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-trust { border-top: 1px solid #eceaf2; }
.footer-trust .wrap {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  padding: 20px 0; color: #8a8796; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.footer-bottom { border-top: 1px solid #eceaf2; }
.legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 13px; color: #8a8796; }
.legal a { margin-left: 14px; color: #8a8796; }
.footer-credit {
  margin-left: 0 !important;
  color: #5b4570;
  font-weight: 600;
  text-decoration: none;
}
.footer-credit:hover { color: #48266a; text-decoration: underline; }
.lesson-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.lesson-nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--navy); }
.lesson-nav a.active { background: #e7f4f0; }

@media (max-width: 1100px) {
  nav.primary { gap: 16px; }
  .brand img { height: 64px; max-width: 260px; }
  .hero-inner { padding: 88px 0 72px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .section { padding: 64px 0; }
  .topbar .social { display: none; }
  .topbar { font-size: 11px; }
  .header-row, .site-header.is-scrolled .header-row { height: 70px; min-height: 70px; }
  .brand img, .site-header.is-scrolled .brand img { height: 44px; max-width: 200px; }
  .hero-cinematic, .hero-split, .split, .plan-row, .quotes, .course-row, .founder, .mentor-grid, .mission-grid, .ebook-grid, .hero-rail .wrap, .grid-2, .grid-3, .grid-4, .grid-companies, .foot-grid, .footer-cta-row, .legal, .account, .lesson-layout, .contact-layout, .form-row {
    grid-template-columns: 1fr;
  }
  .grid-companies {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .grid-companies > *,
  .grid-companies > *:nth-child(4),
  .grid-companies > *:nth-child(5) {
    grid-column: auto / span 1;
    width: 100%;
    max-width: 100%;
  }
  .about-story {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-story .portrait {
    min-height: 0;
    height: auto;
    max-width: 100%;
    margin: 0;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
  }
  .about-story .portrait.tall img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  .learn-story,
  .ebook-page,
  .contact-layout { grid-template-columns: 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .survey-card { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .ebook-hero-grid { grid-template-columns: 1fr; }
  .ebook-hero {
    min-height: 420px;
    padding: 56px 0 48px;
    background:
      linear-gradient(180deg, rgba(12, 8, 20, .88) 0%, rgba(12, 8, 20, .72) 55%, rgba(12, 8, 20, .55) 100%),
      var(--ebook-hero-image) center / cover no-repeat;
  }
  .ebook-hero h1 { max-width: 14ch; }
  .ebook-lead { padding: 48px 0; }
  .ebook-form-card { max-width: 460px; margin: 0 auto; width: 100%; }
  .ebook-page-visual .ebook-art { max-width: 280px; }
  .company-card .body {
    min-height: 0;
    padding: 22px 18px;
  }
  .company-logo {
    width: 72px;
    height: 72px;
  }
  body:not(.is-home) .grid-companies .card {
    min-height: 0;
  }
  .learn-photo img { min-height: 260px; }
  .portrait.tall img { height: 360px; }
  .hero-cinematic, .hero-split { min-height: 78vh; }
  .footer-cta-row, .legal, .footer-trust .wrap { flex-direction: column; align-items: flex-start; }
  .footer-trust .wrap { gap: 10px; }
  .legal { flex-wrap: wrap; }
  .legal a { margin-left: 0; margin-right: 14px; }
  .hero-inner { padding: 48px 0 40px; }
  .hero-copy { max-width: none; }
  .hero-copy h1 { font-size: clamp(36px, 11vw, 52px); max-width: none; }
  .hero-copy p { font-size: 16px; }
  .hero-copy::after { display: none; }
  .hero-bg { min-height: 520px; object-position: 70% 20%; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(8,22,28,.32) 0%, rgba(8,22,28,.62) 38%, rgba(8,22,28,.9) 100%);
  }
  .hero-actions .btn { width: 100%; }
  .hero-frame { display: none; }
  .hero-rail .wrap > div { border-right: 0; border-bottom: 1px solid rgba(215,178,122,.18); padding: 14px 0; }
  .hero-visual img, .founder img, .portrait.tall img { min-height: 260px; height: 300px; }
  .split { gap: 32px; }
  .plan-card { padding: 24px 20px; border-right: 0; border-bottom: 1px solid rgba(215,178,122,.18); }
  .plan-card:last-child { border-bottom: 0; }
  .plan-card h3 { min-height: 0; }
  .plan-card.is-featured, .plan-card.is-featured:hover { transform: none; }
  .mission-grid, .mentor-grid, .ebook-grid, .founder { min-height: 0; }
  .mission-copy { padding: 48px 22px; }
  .video-card { border-left: 0; border-top: 1px solid rgba(215,178,122,.28); }
  .video-shell { min-height: 240px; }
  .mentor-band, .ebook-band, .founder-section, .mission-section { padding: 0; }
  .mentor-copy, .ebook-copy, .founder-copy { padding: 48px 22px; }
  .mentor-grid, .ebook-grid { padding-right: 0; padding-left: 0; gap: 0; }
  .mentor-art { min-height: 320px; border-right: 0; }
  .mentor-art img { max-height: 320px; }
  .ebook-stage { min-height: 320px; }
  .smile-band::before { font-size: 140px; top: 16px; }
  .smile-slide .quote, .smile-slide .quote.featured { padding: 24px 20px; min-height: 240px; }
  .smile-slide.is-active .quote { transform: none; }
  .ebook-art { max-width: 220px; }
  .page-hero { padding: 48px 0 20px; }
  .page-hero h1 { max-width: none; }
  .footer-cta { padding: 0; }
  .footer-cta-row { padding: 28px 0; }
  .footer-cta strong { font-size: 22px; }
  .foot-grid { gap: 28px; padding: 40px 0 32px; }
  .account, .admin { min-height: 0; }
  .main { padding: 20px 16px; }
  .admin-kpi-grid,
  .admin-grid-2,
  .admin-grid-3,
  .admin-pulse { grid-template-columns: 1fr; }
  .admin-main { padding: 20px 16px 40px; }
  .table { min-width: 640px; }
  .header-row { flex-wrap: wrap; }
  .header-row:has(.mobile-drawer.open),
  .site-header.is-nav-open .header-row {
    height: auto !important;
    min-height: 64px;
  }
  .mobile-drawer {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--mobile-nav-top, 100px);
    bottom: 0;
    z-index: 120;
    width: 100%;
    margin: 0;
    padding: 8px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #fff;
    border-top: 1px solid #f0eef5;
    box-shadow: 0 18px 40px rgba(22, 20, 31, .12);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .mobile-drawer.open {
    display: flex !important;
  }
  nav.primary,
  .header-cta {
    display: none;
    width: 100%;
  }
  .mobile-drawer.open nav.primary,
  .mobile-drawer.open .header-cta {
    display: flex !important;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: transparent;
  }
  .site-header.is-nav-open,
  .site-sticky.is-nav-open {
    overflow: visible;
    z-index: 200;
  }
  .nav-menu {
    position: static;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    width: 100%;
    max-width: none;
    left: auto;
    right: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    overflow: visible;
    background: transparent;
  }
  .nav-menu::before,
  .nav-menu::after { display: none; }
  .nav-menu-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 10px 0 4px;
    background: transparent;
  }
  .nav-menu-col,
  .nav-menu-col + .nav-menu-col {
    padding: 0;
    border-left: 0;
  }
  .nav-menu-col + .nav-menu-col {
    border-top: 1px solid #f0edf4;
    padding-top: 14px;
  }
  .nav-menu-col--aside {
    margin: 0;
    padding: 14px 0 0;
    border-radius: 0;
    background: transparent;
  }
  .nav-drop:hover .nav-menu {
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-drop.open .nav-menu,
  .nav-drop.open:hover .nav-menu {
    display: block;
    transform: none;
  }
  .nav-menu-cta { margin-top: 12px; }
  .nav-menu-foot {
    flex-wrap: wrap;
    padding: 12px 0 4px;
    background: transparent;
    border-top: 1px solid #f0edf4;
  }
  .mobile-drawer .header-cta {
    padding-top: 8px !important;
    border-top: 1px solid #eceaf2 !important;
    margin-top: 4px !important;
  }
  .mobile-drawer .header-cta .btn { width: 100%; }
  .menu-toggle { display: block; margin-left: auto; }
  .motion .plan-card.is-featured.reveal.is-in { transform: none; }
}

@media (max-width: 1439px) {
  .topbar .wrap,
  .wrap { width: min(1200px, calc(100% - 64px)); }
}
@media (max-width: 980px) {
  .topbar .wrap,
  .wrap { width: calc(100% - 32px); }
  .header-row,
  .site-header.is-scrolled .header-row { height: 64px; min-height: 64px; }
  .header-row:has(.mobile-drawer.open),
  .site-header.is-scrolled .header-row:has(.mobile-drawer.open),
  .site-header.is-nav-open .header-row { height: auto; min-height: 64px; }
  .brand img,
  .site-header.is-scrolled .brand img { height: 36px; max-width: 168px; }
  .header-cta .btn-dark { width: 100%; height: 46px; }
  .header-cta .btn-text { margin-left: 0; padding-left: 0; }
  .header-cta .btn-text::before { display: none; }
  .footer-cta-row { padding: 28px 22px; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions .btn { width: 100%; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .wrap > div:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero-rail b { font-size: 26px; }
  .plan-card .price { font-size: 40px; }
  .smile-nav { width: 40px; height: 40px; }
  .topbar { height: auto; min-height: 36px; padding: 8px 0; }
  .topbar .wrap { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-cta strong { font-size: 28px; }
}

.motion .reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity .8s cubic-bezier(.22, 1, .36, 1),
    transform .8s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}
.motion .reveal.is-in {
  opacity: 1;
  transform: none;
}
.motion .reveal-visual {
  transform: translate3d(0, 24px, 0) scale(1.03);
}
.motion .reveal-visual.is-in {
  transform: none;
}
.motion .plan-card.is-featured.reveal {
  transform: translate3d(0, 22px, 0);
}
.motion .plan-card.is-featured.reveal.is-in {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ebook-art { animation: none; }
  .btn,
  .btn:hover,
  .btn:active,
  .btn .ico-arrow,
  .hp-link,
  .hp-link .ico-arrow,
  .hp-card,
  .hp-plan,
  .hp-skill,
  .nav-menu,
  a {
    transition: none !important;
    box-shadow: none !important;
  }
  .nav-menu {
    transform: none !important;
  }
  a {
    transform: none !important;
  }
  .btn:not(.btn-text)::after { display: none; }
  .motion .reveal,
  .motion .reveal-visual {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Inner pages: equal section spacing ===== */
body:not(.is-home) {
  --inner-section-y: 72px;
  --inner-hero-y: 64px;
  --inner-gap: 40px;
  --inner-gap-sm: 24px;
  --inner-grid-gap: 32px;
}
body:not(.is-home) .page-hero {
  padding: var(--inner-hero-y) 0 var(--inner-gap-sm);
}
body:not(.is-home) .page-hero h1 { margin: 0; }
body:not(.is-home) .page-hero .eyebrow { margin: 0 0 12px; }
body:not(.is-home) .page-hero .eyebrow + h1 { margin-top: 0; }
body:not(.is-home) .page-hero p { margin: 12px 0 0; }
body:not(.is-home) .section {
  padding: var(--inner-section-y) 0;
}
body:not(.is-home) .section + .section {
  padding-top: var(--inner-section-y);
}
body:not(.is-home) .section-head {
  margin: 0 auto var(--inner-gap);
  text-align: center;
}
body:not(.is-home) .section-head.left {
  margin: 0 0 var(--inner-gap);
  text-align: left;
}
body:not(.is-home) .section-head::after {
  display: none;
}
body:not(.is-home) .section-head h2 {
  margin: 0 0 12px;
}
body:not(.is-home) .section-head p {
  margin: 0;
}
body:not(.is-home) .grid-companies {
  gap: var(--inner-grid-gap);
  align-items: stretch;
}
body:not(.is-home) .grid-companies .card {
  height: 100%;
  min-height: 280px;
}
body:not(.is-home) .grid-companies .card .body {
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
}
body:not(.is-home) .grid-2,
body:not(.is-home) .grid-3,
body:not(.is-home) .grid-4,
body:not(.is-home) .grid-companies,
body:not(.is-home) .about-story,
body:not(.is-home) .learn-story,
body:not(.is-home) .ebook-page,
body:not(.is-home) .contact-layout,
body:not(.is-home) .forms-nav,
body:not(.is-home) .library-topics,
body:not(.is-home) .cards-equal,
body:not(.is-home) .booking-layout,
body:not(.is-home) .survey-card {
  gap: var(--inner-grid-gap);
}
body:not(.is-home) .block-title {
  margin: var(--inner-gap) 0 var(--inner-gap-sm);
}
body:not(.is-home) .block-title:first-child {
  margin-top: 0;
}
body:not(.is-home) .center-note {
  margin: var(--inner-gap) auto;
}
body:not(.is-home) .forms-content,
body:not(.is-home) .forms-extra,
body:not(.is-home) .learn-features,
body:not(.is-home) .learn-cta,
body:not(.is-home) .shop-hero-visual,
body:not(.is-home) .library-topics {
  margin-top: var(--inner-gap);
  margin-bottom: 0;
}
body:not(.is-home) .shop-hero-visual {
  margin-bottom: var(--inner-gap);
}
body:not(.is-home) .library-topics {
  margin-top: 0;
  margin-bottom: var(--inner-gap);
}
body:not(.is-home) .learn-story {
  margin-bottom: 0;
}
body:not(.is-home) .ebook-page-visual p {
  margin-top: var(--inner-gap-sm);
}
body:not(.is-home) .ebook-hero {
  min-height: 480px;
  padding: 64px 0 56px;
}
body:not(.is-home) .ebook-lead {
  padding: var(--inner-section-y) 0;
}
body:not(.is-home) .denied-stamp {
  margin: 0 0 var(--inner-gap-sm);
}
body:not(.is-home) .article p + p {
  margin-top: 18px;
}
body:not(.is-home) .article h1,
body:not(.is-home) .article h2,
body:not(.is-home) .article h3 {
  margin: var(--inner-gap) 0 var(--inner-gap-sm);
}
body:not(.is-home) .article h1:first-child,
body:not(.is-home) .article h2:first-child,
body:not(.is-home) .article h3:first-child {
  margin-top: 0;
}
body:not(.is-home) .article img,
body:not(.is-home) .forms-content img,
body:not(.is-home) .article figure img {
  margin: var(--inner-gap-sm) 0;
}
body:not(.is-home) .article ul,
body:not(.is-home) .article ol {
  margin: var(--inner-gap-sm) 0 var(--inner-gap-sm) 1.2em;
}
body:not(.is-home) .contact-aside h3 {
  margin: var(--inner-gap-sm) 0 10px;
}
body:not(.is-home) .contact-note {
  margin-top: var(--inner-gap-sm);
}
body:not(.is-home) .booking-side h3 {
  margin: var(--inner-gap-sm) 0 10px;
}
body:not(.is-home) .media-frame {
  margin-bottom: var(--inner-gap-sm);
}
body:not(.is-home) .company-logo {
  margin: 0 auto var(--inner-gap-sm);
}
body:not(.is-home) .feature-tile .body {
  padding-top: var(--inner-gap-sm);
  padding-bottom: var(--inner-gap-sm);
}
body:not(.is-home) .wrap > .grid-3 + .wrap,
body:not(.is-home) .section .wrap > .pagination,
body:not(.is-home) .section .wrap > nav,
body:not(.is-home) .pager-wrap {
  margin-top: var(--inner-gap);
}

@media (max-width: 980px) {
  body:not(.is-home) {
    --inner-section-y: 56px;
    --inner-hero-y: 48px;
    --inner-gap: 32px;
    --inner-gap-sm: 20px;
    --inner-grid-gap: 24px;
  }
  body:not(.is-home) .ebook-hero {
    min-height: 300px;
  }
}
/* ===== Standalone admin shell ===== */
body.is-admin {
  margin: 0;
  background: #f4f1f8;
  font-family: "DM Sans", "Source Sans 3", sans-serif;
  color: #1c1428;
}
.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  background: #f4f1f8;
}
.admin-shell-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  background: #fff;
  border-bottom: 1px solid rgba(18, 42, 54, .08);
  position: sticky;
  top: 0;
  z-index: 20;
}
.admin-topbar-kicker {
  margin: 0 0 2px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a5a9a;
  font-weight: 700;
}
.admin-topbar strong { font-size: 18px; }
.admin-topbar-user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 13px;
}
.admin-topbar-user em {
  font-style: normal;
  color: #7a5a9a;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.admin-shell .side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 22px 16px;
}
.admin-shell .side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 6px;
}
.admin-shell .side-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}
.admin-shell .admin-main {
  flex: 1;
  padding: 24px 28px 48px;
}
.admin-shell .admin-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
}
.admin-shell .admin-kpi { min-height: 118px; }
.admin-shell .table th { background: #2a1744; }
.admin-shell .notice {
  background: #e7f6ee;
  color: #176b3a;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.admin-shell .admin-panel-head a { color: #48266a; text-decoration: none; }

@media (max-width: 1100px) {
  .admin-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .admin-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-shell .side {
    position: relative;
    height: auto;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .admin-shell .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-topbar { padding: 12px 16px; }
  .admin-shell .admin-main { padding: 16px 16px 36px; }
  .admin-grid-2,
  .admin-pulse,
  .admin-kpi-grid { grid-template-columns: 1fr; }
  .admin-trend { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

/* Compact admin data tables */
.admin-shell .admin-tables .admin-panel { overflow: hidden; }
.admin-shell .admin-tables .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-shell .admin-compact-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.admin-shell .admin-compact-table th,
.admin-shell .admin-compact-table td {
  padding: 10px 12px;
  vertical-align: middle;
  font-size: 13px;
}
.admin-shell .admin-compact-table th:last-child,
.admin-shell .admin-compact-table td:last-child {
  width: 88px;
  white-space: nowrap;
}
.admin-shell .admin-compact-table th:nth-child(2),
.admin-shell .admin-compact-table td:nth-child(2) {
  width: 96px;
  white-space: nowrap;
}
.admin-shell .admin-cell-main {
  font-weight: 600;
  color: #1c1428;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-shell .admin-cell-sub {
  margin-top: 2px;
  font-size: 12px;
  color: #667085;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-shell .admin-cell-now { white-space: nowrap; }
.admin-shell .admin-cell-money {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.admin-shell .admin-compact-table a {
  color: #48266a;
  text-decoration: none;
}
.admin-shell .admin-compact-table a:hover { text-decoration: underline; }
.admin-shell .admin-tables .admin-panel { padding-right: 14px; }
.admin-shell .admin-compact-table th:last-child,
.admin-shell .admin-compact-table td:last-child {
  width: 108px;
  white-space: nowrap;
  padding-right: 16px;
}
.admin-shell .admin-compact-table th:nth-child(2),
.admin-shell .admin-compact-table td:nth-child(2) {
  width: 110px;
  white-space: nowrap;
}
.admin-shell .admin-compact-table td:nth-child(2).admin-cell-money {
  text-align: right;
  padding-right: 18px;
}
.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.admin-page-head h1 { margin: 0; }
.admin-page-sub { margin: 6px 0 0; color: #667085; }
.admin-page-actions { display: flex; gap: 8px; }
.admin-search-bar {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 0 16px;
}
.admin-search-bar input { flex: 1; }
.admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(18, 42, 54, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(18, 10, 28, 0.04);
}
.admin-filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-width: 0;
}
.admin-filter-field label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #667085;
}
.admin-filter-field input,
.admin-filter-field select {
  width: 100%;
  min-height: 42px;
  margin: 0;
}
.admin-filter-search {
  flex: 1 1 220px;
  max-width: 360px;
}
.admin-filter-status {
  flex: 0 1 200px;
  min-width: 160px;
}
.admin-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-bottom: 1px;
}
.badge-expired { background: #fdecec; color: #9b1c2c; }
.badge-exhausted { background: #fff4df; color: #8a5a00; }
.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.admin-row-actions a { color: #48266a; font-weight: 600; text-decoration: none; }
.admin-link-danger {
  background: none;
  border: 0;
  padding: 0;
  color: #9b1c2c;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.admin-inline-form { margin: 0; display: inline; }
.admin-form-card {
  max-width: 760px;
  background: #fff;
  border: 1px solid rgba(18,42,54,.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(18,10,28,.04);
}
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.admin-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.admin-shell .btn-primary {
  background: #48266a;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.admin-shell .btn-ghost {
  background: #fff;
  color: #3d2458;
  border: 1px solid rgba(18,42,54,.12);
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.admin-shell .btn-dark {
  background: #16141f;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 820px) {
  .admin-form-grid { grid-template-columns: 1fr; }
}

/* Dual Visual / HTML content editor */
.admin-editor {
  display: grid;
  gap: 8px;
  margin: 4px 0 10px;
}
.admin-editor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-editor-label {
  font-size: 14px;
  font-weight: 600;
  color: #1c1428;
}
.admin-editor-tabs {
  display: inline-flex;
  background: #efe8f6;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.admin-editor-tabs button {
  border: 0;
  background: transparent;
  color: #5b4570;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.admin-editor-tabs button.is-active {
  background: #48266a;
  color: #fff;
}
.admin-editor-visual,
.admin-editor-html {
  border: 1px solid rgba(18,42,54,.12);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.admin-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid rgba(18,42,54,.08);
  background: #f7f3fb;
}
.admin-editor-toolbar button {
  border: 1px solid rgba(18,42,54,.1);
  background: #fff;
  border-radius: 8px;
  padding: 6px 9px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #3d2458;
  cursor: pointer;
}
.admin-editor-toolbar button:hover { background: #efe8f6; }
.admin-editor-sep {
  width: 1px;
  background: rgba(18,42,54,.12);
  margin: 0 4px;
  align-self: stretch;
}
.admin-editor-canvas {
  min-height: 260px;
  max-height: 520px;
  overflow: auto;
  padding: 16px 18px;
  outline: none;
  line-height: 1.6;
  font-size: 15px;
}
.admin-editor-canvas:empty:before {
  content: "Start writing…";
  color: #98a2b3;
}
.admin-editor-canvas h2,
.admin-editor-canvas h3,
.admin-editor-canvas h4 { margin: 0 0 10px; }
.admin-editor-canvas p,
.admin-editor-canvas ul,
.admin-editor-canvas ol { margin: 0 0 12px; }
.admin-editor-html textarea {
  width: 100%;
  min-height: 280px;
  border: 0;
  resize: vertical;
  padding: 16px 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  outline: none;
  box-sizing: border-box;
  background: #111827;
  color: #e5e7eb;
}

/* Site / admin pagination (no Tailwind dependency) */
.site-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin-top: 18px;
  padding: 12px 0 4px;
}
.site-pagination-meta {
  margin: 0;
  font-size: 13px;
  color: #667085;
}
.site-pagination-meta strong { color: #1c1428; }
.site-pagination-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.site-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(18, 42, 54, .12);
  background: #fff;
  color: #3d2458;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  box-sizing: border-box;
}
a.site-page-btn:hover {
  background: #f3edf8;
  border-color: #48266a;
  color: #48266a;
}
.site-page-btn.is-current {
  background: #48266a;
  border-color: #48266a;
  color: #fff;
}
.site-page-btn.is-disabled {
  opacity: .45;
  cursor: not-allowed;
  color: #667085;
}
.admin-shell .site-pagination {
  background: #fff;
  border: 1px solid rgba(18,42,54,.07);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 14px;
}

/* Section-based page editor */
.admin-form-wide { max-width: 920px; }
.admin-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-section-card {
  border: 1px solid rgba(18,42,54,.1);
  border-radius: 14px;
  padding: 16px 18px 8px;
  margin: 0 0 16px;
  background: #faf8fc;
}
.admin-section-card legend {
  padding: 0 8px;
  font-weight: 700;
  color: #3d2458;
}
.admin-section-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: #667085;
}
.admin-mini-card {
  background: #fff;
  border: 1px solid rgba(18,42,54,.08);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}
.admin-mini-card strong { color: #48266a; font-size: 13px; }

/* Admin image upload control */
.admin-image-upload {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}
.admin-image-label {
  font-weight: 600;
  color: #3d2458;
  font-size: 14px;
}
.admin-image-preview-wrap {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  border: 1px dashed rgba(72,38,106,.35);
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.admin-image-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-image-preview-wrap img[hidden],
.admin-image-empty[hidden] {
  display: none !important;
}
.admin-image-empty {
  color: #98a2b3;
  font-size: 12px;
  text-align: center;
  padding: 12px;
}
.admin-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.admin-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #48266a;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin: 0;
}
.admin-upload-btn input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.admin-upload-btn { position: relative; }
.admin-upload-clear {
  background: #fff;
  border: 1px solid rgba(18,42,54,.14);
  color: #9b1c2c;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.admin-mini-card .admin-image-preview-wrap {
  width: 110px;
  height: 110px;
}
.admin-upload-btn-outline {
  background: #fff !important;
  color: #48266a !important;
  border: 1px solid rgba(72, 38, 106, 0.35);
}

/* Admin media library */
.admin-media-upload-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  padding: 16px 18px;
  background: #faf8fc;
  border-radius: 14px;
  border: 1px solid rgba(72, 38, 106, 0.12);
}
.admin-media-empty {
  padding: 48px 24px;
  text-align: center;
  background: #faf8fc;
  border-radius: 14px;
  border: 1px dashed rgba(72, 38, 106, 0.25);
  color: #667085;
}
.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.admin-media-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(18, 42, 54, 0.1);
  box-shadow: 0 1px 2px rgba(18, 42, 54, 0.04);
}
.admin-media-thumb {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f4f0f8;
}
.admin-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-media-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.admin-media-meta strong {
  font-size: 12px;
  color: #3d2458;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-media-meta .muted {
  font-size: 11px;
}
.admin-media-delete {
  margin: 0;
}
.admin-media-picker-card {
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.admin-media-picker-card:hover,
.admin-media-picker-card.is-selected {
  border-color: #48266a;
  box-shadow: 0 0 0 2px rgba(72, 38, 106, 0.18);
}
.admin-media-picker-card.is-selected {
  background: #f8f4fc;
}
body.admin-media-modal-open {
  overflow: hidden;
}
.admin-media-modal[hidden] {
  display: none !important;
}
.admin-media-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.admin-media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 42, 54, 0.55);
}
.admin-media-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 820px);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(18, 42, 54, 0.22);
  overflow: hidden;
}
.admin-media-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(18, 42, 54, 0.08);
}
.admin-media-modal-head h2 {
  margin: 0;
  font-size: 18px;
  color: #3d2458;
}
.admin-media-modal-x {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #667085;
  cursor: pointer;
  padding: 4px 8px;
}
.admin-media-modal-toolbar {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(18, 42, 54, 0.06);
}
.admin-media-search {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(18, 42, 54, 0.14);
  font-size: 14px;
}
.admin-media-modal-body {
  overflow: auto;
  padding: 16px 20px;
}
.admin-media-picker-grid {
  margin-top: 8px;
}
.admin-media-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid rgba(18, 42, 54, 0.08);
  background: #faf8fc;
}

/* Form entry readable data */
.admin-entries-table td { vertical-align: top; }
.admin-entry-data { min-width: 320px; max-width: 640px; }
.admin-kv { margin: 0; display: grid; gap: 6px; }
.admin-kv-row {
  display: grid;
  grid-template-columns: minmax(120px, 42%) 1fr;
  gap: 8px 12px;
  padding: 6px 8px;
  background: #faf8fc;
  border-radius: 8px;
}
.admin-kv-row dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  line-height: 1.35;
}
.admin-kv-row dd {
  margin: 0;
  font-size: 13px;
  color: #1c1428;
  word-break: break-word;
  line-height: 1.35;
}
.admin-entry-date { white-space: nowrap; color: #667085; font-size: 13px; }
.admin-muted { color: #98a2b3; font-size: 13px; }
.admin-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  background: #eef2ff;
  color: #3730a3;
}
.admin-status-trash,
.admin-status-spam { background: #fef3f2; color: #b42318; }
.admin-status-active { background: #ecfdf3; color: #027a48; }

/* Account My Courses */
.account-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.account-page-head h1 { margin: 0 0 6px; }
.account-lede { margin: 0; color: #667085; max-width: 46ch; }
.account-section-title {
  margin: 28px 0 14px;
  font-size: 22px;
}
.account-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.account-course-card h3 {
  font-size: 22px;
  margin: 0 0 6px;
  line-height: 1.25;
}
.account-course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.course-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3edf8;
  color: #3d2458;
  font-size: 12px;
  font-weight: 700;
}
.course-chip.is-free { background: #e7f6f1; color: #1c5348; }
.course-chip.is-open { background: #eef2ff; color: #3730a3; }
.course-chip.is-progress { background: #fff4e5; color: #9a5b13; }
.course-chip.is-done { background: #ecfdf3; color: #027a48; }
.account-progress {
  height: 8px;
  border-radius: 999px;
  background: #ece8f2;
  overflow: hidden;
  margin: 4px 0 12px;
}
.account-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2aa894, #48266a);
  border-radius: inherit;
}
@media (max-width: 1100px) {
  .account-course-grid { grid-template-columns: 1fr; }
}

/* Admin SEO box */
.admin-seo-card .admin-seo-count {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #667085;
}
.admin-seo-preview {
  margin: 12px 0 4px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(18,42,54,.1);
  border-radius: 12px;
}
.admin-seo-preview > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: #3d2458;
}
.admin-seo-serp-title {
  color: #1a0dab;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 2px;
}
.admin-seo-serp-url {
  color: #006621;
  font-size: 13px;
  margin-bottom: 4px;
}
.admin-seo-serp-desc {
  color: #545454;
  font-size: 13px;
  line-height: 1.45;
}

/* Admin & public ease-of-use utilities */
.side-nav-label {
  margin: 16px 12px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.side-nav-label:first-child { margin-top: 0; }
.admin-tip {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e8f4f1;
  border: 1px solid rgba(28, 83, 72, 0.15);
  color: #1c3d36;
  font-size: 14px;
  line-height: 1.45;
}
.admin-empty {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border: 1px dashed rgba(18, 42, 54, 0.14);
  border-radius: 16px;
}
.admin-empty p { margin: 0 0 8px; }
.admin-empty .btn { margin-top: 12px; }
.badge-on,
.badge-off {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge-on { background: #e7f6f1; color: #1c5348; }
.badge-off { background: #f3f0ea; color: #667085; }
.easy-form label { display: block; margin-bottom: 14px; font-weight: 600; }
.easy-form label input,
.easy-form label select,
.easy-form label textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  font-weight: 400;
}
.easy-form .form-choice { font-weight: 500; }
.quiz-progress {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.quiz-result-pass {
  background: #e7f6f1 !important;
  border-color: rgba(28, 83, 72, 0.25) !important;
  color: #1c5348;
}
.quiz-result-fail {
  background: #fef3f0 !important;
  border-color: rgba(180, 35, 24, 0.2) !important;
  color: #9a3412;
}
.booking-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.booking-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f0ea;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.booking-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(18, 42, 54, 0.08);
  font-size: 12px;
}
.booking-steps li.is-active {
  background: #e8f4f1;
  color: #1c5348;
}
.booking-steps li.is-active span {
  background: #2aa894;
  color: #fff;
}
.price-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #123a4a, #1c5348);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.btn-sm {
  padding: 4px 10px;
  font-size: 12px;
}

/* ========== Responsive polish (site + admin + account) ========== */
html { -webkit-text-size-adjust: 100%; }
img, video, iframe { max-width: 100%; height: auto; }
.table-wrap,
.admin-shell .table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--navy);
}
.menu-toggle-bars {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}
.site-header.is-nav-open .menu-toggle-bars {
  height: 0;
  box-shadow: none;
  background: transparent;
  position: relative;
}
.site-header.is-nav-open .menu-toggle-bars::before,
.site-header.is-nav-open .menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.site-header.is-nav-open .menu-toggle-bars::before { transform: rotate(45deg); }
.site-header.is-nav-open .menu-toggle-bars::after { transform: rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  html.is-nav-open,
  body.is-nav-open {
    overflow: hidden !important;
    touch-action: none;
    overscroll-behavior: none;
  }
  /* Keep header pinned in viewport while menu is open (never body position:fixed). */
  body.is-nav-open .site-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 300;
  }
  body.is-nav-open .mobile-drawer {
    z-index: 250;
  }

  .easy-form,
  .booking-layout .form.card,
  .form.card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .easy-form input,
  .easy-form select,
  .easy-form textarea,
  .form input,
  .form select,
  .form textarea,
  .booking-layout .form input,
  .booking-layout .form select,
  .booking-layout .form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* iOS zoom prevent */
  }
  .booking-steps {
    flex-direction: column;
    align-items: stretch;
  }
  .booking-steps li { width: 100%; justify-content: flex-start; }
  .booking-aside { margin-top: 8px; }
  .price-pill { font-size: 14px; }
  .pay-choices label { font-size: 15px; }

  .page-hero .wrap,
  .section .wrap { overflow-wrap: anywhere; }
  .article img,
  .article iframe,
  .article table {
    max-width: 100%;
  }
  .article table {
    display: block;
    overflow-x: auto;
  }

  .account {
    grid-template-columns: 1fr;
  }
  .account > .side {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    border-radius: 0;
  }
  .account > .side h3 {
    display: none;
  }
  .account > .side a,
  .account > .side .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
  }
  .account > .side form { flex: 0 0 auto; margin: 0; }
  .account > .main { padding: 16px; }

  .admin-page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-page-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .admin-filter-bar {
    padding: 12px;
  }
  .admin-filter-search,
  .admin-filter-status {
    flex: 1 1 100%;
    max-width: none;
    min-width: 0;
  }
  .admin-filter-actions {
    width: 100%;
  }
  .admin-filter-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }
  .admin-page-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }
  .admin-form-card,
  .admin-form-wide {
    max-width: 100%;
    padding: 16px;
  }
  .admin-row-actions {
    flex-wrap: wrap;
    white-space: normal;
    gap: 8px;
  }
  .form-field-row {
    grid-template-columns: 1fr !important;
  }

  .lesson-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .lesson-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .shop-grid,
  .course-grid,
  .account-course-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 820px) {
  .admin-shell .side {
    position: sticky;
    top: 0;
    z-index: 40;
    max-height: none;
  }
  .admin-shell .side-brand {
    padding: 12px 14px;
  }
  .admin-shell .side-brand span { display: none; }
  .admin-shell .side-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px 12px;
    grid-template-columns: none;
  }
  .admin-shell .side-nav .side-nav-label {
    display: none;
  }
  .admin-shell .side-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 13px;
  }
  .admin-shell .side-foot {
    display: none;
  }
  .admin-topbar-user em { display: none; }
  .admin-kpi strong { font-size: 26px; }
  .admin-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-hero-meta {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .admin-actions a {
    text-align: center;
    justify-content: center;
  }
  .admin-tip { font-size: 13px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 24px); }
  .btn { min-height: 44px; }
  .hero-actions,
  .footer-cta-actions {
    display: grid;
    gap: 10px;
  }
  .hero-actions .btn,
  .footer-cta-actions .btn { width: 100%; }
  .admin-actions { grid-template-columns: 1fr; }
  .admin-hero-meta { grid-template-columns: 1fr; }
  .booking-layout .form.card,
  .easy-form.card { padding: 18px 16px; }
  .page-hero { padding: 36px 0 16px; }
  .page-hero h1 { font-size: clamp(32px, 8vw, 42px); }
  .page-hero p { font-size: 16px; line-height: 1.5; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: clamp(28px, 7vw, 36px); }
  .about-story { gap: 22px; }
  .about-story .article { font-size: 16px; line-height: 1.6; }
  .about-story .portrait {
    aspect-ratio: 3 / 4;
    border-radius: 20px;
  }
  .grid-companies { gap: 14px; grid-template-columns: 1fr; }
  .company-card .body { padding: 20px 16px; }
  .company-card h3 { font-size: 18px; }
  .company-logo { width: 64px; height: 64px; margin-bottom: 12px; }
  .notice { font-size: 14px; }
  .quiz-progress { margin-bottom: 8px; }
}

@media (max-width: 400px) {
  .brand img { max-width: 140px; height: 32px; }
  .admin-shell .side-nav a { font-size: 12px; padding: 8px 10px; }
}

/* ===== Sitewide responsive hardening (public pages) ===== */
html, body {
  max-width: 100%;
}
img, video, iframe, svg, canvas {
  max-width: 100%;
}
table {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .grid-3,
  .course-row,
  .cards-equal.grid-3,
  .feature-tiles,
  .learn-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-kpi,
  .admin-pulse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .wrap {
    width: calc(100% - 28px);
    max-width: 100%;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .course-row,
  .learn-story,
  .ebook-page,
  .contact-layout,
  .booking-layout,
  .survey-card,
  .lesson-layout,
  .account,
  .form-row,
  .foot-grid,
  .feature-tiles,
  .learn-features,
  .cards-equal.grid-2,
  .cards-equal.grid-3 {
    grid-template-columns: 1fr !important;
  }
  .grid-companies {
    grid-template-columns: 1fr 1fr !important;
  }
  .grid-companies > *,
  .grid-companies > *:nth-child(4),
  .grid-companies > *:nth-child(5) {
    grid-column: auto !important;
  }

  .learn-photo,
  .learn-photo img {
    min-height: 260px;
    height: auto;
  }
  .ebook-page-visual,
  .ebook-page-visual .ebook-art {
    margin-left: auto;
    margin-right: auto;
  }
  .shop-hero-visual img,
  .surveys-hero img {
    max-height: 240px;
  }
  .feature-tile img {
    width: 96px;
    height: 96px;
  }
  .amca-enroll-section { padding-top: 28px; }
  .amca-enroll-box { padding: 22px 18px; }
  .footer-cta-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
    gap: 20px;
  }
  .footer-cta-copy {
    max-width: none;
    padding-left: 12px;
  }
  .footer-cta strong {
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.2;
  }
  .footer-cta-actions {
    width: 100%;
    display: grid;
    gap: 10px;
  }
  .footer-cta-actions .btn {
    width: 100%;
  }
  .media-frame img,
  .media-frame video {
    width: 100%;
    height: auto;
  }
  .card .body {
    word-break: break-word;
  }
  .thumb {
    min-height: 140px;
  }
  body:not(.is-home) .grid-companies .card,
  body:not(.is-home) .card.plan,
  body:not(.is-home) .card.card-stack {
    min-height: 0;
  }
  .table-wrap,
  .admin-tables,
  .article {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 20px);
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-companies,
  .course-row,
  .feature-tiles,
  .learn-features {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .page-hero {
    padding: 28px 0 14px;
  }
  .page-hero h1 {
    font-size: clamp(28px, 8vw, 38px);
    max-width: none;
    line-height: 1.15;
  }
  .page-hero p,
  .article,
  .section-head p,
  .center-note {
    font-size: 16px;
    line-height: 1.55;
  }
  .section {
    padding: 40px 0;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .section-head h2,
  .block-title {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.2;
  }
  .btn,
  .btn-dark,
  .btn-teal,
  .btn-line,
  .btn-coral,
  .btn-light {
    max-width: 100%;
  }
  .card {
    border-radius: 18px;
  }
  .card .body,
  .plan {
    padding: 18px 16px;
  }
  .price {
    font-size: 28px;
  }
  .learn-photo,
  .learn-photo img {
    min-height: 220px;
  }
  .feature-tile .body {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .feature-tile img {
    width: 80px;
    height: 80px;
  }
  .amca-enroll-logo {
    width: min(220px, 70vw);
  }
  .amca-enroll-title {
    font-size: clamp(18px, 5vw, 24px);
  }
  .amca-enroll-box p {
    font-size: clamp(16px, 4.2vw, 20px);
  }
  .booking-steps {
    gap: 8px;
  }
  .contact-aside,
  .booking-aside,
  .booking-side {
    width: 100%;
  }
  .footer-cta-row {
    padding: 24px 16px;
    border-radius: 12px;
  }
  .footer-cta strong {
    font-size: 22px;
  }
  .foot-grid {
    gap: 24px;
    padding: 32px 0 24px;
  }
  .site-footer h4 {
    margin-bottom: 12px;
  }
  .legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
  }
  .header-cta .btn {
    width: 100%;
  }
  .form label,
  .easy-form label {
    width: 100%;
  }
  input, select, textarea, button, .btn {
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .wrap { width: calc(100% - 16px); }
  .page-hero h1 { font-size: clamp(26px, 9vw, 34px); }
  .btn { padding-left: 16px; padding-right: 16px; }
}

