/* Scoped polish: preserve the established homepage, content and theme controls. */
body[data-home-polished] { -webkit-font-smoothing: antialiased; }
body[data-home-polished] #content { overflow: clip; padding-bottom: 0; }
body[data-home-polished] #content * { letter-spacing: 0 !important; }
body[data-home-polished] .home-content-section { padding-block: 76px; }
body[data-home-polished] .home-content-section > .container { max-width: 1240px; padding-inline: 32px; }
body[data-home-polished] .home-content-section h2 { font-size: 42px; line-height: 1.18; text-wrap: balance; }
body[data-home-polished] .home-content-section h3 { line-height: 1.25; text-wrap: balance; }
body[data-home-polished] .home-content-section p { line-height: 1.75; }
body[data-home-polished] .home-content-section :is(.luxury-light-card,.curriculum-card,.learner-card,.outcome-card) { border-radius: 8px; }
body[data-home-polished] .home-content-section > .absolute :is([class*="blur-"]) { display: none; }
body[data-home-polished] .home-content-section :is(a,button) { transition-property: color, background-color, border-color, box-shadow, transform; }
body[data-home-polished] .home-content-section :is(a,button):focus-visible { outline: 3px solid var(--enx-focus); outline-offset: 4px; }
body[data-home-polished] .home-content-section[id] { scroll-margin-top: 128px; }

/* Retain the familiar headline and global hub, with a tighter editorial rhythm. */
html[data-enx-theme] body[data-home-polished] [data-home-hero] { min-height: 0; padding-block: 54px 72px; background: var(--enx-primary-soft) !important; }
body[data-home-polished] [data-home-hero] > .absolute { opacity: .32 !important; }
body[data-home-polished] [data-home-hero] > .container > .grid { gap: 40px; align-items: center; }
body[data-home-polished] .home-hero-copy { padding-right: 0; }
body[data-home-polished] .home-hero-copy > div:first-child { margin-bottom: 26px; padding: 8px 14px; box-shadow: none; border-color: var(--enx-border); background: var(--enx-surface); }
body[data-home-polished] .home-hero-copy > div:first-child span { color: var(--enx-text); font-size: 10px; }
body[data-home-polished] .home-hero-copy h1 { font-size: 60px; line-height: 1.08; margin-bottom: 24px; color: var(--enx-heading); }
body[data-home-polished] .home-hero-copy h1 > span:first-child { font-size: 68px; margin-bottom: 8px; }
body[data-home-polished] .home-hero-copy h1 > span:last-child { font-size: 37px; line-height: 1.22; margin-top: 14px; }
body[data-home-polished] .home-hero-copy > p { font-size: 16px; max-width: 490px; line-height: 1.8; margin-bottom: 26px; color: var(--enx-muted); }
body[data-home-polished] .home-hero-copy > p strong { color: var(--enx-text); border-bottom: 1px solid var(--enx-border); }
body[data-home-polished] .home-hero-copy > .animate-up-4 { margin-bottom: 26px; }
body[data-home-polished] .home-hero-copy > .animate-up-4:last-child { margin-bottom: 0; gap: 12px 20px; font-size: 10px; line-height: 1.5; color: var(--enx-muted); }
body[data-home-polished] .btn-royal-blue { min-height: 50px; border-radius: 6px; padding: 16px 26px; background: var(--enx-primary); color: var(--enx-on-primary); box-shadow: 0 5px 16px rgb(var(--enx-primary-rgb) / .18); }
body[data-home-polished] .btn-royal-blue:hover { background: var(--enx-primary-hover); color: var(--enx-on-primary); transform: translateY(-2px); box-shadow: 0 7px 18px rgb(var(--enx-primary-rgb) / .24); }
body[data-home-polished] .home-network { width: 100%; max-width: 500px; aspect-ratio: 1; isolation: isolate; }
body[data-home-polished] .home-network-column { min-width: 0; margin: 0; padding: 0 8px; }
body[data-home-polished] .network-line { stroke: var(--enx-primary); stroke-width: .7; opacity: .24; }
body[data-home-polished] .map-node .glass-academic-light { min-height: 38px; gap: 8px; padding: 10px 14px; border: 1px solid var(--enx-border); border-radius: 999px; background: var(--enx-surface); box-shadow: 0 4px 16px rgb(var(--enx-text-rgb) / .04); backdrop-filter: none; transition: transform 180ms, border-color 180ms; }
body[data-home-polished] .map-node .glass-academic-light > span:last-child,
body[data-home-polished] .map-node:hover .glass-academic-light > span:last-child { color: var(--enx-text) !important; font-size: 10px; line-height: 1.2; white-space: nowrap; }
body[data-home-polished] .map-node .glass-academic-light > span:first-of-type { font-size: 19px; }
body[data-home-polished] .map-node .glass-academic-light:hover { background: var(--enx-surface); border-color: var(--enx-primary); transform: translateY(-2px); box-shadow: 0 6px 18px rgb(var(--enx-text-rgb) / .07); }
body[data-home-polished] .india-node .glass-academic-light { border: 2px solid var(--enx-primary); padding: 10px 14px; background: var(--enx-surface); }
body[data-home-polished] .india-node .glass-academic-light > .absolute { display: none; }
body[data-home-polished] .home-network-hub { width: 84px; height: 84px; background: var(--enx-surface); border: 1px solid var(--enx-border); box-shadow: 0 6px 24px rgb(var(--enx-primary-rgb) / .10); }
body[data-home-polished] .home-network-hub > div { border-color: var(--enx-primary); opacity: .35; }
body[data-home-polished] .home-network-hub > div::before { display: none; }
body[data-home-polished] .home-network-hub span { font-size: 8px; color: var(--enx-text); }
body[data-home-polished] .home-network-hub i { color: var(--enx-link); font-size: 24px; margin-bottom: 5px; }
body[data-home-polished] .home-network-trust { bottom: -44px; padding: 14px 18px; border-radius: 8px; border-color: var(--enx-border); background: var(--enx-surface); box-shadow: 0 6px 24px rgb(var(--enx-text-rgb) / .05); animation: none; }
body[data-home-polished] .home-network-trust p:first-child { color: var(--enx-text); font-size: 16px; line-height: 1.25; }
body[data-home-polished] .home-network-trust p:last-child { color: var(--enx-link); font-size: 9px; }

