
:root {
  --purple: #5f2d83;
  --purple-dark: #281332;
  --purple-soft: #dfcbea;
  --orange: #f97832;
  --cream: #f7f0e6;
  --paper: #fffdf9;
  --ink: #241a27;
  --muted: #706770;
  --line: #ddd3ca;
  --green: #b8dbca;
  --blue: #bfd7ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; object-fit: cover; }
figure { margin: 0; }
section[id] { scroll-margin-top: 102px; }

.announcement {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 20px;
  background: var(--purple-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .15em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(36,26,39,.1);
  background: rgba(255,253,249,.94);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.brand-mark { width: 86px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark img { width: 91px; max-width: none; height: auto; display: block; object-fit: contain; }
.brand-copy { position: relative; display: grid; }
.brand-copy::after { content: "✦"; position: absolute; top: -9px; right: -13px; color: var(--orange); font-size: 8px; line-height: 1; transform: rotate(12deg); }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.desktop-nav a, .header-phone { font-size: 13px; font-weight: 650; transition: color .2s; }
.desktop-nav a:hover, .header-phone:hover { color: var(--orange); }
.header-phone { white-space: nowrap; }
.mobile-menu-button, .mobile-nav { display: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button svg, .text-link svg, .schedule-cta svg, .price-card a svg { width: 18px; height: 18px; }
.button-small { min-height: 42px; padding: 0 20px; background: var(--purple); color: #fff; }
.button-primary { min-height: 58px; background: var(--orange); color: #fff; box-shadow: 0 16px 30px rgba(249,120,50,.26); }
.button-primary:hover { box-shadow: 0 20px 36px rgba(249,120,50,.34); }

.hero {
  min-height: 750px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  overflow: hidden;
  background: var(--cream);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(28px, 5vw, 82px) 64px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow > span { width: 26px; height: 2px; background: var(--orange); }
.eyebrow.light { color: #edc9ff; }
.hero h1 {
  max-width: 660px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 5.15vw, 79px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero-lead { max-width: 580px; margin: 26px 0 0; color: #5f565f; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 720; }
.hero-proof { display: flex; gap: 0; margin-top: 58px; border-top: 1px solid var(--line); }
.hero-proof > div { min-width: 150px; display: flex; align-items: center; gap: 12px; padding: 20px 25px 0 0; }
.hero-proof > div + div { padding-left: 25px; border-left: 1px solid var(--line); }
.hero-proof strong { font-family: Georgia, "Times New Roman", serif; color: var(--purple); font-size: 31px; font-weight: 500; }
.hero-proof span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.hero-visual { position: relative; min-height: 620px; padding: 32px 32px 32px 0; background: var(--purple); }
.hero-photo { position: relative; width: 100%; height: 100%; min-height: 686px; overflow: hidden; border-radius: 0 0 0 125px; }
.hero-photo img { object-position: 54% center; }
.floating-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 50px rgba(24,10,30,.2); }
.note-top { top: 78px; left: -42px; width: 162px; height: 162px; justify-content: center; flex-direction: column; border-radius: 50%; background: var(--orange); color: #fff; text-align: center; transform: rotate(-6deg); }
.note-top svg { width: 27px; height: 27px; }
.note-top span { font-size: 12px; line-height: 1.45; }
.note-top b { font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.note-bottom { right: 58px; bottom: 60px; padding: 15px 20px 15px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-family: Georgia, serif; font-size: 13px; line-height: 1.25; }
.play-dot { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; font-family: sans-serif; }

.ticker { position: relative; width: 100%; overflow: hidden; background: var(--orange); color: #fff; white-space: nowrap; }
.ticker-track { width: max-content; display: flex; will-change: transform; animation: ticker-scroll 34s linear infinite; }
.ticker-group { display: flex; align-items: center; flex: 0 0 auto; gap: 25px; padding: 17px 30px; }
.ticker-group span { font-family: Georgia, serif; font-size: 21px; font-style: italic; }
.ticker svg { width: 17px; height: 17px; flex: 0 0 auto; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translate3d(-25%, 0, 0); } }
.section { padding: 110px clamp(24px, 7vw, 108px); }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; margin-bottom: 55px; }
.section-heading h2, .teacher h2, .values-copy h2, .gallery-title h2, .visit-title h2, .trial-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.section-inline-link { width: max-content; max-width: 100%; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding-bottom: 3px; border-bottom: 1px solid rgba(95,45,131,.38); color: var(--purple); font-size: 12px; font-weight: 780; line-height: 1.35; }
.section-inline-link svg { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .2s; }
.section-inline-link:hover svg { transform: translateX(3px); }
.programs { background: var(--paper); }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.program-card { overflow: hidden; border-radius: 30px; background: #eee; }
.program-card.lilac { background: #e4d5ed; }
.program-card.orange { background: #f9c6a8; }
.program-card.blue { background: var(--blue); }
.program-card.green { background: var(--green); }
.program-card.rose { background: #f3cbd8; }
.program-card.sand { background: #eadbbd; }
.program-image { position: relative; height: clamp(280px, 33vw, 470px); overflow: hidden; }
.program-image img { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.program-card:hover .program-image img { transform: scale(1.035); }
.program-body { min-height: 154px; display: grid; grid-template-columns: 50px 1fr; gap: 12px; padding: 25px 30px 30px; }
.program-body > span { font-family: Georgia, serif; color: rgba(36,26,39,.5); font-size: 14px; }
.program-body h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.program-body p { max-width: 470px; margin: 0; color: #5f565f; font-size: 13px; line-height: 1.55; }
.program-more { width: max-content; max-width: 100%; display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; padding-bottom: 3px; border-bottom: 1px solid rgba(36,26,39,.35); font-size: 11px; font-weight: 800; }
.program-more svg { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .2s; }
.program-more:hover svg { transform: translateX(3px); }

.values-section { display: grid; grid-template-columns: 1fr 1fr; padding: 0; background: var(--purple-dark); color: #fff; }
.values-photo { position: relative; min-height: 750px; overflow: hidden; }
.values-photo img { object-position: center; }
.values-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(25,8,32,.55)); }
.photo-label { position: absolute; z-index: 2; left: 48px; bottom: 44px; width: 155px; height: 155px; display: grid; place-content: center; border-radius: 50%; background: var(--orange); font-size: 12px; line-height: 1.55; text-align: center; transform: rotate(-5deg); }
.photo-label b { font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.values-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(35px, 7vw, 105px); }
.values-copy h2 { max-width: 550px; }
.values-intro { max-width: 530px; margin: 25px 0 36px; color: #c9bdcc; font-size: 15px; line-height: 1.7; }
.value-list { border-top: 1px solid rgba(255,255,255,.18); }
.value-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 15px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.value-list span { color: var(--orange); font-family: Georgia, serif; font-size: 13px; }
.value-list h3 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.value-list p { margin: 0; color: #bcaebf; font-size: 12px; line-height: 1.55; }

.teacher { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; overflow: hidden; background: #f7dac8; }
.teacher-copy { padding-left: clamp(0px, 3vw, 45px); }
.teacher h2 em, .gallery-title h2 em, .trial-copy h2 em { color: var(--purple); font-weight: 500; }
.teacher-name { margin: 28px 0 8px; color: var(--purple); font-family: Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.1; }
.teacher-bio { max-width: 525px; margin: 0 0 28px; padding-left: 22px; border-left: 3px solid var(--orange); color: #5f565f; font-size: 14px; line-height: 1.7; }
.teacher-facts { display: flex; gap: 22px; }
.teacher-facts span { max-width: 180px; display: flex; align-items: center; gap: 10px; color: #6b5d64; font-size: 11px; line-height: 1.4; }
.teacher-facts b { color: var(--purple); font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.teacher-photo-wrap { position: relative; min-height: 620px; }
.teacher-sun { position: absolute; top: 9%; right: 5%; width: 77%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); }
.teacher-photo { position: absolute; inset: 0 4% 0 4%; overflow: hidden; border-radius: 260px 260px 35px 35px; }
.teacher-photo img { object-position: center 20%; }
.teacher-stamp { position: absolute; right: 0; bottom: 25px; width: 138px; height: 138px; display: grid; place-content: center; border-radius: 50%; background: var(--purple); color: #fff; text-align: center; transform: rotate(7deg); }
.teacher-stamp svg { width: 22px; height: 22px; margin: 0 auto 8px; }
.teacher-stamp span { font-family: Georgia, serif; font-size: 15px; line-height: 1.25; }

.schedule-section { background: var(--purple); color: #fff; }
.schedule-heading > p { color: #d2c4d9; }
.schedule-table { border-top: 1px solid rgba(255,255,255,.35); }
.schedule-row { display: grid; grid-template-columns: 1.45fr .75fr .9fr .35fr; gap: 25px; align-items: center; min-height: 82px; padding: 10px 20px; border-bottom: 1px solid rgba(255,255,255,.23); }
.schedule-labels { min-height: 44px; color: #c6b7cd; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.schedule-row strong { font-family: Georgia, serif; font-size: 19px; font-weight: 500; }
.schedule-row span { color: #ded1e3; font-size: 13px; }
.schedule-row b { color: #fff; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.schedule-cta { display: flex; justify-content: space-between; align-items: center; margin-top: 35px; padding: 20px 24px; border-radius: 16px; background: var(--orange); color: #fff; font-size: 13px; }
.schedule-cta b { display: flex; align-items: center; gap: 8px; }

.prices { background: var(--cream); }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.price-card { position: relative; min-height: 305px; display: flex; flex-direction: column; padding: 30px 26px 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.price-card.featured { border-color: var(--purple); background: var(--purple); color: #fff; transform: translateY(-12px); box-shadow: 0 20px 45px rgba(75,36,96,.18); }
.popular { position: absolute; top: -12px; right: 20px; padding: 7px 13px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.price-card h3 { margin: 0 0 28px; color: var(--muted); font-size: 12px; font-weight: 700; }
.price-card.featured h3, .price-card.featured p { color: #d8cae0; }
.price-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.price-value strong { font-family: Georgia, serif; font-size: clamp(29px, 2.6vw, 39px); font-weight: 500; line-height: 1; }
.price-value span { color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.price-card.featured .price-value span { color: #d8cae0; }
.price-card p { margin: 14px 0 25px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.price-card a { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 750; }
.price-card.featured a { border-color: rgba(255,255,255,.25); color: #fff; }

.gallery-section { padding: 100px 0 8px; overflow: hidden; background: var(--paper); }
.gallery-title { padding: 0 clamp(24px, 7vw, 108px) 52px; }
.gallery-title h2 em { color: var(--orange); }
.gallery-swipe-hint { display: none; }
.gallery-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 360px 312px;
  gap: 8px;
}
.gallery-item { position: relative; overflow: hidden; background: #e8dfd8; }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(24,10,30,.7)); pointer-events: none; }
.gallery-grid img { transition: transform .8s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; right: 20px; bottom: 18px; left: 20px; z-index: 2; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.2; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.gallery-a { grid-column: 1 / span 6; }
.gallery-b { grid-column: 7 / span 3; }
.gallery-c { grid-column: 10 / span 3; }
.gallery-d { grid-column: 1 / span 4; }
.gallery-e { grid-column: 5 / span 4; }
.gallery-f { grid-column: 9 / span 4; }
.gallery-a img { object-position: center; }
.gallery-b img { object-position: center 30%; }

.visit-section { background: var(--paper); }
.visit-title { display: flex; align-items: center; gap: 22px; margin-bottom: 55px; }
.visit-title > span { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; transform: rotate(-8deg); }
.visit-title svg { width: 34px; height: 34px; }
.visit-title .eyebrow { margin-bottom: 8px; }
.visit-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.visit-steps > div { padding: 32px 38px 5px 0; }
.visit-steps > div + div { padding-left: 38px; border-left: 1px solid var(--line); }
.visit-steps b { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-family: Georgia, serif; font-weight: 500; }
.visit-steps h3 { margin: 22px 0 10px; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.visit-steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.faq-section { background: #f0e6f4; }
.faq-shell { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(55px, 7vw, 110px); align-items: start; }
.faq-heading { position: sticky; top: 130px; }
.faq-heading h2 { max-width: 520px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 70px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.faq-heading > p:not(.eyebrow) { max-width: 460px; margin: 25px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-content { min-width: 0; }
.faq-list { border-top: 1px solid rgba(95,45,131,.25); }
.faq-item { border-bottom: 1px solid rgba(95,45,131,.2); }
.faq-item summary { min-height: 88px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 42px; gap: 17px; align-items: center; padding: 18px 0; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-number { color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.faq-item summary strong { min-width: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(19px, 1.65vw, 24px); font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; transition: color .2s; }
.faq-item summary:hover strong, .faq-item[open] summary strong { color: var(--purple); }
.faq-item summary:focus-visible { outline: 3px solid rgba(95,45,131,.22); outline-offset: 5px; border-radius: 10px; }
.faq-toggle { position: relative; width: 42px; height: 42px; display: block; border: 1px solid rgba(95,45,131,.3); border-radius: 50%; background: rgba(255,255,255,.55); transition: border-color .2s, background .2s, transform .25s; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; border-radius: 99px; background: var(--purple); transform: translate(-50%, -50%); }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.faq-item[open] .faq-toggle { border-color: var(--purple); background: var(--purple); transform: rotate(180deg); }
.faq-item[open] .faq-toggle::before, .faq-item[open] .faq-toggle::after { background: #fff; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { padding: 0 58px 29px 55px; animation: faq-reveal .22s ease both; }
.faq-answer p { max-width: 720px; margin: 0; color: #5f565f; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
@keyframes faq-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.faq-contact-card { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 34px; padding: 24px 26px; border-radius: 24px; background: var(--purple-dark); color: #fff; box-shadow: 0 20px 50px rgba(40,19,50,.15); }
.faq-contact-card > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); }
.faq-contact-card > span svg { width: 27px; height: 27px; }
.faq-contact-card h3 { margin: 0 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; }
.faq-contact-card p { margin: 0; color: #cfc2d3; font-size: 11px; line-height: 1.55; }
.faq-contact-card .button { min-height: 46px; padding: 0 18px; background: #fff; color: var(--purple-dark); font-size: 11px; white-space: nowrap; }
.faq-contact-card .button svg { width: 16px; height: 16px; }

.trial-section { display: grid; grid-template-columns: .9fr 1.1fr; column-gap: 80px; row-gap: 46px; align-items: center; padding: 100px clamp(24px, 8vw, 120px); background: var(--purple-dark); color: #fff; }
.trial-copy > p:not(.eyebrow) { max-width: 500px; margin: 25px 0 35px; color: #cabdcf; font-size: 15px; line-height: 1.7; }
.trial-copy h2 em { color: var(--orange); }
.contact-list { display: grid; gap: 10px; color: #e3d9e6; font-size: 13px; }
.contact-list a:first-child { color: #fff; font-family: Georgia, serif; font-size: 24px; }
.contact-route { width: max-content; max-width: 100%; min-height: 44px; display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; padding: 0 16px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff; font-size: 11px; font-weight: 750; transition: border-color .2s, background .2s, transform .2s; }
.contact-route svg { width: 16px; height: 16px; flex: 0 0 auto; }
.contact-route:hover { border-color: rgba(255,255,255,.62); background: rgba(255,255,255,.08); transform: translateY(-1px); }
.contact-map { width: 100%; height: clamp(320px, 28vw, 430px); grid-column: 1 / -1; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 28px; background: #e9e1eb; box-shadow: 0 18px 44px rgba(16,7,20,.2); }
.contact-map iframe { width: 100%; height: 100%; display: block; border: 0; }
.trial-form { padding: 38px; border-radius: 28px; background: var(--paper); color: var(--ink); }
.form-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.form-top span { font-family: Georgia, serif; font-size: 23px; }
.form-top b { padding: 7px 11px; border-radius: 999px; background: #fbe0cf; color: #b94c12; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.trial-form label, .admin-fields label, .list-fields label, .admin-note-field, .admin-login-card label { display: grid; gap: 8px; }
.trial-form label > span, .admin-fields label > span, .list-fields label > span, .admin-note-field > span, .admin-login-card label b { color: #776d75; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.trial-form input, .trial-form select, .admin-fields input, .admin-fields textarea, .list-fields input, .admin-note-field textarea, .admin-login-card input {
  width: 100%;
  border: 1px solid #dcd4cd;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  transition: border .2s, box-shadow .2s;
}
.trial-form input, .trial-form select { height: 52px; padding: 0 15px; }
.trial-form input:focus, .trial-form select:focus, .admin-fields input:focus, .admin-fields textarea:focus, .list-fields input:focus, .admin-note-field textarea:focus, .admin-login-card input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(95,45,131,.1); }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 15px 0; }
.honeypot { position: absolute; left: -10000px; }
.form-submit { width: 100%; height: 56px; display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 800; cursor: pointer; }
.form-submit span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 20px; }
.form-submit:disabled { opacity: .65; cursor: wait; }
.trial-form .form-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin-top: 17px;
  cursor: pointer;
}
.trial-form .form-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  border-radius: 5px;
  accent-color: var(--purple);
  cursor: pointer;
}
.trial-form .form-consent input:focus-visible { outline: 3px solid rgba(95,45,131,.2); outline-offset: 3px; }
.trial-form .form-consent > span {
  color: #665d64;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}
.trial-form .form-consent a { color: var(--purple); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.trial-form > small { display: block; margin-top: 15px; color: #8b8187; font-size: 9px; line-height: 1.5; text-align: center; }
.trial-form > small a { color: var(--purple); font-weight: 750; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.form-message { margin: 13px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 11px; }
.form-message.success { background: #e6f4eb; color: #2c7045; }
.form-message.error { background: #fee8e3; color: #a13b29; }

.site-footer { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: center; padding: 48px clamp(24px, 6vw, 90px); border-top: 1px solid #e5dcd4; background: var(--paper); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 74px; height: 50px; }
.footer-brand .brand-mark img { width: 79px; }
.footer-brand > div { display: grid; }
.footer-brand b { font-family: Georgia, serif; font-size: 20px; }
.footer-brand small { margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 11px; font-weight: 650; }
.site-footer > p { margin: 0; color: var(--muted); font-size: 9px; }
.site-footer > p a { color: var(--purple); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.mobile-quick-actions { display: none; }

/* Privacy policy */
.legal-page { min-height: 100vh; background: var(--cream); color: var(--ink); }
.legal-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px clamp(22px, 6vw, 88px); border-bottom: 1px solid var(--line); background: rgba(255,253,249,.97); }
.legal-header .brand { flex: 0 1 auto; }
.legal-back { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 0 17px; border: 1px solid rgba(95,45,131,.2); border-radius: 999px; color: var(--purple); font-size: 11px; font-weight: 760; transition: border-color .2s, background .2s; }
.legal-back:hover { border-color: rgba(95,45,131,.5); background: #fff; }
.legal-shell { width: min(calc(100% - 40px), 980px); margin: 0 auto; padding: 82px 0 96px; }
.legal-hero { max-width: 790px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.legal-hero .eyebrow { margin-bottom: 20px; }
.legal-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 7vw, 78px); font-weight: 500; line-height: .98; letter-spacing: -.04em; }
.legal-hero > p:not(.eyebrow) { max-width: 690px; margin: 26px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-updated { display: inline-flex; margin-top: 20px; padding: 7px 11px; border-radius: 999px; background: #f1e4f4; color: var(--purple); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-content { display: grid; gap: 0; margin-top: 18px; }
.legal-section { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 26px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.legal-number { padding-top: 5px; color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.legal-section h2 { margin: 0 0 15px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 3vw, 32px); font-weight: 500; line-height: 1.2; }
.legal-section p, .legal-section li { color: #5f565f; font-size: 14px; line-height: 1.75; }
.legal-section p { margin: 0; }
.legal-section p + p { margin-top: 12px; }
.legal-section ul { display: grid; gap: 7px; margin: 0; padding-left: 20px; }
.legal-section a { color: var(--purple); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.legal-contact-box { display: grid; gap: 6px; margin-top: 18px; padding: 20px; border-radius: 18px; background: #eee1f1; }
.legal-footer { display: flex; justify-content: space-between; gap: 25px; padding: 32px clamp(22px, 6vw, 88px); border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 10px; }
.legal-footer a { color: var(--purple); font-weight: 750; }

/* Direction landing pages */
.direction-page { background: var(--paper); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 42px; color: var(--muted); font-size: 10px; }
.breadcrumbs a:hover { color: var(--purple); }
.breadcrumbs b { color: var(--ink); font-weight: 700; }
.direction-hero { min-height: 690px; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); background: var(--cream); }
.direction-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px clamp(28px, 5.6vw, 88px) 68px; }
.direction-hero h1 { max-width: 720px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 5.3vw, 79px); font-weight: 500; letter-spacing: -.052em; line-height: .98; }
.direction-hero h1 em { display: block; margin-top: 9px; color: var(--purple); font-size: .58em; font-weight: 500; letter-spacing: -.025em; }
.direction-kicker { max-width: 620px; margin: 30px 0 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(21px, 2vw, 29px); line-height: 1.25; }
.direction-lead { max-width: 620px; margin: 15px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.direction-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.direction-hero-media { position: relative; min-height: 690px; overflow: hidden; background: var(--purple); }
.direction-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(27,10,34,.38)); pointer-events: none; }
.direction-hero-media > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.direction-hero-media > span { position: absolute; right: 34px; bottom: 32px; z-index: 2; min-height: 58px; display: flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 11px; box-shadow: 0 15px 40px rgba(22,9,27,.22); }
.direction-hero-media > span svg { width: 20px; height: 20px; }
.direction-hero-media > span b { font-family: Georgia, serif; font-size: 15px; font-weight: 500; }
.direction-about { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(55px, 8vw, 120px); align-items: start; }
.direction-about-copy { position: sticky; top: 130px; }
.direction-about h2, .direction-process h2, .direction-faq h2, .direction-related h2, .direction-cta h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 70px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.direction-about-copy > p:last-child { max-width: 560px; margin: 25px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.direction-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.direction-benefits article { min-height: 235px; padding: 30px 28px 28px 0; border-bottom: 1px solid var(--line); }
.direction-benefits article:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.direction-benefits span { color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.direction-benefits h3 { margin: 42px 0 12px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.direction-benefits p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.direction-process { background: var(--purple-dark); color: #fff; }
.direction-process > header { display: grid; grid-template-columns: 1.2fr .8fr; gap: 55px; align-items: end; }
.direction-process > header .eyebrow { grid-column: 1 / -1; margin-bottom: -25px; }
.direction-process > header > p:last-child { max-width: 470px; margin: 0; color: #c9bdcc; font-size: 14px; line-height: 1.7; }
.direction-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 58px; border-top: 1px solid rgba(255,255,255,.2); }
.direction-steps article { min-height: 270px; padding: 30px 38px 28px 0; }
.direction-steps article + article { padding-left: 38px; border-left: 1px solid rgba(255,255,255,.2); }
.direction-steps b { color: var(--orange); font-size: 10px; letter-spacing: .12em; }
.direction-steps h3 { margin: 70px 0 13px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.direction-steps p { margin: 0; color: #c9bdcc; font-size: 13px; line-height: 1.65; }
.direction-faq { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(50px, 8vw, 115px); background: #f0e6f4; }
.direction-faq > header { position: sticky; top: 130px; align-self: start; }
.direction-faq .faq-list { min-width: 0; }
.direction-related { background: var(--paper); }
.direction-related > header { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 48px; }
.direction-related > header .eyebrow { grid-column: 1 / -1; }
.direction-related-intro { max-width: 520px; margin: 0; justify-self: end; color: var(--muted); font-size: 14px; line-height: 1.7; }
.direction-related-intro a { color: var(--purple); font-weight: 780; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.direction-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.direction-related-grid a { min-height: 100px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 24px; gap: 18px; align-items: center; padding: 22px 26px 22px 0; border-bottom: 1px solid var(--line); transition: color .2s, background .2s; }
.direction-related-grid a:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
.direction-related-grid a:hover { color: var(--purple); background: #fbf5fd; }
.direction-related-grid span { color: var(--orange); font-size: 10px; font-weight: 850; }
.direction-related-grid b { font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.direction-related-grid svg { width: 20px; height: 20px; }
.direction-cta { display: flex; align-items: center; justify-content: space-between; gap: 60px; padding: 90px clamp(24px, 7vw, 108px); background: var(--purple); color: #fff; }
.direction-cta > div { max-width: 790px; }
.direction-cta h2 { max-width: 760px; }
.direction-cta > div > p:last-child { max-width: 620px; margin: 23px 0 0; color: #ded0e4; font-size: 14px; line-height: 1.7; }
.direction-cta > .button { flex: 0 0 auto; }

/* Guide: choosing a direction by age and interests */
.guide-page { background: var(--paper); }
.guide-hero { min-height: 720px; display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); overflow: hidden; background: var(--cream); }
.guide-hero-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 58px clamp(28px, 5.6vw, 88px) 68px; }
.guide-hero h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 5.2vw, 78px); font-weight: 500; letter-spacing: -.052em; line-height: .98; }
.guide-hero h1 em { display: block; margin-top: 9px; color: var(--purple); font-size: .62em; font-weight: 500; letter-spacing: -.025em; }
.guide-kicker { max-width: 630px; margin: 30px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(21px, 2vw, 29px); line-height: 1.25; }
.guide-lead { max-width: 620px; margin: 15px 0 0; color: var(--muted); font-size: 15px; line-height: 1.72; }
.guide-hero-media { position: relative; min-width: 0; min-height: 720px; overflow: hidden; background: var(--purple); }
.guide-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(27,10,34,.42)); pointer-events: none; }
.guide-hero-media > img { width: 100%; height: 100%; display: block; object-position: center; }
.guide-hero-media > span { position: absolute; right: 34px; bottom: 32px; z-index: 2; min-height: 58px; display: flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 11px; box-shadow: 0 15px 40px rgba(22,9,27,.22); }
.guide-hero-media > span svg { width: 20px; height: 20px; }
.guide-hero-media > span b { font-family: Georgia, serif; font-size: 15px; font-weight: 500; }
.guide-intro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--line); }
.guide-intro > div { min-width: 0; padding: 12px 42px 10px 0; }
.guide-intro > div + div { padding-left: 42px; border-left: 1px solid var(--line); }
.guide-intro span { color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.guide-intro h2 { margin: 25px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.guide-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.68; }
.guide-choices { background: var(--paper); }
.guide-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 60px; align-items: end; margin-bottom: 52px; }
.guide-heading h2, .guide-process h2 { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 70px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.guide-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.guide-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-choice-card { min-width: 0; display: grid; grid-template-columns: minmax(150px, .72fr) minmax(0, 1.28fr); overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: var(--cream); }
.guide-choice-image { min-height: 330px; overflow: hidden; background: #e7dce8; }
.guide-choice-image img { width: 100%; height: 100%; display: block; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.guide-choice-card:hover .guide-choice-image img { transform: scale(1.035); }
.guide-choice-copy { min-width: 0; display: flex; flex-direction: column; padding: 27px 25px 24px; }
.guide-choice-copy > span { color: var(--orange); font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.guide-choice-copy h3 { margin: 28px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 500; line-height: 1.14; }
.guide-choice-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.guide-choice-copy > a { display: grid; grid-template-columns: minmax(0, 1fr) 19px; gap: 10px; align-items: center; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); color: var(--purple); font-size: 11px; }
.guide-choice-copy > a b { min-width: 0; font-weight: 780; }
.guide-choice-copy > a svg { width: 19px; height: 19px; transition: transform .2s; }
.guide-choice-copy > a:hover svg { transform: translateX(3px); }
.guide-process { background: var(--purple-dark); color: #fff; }
.guide-process > header { display: grid; grid-template-columns: 1.2fr .8fr; gap: 55px; align-items: end; }
.guide-process > header .eyebrow { grid-column: 1 / -1; margin-bottom: -25px; }
.guide-process > header > p:last-child { max-width: 450px; margin: 0; color: #c9bdcc; font-size: 14px; line-height: 1.7; }

/* Admin */
.admin-loading { min-height: 100vh; display: grid; place-content: center; gap: 15px; background: var(--cream); color: var(--muted); text-align: center; }
.admin-spinner { width: 36px; height: 36px; margin: auto; border: 3px solid #ddd1df; border-top-color: var(--purple); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.admin-login-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: radial-gradient(circle at 15% 15%, #8d55ad 0, transparent 28%), radial-gradient(circle at 85% 80%, #ed7439 0, transparent 22%), var(--purple-dark); }
.admin-back { position: absolute; top: 28px; left: 32px; color: #d9cada; font-size: 12px; }
.admin-login-card { width: min(100%, 440px); padding: 44px; border-radius: 28px; background: var(--paper); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.admin-login-logo { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 25px; }
.admin-login-card > p { margin: 0 0 7px; color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-login-card h1 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 36px; font-weight: 500; }
.admin-login-card > span { display: block; margin-bottom: 28px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.admin-login-card input { height: 52px; padding: 0 15px; }
.admin-login-card button { width: 100%; height: 52px; display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--purple); color: #fff; font-weight: 750; cursor: pointer; }
.admin-login-card button span { font-size: 20px; }
.admin-login-card > small { display: block; margin-top: 18px; color: #999097; font-size: 9px; text-align: center; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 245px 1fr; background: #f5f1ed; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 28px 18px 20px; background: var(--purple-dark); color: #fff; }
.admin-identity { display: flex; align-items: center; gap: 11px; padding: 0 10px 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-identity > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); }
.admin-identity > div { display: grid; }
.admin-identity b { font-family: Georgia, serif; font-size: 19px; }
.admin-identity small { margin-top: 3px; color: #b9a9bd; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.admin-sidebar nav { display: grid; gap: 5px; margin-top: 25px; }
.admin-sidebar nav button { height: 45px; display: flex; align-items: center; gap: 12px; padding: 0 13px; border: 0; border-radius: 10px; background: transparent; color: #cbbdce; font-size: 12px; font-weight: 650; text-align: left; cursor: pointer; }
.admin-sidebar nav button:hover, .admin-sidebar nav button.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-sidebar nav i { width: 18px; color: var(--orange); font-family: Georgia, serif; font-size: 17px; font-style: normal; text-align: center; }
.admin-sidebar nav em { min-width: 22px; height: 22px; display: grid; place-items: center; margin-left: auto; border-radius: 50%; background: var(--orange); color: #fff; font-size: 9px; font-style: normal; }
.admin-side-bottom { display: grid; gap: 5px; margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.12); }
.admin-side-bottom a, .admin-side-bottom button { padding: 9px 12px; border: 0; background: transparent; color: #b9a9bd; font-size: 10px; text-align: left; cursor: pointer; }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 20px clamp(24px, 5vw, 65px); border-bottom: 1px solid #ded7d2; background: rgba(255,255,255,.7); }
.admin-topbar p { margin: 0 0 4px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.admin-topbar h1 { margin: 0; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.admin-save { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--purple); color: #fff; font-size: 11px; font-weight: 750; cursor: pointer; }
.admin-save:disabled { opacity: .55; }
.admin-content { display: grid; gap: 18px; max-width: 1040px; padding: 32px clamp(24px, 5vw, 65px) 70px; }
.admin-help { display: flex; align-items: center; gap: 13px; padding: 14px 18px; border: 1px solid #ead4c7; border-radius: 12px; background: #fff7f1; }
.admin-help b { color: #9a451f; font-size: 11px; white-space: nowrap; }
.admin-help span { color: #7d7069; font-size: 10px; line-height: 1.45; }
.admin-card { padding: 27px; border: 1px solid #ded8d3; border-radius: 20px; background: #fff; box-shadow: 0 5px 25px rgba(44,25,50,.035); }
.admin-card-title { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 24px; }
.admin-card-title > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #eadff0; color: var(--purple); font-family: Georgia, serif; font-size: 12px; }
.admin-card-title h2 { margin: 0 0 4px; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.admin-card-title p { margin: 0; color: var(--muted); font-size: 10px; }
.admin-fields { display: grid; gap: 15px; }
.admin-fields.two { grid-template-columns: 1fr 1fr; }
.admin-fields .wide { grid-column: 1 / -1; }
.admin-fields input, .list-fields input { height: 47px; padding: 0 13px; }
.admin-fields textarea, .admin-note-field textarea { min-height: 78px; padding: 12px 13px; resize: vertical; }
.admin-note-field { width: 100%; }
.admin-list { display: grid; gap: 10px; }
.admin-list-card { position: relative; display: grid; grid-template-columns: 40px 1fr 32px; gap: 15px; align-items: center; padding: 20px; border: 1px solid #ded8d3; border-radius: 16px; background: #fff; }
.list-number { color: var(--purple); font-family: Georgia, serif; font-size: 13px; }
.list-fields { display: grid; gap: 12px; }
.schedule-fields { grid-template-columns: 1.4fr .75fr 1fr .55fr; }
.price-fields { grid-template-columns: 1.1fr .65fr .65fr; }
.price-fields .wide { grid-column: 1 / -1; }
.remove-button { width: 30px; height: 30px; border: 1px solid #e4d8d3; border-radius: 50%; background: #fff; color: #b87159; font-size: 19px; cursor: pointer; }
.admin-add { width: max-content; min-height: 43px; padding: 0 18px; border: 1px dashed var(--purple); border-radius: 999px; background: #fff; color: var(--purple); font-size: 11px; font-weight: 750; cursor: pointer; }
.admin-check { grid-column: 1 / -1; display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 9px !important; }
.admin-check input { width: 16px; height: 16px; accent-color: var(--purple); }
.admin-check span { color: var(--muted); font-size: 10px; }
.admin-notice { margin: 18px clamp(24px, 5vw, 65px) 0; padding: 12px 15px; border-radius: 10px; background: #fee9e4; color: #993b29; font-size: 11px; }
.admin-notice.success { background: #e4f2e9; color: #25653c; }
.admin-login-card .admin-notice { margin: 13px 0 0; }
.admin-empty { padding: 70px 25px; border: 1px dashed #d6ccc5; border-radius: 20px; background: rgba(255,255,255,.55); text-align: center; }
.admin-empty > span { color: var(--orange); font-size: 35px; }
.admin-empty h2 { margin: 12px 0 7px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.admin-empty p { margin: 0; color: var(--muted); font-size: 11px; }
.lead-list { display: grid; gap: 9px; }
.lead-card { display: grid; grid-template-columns: 42px 1.1fr .55fr .55fr 1fr auto; gap: 17px; align-items: center; padding: 17px; border: 1px solid #ded8d3; border-radius: 14px; background: #fff; }
.lead-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #eadff0; color: var(--purple); font-family: Georgia, serif; font-size: 17px; }
.lead-card h3 { margin: 0 0 5px; font-size: 12px; }
.lead-card a { color: var(--purple); font-size: 11px; font-weight: 700; }
.lead-card > div:not(.lead-avatar):not(.lead-person) { display: grid; gap: 4px; }
.lead-card > div span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.lead-card > div b { font-size: 10px; }
.lead-card time { color: var(--muted); font-size: 9px; }
.password-card { max-width: 600px; }
.password-button { width: max-content; margin-top: 5px; }
.admin-hero-media-layout { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(300px, 1.1fr); gap: 28px; align-items: start; }
.admin-hero-preview { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: #e9e1db; }
.admin-hero-preview img, .admin-hero-preview video { width: 100%; height: 100%; display: block; object-fit: cover; }
.admin-hero-preview .is-hidden { display: none; }
.admin-media-controls { display: grid; gap: 16px; }
.hero-media-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0; padding: 0; border: 0; }
.hero-media-choice legend { grid-column: 1 / -1; margin-bottom: 2px; color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.hero-media-choice label { position: relative; }
.hero-media-choice input { position: absolute; opacity: 0; pointer-events: none; }
.hero-media-choice span { min-height: 44px; display: grid; place-items: center; padding: 8px 12px; border: 1px solid #ded8d3; border-radius: 12px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 750; cursor: pointer; }
.hero-media-choice input:checked + span { border-color: var(--purple); background: #efe5f4; color: var(--purple); box-shadow: inset 0 0 0 1px var(--purple); }
.media-file-field { display: grid; gap: 8px; }
.media-file-field > span { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.media-file-field input[type="file"] { width: 100%; min-height: 46px; padding: 8px; border: 1px dashed #cfc2d5; border-radius: 12px; background: #fbf8fc; color: var(--muted); font-size: 10px; cursor: pointer; }
.media-file-field input[type="file"]::file-selector-button { min-height: 30px; margin-right: 10px; padding: 0 13px; border: 0; border-radius: 999px; background: var(--purple); color: #fff; font-size: 9px; font-weight: 750; cursor: pointer; }
.media-reset-row { display: flex; flex-wrap: wrap; gap: 13px 22px; }
.media-reset-row label, .media-reset { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; cursor: pointer; }
.media-reset-row input, .media-reset input { width: 15px; height: 15px; accent-color: var(--purple); }
.media-hint { margin: 0; padding: 12px 14px; border-radius: 11px; background: #f6f1ed; color: var(--muted); font-size: 9px; line-height: 1.55; }
.admin-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-media-item { min-width: 0; padding: 14px; border: 1px solid #e3dcd7; border-radius: 16px; background: #fcfaf8; }
.admin-media-thumb { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 11px; background: #e9e1db; }
.admin-media-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.admin-media-item-copy { min-height: 54px; padding: 12px 2px 8px; }
.admin-media-item h3 { margin: 0 0 4px; font-family: Georgia, serif; font-size: 16px; font-weight: 500; }
.admin-media-item p { margin: 0; color: var(--muted); font-size: 9px; }
.media-file-field.compact { margin-top: 2px; }
.admin-media-item .media-reset { margin-top: 10px; }
.media-bottom-save { width: max-content; justify-self: end; }
.admin-content-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.admin-content-cards.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-fixed-card { grid-template-columns: 34px 1fr; align-items: start; padding: 17px; }
.content-subcards { margin-top: 18px; }
.admin-numbered-field { min-width: 0; display: grid; grid-template-columns: 28px 1fr; gap: 5px 10px; align-items: center; padding: 13px; border: 1px solid #e3dcd7; border-radius: 13px; background: #fcfaf8; }
.admin-numbered-field > b { grid-row: 1 / 3; color: var(--purple); font-family: Georgia, serif; font-size: 12px; font-weight: 500; text-align: center; }
.admin-numbered-field > span { color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.admin-numbered-field > input { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #dcd4cd; border-radius: 10px; outline: 0; background: #fff; color: var(--ink); }
.admin-numbered-field > input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(95,45,131,.1); }
.admin-faq-list { display: grid; gap: 12px; }
.admin-faq-card { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border: 1px solid #e3dcd7; border-radius: 15px; background: #fcfaf8; }
.admin-faq-card .list-number { padding-top: 15px; text-align: center; }
.admin-faq-card textarea { min-height: 92px; }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .mobile-menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid rgba(95,45,131,.18);
    border-radius: 50%;
    background: rgba(255,255,255,.78);
    color: var(--purple);
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .2s;
  }
  .mobile-menu-button:hover { border-color: rgba(95,45,131,.42); background: #fff; }
  .mobile-menu-button:active { transform: scale(.96); }
  .mobile-menu-icon { width: 18px; display: grid; gap: 4px; }
  .mobile-menu-icon i { width: 18px; height: 2px; display: block; border-radius: 99px; background: currentColor; transition: transform .22s, opacity .18s; }
  .mobile-menu-button[aria-expanded="true"] .mobile-menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-menu-button[aria-expanded="true"] .mobile-menu-icon i:nth-child(2) { opacity: 0; }
  .mobile-menu-button[aria-expanded="true"] .mobile-menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 2;
    display: grid;
    max-height: calc(100vh - 83px);
    padding: 8px clamp(18px, 5vw, 56px) 20px;
    overflow-y: auto;
    border-bottom: 1px solid rgba(36,26,39,.12);
    background: rgba(255,253,249,.99);
    box-shadow: 0 22px 45px rgba(40,19,50,.13);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s, visibility .2s, transform .2s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .mobile-nav > a:not(.mobile-nav-phone) {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(36,26,39,.09);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
  }
  .mobile-nav > a:not(.mobile-nav-phone) > span { color: var(--orange); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
  .mobile-nav-phone {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 17px;
    border-radius: 14px;
    background: var(--purple);
    color: #fff;
    font-size: 11px;
    font-weight: 760;
  }
  .mobile-nav-phone > span { color: #dccccf; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-left: 45px; padding-right: 42px; }
  .hero h1 { font-size: 56px; }
  .hero-proof > div { min-width: 0; flex: 1; padding-right: 12px; }
  .hero-proof > div + div { padding-left: 14px; }
  .hero-proof span { display: none; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
}

@media (max-width: 850px) {
  .announcement { font-size: 9px; }
  .site-header { height: 70px; padding: 0 18px; gap: 12px; }
  .mobile-nav { max-height: calc(100vh - 71px); }
  .brand small, .header-phone { display: none; }
  .brand strong { font-size: 18px; }
  .brand-mark { width: 67px; height: 46px; }
  .brand-mark img { width: 72px; }
  .brand-copy::after { top: -7px; right: -10px; font-size: 7px; }
  .button-small { min-height: 38px; padding: 0 15px; font-size: 11px; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { order: 2; padding: 45px 24px 52px; }
  .hero h1 { font-size: clamp(44px, 12vw, 65px); }
  .hero-lead { font-size: 15px; }
  .hero-visual { order: 1; min-height: 0; padding: 18px; }
  .hero-photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: 0 0 42px 0; }
  .note-top {
    top: 30px;
    left: 30px;
    width: auto;
    height: auto;
    min-height: 44px;
    justify-content: flex-start;
    flex-direction: row;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    text-align: left;
    transform: none;
    box-shadow: 0 10px 28px rgba(24,10,30,.2);
  }
  .note-top svg { width: 16px; height: 16px; flex: 0 0 auto; }
  .note-top span { display: flex; align-items: baseline; gap: 4px; font-size: 10px; line-height: 1.1; }
  .note-top span br { display: none; }
  .note-top b { font-family: inherit; font-size: 11px; font-weight: 800; }
  .note-bottom { display: none; }
  .hero-proof { margin-top: 42px; }
  .hero-proof span { display: block; }
  .section { padding: 75px 24px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 38px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-image { height: 380px; }
  .values-section { grid-template-columns: 1fr; padding: 0; }
  .values-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .values-photo img { object-position: 42% center; }
  .photo-label { display: none; }
  .values-copy { padding: 68px 24px; }
  .teacher { grid-template-columns: 1fr; gap: 45px; }
  .teacher-photo-wrap { min-height: 570px; order: -1; }
  .teacher-copy { padding-left: 0; }
  .schedule-row { grid-template-columns: 1.3fr .7fr .8fr .35fr; gap: 12px; padding-left: 5px; padding-right: 5px; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 285px; }
  .gallery-item, .gallery-b, .gallery-c, .gallery-d, .gallery-e, .gallery-f { grid-column: auto; grid-row: auto; }
  .gallery-a { grid-column: 1 / -1; grid-row: auto; }
  .visit-steps { grid-template-columns: 1fr; }
  .visit-steps > div, .visit-steps > div + div { padding: 27px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .faq-shell { grid-template-columns: 1fr; gap: 42px; }
  .faq-heading { position: static; }
  .faq-heading > p:not(.eyebrow) { max-width: 620px; }
  .faq-item summary { min-height: 78px; }
  .faq-contact-card { grid-template-columns: 54px minmax(0, 1fr); }
  .faq-contact-card > span { width: 54px; height: 54px; }
  .faq-contact-card .button { grid-column: 2; width: max-content; }
  .trial-section { grid-template-columns: 1fr; gap: 36px; padding: 75px 24px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-links { display: none; }
  .legal-header { min-height: 76px; padding: 10px 20px; }
  .legal-shell { padding-top: 62px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-shell { width: 100%; overflow-x: hidden; }
  .admin-sidebar { position: static; width: 100%; min-width: 0; max-width: 100vw; height: auto; padding: 16px; overflow: hidden; }
  .admin-identity { padding-bottom: 15px; }
  .admin-sidebar nav { width: 100%; min-width: 0; max-width: 100%; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 90px; margin-top: 14px; overflow-x: auto; }
  .admin-sidebar nav button { min-width: 90px; height: 52px; flex-direction: column; justify-content: center; gap: 3px; padding: 4px; font-size: 9px; }
  .admin-sidebar nav em { position: absolute; }
  .admin-side-bottom { display: none; }
  .admin-main, .admin-content, .admin-card, .admin-content-cards, .admin-fixed-card, .admin-fields, .admin-fields label, .admin-fields input, .admin-fields textarea { min-width: 0; }
  .admin-main, .admin-content { width: 100%; max-width: 100vw; }
  .schedule-fields { grid-template-columns: 1fr 1fr; }
  .lead-card { grid-template-columns: 42px 1fr auto; }
  .lead-card > div:not(.lead-avatar):not(.lead-person), .lead-card time { grid-column: 2 / -1; }
  .admin-hero-media-layout { grid-template-columns: 1fr; }
  .admin-content-cards, .admin-content-cards.compact { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .has-mobile-quick-actions { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .mobile-quick-actions {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(95,45,131,.14);
    border-radius: 20px;
    background: rgba(255,253,249,.94);
    box-shadow: 0 14px 42px rgba(35,17,43,.22);
    backdrop-filter: blur(14px);
  }
  .mobile-quick-actions a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 0 13px; border-radius: 14px; font-size: 12px; font-weight: 800; }
  .mobile-quick-phone { border: 1px solid rgba(95,45,131,.25); color: var(--purple); }
  .mobile-quick-trial { background: var(--orange); color: #fff; box-shadow: 0 8px 24px rgba(255,113,47,.24); }
}

@media (max-width: 560px) {
  .site-header { gap: 8px; }
  .brand { gap: 5px; }
  .brand strong { font-size: 17px; }
  .brand-mark { width: 62px; height: 44px; }
  .brand-mark img { width: 67px; }
  .button-small { padding-left: 13px; padding-right: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .text-link { width: max-content; }
  .hero-proof > div { display: grid; gap: 4px; }
  .hero-proof strong { font-size: 27px; }
  .hero-proof span { font-size: 9px; }
  .hero-visual { min-height: 0; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .program-image { height: 290px; }
  .program-body { grid-template-columns: 35px 1fr; padding: 22px; }
  .values-photo { min-height: 0; aspect-ratio: 4 / 5; }
  .teacher-photo-wrap { min-height: 460px; }
  .teacher-facts { flex-direction: column; }
  .schedule-labels { display: none; }
  .schedule-table { border-top: 0; }
  .schedule-row { grid-template-columns: 1fr auto; gap: 6px 15px; padding: 17px 0; }
  .schedule-row strong { font-size: 17px; }
  .schedule-row span { font-size: 11px; }
  .schedule-row span:nth-child(2) { grid-column: 1; }
  .schedule-row span:nth-child(3) { grid-column: 1; }
  .schedule-row b { grid-column: 2; grid-row: 1 / 4; font-size: 23px; }
  .schedule-cta { align-items: flex-start; flex-direction: column; gap: 11px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 250px; }
  .gallery-section { padding-bottom: 0; }
  .gallery-title { padding-bottom: 24px; }
  .gallery-swipe-hint { display: block; margin: 18px 0 0; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
  .gallery-grid {
    min-height: 0;
    display: flex;
    gap: 12px;
    padding: 0 24px 25px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) transparent;
  }
  .gallery-item, .gallery-a, .gallery-b, .gallery-c, .gallery-d, .gallery-e, .gallery-f { width: auto; min-height: 0; flex: 0 0 min(82vw, 340px); aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .gallery-item figcaption { right: 17px; bottom: 16px; left: 17px; font-size: 16px; }
  .visit-title { align-items: flex-start; }
  .visit-title > span { width: 55px; height: 55px; flex: 0 0 auto; }
  .faq-section { padding: 72px 18px; }
  .faq-shell { gap: 34px; }
  .faq-heading h2 { font-size: clamp(40px, 12vw, 56px); }
  .faq-heading > p:not(.eyebrow) { margin-top: 20px; font-size: 14px; }
  .faq-item summary { min-height: 72px; grid-template-columns: 29px minmax(0, 1fr) 36px; gap: 10px; padding: 15px 0; }
  .faq-number { font-size: 9px; }
  .faq-item summary strong { font-size: 17px; line-height: 1.28; }
  .faq-toggle { width: 36px; height: 36px; }
  .faq-toggle::before, .faq-toggle::after { width: 12px; }
  .faq-answer { padding: 0 4px 23px 39px; }
  .faq-answer p { font-size: 13px; line-height: 1.7; }
  .faq-contact-card { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; margin-top: 26px; padding: 20px 18px; border-radius: 20px; }
  .faq-contact-card > span { width: 46px; height: 46px; }
  .faq-contact-card > span svg { width: 22px; height: 22px; }
  .faq-contact-card h3 { font-size: 20px; }
  .faq-contact-card .button { grid-column: 1 / -1; width: 100%; }
  .form-pair { grid-template-columns: 1fr; }
  .trial-form { padding: 25px 19px; }
  .form-top { align-items: flex-start; flex-direction: column; gap: 10px; }
  .contact-route { width: 100%; justify-content: center; }
  .contact-map { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 18px; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; }
  .site-footer > p { grid-column: 1; text-align: left; }
  .legal-header .brand-copy { display: none; }
  .legal-header .brand-mark { width: 62px; }
  .legal-back { min-height: 40px; padding: 0 14px; }
  .legal-shell { width: min(calc(100% - 32px), 980px); padding: 48px 0 68px; }
  .legal-hero { padding-bottom: 38px; }
  .legal-hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .legal-hero > p:not(.eyebrow) { font-size: 14px; }
  .legal-section { grid-template-columns: 31px minmax(0, 1fr); gap: 10px; padding: 30px 0; }
  .legal-section h2 { font-size: 24px; }
  .legal-section p, .legal-section li { font-size: 13px; line-height: 1.7; }
  .legal-contact-box { padding: 16px; }
  .legal-footer { flex-direction: column; gap: 10px; padding: 26px 20px calc(26px + env(safe-area-inset-bottom)); }
  .admin-login-card { padding: 32px 23px; }
  .admin-back { top: 18px; left: 20px; }
  .admin-topbar { align-items: flex-start; flex-direction: column; gap: 14px; padding: 20px; }
  .admin-save { width: 100%; }
  .admin-content { padding: 22px 14px 55px; }
  .admin-help { align-items: flex-start; flex-direction: column; }
  .admin-fields.two, .price-fields, .schedule-fields { grid-template-columns: 1fr; }
  .admin-list-card { grid-template-columns: 28px 1fr; align-items: start; padding: 16px; }
  .remove-button { position: absolute; top: 10px; right: 10px; }
  .price-fields .wide { grid-column: 1; }
  .lead-card { grid-template-columns: 38px 1fr; }
  .lead-card time { grid-column: 2; }
  .admin-media-grid { grid-template-columns: 1fr; }
  .hero-media-choice { grid-template-columns: 1fr; }
  .media-bottom-save { width: 100%; }
  .admin-fixed-card { grid-template-columns: 26px 1fr; }
  .admin-faq-card { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 14px; }
  .admin-faq-card .list-number { padding-top: 14px; }
}

@media (max-width: 360px) {
  .brand-copy { display: none; }
  .brand-mark { width: 58px; }
  .brand-mark img { width: 63px; }
  .mobile-menu-button { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none !important; }
  .ticker-group:nth-child(n+2) { display: none; }
}

/* Portable PHP build: regular images replace framework-managed images. */
.hero-photo > img,
.hero-photo > video,
.program-image > img,
.values-photo > img,
.teacher-photo > img,
.gallery-grid > * > img {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-photo > video { object-fit: cover; }
.admin-sidebar nav a {
  height: 45px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border-radius: 10px;
  color: #cbbdce;
  font-size: 12px;
  font-weight: 650;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-sidebar nav a i { width: 18px; color: var(--orange); font-family: Georgia,serif; font-size: 17px; font-style: normal; text-align: center; }
.admin-sidebar nav a em { min-width: 22px; height: 22px; display: grid; place-items: center; margin-left: auto; border-radius: 50%; background: var(--orange); color: #fff; font-size: 9px; font-style: normal; }
.admin-inline-actions { display: flex; gap: 10px; align-items: center; }
.admin-inline-actions form { margin: 0; }
.admin-logout { border: 0; background: transparent; color: #b9a9bd; font-size: 10px; cursor: pointer; padding: 9px 12px; }
.admin-content form { display: grid; gap: 18px; }
.admin-empty-error { padding: 14px 16px; border-radius: 12px; background: #fee9e4; color: #993b29; font-size: 11px; }

@media (max-width: 850px) {
  .admin-sidebar nav a { min-width: 90px; height: 52px; flex-direction: column; justify-content: center; gap: 3px; padding: 4px; font-size: 9px; }
  .admin-topbar .admin-inline-actions { width: 100%; }
  .admin-topbar .admin-inline-actions .admin-save { flex: 1; }
}

.seo-file-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.seo-file-links a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 16px; border: 1px solid #e4dce4; border-radius: 12px; background: #fff; color: var(--purple); font-size: 12px; font-weight: 750; }
.seo-file-links a:hover { border-color: var(--purple); }
.seo-file-links span { color: var(--orange); }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: var(--purple-dark); color: #fff; }
.error-shell { width: min(720px, 100%); padding: clamp(30px, 6vw, 72px); border-radius: 34px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.error-brand { width: max-content; display: flex; align-items: center; gap: 12px; margin-bottom: 54px; color: var(--ink); }
.error-brand img { width: 86px; height: 66px; object-fit: contain; }
.error-brand strong { display: block; font-family: Georgia,serif; font-size: 28px; }
.error-brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.error-code { margin: 0 0 12px; color: var(--orange); font-size: 12px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.error-shell h1 { max-width: 610px; margin: 0; font-family: Georgia,serif; font-size: clamp(45px, 8vw, 82px); font-weight: 400; line-height: .94; letter-spacing: -.04em; }
.error-shell > p:not(.error-code) { max-width: 520px; margin: 24px 0 32px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.error-home { width: max-content; display: inline-flex; align-items: center; gap: 24px; padding: 17px 24px; border-radius: 999px; background: var(--purple); color: #fff; font-size: 12px; font-weight: 800; }
.error-home span { color: var(--orange); font-size: 20px; }

@media (max-width: 650px) {
  .seo-file-links { grid-template-columns: 1fr; }
  .error-page { padding: 14px; }
  .error-shell { padding: 28px 22px 35px; border-radius: 24px; }
  .error-brand { margin-bottom: 42px; }
  .error-brand img { width: 70px; height: 54px; }
  .error-brand strong { font-size: 23px; }
}

@media (max-width: 850px) {
  .direction-hero { min-height: 0; grid-template-columns: 1fr; }
  .direction-hero-copy { padding: 48px 24px 58px; }
  .breadcrumbs { margin-bottom: 32px; }
  .direction-hero-media { min-height: 0; aspect-ratio: 16 / 10; }
  .direction-about, .direction-faq { grid-template-columns: 1fr; gap: 42px; }
  .direction-about-copy, .direction-faq > header { position: static; }
  .direction-process > header { grid-template-columns: 1fr; gap: 22px; }
  .direction-process > header .eyebrow { grid-column: auto; margin-bottom: 0; }
  .direction-steps { grid-template-columns: 1fr; }
  .direction-steps article, .direction-steps article + article { min-height: 0; padding: 27px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .direction-steps h3 { margin-top: 34px; }
  .direction-related > header { grid-template-columns: 1fr; gap: 20px; }
  .direction-related-intro { justify-self: start; }
  .direction-cta { align-items: flex-start; flex-direction: column; padding-top: 72px; padding-bottom: 72px; }
  .guide-hero { min-height: 0; grid-template-columns: 1fr; }
  .guide-hero-copy { padding: 48px 24px 58px; }
  .guide-hero-media { min-height: 0; aspect-ratio: 16 / 10; }
  .guide-intro { grid-template-columns: 1fr; }
  .guide-intro > div, .guide-intro > div + div { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .guide-intro > div:last-child { border-bottom: 0; }
  .guide-intro h2 { margin-top: 18px; }
  .guide-heading, .guide-process > header { grid-template-columns: 1fr; gap: 22px; }
  .guide-process > header .eyebrow { grid-column: auto; margin-bottom: 0; }
  .guide-choice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .program-more { font-size: 10px; }
  .direction-hero-copy { padding: 38px 20px 48px; }
  .direction-hero h1 { font-size: clamp(43px, 13vw, 60px); }
  .direction-hero h1 em { font-size: .55em; line-height: 1.08; }
  .direction-kicker { margin-top: 25px; font-size: 21px; }
  .direction-lead { font-size: 14px; }
  .direction-actions { align-items: stretch; flex-direction: column; gap: 13px; }
  .direction-actions .text-link { width: max-content; }
  .direction-hero-media { aspect-ratio: 4 / 3; }
  .direction-hero-media > span { right: 14px; bottom: 14px; min-height: 44px; padding: 9px 13px; font-size: 9px; }
  .direction-hero-media > span svg { width: 15px; height: 15px; }
  .direction-hero-media > span b { font-size: 12px; }
  .direction-benefits { grid-template-columns: 1fr; }
  .direction-benefits article, .direction-benefits article:nth-child(even) { min-height: 0; padding: 25px 0; border-left: 0; }
  .direction-benefits h3 { margin-top: 28px; }
  .direction-related-grid { grid-template-columns: 1fr; }
  .direction-related-grid a, .direction-related-grid a:nth-child(even) { min-height: 86px; padding: 18px 0; border-left: 0; }
  .direction-related-grid b { font-size: 19px; }
  .direction-cta { gap: 35px; padding: 64px 20px; }
  .direction-cta > .button { width: 100%; }
  .guide-hero-copy { padding: 38px 20px 48px; }
  .guide-hero h1 { font-size: clamp(43px, 13vw, 60px); }
  .guide-hero h1 em { font-size: .58em; line-height: 1.08; }
  .guide-kicker { margin-top: 25px; font-size: 21px; }
  .guide-lead { font-size: 14px; }
  .guide-hero .direction-actions { align-items: stretch; flex-direction: column; gap: 13px; }
  .guide-hero .direction-actions .text-link { width: max-content; }
  .guide-hero-media { aspect-ratio: 4 / 3; }
  .guide-hero-media > span { right: 14px; bottom: 14px; min-height: 44px; padding: 9px 13px; font-size: 9px; }
  .guide-hero-media > span svg { width: 15px; height: 15px; }
  .guide-hero-media > span b { font-size: 12px; }
  .guide-intro { padding-top: 46px; padding-bottom: 46px; }
  .guide-choice-card { grid-template-columns: 1fr; }
  .guide-choice-image { min-height: 0; aspect-ratio: 16 / 10; }
  .guide-choice-copy { min-height: 295px; padding: 24px 20px 21px; }
  .guide-choice-copy h3 { margin-top: 23px; font-size: 22px; }
}
