/* grova-local-font */
@font-face { font-family: "GrovaMockupSans"; src: url("assets/grova-sans.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: block; }
:root {
  --primary: #ceaf40;
  --primary-deep: #a98d2a;
  --secondary: #61457f;
  --secondary-deep: #49305f;
  --accent: #69638a;
  --paper: #fcfaf4;
  --paper-2: #f4f0e6;
  --ink: #3a3112;
  --muted: #746f61;
  --line: rgba(58, 49, 18, .13);
  --white: #fffef9;
  --dark: #211b2a;
  --radius-sm: 12px;
  --radius-card: 22px;
  --radius-panel: 32px;
  --shadow: 0 14px 38px rgba(58, 49, 18, .07);
  --wrap: min(1240px, calc(100% - 96px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "GrovaMockupSans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-top: 118px; }
.section-heading { max-width: 880px; margin: 0 auto 42px; text-align: center; }
.section-heading h2 { margin: 10px 0 14px; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 680; }
.section-heading > p:last-child { max-width: 690px; margin: 0 auto; color: var(--muted); }
.eyebrow { width: fit-content; margin: 0 auto; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: .72rem; font-weight: 750; letter-spacing: .02em; }
.dark-pill { color: var(--paper); background: var(--secondary-deep); border: 0; }

/* Desktop hero keeps the original height while reserving room for its copy. */
@media (min-width: 761px) {
  .hero { display: flex; flex-direction: column; }
  .site-header, .hero-copy { flex-shrink: 0; }
  .hero-stage.wrap { position: relative; flex: 1; min-height: 0; height: auto; margin-top: 24px; }
  .hero-stage .hero-person { width: auto; max-width: 560px; height: calc(100% + 135px); }
}

/* Enlarge the cutout around its visible bottom edge; transparent padding stays outside the copy. */
@media (min-width: 1001px) {
  .hero-stage .hero-person {
    height: calc(135% + 182.25px);
    max-width: none;
    bottom: -182.25px;
    clip-path: inset(0 0 182.25px 0);
  }
}

/* Hero */
.hero { position: relative; height: 905px; color: var(--paper); background-color: var(--secondary); overflow: hidden; isolation: isolate; }
.hero::before { position: absolute; inset: 0; z-index: -3; content: ""; background-image: linear-gradient(rgba(252,250,244,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(252,250,244,.075) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom, #000 75%, transparent); }
.hero::after { position: absolute; z-index: -2; left: 50%; bottom: -360px; width: 1060px; height: 760px; content: ""; border-radius: 50% 50% 0 0; background: var(--secondary-deep); transform: translateX(-50%); }
.site-header { height: 90px; display: grid; grid-template-columns: 240px 1fr 240px; align-items: center; position: relative; z-index: 10; }
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; color: var(--paper); font-weight: 850; font-size: .86rem; line-height: 1.02; letter-spacing: -.02em; }
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.main-nav { justify-self: center; display: flex; gap: 38px; font-size: .88rem; }
.main-nav a { color: rgba(252,250,244,.8); transition: color .2s ease; }
.main-nav a:hover { color: var(--white); }
.login-button { justify-self: end; display: inline-flex; gap: 13px; align-items: center; height: 44px; padding: 0 8px 0 22px; border-radius: 99px; background: var(--dark); color: var(--paper); font-size: .82rem; font-weight: 700; }
.login-button span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--ink); }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.25); color: var(--paper); background: transparent; border-radius: 99px; padding: 9px 13px; }
.hero-copy { position: relative; z-index: 4; padding-top: 28px; text-align: center; }
.hero-copy h1 { margin: 19px auto 15px; max-width: 900px; font-size: clamp(4rem, 6.1vw, 5.25rem); line-height: .99; letter-spacing: -.062em; font-weight: 650; }
.hero-copy h1 span { color: var(--white); }
.hero-lead { max-width: 690px; margin: 0 auto; color: rgba(252,250,244,.78); font-size: 1rem; }
.cta { display: inline-flex; align-items: center; gap: 4px; margin-top: 27px; color: var(--ink); font-size: .83rem; font-weight: 800; }
.cta > span { min-height: 50px; padding: 15px 24px; border-radius: 99px; background: var(--primary); }
.cta > b { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); font-size: 1.25rem; transition: transform .2s ease; }
.cta:hover > b { transform: translate(2px,-2px); }
.centered { display: flex; width: fit-content; margin: 42px auto 0; }
.hero-stage { position: absolute; inset: auto 0 0; z-index: 1; height: 510px; }
.hero-person { position: absolute; z-index: 2; left: 50%; bottom: -135px; width: 560px; height: 700px; object-fit: cover; object-position: center bottom; transform: translateX(-50%); clip-path: inset(0 0 135px 0); }
.hero-proof { position: absolute; z-index: 3; width: 235px; top: 144px; font-size: .92rem; }
.hero-proof p { margin: 10px 0 30px; color: rgba(252,250,244,.84); }
.hero-proof strong, .hero-proof a { display: block; margin-bottom: 3px; font-size: 1.25rem; color: var(--paper); }
.hero-proof small { color: rgba(252,250,244,.68); }
.proof-left { left: 0; }
.proof-right { right: 0; top: 105px; }
.proof-mark { font-size: 2rem; color: var(--primary); }
.hero-orbit .orbit-icon { position: absolute; color: var(--primary); font-size: 2rem; }
.icon-book { left: 27%; top: 112px; }
.icon-spark { right: 27%; top: 185px; }
.icon-circle { right: 18%; top: 300px; font-size: 4rem !important; }

/* strip */
.trust-strip { min-height: 132px; display: flex; align-items: center; background: var(--white); border-bottom: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); align-items: center; gap: 22px; }
.trust-list > div { min-height: 62px; display: flex; align-items: center; justify-content: center; flex-direction: column; border-right: 1px solid var(--line); }
.trust-list > div:last-child { border-right: 0; }
.trust-list b { font-size: 1.08rem; }
.trust-list span { color: var(--muted); font-size: .75rem; }
.trust-logo { flex-direction: row !important; gap: 12px; justify-content: flex-start !important; }
.trust-logo img { width: 54px; height: 54px; border-radius: 50%; }
.trust-logo span { color: var(--ink); font-weight: 850; }

/* programs */
.programs { padding-bottom: 16px; }
.chips { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; }
.chip { white-space: nowrap; padding: 9px 18px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.chip.active { color: var(--ink); background: var(--primary); border-color: var(--primary); font-weight: 750; }
.program-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.program-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow); }
.program-art { position: relative; aspect-ratio: 16 / 9; margin: 13px; border-radius: 15px; overflow: hidden; }
.art-homework { background: linear-gradient(135deg, var(--secondary) 0 50%, var(--primary) 50%); }
.art-exam { background: linear-gradient(145deg, var(--primary) 0 42%, var(--paper-2) 42% 70%, var(--accent) 70%); }
.art-number { position: absolute; top: 18px; left: 22px; color: rgba(255,255,255,.7); font-size: 2.8rem; font-weight: 850; }
.paper { position: absolute; right: 14%; top: 18%; width: 36%; height: 62%; background: var(--paper); border-radius: 9px; box-shadow: 0 10px 30px rgba(33,27,42,.2); transform: rotate(7deg); }
.p-two { right: 28%; transform: rotate(-7deg); background: var(--white); }
.pencil { position: absolute; width: 41%; height: 16px; left: 15%; bottom: 23%; background: var(--primary-deep); border-radius: 99px; transform: rotate(-28deg); }
.exam-ring { position: absolute; width: 130px; height: 130px; border: 18px solid var(--secondary); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.exam-check { position: absolute; left: 50%; top: 48%; transform: translate(-50%,-50%); font-size: 5rem; font-weight: 900; color: var(--secondary); }
.dot-row { position: absolute; bottom: 16px; right: 22px; letter-spacing: 10px; color: var(--paper); }
.program-body { padding: 7px 22px 22px; }
.program-tag { color: var(--primary-deep); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.program-body h3 { margin: 8px 0; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
.program-body p { margin: 0 0 22px; color: var(--muted); font-size: .9rem; }
.program-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); font-size: .79rem; font-weight: 700; }
.program-meta a { color: var(--secondary); }

/* benefits */
.benefits { padding-bottom: 15px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 18px; }
.benefit-stack { display: grid; gap: 18px; }
.benefit-card { border-radius: var(--radius-card); padding: 30px; min-height: 220px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.benefit-card h3 { margin: 10px 0 16px; font-size: 1.45rem; line-height: 1.18; letter-spacing: -.035em; }
.benefit-card p { color: var(--muted); font-size: .9rem; }
.benefit-card > a { margin-top: auto; width: fit-content; padding: 10px 14px; border-radius: 99px; background: rgba(255,255,255,.75); font-size: .78rem; font-weight: 750; }
.benefit-card > a span { margin-left: 12px; }
.benefit-card.purple { min-height: 205px; color: var(--paper); background: var(--secondary-deep); border: 0; }
.benefit-card.gold { min-height: 185px; background: var(--primary); border: 0; }
.feature, .info-panel { min-height: 408px; }
.symbol-cluster { display: flex; align-items: center; margin: 0 0 32px; }
.symbol-cluster i { width: 48px; height: 48px; display: grid; place-items: center; margin-right: -8px; border: 5px solid var(--white); border-radius: 50%; background: var(--secondary); color: var(--paper); font-size: .7rem; font-style: normal; font-weight: 800; }
.symbol-cluster i:nth-child(2) { background: var(--primary); color: var(--ink); }
.symbol-cluster i:nth-child(3) { background: var(--accent); }
.symbol-cluster i:nth-child(4) { background: var(--dark); }
.mini-label { font-size: .72rem; color: inherit; opacity: .72; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.info-line { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.info-line span, .info-line strong { display: block; }
.info-line span { color: var(--muted); font-size: .72rem; }
.info-line strong { margin-top: 5px; font-size: .92rem; }

/* gallery */
.gallery-section { padding-bottom: 15px; }
.abstract-gallery { width: calc(100% + 70px); margin-left: -35px; display: grid; grid-template-columns: .72fr 1fr 1.15fr 1fr .72fr; gap: 18px; overflow: hidden; }
.gallery-panel { position: relative; height: 360px; display: grid; place-items: center; border-radius: 26px; overflow: hidden; color: var(--paper); background: var(--secondary); font-size: 3.5rem; font-weight: 850; }
.gallery-panel::before, .gallery-panel::after { position: absolute; content: ""; border-radius: 50%; }
.gallery-panel::before { width: 240px; height: 240px; background: var(--primary); top: -80px; right: -70px; }
.gallery-panel::after { width: 160px; height: 160px; border: 2px solid rgba(252,250,244,.55); bottom: -40px; left: -40px; }
.gallery-panel > span { position: relative; z-index: 1; }
.panel-two, .panel-five { background: var(--accent); }
.panel-two::before, .panel-five::before { background: var(--paper-2); }
.panel-two > span, .panel-five > span { color: var(--ink); }
.panel-focus { background: var(--primary-deep); }
.panel-focus div { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; padding: 16px; border-radius: 14px; background: var(--white); color: var(--ink); }
.panel-focus div b, .panel-focus div small { display: block; }
.panel-focus div b { font-size: .92rem; }
.panel-focus div small { color: var(--muted); font-size: .7rem; }

/* testimonials */
.testimonials { padding-bottom: 120px; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.testimonial-card { min-height: 300px; display: flex; flex-direction: column; padding: 34px; border: 12px solid var(--secondary); border-radius: 30px; background: var(--white); }
.quote-symbol { height: 24px; color: var(--primary-deep); font-size: 3rem; font-family: Georgia, serif; line-height: 1; }
.testimonial-card h3 { max-width: 460px; margin: 17px 0 12px; font-size: 1.55rem; line-height: 1.14; letter-spacing: -.03em; }
.testimonial-card p { max-width: 500px; color: var(--muted); font-size: .9rem; }
.testimonial-card footer { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 21px; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 700; }
.testimonial-card footer a { color: var(--secondary); }
.carousel-controls { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.carousel-controls button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--primary); color: var(--ink); cursor: pointer; }

/* footer */
.site-footer { position: relative; min-height: 590px; margin-bottom: 22px; padding: 72px 70px 30px; border-radius: 34px; background: var(--dark); color: var(--paper); }
.footer-kicker { margin: 0 0 18px; color: rgba(252,250,244,.68); font-size: 1.08rem; }
.site-footer > h2 { margin: 0; font-size: clamp(3.25rem, 6vw, 5rem); line-height: .96; letter-spacing: -.06em; font-weight: 500; }
.social-bubble { position: absolute; right: 0; top: -25px; display: flex; gap: 8px; padding: 10px 0 10px 15px; border-radius: 30px 0 0 30px; background: var(--paper); }
.social-bubble a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--dark); color: var(--primary); font-weight: 850; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 50px; margin-top: 66px; }
.footer-grid h3 { margin: 0 0 17px; font-size: .8rem; }
.footer-grid p, .footer-grid a, .footer-grid span { display: block; margin: 0 0 9px; color: rgba(252,250,244,.6); font-size: .78rem; }
.contact-pill { width: min(100%, 295px); height: 48px; margin-top: 19px !important; padding: 6px 6px 6px 17px; display: flex !important; align-items: center; justify-content: space-between; border-radius: 99px; background: var(--paper); }
.contact-pill span { margin: 0 !important; color: var(--ink) !important; }
.contact-pill b { padding: 9px 14px; border-radius: 99px; background: var(--primary); color: var(--ink); font-size: .72rem; }
.footer-bottom { display: grid; grid-template-columns: 1fr 1.45fr 1fr; align-items: end; gap: 26px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(252,250,244,.1); color: rgba(252,250,244,.55); font-size: .72rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--paper); font-size: .85rem; font-weight: 800; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-bottom address { font-style: normal; }
.footer-bottom > span { text-align: right; }

/* auth */
.auth-page { min-height: 100vh; background: linear-gradient(135deg, var(--paper) 0 60%, var(--primary) 60%); }
.auth-page::before { position: fixed; inset: 0; pointer-events: none; content: ""; opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; }
.auth-shell { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 90px 24px 40px; }
.auth-brand { position: absolute; top: 26px; left: 36px; display: flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 750; }
.auth-brand img { width: 52px; height: 52px; border-radius: 50%; }
.auth-panel { width: min(100%, 450px); padding: 42px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: rgba(255,254,249,.96); box-shadow: 0 24px 80px rgba(58,49,18,.14); }
.auth-panel .eyebrow { margin-left: 0; }
.auth-panel h1 { margin: 14px 0 8px; font-size: 2.45rem; line-height: 1; letter-spacing: -.05em; }
.auth-panel > p { color: var(--muted); }
.auth-form { display: grid; margin-top: 28px; }
.auth-form label { margin: 13px 0 7px; font-size: .78rem; font-weight: 800; }
.auth-form input { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--ink); padding: 0 16px; }
.auth-form input:focus { border-color: var(--secondary); outline: 3px solid rgba(97,69,127,.15); }
.auth-form button { height: 50px; margin-top: 22px; border: 0; border-radius: 99px; background: var(--secondary); color: var(--paper); font-weight: 800; cursor: pointer; }
.form-status { min-height: 22px; margin: 10px 0 0; color: var(--secondary) !important; font-size: .76rem; }
.auth-switch { margin: 18px 0 0; text-align: center; font-size: .82rem; }
.auth-switch a { color: var(--secondary); font-weight: 800; }

/* dashboard */
.dashboard-page { background: var(--paper-2); }
.dashboard-shell { min-height: 100vh; display: grid; grid-template-columns: 255px minmax(0, 1fr); }
.dashboard-sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px; display: flex; flex-direction: column; background: var(--dark); color: var(--paper); }
.dash-logo { display: flex; align-items: center; gap: 11px; padding: 0 8px 26px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 850; }
.dash-logo img { width: 50px; height: 50px; border-radius: 50%; }
.dashboard-sidebar nav { display: grid; gap: 6px; margin-top: 28px; }
.dashboard-sidebar nav a { padding: 12px 14px; border-radius: 12px; color: rgba(252,250,244,.68); font-size: .86rem; }
.dashboard-sidebar nav a span { display: inline-block; width: 25px; color: var(--primary); }
.dashboard-sidebar nav a:hover, .dashboard-sidebar nav .current { color: var(--paper); background: var(--secondary); }
.sidebar-exit { margin-top: auto; padding: 12px 14px; color: rgba(252,250,244,.68); font-size: .8rem; }
.dashboard-main { min-width: 0; }
.dashboard-topbar { height: 104px; padding: 0 44px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--paper); }
.dashboard-topbar p { margin: 0; color: var(--muted); font-size: .75rem; }
.dashboard-topbar h1 { margin: 3px 0 0; font-size: 1.65rem; letter-spacing: -.035em; }
.admin-badge, .notice strong { padding: 8px 12px; border-radius: 99px; background: var(--primary); font-size: .72rem; font-weight: 800; }
.dashboard-content { padding: 34px 44px 60px; }
.notice { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding: 14px 18px; border: 1px solid rgba(206,175,64,.5); border-radius: 14px; background: rgba(206,175,64,.12); font-size: .82rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.metric-grid article, .dash-card { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.metric-grid article { padding: 22px; }
.metric-grid span, .dash-card-head span { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; }
.metric-grid b { display: block; margin: 10px 0 2px; font-size: 2.2rem; line-height: 1; }
.metric-grid p { margin: 0; color: var(--muted); font-size: .82rem; }
.dashboard-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 18px; margin-top: 18px; }
.dashboard-grid.lower { grid-template-columns: 1.7fr .8fr; }
.dash-card { min-width: 0; padding: 24px; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; }
.dash-card-head h2 { margin: 4px 0 0; font-size: 1.15rem; }
.dash-card-head button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); font-size: .72rem; }
.bar-chart { height: 210px; display: flex; align-items: flex-end; justify-content: space-around; gap: 14px; margin-top: 28px; padding-top: 20px; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 25%; }
.bar-chart i { width: 44px; height: var(--h); border-radius: 10px 10px 0 0; background: linear-gradient(var(--secondary), var(--accent)); }
.bar-chart i:nth-child(6) { background: var(--primary); }
.chart-labels { display: flex; justify-content: space-around; margin-top: 9px; color: var(--muted); font-size: .68rem; }
.schedule-card ul { list-style: none; margin: 20px 0 0; padding: 0; }
.schedule-card li { display: grid; grid-template-columns: 55px 1fr; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.schedule-card li:last-child { border-bottom: 0; }
.schedule-card time { color: var(--secondary); font-size: .8rem; font-weight: 850; }
.schedule-card b, .schedule-card span { display: block; font-size: .78rem; }
.schedule-card span { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: .78rem; white-space: nowrap; }
th, td { padding: 13px 9px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .68rem; }
td em { padding: 6px 9px; border-radius: 99px; background: rgba(206,175,64,.2); color: var(--ink); font-style: normal; font-size: .68rem; }
.quick-card { display: grid; gap: 10px; align-content: start; }
.quick-card .dash-card-head { margin-bottom: 10px; }
.quick-card > button { min-height: 46px; padding: 0 14px; text-align: left; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--paper); cursor: pointer; }