body[data-home-polished] .home-enrollment { padding-inline: 24px; background: var(--enx-bg); box-shadow: none; }
body[data-home-polished] .home-enrollment .text-center.mb-16 { margin-bottom: 36px; }
body[data-home-polished] .home-enrollment .grid > div { padding: 32px; border-radius: 8px; box-shadow: 0 6px 20px rgb(var(--enx-text-rgb) / .05); }
body[data-home-polished] .home-enrollment .grid > div > .absolute[class*="blur-"] { display: none; }
body[data-home-polished] .home-enrollment .grid > div:first-child { background: var(--enx-surface); border-color: var(--enx-border); }
body[data-home-polished] .home-enrollment .enx-inverse-panel { background: var(--enx-strong); }
body[data-home-polished] .home-enrollment .grid h3 { font-size: 28px; }
body[data-home-polished] .home-enrollment .grid button { min-height: 50px; font-size: 12px; border-radius: 6px; background: var(--enx-primary); color: var(--enx-on-primary); box-shadow: none; }
body[data-home-polished] .home-enrollment .grid button:hover { background: var(--enx-primary-hover); transform: translateY(-2px); }
body[data-home-polished] .home-enrollment .grid ul { margin-bottom: 28px; }
body[data-home-polished] .home-enrollment .text-center.mt-16 { margin-top: 30px; }
body[data-home-polished] :is(.premium-flag-chip,.luxury-light-card) { box-shadow: 0 4px 16px rgb(var(--enx-text-rgb) / .03); }
body[data-home-polished] .premium-flag-chip { border-radius: 6px; padding: 10px 16px; }
body[data-home-polished] .luxury-light-card { padding: 28px 24px; }
body[data-home-polished] .luxury-light-card:hover { transform: translateY(-3px); }
body[data-home-polished] .luxury-light-card::before { display: none; }
body[data-home-polished] #content .reveal { opacity: 1; transform: none; }
body[data-home-polished] #content .absolute[class*="blur-"] { display: none; }
body[data-home-polished] #content :is(.journey-card,.module-card,.tl-card,.faculty-img-frame,.faculty-glass-badge,.fac-stat-card,.profile-card,.profile-card-dark,.review-card,.review-card-dark) { border-radius: 8px; }
body[data-home-polished] #content :is(.journey-card,.module-card,.tl-card,.fac-stat-card,.profile-card,.review-card) { box-shadow: 0 4px 18px rgb(var(--enx-text-rgb) / .04); }
body[data-home-polished] #content :is(.journey-card,.profile-card,.review-card) { padding: 28px; }
body[data-home-polished] #content .module-card { padding: 24px 20px; }
body[data-home-polished] #content .faculty-img-frame { box-shadow: 0 8px 28px rgb(var(--enx-text-rgb) / .08); }

