/*
 * SchoolWheels AI — Luxury Editorial theme
 * Warm institutional confidence, restrained motion, and quiet product clarity.
 */

:root {
  --navy-deep: #0b1728;
  --navy-mid: #13243a;
  --navy-soft: #24384f;
  --bg-base: #f5f0e6;
  --bg-base-mid: #eee6d8;
  --bg-soft: #fbf8f1;
  --bg-card: #fffdf8;
  --bg-card-top: #ffffff;
  --bg-panel: rgba(255, 253, 248, 0.88);
  --bg-panel-strong: #fffdf8;
  --border-glass: rgba(11, 23, 40, 0.11);
  --border-card: rgba(11, 23, 40, 0.13);
  --border-strong: rgba(11, 23, 40, 0.2);
  --text-primary: #111b27;
  --text-secondary: #43505d;
  --text-muted: #6f777c;
  --indigo: #183b63;
  --indigo-soft: #e2e9ef;
  --gold: #a37a32;
  --gold-soft: #eee2c9;
  --sky: #507a94;
  --teal: #395f5b;
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 40, 0.04);
  --shadow-md: 0 16px 45px rgba(11, 23, 40, 0.08);
  --shadow-lg: 0 28px 72px rgba(11, 23, 40, 0.12);
  --shadow-glow: 0 18px 45px rgba(11, 23, 40, 0.12);
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --space-xs: 0.4rem;
  --space-sm: 0.85rem;
  --space-md: 1.4rem;
  --space-lg: 2.4rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;
  --max-width: 1180px;
  --gradient-ai: linear-gradient(135deg, #0b1728, #254660);
  --gradient-ai-soft: linear-gradient(135deg, rgba(11, 23, 40, 0.04), rgba(163, 122, 50, 0.055));
  --gradient-gold: linear-gradient(90deg, #8c682a, #c5a568);
}

html {
  scroll-padding-top: 6rem;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: -0.008em;
}

body::before {
  background:
    radial-gradient(circle at 88% 8%, rgba(197, 165, 104, 0.13), transparent 25rem),
    radial-gradient(circle at 5% 55%, rgba(11, 23, 40, 0.035), transparent 34rem);
}

body::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: 0.025;
}

a {
  color: var(--navy-mid);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  color: var(--navy-deep);
  text-wrap: balance;
}

h1,
h2,
.hero__title,
.section__title,
.panel-overview__title,
.hero-splash__title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max-width));
}

