/* Shared visual primitives for the public site. */
html { scroll-padding-top: 88px; }
body { color: var(--ink-900); font-family: var(--font-body); font-size: 16px; line-height: 1.75; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: var(--type-display); }
h2 { font-size: var(--type-section); }
h3 { font-size: var(--type-heading); }
.sub { color: var(--ink-700); }
.section { padding: var(--space-section) max(24px, calc((100% - var(--container-width)) / 2)); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--brand-900); color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; }
.section-head p { max-width: 68ch; color: var(--ink-700); }
.section--dark .section-head p { color: rgba(255,255,255,.85); }
.eyebrow { display: block; color: var(--brand-600); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.section--dark .eyebrow { color: var(--accent); }
.section-head__link { flex: 0 0 auto; font-weight: 700; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--bg); box-shadow: var(--shadow-sm); transition: transform var(--motion-standard) var(--motion-ease), box-shadow var(--motion-standard) var(--motion-ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.page-hero { position: relative; padding: var(--space-section) max(24px, calc((100% - var(--container-width)) / 2)); background: var(--brand-900); color: #fff; }
.page-hero p { max-width: 68ch; }
.home-cta-wrap, .about-cta-wrap, .cta-wrap { padding: 64px max(24px, calc((100% - var(--container-width)) / 2)); background: var(--bg-soft); }
.cta-band { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 120px; overflow: hidden; padding: 28px 40px; border-radius: 20px; background: linear-gradient(120deg, var(--brand-700), var(--brand-600)); color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -5rem; top: -10rem; width: 26rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(255,255,255,.035), 0 0 0 8rem rgba(255,255,255,.025); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band :is(h2,h3) { margin: 0; color: #fff; font-size: 20px; font-weight: 700; line-height: 1.3; }
.cta-band p { margin: 6px 0 0; color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.5; }
.cta-band .btn { min-height: 40px; padding: 9px 20px; font-size: 14px; }
.cta-band .btn-light { color: var(--brand-700); background: #fff; }
.cta-band .btn-outline { color: #fff; border: 1px solid #fff; background: transparent; }
.cta-band .btn-outline:hover { color: var(--brand-700); background: #fff; }
.badge, .tag { display: inline-flex; align-items: center; padding: .3em .75em; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: .8125rem; font-weight: 700; line-height: 1.4; }
.btn { border-radius: var(--radius-control); transition: transform var(--motion-standard) var(--motion-ease), box-shadow var(--motion-standard) var(--motion-ease), background-color var(--motion-standard) var(--motion-ease), color var(--motion-standard) var(--motion-ease), border-color var(--motion-standard) var(--motion-ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-ghost, .btn-outline { border: 1px solid currentColor; background: transparent; color: var(--brand-600); }
.btn-light { background: #fff; color: var(--brand-900); }
.btn-light:hover { background: var(--brand-50); color: var(--brand-900); }
.section--dark .btn-outline, .cta-band .btn-outline { color: #fff; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
@media (max-width: 700px) {
    .section { padding: var(--space-section) 24px; }
    .section-head { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .card:hover, .btn:hover { transform: none; }
}
/* Desktop editorial headings and common link states. */
@media (min-width: 992px) {
 .section-head :is(h2,h3), .home-about-copy h2, .home-about-details .mission-title,
 .about-page-intro h2, .about-page-mission h2, .about-page-partners h2,
 .enterprise-models > h3, .enterprise-partners > h3, .campus-activity > h3,
 .faculty-stage3 > h3, .course-stage3 .course-block-title,
 .silk-road-page :is(#silk-road-featured-heading,#silk-road-list-heading) {
  font-size: clamp(1.75rem,2.6vw,2.25rem); font-weight: 700; line-height: 1.25; color: var(--ink-900); letter-spacing: -.025em;
 }
 .section-head p, .section-head .sub, .section-head .teacher-slider-hint { font-size: 16px; color: var(--ink-500); }
 .section-head .teacher-slider-hint { margin-left: auto; text-align: right; }
 .eyebrow { font-size: 13px; letter-spacing: .08em; color: var(--brand-600); }
 .section-head { align-items: end; gap: 24px; }
}
a:not([class]):hover { color: var(--brand-600); text-decoration: underline; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