@media (min-width: 1440px) {
  body[data-home-polished] [data-home-hero] > .container { max-width: 1320px; }
  body[data-home-polished] .home-network { max-width: 520px; }
}
@media (max-width: 1023px) {
  body[data-home-polished] .home-content-section { padding-block: 56px; }
  body[data-home-polished] .home-content-section > .container { padding-inline: 28px; }
  html[data-enx-theme] body[data-home-polished] [data-home-hero] { padding-block: 42px 56px; }
  body[data-home-polished] [data-home-hero] > .container > .grid { grid-template-columns: 1.05fr 1fr; gap: 20px; }
  body[data-home-polished] [data-home-hero] > .container > .grid > div { grid-column: auto; }
  body[data-home-polished] .home-hero-copy h1 { font-size: 44px; }
  body[data-home-polished] .home-hero-copy h1 > span:first-child { font-size: 52px; }
  body[data-home-polished] .home-hero-copy h1 > span:last-child { font-size: 28px; }
  body[data-home-polished] .home-hero-copy > p { font-size: 14px; }
  body[data-home-polished] .home-network-trust { bottom: -56px; right: 0; left: auto; transform: none; padding: 10px 12px; }
  body[data-home-polished] .map-node .glass-academic-light { padding: 8px 10px; gap: 6px; }
  body[data-home-polished] .map-node .glass-academic-light > span:last-child { font-size: 10px; }
  body[data-home-polished] .map-node .glass-academic-light > span:first-of-type { font-size: 16px; }
}
@media (max-width: 767px) {
  body[data-home-polished] .home-content-section { padding-block: 46px; }
  body[data-home-polished] .home-content-section > .container { padding-inline: 22px; }
  body[data-home-polished] .home-content-section h2 { font-size: 31px; }
  body[data-home-polished] .home-content-section p { overflow-wrap: break-word; }
  html[data-enx-theme] body[data-home-polished] [data-home-hero] { padding-block: 28px 52px; }
  body[data-home-polished] [data-home-hero] > .container > .grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  body[data-home-polished] .home-hero-copy > div:first-child { margin-bottom: 18px; padding: 7px 12px; }
  body[data-home-polished] .home-hero-copy > div:first-child span { font-size: 9px; }
  body[data-home-polished] .home-hero-copy h1 { font-size: 38px; margin-bottom: 18px; }
  body[data-home-polished] .home-hero-copy h1 > span:first-child { font-size: 44px; margin-bottom: 6px; }
  body[data-home-polished] .home-hero-copy h1 > span:last-child { font-size: 27px; margin-top: 10px; }
  body[data-home-polished] .home-hero-copy > p { font-size: 14px; line-height: 1.75; margin-bottom: 22px; }
  body[data-home-polished] .home-hero-copy > .animate-up-4 { align-items: start; margin-bottom: 20px; }
  body[data-home-polished] .btn-royal-blue { width: auto; min-width: 190px; font-size: 11px; padding: 14px 22px; min-height: 48px; }
  body[data-home-polished] .home-hero-copy > .animate-up-4:last-child { font-size: 9px; gap: 10px 14px; }
  body[data-home-polished] .home-network-column { padding: 0 10px; margin-top: 0; }
  body[data-home-polished] .home-network { max-width: 380px; }
  body[data-home-polished] .home-network-hub { width: 68px; height: 68px; }
  body[data-home-polished] .home-network-hub i { font-size: 21px; }
  body[data-home-polished] .home-network-hub span { font-size: 7px; }
  body[data-home-polished] .home-network-trust { bottom: -40px; right: 50%; transform: translateX(50%); padding: 10px 14px; }
  body[data-home-polished] .home-network-trust p:first-child { font-size: 14px; }
  body[data-home-polished] .home-network-trust p:last-child { font-size: 8px; }
  body[data-home-polished] .map-node .glass-academic-light { padding: 8px 9px; min-height: 32px; gap: 6px; }
  body[data-home-polished] .map-node .glass-academic-light > span:last-child,
  body[data-home-polished] .map-node:hover .glass-academic-light > span:last-child { font-size: 10px; }
  body[data-home-polished] .map-node .glass-academic-light > span:first-of-type { font-size: 16px; }
  body[data-home-polished] .home-enrollment { padding-inline: 22px; }
  body[data-home-polished] .home-enrollment .grid { gap: 20px; }
  body[data-home-polished] .home-enrollment .grid > div { padding: 28px 24px; }
  body[data-home-polished] .home-enrollment .grid h3 { font-size: 27px; }
  body[data-home-polished] .home-enrollment .text-center.mb-16 { margin-bottom: 28px; }
  body[data-home-polished] .home-content-section .mb-20 { margin-bottom: 36px; }
  body[data-home-polished] .home-content-section .mb-16 { margin-bottom: 32px; }
  body[data-home-polished] .luxury-light-card { padding: 26px 22px; }
  body[data-home-polished] .premium-flag-chip { padding: 8px 12px; gap: 8px; }
}
@media (max-width: 359px) {
  body[data-home-polished] .home-content-section > .container { padding-inline: 18px; }
  body[data-home-polished] .home-hero-copy h1 { font-size: 34px; }
  body[data-home-polished] .home-hero-copy h1 > span:first-child { font-size: 40px; }
  body[data-home-polished] .home-hero-copy h1 > span:last-child { font-size: 25px; }
  body[data-home-polished] .home-hero-copy > .animate-up-4:last-child { gap: 8px 10px; font-size: 8px; }
  body[data-home-polished] .map-node .glass-academic-light { padding: 7px; gap: 4px; }
  body[data-home-polished] .map-node .glass-academic-light > span:last-child { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body[data-home-polished] #content *, body[data-home-polished] #content *::before { animation: none !important; transition: none !important; }
  body[data-home-polished] #content [class*="animate-"] { opacity: 1; transform: none; }
  body[data-home-polished] .map-node { opacity: 1; transform: translate(-50%,-50%) !important; }
  body[data-home-polished] .network-line { stroke-dashoffset: 0; }
}