@media (max-width: 1000px) {
  :root { --wrap: min(100% - 48px, 900px); }
  .site-header { grid-template-columns: 185px 1fr 125px; }
  .main-nav { gap: 18px; }
  .hero-proof { width: 190px; }
  .hero-person { width: 500px; height: 625px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .info-panel { grid-column: 1 / -1; min-height: 270px; }
  .abstract-gallery { grid-template-columns: .6fr 1fr 1.2fr 1fr .6fr; }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr; }
  .footer-grid section:last-child { grid-column: 2 / -1; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid, .dashboard-grid.lower { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --wrap: calc(100% - 36px); }
  .section { padding-top: 76px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 2.05rem; }
  .hero { min-height: 920px; height: auto; padding-bottom: 0; }
  .hero::before { background-size: 52px 52px; }
  .hero::after { width: 620px; height: 430px; bottom: -170px; }
  .site-header { height: 78px; grid-template-columns: 1fr auto auto; gap: 9px; }
  .brand span { display: none; }
  .brand img { width: 44px; height: 44px; }
  .menu-button { display: block; min-height: 44px; }
  .login-button { height: 44px; padding-left: 14px; }
  .login-button span { display: none; }
  .main-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; padding: 16px; border-radius: 16px; background: var(--dark); box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; gap: 6px; }
  .main-nav a { padding: 10px; }
  .hero-copy { padding-top: 24px; }
  .hero-copy h1 { margin-top: 16px; font-size: clamp(2.55rem, 12vw, 3.25rem); }
  .hero-lead { font-size: .9rem; }
  .hero-stage { position: relative; height: 575px; margin-top: 5px; width: 100%; }
  .hero-person { width: 390px; height: 488px; bottom: -94px; clip-path: inset(0 0 94px 0); }
  .hero-proof { width: 150px; top: 80px; font-size: .73rem; }
  .hero-proof p { margin: 6px 0 13px; }
  .hero-proof strong, .hero-proof a { font-size: .84rem; }
  .proof-left { left: 18px; }
  .proof-right { right: 18px; top: 90px; text-align: right; }
  .proof-mark { font-size: 1.2rem; }
  .icon-circle { display: none; }
  .trust-strip { min-height: 160px; padding: 18px 0; }
  .trust-list { grid-template-columns: 1fr 1fr; gap: 0; }
  .trust-list > div { border-right: 0; min-height: 54px; }
  .trust-logo { grid-column: 1 / -1; justify-content: center !important; }
  .trust-list > div:last-child { grid-column: 1 / -1; }
  .chips { justify-content: flex-start; overflow-x: auto; padding: 2px 0 10px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-body h3 { font-size: 1.25rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .info-panel { grid-column: auto; }
  .feature, .info-panel { min-height: 330px; }
  .abstract-gallery { width: 100%; margin: 0; padding: 0 18px 12px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .gallery-panel { flex: 0 0 80vw; height: 370px; scroll-snap-align: center; }
  .gallery-panel:first-child, .gallery-panel:last-child { flex-basis: 45vw; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 24px; border-width: 9px; min-height: 290px; }
  .testimonials { padding-bottom: 88px; }
  .site-footer { width: calc(100% - 24px); min-height: 0; padding: 54px 26px 28px; border-radius: 28px; }
  .site-footer > h2 { font-size: 3rem; }
  .social-bubble { right: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .footer-grid section:last-child { grid-column: auto; }
  .footer-bottom { grid-template-columns: 1fr; align-items: start; }
  .footer-bottom > span { text-align: left; }
  .auth-shell { padding-top: 104px; }
  .auth-brand { top: 20px; left: 20px; }
  .auth-panel { padding: 30px 22px; }
  .auth-panel h1 { font-size: 2rem; }
  .dashboard-shell { display: block; padding-bottom: 74px; }
  .dashboard-sidebar { position: fixed; z-index: 20; top: auto; bottom: 0; width: 100%; height: 66px; padding: 7px 10px; flex-direction: row; align-items: center; }
  .dash-logo, .sidebar-exit { display: none; }
  .dashboard-sidebar nav { width: 100%; height: 100%; margin: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
  .dashboard-sidebar nav a { display: grid; place-items: center; gap: 0; padding: 3px; font-size: .61rem; }
  .dashboard-sidebar nav a span { width: auto; font-size: 1rem; }
  .dashboard-topbar { height: 88px; padding: 0 18px; }
  .dashboard-content { padding: 20px 18px 36px; }
  .notice { align-items: flex-start; flex-direction: column; gap: 8px; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-grid article { padding: 16px; }
  .metric-grid b { font-size: 1.7rem; }
  .dash-card { padding: 18px; }
  .bar-chart { gap: 7px; }
  .bar-chart i { width: 24px; }
}

@media (max-width: 420px) {
  .hero { min-height: 900px; }
  .hero-proof { width: 125px; }
  .hero-proof small { font-size: .62rem; }
  .hero-person { width: 360px; height: 450px; }
  .program-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .metric-grid { grid-template-columns: 1fr; }
  .dashboard-topbar h1 { font-size: 1.35rem; }
  .admin-badge { padding: 7px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* grova-preview-viewport */
* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