.container--wide {
  width: min(calc(100% - 2.5rem), 1320px);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section--tight {
  padding-block: clamp(3.5rem, 6.5vw, 6rem);
}

.section--xl {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.section-header {
  max-width: 52rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section__title {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  margin: 0 0 1rem;
}

.section__lead,
.hero__subtitle {
  max-width: 43rem;
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.text-gradient {
  color: var(--gold);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.badge,
.tagline,
.hero-splash__eyebrow,
.blog-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.badge::before,
.hero-splash__eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}

.breadcrumbs {
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Header */
.header-rail {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 230, 0.91);
  border-bottom: 1px solid rgba(11, 23, 40, 0.09);
  box-shadow: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  min-height: 78px;
  padding-block: 0.55rem;
}

.logo-link {
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.logo-link img {
  width: 42px;
  height: 42px;
}

.site-nav ul {
  gap: 0.25rem;
}

.site-nav a {
  color: rgba(11, 23, 40, 0.72);
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.site-nav a::after {
  height: 1px;
  background: var(--gold);
}

.site-nav a[aria-current="page"] {
  color: var(--navy-deep);
}

.site-nav .nav-cta {
  margin-left: 0.75rem;
}

.site-nav .nav-cta a {
  padding: 0.72rem 1.2rem;
}

.nav-toggle span {
  background: var(--navy-deep);
}

.nav-toggle {
  flex-shrink: 0;
  background: transparent;
  border-color: rgba(11, 23, 40, 0.24);
}

/* Buttons */
.btn {
  min-height: 48px;
  padding: 0.72rem 1.35rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: none;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: none;
  text-decoration: none;
}

.btn-primary {
  color: #fffdf8;
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-primary:hover {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.btn-ghost,
.btn-link-outline {
  color: var(--navy-deep);
  background: transparent;
  border: 1px solid rgba(11, 23, 40, 0.35);
}

.btn-ghost:hover,
.btn-link-outline:hover {
  color: var(--bg-card);
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.link-arrow {
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Homepage editorial hero */
.hero-splash {
  min-height: min(780px, calc(100svh - 78px));
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245, 240, 230, 0.99) 0%, rgba(245, 240, 230, 0.93) 40%, rgba(245, 240, 230, 0.18) 67%, rgba(11, 23, 40, 0.08) 100%),
    url("../img/luxury-campus-hero.webp") center / cover no-repeat;
}

.hero-splash::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 8rem;
  background: linear-gradient(transparent, rgba(11, 23, 40, 0.12));
}

.hero-splash__noise {
  opacity: 0.06;
}

.hero-splash__inner {
  padding-block: clamp(5rem, 10vw, 9rem);
  text-align: left;
}

.hero-splash__eyebrow {
  display: block;
  max-width: 36rem;
  margin: 0 0 1.6rem;
}

.hero-splash__title {
  max-width: 13ch;
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(4rem, 8.5vw, 8.5rem);
}

.hero-splash__line {
  display: block;
  white-space: normal;
}

.hero-splash__muted,
.hero-splash__accent {
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.hero-splash__accent {
  font-style: italic;
  color: var(--gold);
}

.hero-splash__deck {
  max-width: 37rem;
  margin: 2rem 0 0;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.hero-splash__cta-row {
  justify-content: flex-start;
  margin-top: 2.2rem;
}

.trust-chips {
  justify-content: flex-start;
  max-width: 44rem;
  margin-top: 2.6rem;
  gap: 0.6rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(11, 23, 40, 0.16);
}

.trust-chips li {
  color: var(--navy-mid);
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.trust-chips li::before {
  content: "◆";
  color: var(--gold);
  margin-right: 0.5rem;
  font-size: 0.52rem;
}

/* Interior heroes */
.hero:not(.hero--deep) {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.78), rgba(245, 240, 230, 0.55));
  border-bottom: 1px solid var(--border-glass);
}

.hero:not(.hero--deep) > .container {
  padding-block: clamp(1.5rem, 3vw, 3rem);
}

.hero__grid {
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.hero__title {
  max-width: 14ch;
  margin: 0.7rem 0 1.35rem;
  font-size: clamp(3.6rem, 6.5vw, 6.6rem);
}

.section-header .hero__title {
  max-width: 16ch;
}

.hero__title--secondary {
  max-width: 13ch;
  font-size: clamp(3rem, 5vw, 5rem);
}

.hero-visual {
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.hero-visual img {
  min-height: 390px;
  object-fit: cover;
}

.hero-visual__chip {
  color: var(--navy-deep);
  background: rgba(255, 253, 248, 0.94);
  border: 0;
  border-left: 2px solid var(--gold);
  border-radius: 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero--deep {
  color: rgba(255, 255, 255, 0.84);
  background: var(--navy-deep);
  border: 0;
}

.hero--deep .hero__title,
.hero--deep .section__title {
  color: #fffaf0;
}

.hero--deep .hero__subtitle {
  color: rgba(255, 255, 255, 0.68);
}

.mesh-bg {
  background-image:
    linear-gradient(rgba(197, 165, 104, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 165, 104, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.6;
}

/* Product editorial panels */
.cinema-band {
  display: none;
}

.panel-overview {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
}

.panel-overview__grid {
  gap: clamp(3rem, 8vw, 7rem);
}

.panel-overview__title {
  color: #fffaf0;
  font-size: clamp(3.4rem, 6vw, 6.6rem);
}

.panel-overview__title span {
  color: #c8aa70;
  -webkit-text-fill-color: currentColor;
}

.panel-overview__lead {
  color: rgba(255, 255, 255, 0.64);
  font-size: 1.08rem;
}

.panel-overview__visual {
  min-height: 440px;
  background: url("../img/luxury-product-dashboard.webp") center / cover no-repeat;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.38);
}

.panel-overview__visual img {
  display: none;
}

.glass {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.glass:hover {
  border-color: rgba(163, 122, 50, 0.36);
  box-shadow: var(--shadow-md);
}

.grid {
  gap: 1rem;
}

.feature-card,
.module-card,
.tier-card,
.contact-card,
.office-card,
.team-card {
  padding: clamp(1.5rem, 3vw, 2.3rem);
}

.feature-card,
.module-card {
  position: relative;
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.module-catalog {
  align-items: stretch;
}

.module-group-heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  margin: clamp(2.8rem, 6vw, 5.5rem) 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 23, 40, 0.2);
}

.module-group-heading:first-child {
  margin-top: 0;
}

.module-group-heading > span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.module-group-heading h2 {
  margin: -0.25rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
}

.module-group-heading p {
  max-width: 45rem;
  margin: 0;
  color: var(--text-secondary);
}

.feature-card::before,
.module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.8rem;
  height: 1px;
  background: var(--gold);
}

.feature-card:hover,
.module-card:hover {
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.7rem;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(163, 122, 50, 0.34);
  border-radius: 50%;
  font-size: 1rem;
  filter: grayscale(1);
}

.feature-card h3,
.module-card h3,
.tier-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.08;
}

.module-card p,
.feature-card p {
  color: var(--text-secondary) !important;
}

.integrations {
  justify-content: flex-start;
  gap: 0;
  padding: 0 !important;
  background: transparent;
  border-width: 1px 0;
  box-shadow: none;
}

.integration-pill {
  color: var(--navy-mid);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--border-card);
  border-radius: 0;
  padding: 1rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Reduce repeated stock-media sections */
.photo-mosaic,
.gif-showcase-section,
.image-strip {
  display: none;
}

.section[aria-label*="photography"],
.section[aria-label*="Photography"],
.section[aria-label*="communities"],
.section[aria-label*="environments"] {
  display: none;
}

.stats-strip {
  grid-template-columns: repeat(4, 1fr);
  background: transparent;
  border-width: 1px 0;
  border-radius: 0;
  box-shadow: none;
}

.stat-item {
  min-height: 130px;
  padding: 1.6rem;
  border-right: 1px solid var(--border-card);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-value {
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ai-widget {
  border-left: 2px solid var(--gold);
  border-radius: 0;
}

.ai-widget__pulse {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(163, 122, 50, 0.15);
}

.dark-quote-band {
  position: relative;
  background:
    linear-gradient(rgba(11, 23, 40, 0.92), rgba(11, 23, 40, 0.96)),
    url("../img/luxury-ai-governance.webp") center / cover;
}

.dark-quote-band blockquote {
  max-width: 18ch;
  color: #fffaf0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
}

.dark-quote-band cite {
  color: #c8aa70;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonials {
  gap: 1rem;
}

.testimonial-card {
  padding: 2rem;
  border-top: 2px solid var(--gold);
}

.testimonial-card blockquote {
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.35;
}

/* Pricing, tables, and forms */
.tier-card {
  border-top: 2px solid var(--navy-deep);
  box-shadow: none;
}

.tier-card--featured {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-deep);
  border-color: var(--gold);
  transform: none;
  box-shadow: var(--shadow-lg);
}

.tier-card--featured .tier-name,
.tier-card--featured h2 {
  color: #fffaf0;
}

.tier-card--featured .tier-fit,
.tier-card--featured li {
  color: rgba(255, 255, 255, 0.68);
}

.tier-badge {
  color: #c8aa70;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-table-wrap,
.matrix-wrap {
  border-radius: 0;
  box-shadow: none;
  overflow-x: auto;
}

.compare-table thead,
.matrix thead {
  color: #fffaf0;
  background: var(--navy-deep);
}

.compare-table th,
.compare-table td,
.matrix th,
.matrix td {
  padding: 1rem 1.1rem;
  border-color: rgba(11, 23, 40, 0.09);
}

.search-bar,
.form-field input,
.form-field select,
.form-field textarea {
  color: var(--navy-deep);
  background: rgba(255, 253, 248, 0.84);
  border: 1px solid rgba(11, 23, 40, 0.2);
  border-radius: 2px;
  box-shadow: none;
}

.search-bar {
  max-width: 34rem;
  min-height: 54px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.search-bar:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(163, 122, 50, 0.11);
}

.form-field label {
  color: var(--navy-mid);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-layout {
  gap: clamp(2rem, 5vw, 4.5rem);
}

.map-embed {
  filter: grayscale(0.8) sepia(0.18);
  border-radius: 2px;
}

.faq-list {
  border-radius: 0;
  box-shadow: none;
}

.faq-item button,
.faq-list details.faq-item summary {
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Editorial cards */
.blog-grid {
  gap: 1rem;
}

.blog-card {
  display: flex;
  min-height: 230px;
  border-radius: 2px;
  box-shadow: none;
}

.blog-card > img {
  display: none;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.blog-card h2 {
  font-family: var(--font-display);
  font-size: 2rem !important;
  line-height: 1.1;
}

.blog-card h2 a {
  pointer-events: none;
}

.blog-card h2 a::after {
  content: "Coming soon";
  display: block;
  width: fit-content;
  margin-top: 1.1rem;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-grid {
  gap: 1rem;
}

.team-card img {
  filter: grayscale(1);
}

.office-card {
  border-top: 2px solid var(--gold);
}

/* CTA */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 6vw, 5.5rem);
  text-align: left;
  background: var(--navy-deep);
  border: 0;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
}

.cta-banner::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(197, 165, 104, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem rgba(197, 165, 104, 0.04),
    0 0 0 7rem rgba(197, 165, 104, 0.025);
}

.cta-banner h2,
.cta-banner .section__title {
  max-width: 13ch;
  color: #fffaf0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1;
}

.cta-banner p,
.cta-banner .section__lead {
  max-width: 42rem;
  margin-inline: 0 !important;
  color: rgba(255, 255, 255, 0.62);
}

.cta-banner .btn-primary {
  color: var(--navy-deep);
  background: #c8aa70;
  border-color: #c8aa70;
}

/* Legal / support */
.legal-layout {
  gap: 3rem;
}

.legal-toc {
  top: 6rem;
  background: transparent;
  border-width: 1px 0 0;
  border-radius: 0;
  box-shadow: none;
}

.legal-doc {
  background: #fffdf8;
  border-radius: 2px;
  box-shadow: 0 24px 70px rgba(11, 23, 40, 0.07);
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding-block: clamp(4rem, 7vw, 6.5rem) 2rem;
  color: rgba(255, 255, 255, 0.7);
  background: #091321;
  border-top: 1px solid rgba(197, 165, 104, 0.38);
}

.footer-grid {
  gap: 3rem;
}

.footer-brand .logo-link {
  color: #fffaf0;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.52);
}

.footer-col h4 {
  color: #c8aa70;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.footer-bottom {
  margin-top: 3.5rem;
}

/* Motion refinement */
.reveal {
  transform: translateY(20px);
  transition-duration: 900ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.glass,
.btn,
.module-card,
.feature-card {
  will-change: transform;
}

@media (max-width: 959px) {
  .nav-toggle {
    display: flex !important;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 102;
    transform: translateY(-50%);
    margin-left: auto;
  }

  .site-nav {
    inset: 76px 1rem auto;
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid var(--border-card);
    border-radius: 2px;
    box-shadow: var(--shadow-lg);
  }

  .site-nav ul {
    gap: 0.2rem;
  }

  .site-nav .nav-cta {
    margin: 0.5rem 0 0;
  }

  .hero-splash {
    min-height: 760px;
    align-items: end;
    background:
      linear-gradient(0deg, rgba(245, 240, 230, 1) 0%, rgba(245, 240, 230, 0.9) 44%, rgba(245, 240, 230, 0.05) 76%),
      url("../img/luxury-campus-hero.webp") 62% center / cover no-repeat;
  }

  .hero-splash__inner {
    padding-top: 22rem;
  }

  .hero-splash__title {
    max-width: 10ch;
    font-size: clamp(3.6rem, 12vw, 6rem);
  }

  .hero-splash__eyebrow {
    max-width: 24rem;
    white-space: normal;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .panel-overview__visual {
    min-height: 340px;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .container,
  .container--wide {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .header-inner {
    min-height: 68px;
  }

  .logo-link img {
    width: 36px;
    height: 36px;
  }

  .section,
  .section--tight,
  .section--xl {
    padding-block: 4rem;
  }

  .hero-splash {
    min-height: 700px;
  }

  .hero-splash__inner {
    padding-top: 19rem;
    padding-bottom: 3rem;
  }

  .hero-splash__title {
    max-width: 9.5ch;
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero-splash__deck {
    font-size: 0.98rem;
  }

  .hero-splash__eyebrow {
    max-width: 18rem;
    font-size: 0.62rem;
    line-height: 1.6;
  }

  .trust-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero__title {
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .section__title {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .hero-visual img {
    min-height: 290px;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--border-card);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .panel-overview__visual {
    min-height: 260px;
  }

  .cta-banner {
    padding: 2.2rem 1.5rem;
  }

  .footer-bottom,
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .glass,
  .btn,
  .module-card,
  .feature-card {
    transform: none !important;
    transition: none !important;
  }
}
