:root {
  --ivory: #f7f1e6;
  --ivory-strong: #efe6d6;
  --maroon: #6f1d2a;
  --maroon-deep: #4c1720;
  --gold-muted: #b4945f;
  --charcoal: #2b2621;
  --olive-soft: #69704a;
  --teal-muted: #3f6c70;
  --border-soft: rgba(111, 29, 42, 0.18);
  --shadow-soft: 0 18px 36px rgba(53, 35, 24, 0.08);
  --shadow-hover: 0 28px 54px rgba(53, 35, 24, 0.16);
  --line-gold: rgba(180, 148, 95, 0.22);
  --line-maroon: rgba(111, 29, 42, 0.16);
  --surface-soft: rgba(255, 252, 247, 0.78);
  --surface-strong: rgba(255, 252, 247, 0.92);
  --radius-sm: 0.82rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.45rem;
  --header-offset: 5.6rem;
  --font-serif: "Noto Serif Bengali", "Times New Roman", Georgia, serif;
  --font-body: "Noto Sans Bengali", "Nirmala UI", "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 0.85rem);
  scroll-snap-type: y proximity;
  background: var(--ivory);
  color: var(--charcoal);
}

html.guided-scroll-enabled {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at top right, rgba(180, 148, 95, 0.12), transparent 22rem),
    radial-gradient(circle at 12% 12%, rgba(111, 29, 42, 0.05), transparent 16rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--ivory) 32%, #f3ebde 100%);
}

a,
button {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(180, 148, 95, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  background: var(--maroon);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0;
  background: rgba(250, 245, 237, 0.96);
  box-shadow: 0 1px 0 rgba(111, 29, 42, 0.08);
  backdrop-filter: blur(10px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(180, 148, 95, 0.24) 18%, rgba(111, 29, 42, 0.18) 50%, rgba(180, 148, 95, 0.24) 82%, transparent 100%);
  pointer-events: none;
}

.site-header__inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem;
  padding: 0.78rem 0;
  position: relative;
  z-index: 1;
}

.brandmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--maroon-deep);
  text-decoration: none;
}

.brandmark__icon {
  width: clamp(2.35rem, 4vw, 2.85rem);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.brandmark__copy {
  display: inline-flex;
  flex-direction: column;
  gap: 0.16rem;
}

.brandmark__bangla {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brandmark__english {
  font-size: 0.8rem;
  color: rgba(43, 38, 33, 0.82);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header__panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  min-width: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.35rem;
  margin-left: auto;
}

.site-nav a,
.login-link,
.language-switch__option {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.96rem;
}

.site-nav a:hover,
.login-link:hover,
.language-switch__option:hover {
  color: var(--maroon);
}

.brandmark:hover {
  transform: translateY(-1px);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 1px;
  background: rgba(111, 29, 42, 0.5);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.64);
  border-radius: var(--radius-md);
}

.language-switch__option {
  border: 0;
  background: transparent;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font: inherit;
  border-radius: calc(var(--radius-md) - 0.22rem);
}

.language-switch__option.is-active {
  background: var(--maroon);
  color: #fff9f0;
  border: 1px solid rgba(180, 148, 95, 0.46);
}

.language-switch__option:hover {
  background: rgba(111, 29, 42, 0.08);
}

.language-switch__option:focus-visible {
  background: rgba(111, 29, 42, 0.08);
  color: var(--maroon);
  border-color: rgba(180, 148, 95, 0.42);
  box-shadow: 0 0 0 3px rgba(180, 148, 95, 0.18);
}

.language-switch__option.is-active:hover,
.language-switch__option.is-active:focus-visible {
  background: var(--maroon);
  color: #fff9f0;
  border-color: rgba(180, 148, 95, 0.58);
  box-shadow: 0 12px 24px rgba(111, 29, 42, 0.16);
}

.login-link {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
}

.login-link:hover,
.login-link:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(53, 35, 24, 0.1);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.7rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--maroon-deep);
}

.menu-toggle span + span {
  margin-top: 0.28rem;
}

.hero {
  position: relative;
  padding: 0.3rem 0 3.95rem;
  min-height: calc(100svh - var(--header-offset));
  box-sizing: border-box;
  overflow: clip;
  scroll-margin-top: calc(var(--header-offset) + 0.4rem);
}

.hero__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 1.25rem 0;
  position: relative;
}

.hero__content {
  position: relative;
  max-width: 42rem;
  z-index: 2;
}

.hero__radiance {
  position: absolute;
  inset: -2.2rem auto auto -1.5rem;
  width: 16rem;
  height: 16rem;
  background:
    radial-gradient(circle, rgba(180, 148, 95, 0.18), rgba(180, 148, 95, 0.05) 44%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--olive-soft);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html[lang="bn"] .hero__eyebrow {
  margin-bottom: 2.4rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.7vw, 4.9rem);
  line-height: 1.12;
  color: var(--maroon-deep);
}

.hero__copy {
  max-width: 38rem;
  margin: 1.2rem 0 0;
  font-size: 1.08rem;
  line-height: 1.9;
  color: rgba(43, 38, 33, 0.96);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.button--primary {
  background: var(--maroon);
  color: #fff;
}

.button--primary:hover {
  background: var(--maroon-deep);
  box-shadow: 0 16px 30px rgba(76, 23, 32, 0.22);
  transform: translateY(-2px);
}

.button--secondary {
  border-color: rgba(111, 29, 42, 0.28);
  color: var(--maroon-deep);
  background: rgba(255, 255, 255, 0.46);
}

.button--secondary:hover {
  border-color: var(--maroon);
  color: var(--maroon);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 30px rgba(53, 35, 24, 0.12);
  transform: translateY(-2px);
}

.hero__visual {
  position: relative;
  min-height: 29.25rem;
  display: grid;
  place-items: center;
  overflow: visible;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: auto 12% 0;
  height: 11rem;
  background: radial-gradient(circle at center, rgba(111, 29, 42, 0.08), transparent 72%);
  filter: blur(18px);
  z-index: 0;
}

.hero__page-orbit,
.hero__rays,
.hero__notation {
  position: absolute;
  pointer-events: none;
}

.hero__rays {
  inset: 4% -8% -8%;
  z-index: 1;
}

.hero__ray-glow,
.hero__ray {
  position: absolute;
}

.hero__ray-glow {
  left: 50%;
  bottom: 31%;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, 50%) scale(0.72);
}

.hero__ray-glow--core {
  width: 13rem;
  height: 13rem;
  background:
    radial-gradient(circle, rgba(220, 190, 126, 0.48) 0%, rgba(220, 190, 126, 0.2) 26%, rgba(220, 190, 126, 0.04) 58%, transparent 76%);
  filter: blur(10px);
}

.hero__ray-glow--ambient {
  width: 22rem;
  height: 16rem;
  background:
    radial-gradient(circle at center, rgba(180, 148, 95, 0.2) 0%, rgba(180, 148, 95, 0.08) 28%, transparent 68%);
  filter: blur(14px);
}

.hero__ray {
  left: 50%;
  bottom: 31%;
  width: var(--ray-width, 16rem);
  height: 2px;
  background:
    linear-gradient(90deg, rgba(180, 148, 95, 0), rgba(224, 195, 130, 0.96) 18%, rgba(224, 195, 130, 0.34) 52%, rgba(224, 195, 130, 0) 100%);
  transform-origin: left center;
  opacity: 0;
  filter: drop-shadow(0 0 0.9rem rgba(224, 195, 130, 0.3));
}

.hero__ray--one {
  --ray-width: clamp(10rem, 30vw, 16rem);
  --ray-angle: -82deg;
  --ray-rest-opacity: 0.4;
  transform: rotate(var(--ray-angle)) scaleX(1);
}

.hero__ray--two {
  --ray-width: clamp(12rem, 34vw, 19rem);
  --ray-angle: -58deg;
  --ray-rest-opacity: 0.5;
  transform: rotate(var(--ray-angle)) scaleX(1);
}

.hero__ray--three {
  --ray-width: clamp(14rem, 38vw, 22rem);
  --ray-angle: -28deg;
  --ray-rest-opacity: 0.56;
  transform: rotate(var(--ray-angle)) scaleX(1);
}

.hero__ray--four {
  --ray-width: clamp(14rem, 38vw, 22rem);
  --ray-angle: 6deg;
  --ray-rest-opacity: 0.58;
  transform: rotate(var(--ray-angle)) scaleX(1);
}

.hero__ray--five {
  --ray-width: clamp(12rem, 34vw, 19rem);
  --ray-angle: 32deg;
  --ray-rest-opacity: 0.48;
  transform: rotate(var(--ray-angle)) scaleX(1);
}

.hero__ray--six {
  --ray-width: clamp(10rem, 30vw, 16rem);
  --ray-angle: 58deg;
  --ray-rest-opacity: 0.38;
  transform: rotate(var(--ray-angle)) scaleX(1);
}

.hero__ray--seven {
  --ray-width: clamp(8rem, 24vw, 13rem);
  --ray-angle: 78deg;
  --ray-rest-opacity: 0.28;
  transform: rotate(var(--ray-angle)) scaleX(1);
}

body.is-motion-ready .hero__ray-glow {
  animation: hero-ray-glow-reveal 1050ms cubic-bezier(0.2, 0.72, 0.24, 1) forwards;
}

body.is-motion-ready .hero__ray-glow--ambient {
  animation-delay: 80ms;
}

body.is-motion-ready .hero__ray {
  animation: hero-ray-reveal 1080ms cubic-bezier(0.2, 0.72, 0.24, 1) forwards;
}

body.is-motion-ready .hero__ray--one {
  animation-delay: 60ms;
}

body.is-motion-ready .hero__ray--two {
  animation-delay: 140ms;
}

body.is-motion-ready .hero__ray--three {
  animation-delay: 220ms;
}

body.is-motion-ready .hero__ray--four {
  animation-delay: 300ms;
}

body.is-motion-ready .hero__ray--five {
  animation-delay: 380ms;
}

body.is-motion-ready .hero__ray--six {
  animation-delay: 460ms;
}

body.is-motion-ready .hero__ray--seven {
  animation-delay: 520ms;
}

.hero__page-orbit {
  border: 1px solid rgba(180, 148, 95, 0.22);
  background: rgba(255, 252, 247, 0.42);
  box-shadow: 0 18px 35px rgba(76, 23, 32, 0.06);
}

.hero__page-orbit--one {
  inset: 12% auto auto 11%;
  width: 8.5rem;
  height: 11rem;
  transform: rotate(-11deg);
}

.hero__page-orbit--two {
  inset: auto 9% 12% auto;
  width: 9rem;
  height: 12rem;
  transform: rotate(13deg);
}

.hero__notation {
  width: 1.15rem;
  height: 1.15rem;
  opacity: 0;
  border-radius: 50%;
  border: 1px solid rgba(111, 29, 42, 0.28);
  background: radial-gradient(circle, rgba(198, 166, 101, 0.5) 0%, rgba(198, 166, 101, 0.2) 38%, transparent 68%);
  box-shadow:
    0 0 0.75rem rgba(198, 166, 101, 0.24),
    0 0 1.6rem rgba(111, 29, 42, 0.12);
  z-index: 0;
}

.hero__notation::before,
.hero__notation::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(111, 29, 42, 0.3);
  box-shadow:
    0 0 0.85rem rgba(198, 166, 101, 0.2),
    0 0 1.6rem rgba(111, 29, 42, 0.12);
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
}

.hero__notation::before {
  animation: none;
}

.hero__notation::after {
  animation: none;
}

.hero__notation--top {
  top: 50%;
  left: 50%;
  margin-top: 6.72rem;
  margin-left: -0.18rem;
  transform-origin: center;
}

.hero__notation--bottom {
  display: none;
}

body.is-motion-ready .hero__notation--top {
  animation: hero-ripple-core 5.4s linear infinite;
}

body.is-motion-ready .hero__notation::before {
  animation: hero-ripple-ring 5.4s linear infinite;
  animation-delay: -1.8s;
}

body.is-motion-ready .hero__notation::after {
  animation: hero-ripple-ring 5.4s linear infinite;
  animation-delay: -3.6s;
}

body.is-motion-ready .hero__notation--top {
  animation-delay: 0s;
}

.hero__logo-border {
  width: min(100%, 28rem);
  display: inline-grid;
  padding: 1px;
  border-radius: calc(var(--radius-md) + 1px);
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  position: relative;
  z-index: 2;
}

.hero__logo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(76, 23, 32, 0.14));
}

.content-section {
  padding: 0 0 4.5rem;
  position: relative;
  scroll-snap-align: start;
  scroll-margin-top: calc(var(--header-offset) + 0.95rem);
}

.content-section--intro {
  padding-top: 0.15rem;
}

.content-section--cta {
  padding-bottom: 4rem;
}

.section-divider {
  position: relative;
}

.section-divider::before {
  content: "";
  display: block;
  width: min(1280px, calc(100% - 1rem));
  height: 2px;
  margin: 0 auto 3rem;
  background:
    linear-gradient(90deg, transparent 0%, rgba(180, 148, 95, 0.34) 18%, rgba(111, 29, 42, 0.28) 50%, rgba(180, 148, 95, 0.34) 82%, transparent 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.46);
}

.section-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-shell--narrow {
  width: min(900px, calc(100% - 2rem));
}

.section-heading {
  position: relative;
  max-width: 42rem;
  margin-bottom: 2rem;
}

body.motion-enabled [data-reveal] {
  opacity: 1;
  transform: translateY(0.85rem);
  transition: transform 560ms ease;
}

body.motion-enabled [data-reveal].is-visible {
  transform: translateY(0);
}

.section-heading--compact {
  margin-bottom: 1.2rem;
}

.section-heading--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading__eyebrow {
  margin: 0 0 0.9rem;
  color: var(--olive-soft);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading__flare {
  position: absolute;
  inset: -1.4rem auto auto -0.8rem;
  width: 6.5rem;
  height: 6.5rem;
  background:
    radial-gradient(circle, rgba(180, 148, 95, 0.14), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.18;
  color: var(--maroon-deep);
}

.section-heading__subtitle,
.section-heading__body {
  margin: 1rem 0 0;
  color: rgba(43, 38, 33, 0.92);
  line-height: 1.85;
}

.philosophy-copy {
  display: grid;
  gap: 1rem;
  max-width: none;
}

.content-section--editorial::after {
  content: "";
  position: absolute;
  inset: 2.5rem 0 auto;
  height: 18rem;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 252, 247, 0.34) 20%, rgba(180, 148, 95, 0.06) 56%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.philosophy-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
  column-gap: clamp(1.5rem, 3.6vw, 3rem);
  row-gap: 1.3rem;
  align-items: center;
  padding: 1rem 0 0 2.2rem;
  z-index: 1;
}

.philosophy-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background:
    linear-gradient(180deg, rgba(180, 148, 95, 0), rgba(180, 148, 95, 0.55) 12%, rgba(63, 108, 112, 0.26) 52%, rgba(180, 148, 95, 0) 100%);
}

.philosophy-panel::after {
  content: "";
  position: absolute;
  top: 0.8rem;
  left: -0.35rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(180, 148, 95, 0.9), rgba(111, 29, 42, 0.7));
  box-shadow: 0 0 0 0.35rem rgba(180, 148, 95, 0.12);
}

.philosophy-heading {
  margin-bottom: 0;
  grid-column: 1;
  align-self: end;
}

.philosophy-copy p,
.academic-panel__body p,
.info-card p,
.feature-card p {
  margin: 0;
  color: rgba(43, 38, 33, 0.95);
  line-height: 1.9;
}

.philosophy-copy {
  grid-column: 1;
  align-self: start;
}

.learning-community-visual {
  margin: 0;
  width: 100%;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.learning-community-visual__frame {
  position: relative;
  width: 100%;
  margin-left: 0;
  overflow: hidden;
  border-radius: 1.65rem;
  background: rgba(255, 252, 247, 0.78);
}

.learning-community-visual__frame::before {
  content: "";
  position: absolute;
  inset: auto -4% -1.5rem 12%;
  height: 2.5rem;
  background: radial-gradient(circle at center, rgba(111, 29, 42, 0.08), transparent 72%);
  pointer-events: none;
}

.learning-community-visual__image {
  display: block;
  width: 100%;
  height: clamp(13.75rem, 22vw, 18.5rem);
  object-fit: cover;
  object-position: center 38%;
}

.journey-track {
  display: grid;
  grid-template-columns:
    minmax(8.5rem, 1.3fr) minmax(1.75rem, 0.48fr)
    minmax(8.5rem, 1.3fr) minmax(1.75rem, 0.48fr)
    minmax(8.5rem, 1.3fr) minmax(1.75rem, 0.48fr)
    minmax(8.5rem, 1.3fr) minmax(1.75rem, 0.48fr)
    minmax(8.5rem, 1.3fr) minmax(1.75rem, 0.48fr)
    minmax(8.5rem, 1.3fr);
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.4rem;
  position: relative;
}

.journey-track::before {
  content: "";
  position: absolute;
  inset: auto 6% -1.2rem;
  height: 8rem;
  background:
    radial-gradient(circle at center, rgba(63, 108, 112, 0.07), transparent 64%);
  filter: blur(18px);
  pointer-events: none;
}

.journey-track__connector {
  display: block;
  position: relative;
  height: 3.5rem;
}

.journey-track__connector::before {
  content: "";
  position: absolute;
  inset: 50% -0.1rem auto;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(180, 148, 95, 0.14), rgba(111, 29, 42, 0.2), rgba(180, 148, 95, 0.14));
  transform-origin: left center;
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.journey-track__connector::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: calc(50% - 0.7rem);
  height: 1.45rem;
  border-top: 1px solid rgba(180, 148, 95, 0.22);
  border-radius: 999px;
  opacity: 0.9;
  transform-origin: left center;
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.journey-track[data-reveal] .journey-track__connector::before,
.journey-track[data-reveal] .journey-track__connector::after {
  opacity: 0;
  transform: scaleX(0.68);
}

.journey-track.is-visible .journey-track__connector::before,
.journey-track.is-visible .journey-track__connector::after {
  opacity: 1;
  transform: scaleX(1);
}

.journey-step {
  min-height: 8.6rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(111, 29, 42, 0.08);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.72), rgba(247, 241, 230, 0.58));
  box-shadow: 0 14px 28px rgba(53, 35, 24, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.95rem;
  text-align: center;
}

.journey-step:hover,
.journey-step:focus-within {
  box-shadow: 0 22px 42px rgba(53, 35, 24, 0.14);
  border-color: rgba(111, 29, 42, 0.12);
  transform: translateY(-3px);
}

.journey-step__topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.journey-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(180, 148, 95, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 241, 230, 0.78));
  color: var(--maroon-deep);
  font-family: var(--font-serif);
  font-size: 0.98rem;
  letter-spacing: 0.05em;
}

.journey-step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 1px solid rgba(180, 148, 95, 0.22);
  color: var(--maroon-deep);
  background: rgba(255, 255, 255, 0.62);
  flex: 0 0 auto;
}

.journey-step__icon svg {
  width: 1.3rem;
  height: 1.3rem;
  stroke: currentColor;
  stroke-width: 1.55;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-step h3,
.info-card h3,
.feature-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--maroon-deep);
}

.journey-step h3 {
  margin: 0;
  max-width: 100%;
  line-height: 1.35;
  text-wrap: balance;
}

.resource-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.feature-card,
.academic-panel,
.cta-panel {
  border: 1px solid rgba(111, 29, 42, 0.12);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
}

.info-card:hover,
.feature-card:hover,
.academic-panel:hover,
.cta-panel:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.info-card,
.feature-card {
  padding: 1.4rem 1.2rem;
}

.content-section--resources::after {
  content: "";
  position: absolute;
  inset: 3rem 0 auto;
  height: 21rem;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 252, 247, 0.22) 24%, rgba(63, 108, 112, 0.06) 52%, rgba(255, 252, 247, 0.16) 78%, transparent 100%);
  pointer-events: none;
}

.resource-grid {
  align-items: stretch;
}

.resources-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(16rem, 0.98fr);
  align-items: center;
  gap: 1.35rem;
  margin-bottom: 1.65rem;
}

.resources-stage__copy {
  margin-bottom: 0;
  min-width: 0;
}

.resources-stage__thought {
  margin: 1rem 0 0;
  max-width: 30rem;
  color: rgba(111, 29, 42, 0.86);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}

.resources-stage__visual {
  margin: 0;
  justify-self: end;
  width: min(100%, 25rem);
}

.resources-stage__image {
  display: block;
  width: 100%;
  height: clamp(13.5rem, 25vw, 17rem);
  object-fit: cover;
  object-position: center 38%;
  border-radius: 1.45rem;
  border: 1px solid rgba(111, 29, 42, 0.1);
}

.info-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding-top: 1.9rem;
  border-color: rgba(111, 29, 42, 0.14);
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(180, 148, 95, 0.08), transparent 48%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.info-card:hover::before,
.info-card:focus-within::before {
  opacity: 1;
}

.info-card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(180, 148, 95, 0.22);
  background: rgba(255, 255, 255, 0.76);
  color: var(--maroon-deep);
  box-shadow: 0 12px 26px rgba(53, 35, 24, 0.08);
}

.info-card__icon svg {
  width: 1.45rem;
  height: 1.45rem;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card:hover .info-card__icon,
.info-card:focus-within .info-card__icon,
.feature-card:hover .feature-card__icon,
.feature-card:focus-within .feature-card__icon {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(53, 35, 24, 0.12);
}

.info-card--mcq .info-card__icon,
.info-card--guidance .info-card__icon {
  color: var(--teal-muted);
}

.info-card--notes,
.info-card--previous {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(243, 234, 220, 0.86));
}

.info-card--mcq,
.info-card--guidance {
  background:
    linear-gradient(180deg, rgba(252, 249, 243, 0.92), rgba(234, 241, 240, 0.86));
}

.info-card--qa {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(241, 232, 225, 0.88));
}

.academic-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(17rem, 0.92fr);
  align-items: center;
  gap: 1.45rem;
  padding: 2rem;
  overflow: hidden;
  border-color: rgba(111, 29, 42, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.94), rgba(244, 235, 221, 0.88));
}

.academic-panel::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  background:
    radial-gradient(circle at 20% 50%, rgba(180, 148, 95, 0.14), transparent 30%),
    radial-gradient(circle at 75% 50%, rgba(63, 108, 112, 0.08), transparent 26%);
  pointer-events: none;
}

.academic-panel__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.academic-panel__visual {
  position: relative;
  z-index: 1;
  margin: 0;
  justify-self: end;
  width: min(100%, 24rem);
}

.academic-panel__image {
  display: block;
  width: 100%;
  height: clamp(13.5rem, 26vw, 18rem);
  object-fit: cover;
  object-position: center 34%;
  border-radius: calc(var(--radius-lg) - 0.08rem);
  border: 1px solid rgba(111, 29, 42, 0.12);
}

.academic-panel__body {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
}

.academic-panel__thought {
  margin: 0.2rem 0 0;
  color: rgba(111, 29, 42, 0.88);
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.5;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-vidyaprabha .section-heading {
  max-width: 34rem;
}

.section-heading--reasons {
  margin-bottom: 2.4rem;
}

.auth-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4.5rem;
}

.auth-panel {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: rgba(255, 252, 247, 0.82);
  box-shadow: var(--shadow-soft);
}

.auth-panel--role {
  max-width: 42rem;
}

.auth-panel--wide {
  max-width: 52rem;
}

.student-register-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(16rem, 0.88fr);
  align-items: start;
  gap: 1.4rem;
  margin-bottom: 1.55rem;
}

.student-register-stage__content {
  min-width: 0;
}

.student-register-stage__lead {
  margin: 0.9rem 0 0;
  color: rgba(111, 29, 42, 0.86);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.student-register-stage__visual {
  margin: 0;
  justify-self: end;
  width: min(100%, 24rem);
}

.student-register-stage__visual img {
  display: block;
  width: 100%;
  height: clamp(14rem, 29vw, 18.5rem);
  object-fit: cover;
  object-position: center 28%;
  border-radius: calc(var(--radius-lg) - 0.1rem);
  border: 1px solid rgba(111, 29, 42, 0.12);
}

.auth-panel__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  color: var(--maroon-deep);
}

.auth-panel__copy {
  margin: 1rem 0 0;
  color: rgba(43, 38, 33, 0.86);
  line-height: 1.8;
}

.status-message {
  margin: 1.2rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(111, 29, 42, 0.12);
  line-height: 1.65;
}

.status-message--notice {
  background: rgba(105, 112, 74, 0.08);
  border-color: rgba(105, 112, 74, 0.18);
  color: #49502f;
}

.status-message--error {
  background: rgba(111, 29, 42, 0.08);
  border-color: rgba(111, 29, 42, 0.2);
  color: var(--maroon-deep);
}

.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.auth-form__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: -0.2rem;
}

.auth-form__link {
  color: var(--maroon-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 29, 42, 0.24);
  transition: color 180ms ease, border-color 180ms ease;
}

.auth-form__link:hover,
.auth-form__link:focus-visible {
  color: var(--maroon-accent);
  border-color: rgba(180, 148, 95, 0.55);
}

.auth-form__field {
  display: grid;
  gap: 0.45rem;
}

.auth-form__field span {
  font-size: 0.96rem;
  color: var(--maroon-deep);
}

.auth-form__field input {
  width: 100%;
  box-sizing: border-box;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(111, 29, 42, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font: inherit;
}

.auth-form__field select {
  width: 100%;
  box-sizing: border-box;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(111, 29, 42, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font: inherit;
}

.auth-form__field input:focus-visible {
  outline: 3px solid rgba(180, 148, 95, 0.72);
  outline-offset: 2px;
}

.auth-form__field select:focus-visible {
  outline: 3px solid rgba(180, 148, 95, 0.72);
  outline-offset: 2px;
}

.auth-form__field input[aria-invalid="true"],
.auth-form__field select[aria-invalid="true"] {
  border-color: rgba(111, 29, 42, 0.45);
}

.auth-form__submit {
  margin-top: 0.2rem;
}

.auth-form__secondary {
  margin-top: 1rem;
}

.auth-form--registration {
  gap: 1.35rem;
}

.auth-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.auth-form__fieldset {
  margin: 0;
  padding: 1.15rem;
  border: 1px solid rgba(111, 29, 42, 0.1);
  background: rgba(255, 255, 255, 0.46);
}

.auth-form__fieldset legend {
  padding: 0 0.45rem;
  font-family: var(--font-serif);
  color: var(--maroon-deep);
}

.auth-form__fieldset--channel {
  padding: 1rem 1rem 1.05rem;
}

.auth-form__choice-list {
  display: grid;
  gap: 0.8rem;
}

.auth-form__choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--charcoal);
}

.auth-form__choice input {
  margin: 0;
}

.auth-form__hint {
  margin: 0 0 1rem;
  color: rgba(43, 38, 33, 0.72);
  line-height: 1.6;
}

.auth-form__hint--inline {
  margin: 0;
}

.auth-form__fieldset--step-three {
  gap: 0;
}

.auth-form__grid--step-three {
  gap: 1.15rem 1.25rem;
}

.auth-form__hint--step-three {
  margin: 0.55rem 0 0.85rem;
}

.auth-form__consent {
  display: grid;
  gap: 0.45rem;
  margin-top: -0.1rem;
}

.auth-form__consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.auth-form__checkbox-input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.18rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--maroon-deep);
}

.auth-form__checkbox-input:focus-visible {
  outline: 3px solid rgba(180, 148, 95, 0.72);
  outline-offset: 2px;
}

.auth-form__checkbox-label {
  color: var(--charcoal);
  line-height: 1.65;
}

.validation-summary {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(111, 29, 42, 0.18);
  background: rgba(111, 29, 42, 0.06);
}

.validation-summary__title {
  margin: 0;
  font-size: 1rem;
  color: var(--maroon-deep);
}

.validation-summary ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.field-error {
  color: var(--maroon-deep);
  line-height: 1.55;
}

.role-summary {
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.role-summary div {
  padding: 1rem;
  border: 1px solid rgba(111, 29, 42, 0.1);
  background: rgba(255, 255, 255, 0.56);
}

.role-summary dt {
  font-size: 0.88rem;
  color: rgba(43, 38, 33, 0.72);
}

.role-summary dd {
  margin: 0.45rem 0 0;
  color: var(--maroon-deep);
  font-weight: 600;
  word-break: break-word;
}

.role-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.role-actions form {
  margin: 0;
}

.admin-shell {
  display: grid;
  gap: 1.5rem;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: rgba(255, 252, 247, 0.82);
  box-shadow: var(--shadow-soft);
}

.admin-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 29, 42, 0.14);
  color: var(--text-strong);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.5);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.admin-nav__link:hover,
.admin-nav__link:focus-visible {
  border-color: rgba(111, 29, 42, 0.26);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 28px rgba(111, 29, 42, 0.09);
  transform: translateY(-1px);
}

.admin-nav__link.is-active,
.admin-nav__link[aria-current="page"] {
  color: #fff;
  border-color: rgba(111, 29, 42, 0.92);
  background: linear-gradient(135deg, rgba(111, 29, 42, 0.96), rgba(138, 51, 65, 0.9));
  box-shadow: 0 16px 30px rgba(111, 29, 42, 0.18);
}

.admin-nav__logout {
  margin: 0 0 0 auto;
}

.admin-nav__link--button {
  font: inherit;
  cursor: pointer;
}

.admin-topbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-summary-card,
.admin-card {
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: rgba(255, 252, 247, 0.82);
  box-shadow: var(--shadow-soft);
}

.admin-summary-card {
  padding: 1.35rem;
}

.admin-summary-card h2,
.admin-card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  color: var(--maroon-deep);
}

.admin-summary-card dl {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.75rem;
}

.admin-summary-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.admin-summary-card dt {
  color: rgba(43, 38, 33, 0.72);
}

.admin-summary-card dd {
  margin: 0;
  color: var(--maroon-deep);
  font-weight: 700;
}

.status-badge--neutral {
  background: rgba(180, 148, 95, 0.16);
  color: var(--maroon);
  border-color: rgba(180, 148, 95, 0.3);
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-overview-grid--compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-overview-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem;
  text-decoration: none;
  border-radius: 1.15rem;
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-soft);
  color: var(--text-strong);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.admin-overview-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--maroon-deep);
}

.admin-overview-card p {
  margin: 0;
}

.admin-overview-card:hover,
.admin-overview-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(111, 29, 42, 0.22);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 36px rgba(111, 29, 42, 0.1);
}

.admin-overview-card--primary {
  background: linear-gradient(135deg, rgba(111, 29, 42, 0.94), rgba(138, 51, 65, 0.9));
  color: rgba(255, 249, 240, 0.9);
}

.admin-overview-card--primary h3,
.admin-overview-card--primary p {
  color: inherit;
}

.admin-overview-card--primary:hover,
.admin-overview-card--primary:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(111, 29, 42, 0.98), rgba(138, 51, 65, 0.94));
  color: #fff9f0;
  border-color: rgba(180, 148, 95, 0.42);
  box-shadow: 0 24px 40px rgba(71, 18, 28, 0.2);
}

.admin-overview-card--primary:hover h3,
.admin-overview-card--primary:hover p,
.admin-overview-card--primary:focus-visible h3,
.admin-overview-card--primary:focus-visible p {
  color: #fff9f0;
}

.admin-grid {
  display: grid;
  gap: 1.25rem;
}

.admin-card {
  padding: 1.35rem;
}

.admin-card--nested {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.admin-card__header {
  display: flex;
  gap: 0.9rem;
}

.admin-card__header--inline {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.role-summary-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 1rem;
}

.role-summary-list li p {
  margin: 0.35rem 0 0;
}

.admin-card details {
  margin-top: 0.75rem;
}

.admin-card pre {
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 52rem;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem 0.8rem;
  border-top: 1px solid rgba(111, 29, 42, 0.12);
  vertical-align: top;
  text-align: left;
}

.admin-table thead th {
  border-top: 0;
  color: rgba(43, 38, 33, 0.72);
  font-size: 0.92rem;
}

.admin-inline-form,
.admin-status-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
}

.admin-inline-form {
  margin-bottom: 0.6rem;
}

.admin-inline-form input,
.admin-status-form input,
.admin-card select,
.admin-card input {
  min-height: 2.75rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: start;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.admin-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.admin-list-card {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(111, 29, 42, 0.1);
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 16px 28px rgba(53, 35, 24, 0.06);
}

.admin-list-card--wide {
  display: grid;
  gap: 1rem;
}

.admin-record-list {
  display: grid;
  gap: 1rem;
}

.admin-record-row {
  border: 1px solid rgba(111, 29, 42, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 24px rgba(53, 35, 24, 0.05);
  overflow: hidden;
}

.admin-record-row__summary {
  display: grid;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
}

.admin-record-row__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-record-row__main h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  color: var(--maroon-deep);
}

.admin-record-row__main p {
  margin: 0.18rem 0 0;
}

.admin-record-row__meta {
  color: rgba(43, 38, 33, 0.72);
  font-size: 0.95rem;
}

.admin-record-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.admin-record-row__editor {
  border-top: 1px solid rgba(111, 29, 42, 0.1);
  padding: 1rem 1.25rem 1.2rem;
  background: rgba(255, 252, 247, 0.78);
}

.button--small {
  min-height: 2.3rem;
  padding: 0.45rem 0.8rem;
}

.auth-form__textarea {
  width: 100%;
  min-height: 8rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(111, 29, 42, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font: inherit;
  line-height: 1.65;
  resize: vertical;
  box-sizing: border-box;
}

.auth-form__textarea--compact {
  min-height: 6.25rem;
}

.field-hint {
  color: rgba(43, 38, 33, 0.72);
  line-height: 1.55;
}

.note-source-preview {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.7rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: rgba(255, 255, 255, 0.54);
}

.note-source-preview__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.note-source-preview__header strong {
  color: var(--maroon-deep);
}

.note-source-preview__header p {
  margin: 0.25rem 0 0;
}

.note-source-preview__list,
.note-source-pages__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.note-source-preview__item,
.note-source-pages__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid rgba(111, 29, 42, 0.1);
  background: rgba(255, 252, 247, 0.78);
}

.note-source-preview__thumb,
.note-source-pages__thumb {
  width: 4.6rem;
  height: 4.6rem;
  border: 1px solid rgba(111, 29, 42, 0.14);
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.note-source-preview__thumb img,
.note-source-pages__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note-source-preview__filetype {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--maroon-deep);
}

.note-source-preview__meta,
.note-source-pages__meta {
  min-width: 0;
}

.note-source-preview__meta strong,
.note-source-pages__meta strong {
  display: block;
  color: var(--maroon-deep);
}

.note-source-preview__meta p,
.note-source-pages__meta p {
  margin: 0.3rem 0 0;
  overflow-wrap: anywhere;
}

.note-source-preview__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.note-source-pages {
  margin-top: 1rem;
}

.button--small {
  min-height: 2.4rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
}

.admin-inline-form input {
  flex: 1 1 10rem;
  min-width: 7rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(111, 29, 42, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font: inherit;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
}

.status-badge--active {
  background: rgba(105, 112, 74, 0.12);
  color: #49502f;
}

.status-badge--inactive {
  background: rgba(111, 29, 42, 0.1);
  color: var(--maroon-deep);
}

.admin-inline-note {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(180, 148, 95, 0.18);
  background: rgba(255, 251, 244, 0.78);
}

.admin-inline-note p {
  margin: 0.45rem 0 0;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-action-card,
.admin-version-card,
.admin-change-item {
  border-radius: 1.1rem;
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-soft);
}

.admin-action-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
}

.admin-action-card h3,
.admin-version-card h3,
.admin-change-item h3 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--maroon-deep);
}

.admin-action-card p,
.admin-version-card p,
.admin-change-item p {
  margin: 0;
}

.admin-action-card form {
  margin: 0;
}

.admin-change-list,
.admin-version-list {
  display: grid;
  gap: 1rem;
}

.admin-change-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-change-item {
  padding: 1rem 1.1rem;
}

.admin-change-item ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.admin-version-card {
  padding: 1.1rem 1.15rem;
}

.admin-version-card--selected {
  border-color: rgba(111, 29, 42, 0.26);
  box-shadow: 0 20px 38px rgba(111, 29, 42, 0.1);
}

.admin-version-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.admin-warning {
  margin: 0.45rem 0 0;
  color: var(--maroon-deep);
  line-height: 1.55;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 38, 33, 0.32);
  backdrop-filter: blur(2px);
}

.admin-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(48rem, 100%);
  max-height: min(85vh, 46rem);
  overflow: auto;
  padding: 1.4rem;
  border: 1px solid rgba(111, 29, 42, 0.16);
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 18px 46px rgba(43, 38, 33, 0.2);
}

.admin-modal__eyebrow {
  margin-bottom: 0.4rem;
}

.admin-modal__body {
  display: grid;
  gap: 1rem;
}

.admin-modal textarea {
  min-height: 10rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.video-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem;
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: rgba(255, 252, 247, 0.86);
  box-shadow: var(--shadow-soft);
}

.video-card h2 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--maroon-deep);
}

.video-card p {
  margin: 0;
  line-height: 1.7;
}

.video-card__meta {
  color: rgba(43, 38, 33, 0.76);
  font-size: 0.95rem;
}

.video-card .button {
  justify-self: flex-start;
}

.video-player-shell {
  padding: 1.4rem;
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: rgba(255, 252, 247, 0.86);
  box-shadow: var(--shadow-soft);
}

.video-player-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: rgba(76, 23, 32, 0.06);
}

.video-player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-grid--reasons {
  gap: 1.15rem;
}

.feature-card--reason {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.22rem 1.15rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(247, 241, 230, 0.9));
  border-color: rgba(111, 29, 42, 0.18);
}

.feature-card--reason::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(180, 148, 95, 0.08), transparent 46%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-card--reason:hover::before,
.feature-card--reason:focus-within::before {
  opacity: 1;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  border: 1px solid rgba(180, 148, 95, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: var(--maroon-deep);
  flex: 0 0 auto;
}

.feature-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  stroke-width: 1.55;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card--reason h3 {
  margin-top: 0.1rem;
  max-width: 15ch;
}

.feature-card--reason p {
  color: rgba(43, 38, 33, 0.84);
  line-height: 1.78;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 2.8rem 1.8rem;
  background:
    radial-gradient(circle at top center, rgba(180, 148, 95, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(111, 29, 42, 0.96), rgba(76, 23, 32, 0.94));
  border-color: rgba(111, 29, 42, 0.18);
}

.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cta-panel::before {
  inset: 1.2rem 1.2rem auto;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 244, 225, 0.28) 20%, rgba(255, 244, 225, 0.5) 50%, rgba(255, 244, 225, 0.28) 80%, transparent 100%);
}

.cta-panel::after {
  inset: auto -2rem -3rem auto;
  width: 12rem;
  height: 12rem;
  background:
    radial-gradient(circle, rgba(180, 148, 95, 0.22), transparent 68%);
  filter: blur(8px);
}

.cta-panel .section-heading__eyebrow,
.cta-panel .section-heading h2,
.cta-panel .button--secondary {
  color: #fff;
}

.cta-panel .section-heading__body {
  color: rgba(255, 248, 236, 0.82);
}

.cta-panel .button--primary {
  background: linear-gradient(135deg, rgba(201, 167, 104, 0.92), rgba(180, 148, 95, 0.9));
  color: var(--maroon-deep);
}

.cta-panel .button--primary:hover {
  background: linear-gradient(135deg, rgba(214, 180, 114, 0.96), rgba(191, 156, 97, 0.94));
}

.cta-panel .button--secondary {
  border-color: rgba(255, 244, 225, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.cta-panel .button--secondary:hover {
  border-color: rgba(255, 244, 225, 0.54);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero__actions--centered {
  justify-content: center;
}

.site-footer {
  padding: 1rem 0 2.5rem;
}

.site-footer__inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
  padding-top: 2rem;
  position: relative;
}

.site-footer__inner::before {
  content: "";
  position: absolute;
  inset: 0 auto auto;
  width: 10rem;
  height: 8rem;
  background:
    radial-gradient(circle, rgba(180, 148, 95, 0.12), transparent 72%);
  pointer-events: none;
}

.site-footer__lead h2 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--maroon-deep);
}

.site-footer__lead p {
  margin: 0.7rem 0 0;
  max-width: 28rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.site-footer__grid h3 {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  color: var(--maroon-deep);
}

.site-footer__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__grid li + li {
  margin-top: 0.55rem;
}

.site-footer__grid a,
.site-footer__grid span,
.site-footer__meta a,
.site-footer__meta p {
  color: rgba(43, 38, 33, 0.84);
  text-decoration: none;
}

.site-footer__grid a:hover,
.site-footer__meta a:hover {
  color: var(--maroon);
  text-shadow: 0 6px 18px rgba(111, 29, 42, 0.14);
}

.site-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(111, 29, 42, 0.1);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__attribution {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(111, 29, 42, 0.08);
  display: grid;
  gap: 0.35rem;
}

.site-footer__attribution-line,
.site-footer__attribution-company {
  margin: 0;
  color: rgba(43, 38, 33, 0.72);
}

.site-footer__attribution-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.96rem;
}

.site-footer__brightel-link {
  color: #181513;
  text-decoration: none;
  font-weight: 600;
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.site-footer__brightel-link:hover,
.site-footer__brightel-link:focus-visible {
  color: #181513;
  text-shadow: 0 6px 18px rgba(111, 29, 42, 0.14);
}

.site-footer__brightel-t {
  color: #d11f2f;
}

.site-footer__attribution-company {
  font-size: 0.88rem;
}

.policy-page {
  padding: 0 0 2rem;
}

.policy-page__shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.policy-page__hero {
  padding: clamp(1.25rem, 2.8vw, 2.4rem) 0 1.1rem;
}

.policy-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--maroon);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
}

.policy-page__back:hover,
.policy-page__back:focus-visible {
  color: var(--maroon-deep);
  text-shadow: 0 6px 18px rgba(111, 29, 42, 0.14);
}

.policy-page__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 1rem auto 0;
  max-width: 58rem;
  padding-top: 0.4rem;
}

.policy-page__nav a {
  color: var(--maroon);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.policy-page__nav a:hover,
.policy-page__nav a:focus-visible {
  color: var(--maroon-deep);
  text-shadow: 0 6px 18px rgba(111, 29, 42, 0.14);
}

.policy-page__content {
  padding: 0.8rem 0 1.5rem;
}

.policy-page__shell--content {
  position: relative;
}

.policy-page__shell--content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(20rem, 38vw);
  height: min(16rem, 32vw);
  background: radial-gradient(circle, rgba(180, 148, 95, 0.1), transparent 72%);
  pointer-events: none;
}

.policy-document {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(111, 29, 42, 0.11);
  border-radius: 1.8rem;
  background: rgba(255, 250, 243, 0.8);
}

.policy-document__header {
  display: grid;
  gap: 0.85rem;
}

.policy-document__header h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: var(--maroon-deep);
}

.policy-document__lead {
  margin: 0;
  max-width: 62rem;
  line-height: 1.82;
  color: rgba(43, 38, 33, 0.9);
}

.policy-document__context-link {
  margin: 0;
}

.policy-document__context-link a {
  color: var(--maroon);
  text-decoration: none;
}

.policy-document__context-link a:hover,
.policy-document__context-link a:focus-visible {
  color: var(--maroon-deep);
  text-shadow: 0 6px 18px rgba(111, 29, 42, 0.14);
}

.policy-document--index,
.policy-document--placeholder {
  gap: 1.2rem;
}

.policy-index {
  display: grid;
  gap: 1rem;
}

.policy-index__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(111, 29, 42, 0.08);
}

.policy-index__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.2;
}

.policy-index__title a {
  color: var(--maroon-deep);
  text-decoration: none;
}

.policy-index__title a:hover,
.policy-index__title a:focus-visible {
  color: var(--maroon);
}

.policy-index__description {
  margin: 0.45rem 0 0;
  max-width: 46rem;
  line-height: 1.75;
  color: rgba(43, 38, 33, 0.88);
}

.policy-index__status,
.policy-document__status {
  align-self: flex-start;
  color: rgba(111, 29, 42, 0.78);
  font-size: 0.92rem;
  line-height: 1.4;
}

.policy-document__section + .policy-document__section {
  padding-top: 1.45rem;
  border-top: 1px solid rgba(111, 29, 42, 0.08);
}

.policy-document__section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.14;
  color: var(--maroon-deep);
}

.policy-document__section p {
  margin: 0.95rem 0 0;
  max-width: 64rem;
  line-height: 1.85;
  color: rgba(43, 38, 33, 0.9);
}

.policy-document__subsection + .policy-document__subsection {
  margin-top: 1.45rem;
}

.policy-document__subsection h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(111, 29, 42, 0.86);
}

.policy-document__principles {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: rgba(43, 38, 33, 0.9);
}

.policy-document__principles li + li {
  margin-top: 0.5rem;
}

.policy-document__principles--compact {
  margin-top: 0.85rem;
}

@media (max-width: 980px) {
  html,
  html.guided-scroll-enabled {
    scroll-snap-type: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero__visual {
    order: -1;
    min-height: 24.5rem;
  }

  .hero__rays {
    inset: 6% -6% -4%;
  }

  .academic-panel {
    grid-template-columns: 1fr;
  }

  .academic-panel__visual {
    min-height: 12rem;
    border-right: 0;
    border-bottom: 1px solid rgba(180, 148, 95, 0.18);
  }

  .academic-panel__axis {
    top: 50%;
    bottom: auto;
    left: 1rem;
    right: 1rem;
    width: auto;
    height: 1px;
  }

  .academic-panel__node {
    top: calc(50% - 0.45rem);
  }

  .academic-panel__node--one {
    left: 2.2rem;
  }

  .academic-panel__node--two {
    left: calc(50% - 0.45rem);
  }

  .academic-panel {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.82fr);
    gap: 1.2rem;
  }

  .academic-panel__visual {
    width: min(100%, 20rem);
  }

  .academic-panel__image {
    height: clamp(12rem, 28vw, 14.8rem);
  }

  .journey-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .journey-track__connector {
    height: 2.6rem;
  }

  .journey-track__connector::before {
    inset: 50% 8% auto;
  }

  .journey-track__connector::after {
    left: 22%;
    right: 22%;
  }

  .resources-stage {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.9fr);
    gap: 1.15rem;
  }

  .resources-stage__visual {
    width: min(100%, 21rem);
  }

  .resources-stage__image {
    height: clamp(12.5rem, 30vw, 15rem);
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-action-grid,
  .admin-change-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem 1rem;
    padding: 0.72rem 0;
  }

  .site-header__panel {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.85rem 0 0.15rem;
    border-top: 1px solid rgba(111, 29, 42, 0.12);
  }

  .site-header__panel.is-open {
    display: flex;
  }

  .site-nav,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .brandmark {
    gap: 0.7rem;
  }

  .site-nav a,
  .login-link {
    padding: 0.35rem 0;
  }

  .language-switch {
    align-self: flex-start;
  }

  .hero {
    padding-bottom: 3.4rem;
  }

  .hero__inner {
    padding-top: 1.35rem;
  }

  .journey-track {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin-top: 2rem;
    position: relative;
  }

  .journey-track__connector {
    width: 3rem;
    min-height: 2.25rem;
    margin-left: 1.45rem;
    position: relative;
  }

  .journey-track__connector::before {
    inset: 0.15rem auto 0.15rem 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(180, 148, 95, 0.14), rgba(111, 29, 42, 0.24), rgba(180, 148, 95, 0.14));
  }

  .journey-track__connector::after {
    left: calc(50% - 0.7rem);
    right: auto;
    top: 18%;
    width: 1.4rem;
    height: 64%;
    border-top: 0;
    border-left: 1px solid rgba(180, 148, 95, 0.22);
    border-radius: 999px;
  }

  .journey-track[data-reveal] .journey-track__connector::before,
  .journey-track[data-reveal] .journey-track__connector::after {
    transform: scaleY(0.68);
    transform-origin: top center;
  }

  .journey-track.is-visible .journey-track__connector::before,
  .journey-track.is-visible .journey-track__connector::after {
    transform: scaleY(1);
  }

  .journey-step {
    min-height: 0;
    padding: 1.2rem 1rem 1.2rem 4.6rem;
    position: relative;
    gap: 0.6rem;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }

  .journey-step__topline {
    justify-content: flex-start;
  }

  .journey-step__badge,
  .journey-step__icon {
    position: absolute;
    left: 0.9rem;
  }

  .journey-step__badge {
    top: 1rem;
    width: 2.8rem;
    height: 2.8rem;
  }

  .journey-step__icon {
    top: 4.15rem;
    width: 2.45rem;
    height: 2.45rem;
    left: 1.08rem;
  }

  .journey-step h3 {
    max-width: 16ch;
  }

  .site-footer__grid,
  .site-footer__meta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__attribution-line {
    gap: 0.25rem;
  }

  .policy-page__hero {
    padding-top: 1.15rem;
  }

  .policy-page__nav {
    gap: 0.65rem 1rem;
  }

  .policy-document {
    border-radius: 1.3rem;
  }

  .policy-index__item {
    flex-direction: column;
  }

  .feature-card--reason h3 {
    max-width: 100%;
  }

  .role-summary {
    grid-template-columns: 1fr;
  }

  .student-register-stage {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.86fr);
    gap: 1.2rem;
  }

  .student-register-stage__visual {
    width: min(100%, 20rem);
  }

  .student-register-stage__visual img {
    height: clamp(13rem, 33vw, 16rem);
    object-position: center 26%;
  }

  .auth-form__grid {
    grid-template-columns: 1fr;
  }

  .admin-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-overview-grid {
    grid-template-columns: 1fr;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-record-row__main {
    flex-direction: column;
  }

  .admin-nav__logout {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --header-offset: 5rem;
  }

  .student-register-stage__visual img {
    height: clamp(11.75rem, 56vw, 14.2rem);
    object-position: center 22%;
  }

  .site-header__inner,
  .site-footer__inner,
  .hero__inner {
    width: min(100% - 1rem, 1180px);
  }

  .site-header__inner,
  .hero__inner {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero__visual {
    min-height: 20.5rem;
  }

  .learning-community-visual__image {
    height: clamp(12.25rem, 46vw, 15.75rem);
    object-position: center 33%;
  }

  .hero__page-orbit,
  .hero__notation {
    opacity: 0.55;
    transform: scale(0.82);
  }

  .hero__rays {
    inset: 10% -2% 0;
  }

  .hero__notation {
    width: 1rem;
    height: 1rem;
  }

  .hero__notation--top {
    margin-top: 5.32rem;
  }

  .hero__ray--one,
  .hero__ray--seven {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .hero__copy {
    font-size: 1rem;
  }

  .content-section {
    padding-bottom: 4rem;
  }

  .section-divider::before,
  .section-shell,
  .section-shell--narrow {
    width: min(100% - 1rem, 1180px);
  }

  .auth-page {
    width: min(100% - 1rem, 1180px);
    padding-bottom: 3.5rem;
  }

  .policy-page__shell {
    width: min(100% - 1rem, 1180px);
  }

  .auth-panel {
    padding: 1.4rem 1rem;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .resources-stage {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.35rem;
  }

  .resources-stage__visual {
    justify-self: stretch;
    width: 100%;
  }

  .resources-stage__image {
    height: clamp(12rem, 49vw, 15rem);
    object-position: center 36%;
  }

  .resource-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .academic-panel,
  .cta-panel,
  .journey-step,
  .info-card,
  .feature-card {
    padding: 1.25rem 1rem;
  }

  .philosophy-panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(15rem, 0.92fr);
    column-gap: 1.25rem;
    padding-left: 1.5rem;
  }

  .learning-community-visual {
    width: 100%;
  }

  .learning-community-visual__frame {
    width: 100%;
    margin-left: 0;
  }

  .learning-community-visual__image {
    height: clamp(12rem, 31vw, 15.5rem);
    object-position: center 35%;
  }

  .academic-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .academic-panel__visual {
    justify-self: stretch;
    width: 100%;
    order: 2;
  }

  .academic-panel__image {
    height: clamp(12.25rem, 43vw, 15rem);
    object-position: center 30%;
  }

  .journey-step {
    padding-left: 4.4rem;
  }

  .journey-step h3 {
    max-width: 100%;
  }

  .role-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .role-actions .button,
  .role-actions form,
  .role-actions form .button {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .student-register-stage {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.3rem;
  }

  .student-register-stage__visual {
    justify-self: stretch;
    width: 100%;
  }

  .student-register-stage__visual img {
    height: clamp(12.5rem, 44vw, 16rem);
    object-position: center 24%;
  }

  .philosophy-panel {
    grid-template-columns: 1fr;
    row-gap: 1.2rem;
  }

  .philosophy-heading,
  .philosophy-copy,
  .learning-community-visual {
    grid-column: auto;
  }

  .learning-community-visual {
    grid-row: auto;
    align-self: start;
    margin-top: 0.35rem;
  }

  .learning-community-visual__image {
    height: clamp(13rem, 44vw, 17rem);
    object-position: center 35%;
  }
}

.student-page {
  padding: clamp(1.2rem, 3vw, 2.2rem) 0 clamp(3rem, 6vw, 4.8rem);
}

.student-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}

.student-card {
  background: var(--surface-strong);
  border: 1px solid rgba(111, 29, 42, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.student-card--compact {
  padding: clamp(1.2rem, 2vw, 1.6rem);
}

.student-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 252, 247, 0.94);
  border: 1px solid rgba(111, 29, 42, 0.12);
  border-radius: calc(var(--radius-lg) + 0.1rem);
  box-shadow: 0 16px 30px rgba(53, 35, 24, 0.08);
}

.student-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.student-nav__link,
.student-nav__logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: rgba(255, 252, 247, 0.92);
  color: var(--charcoal);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.student-nav__link:hover,
.student-nav__logout-button:hover,
.student-nav__link:focus-visible,
.student-nav__logout-button:focus-visible {
  border-color: rgba(111, 29, 42, 0.28);
  box-shadow: 0 12px 24px rgba(53, 35, 24, 0.1);
  transform: translateY(-1px);
}

.student-nav__link.is-active {
  background: var(--maroon);
  color: var(--ivory);
  border-color: rgba(111, 29, 42, 0.72);
  box-shadow: 0 16px 28px rgba(93, 29, 42, 0.16);
}

.student-nav__logout {
  margin: 0;
}

.student-nav__logout-button {
  background: transparent;
}

.student-hero {
  padding: clamp(1.35rem, 2.8vw, 2.2rem);
  display: grid;
  gap: 1.3rem;
}

.student-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--maroon-deep);
}

.student-hero__body {
  margin: 0;
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(43, 38, 33, 0.9);
}

.student-hero__status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.student-identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.student-identity-pill {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid rgba(111, 29, 42, 0.1);
}

.student-identity-pill dt {
  margin: 0 0 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-soft);
}

.student-identity-pill dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--maroon-deep);
}

.student-section {
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
}

.student-learning-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(15rem, 0.78fr);
  align-items: start;
  gap: 1.2rem;
  margin-bottom: 1.25rem;
}

.student-learning-stage__copy {
  min-width: 0;
}

.student-learning-stage__thought {
  margin: 0.25rem 0 0;
  color: rgba(111, 29, 42, 0.88);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.55;
}

.student-learning-stage__visual {
  margin: 0;
  justify-self: end;
  width: min(100%, 20rem);
}

.student-learning-stage__image {
  display: block;
  width: 100%;
  height: clamp(12.5rem, 24vw, 16rem);
  object-fit: cover;
  object-position: center 30%;
  border-radius: calc(var(--radius-lg) - 0.08rem);
  border: 1px solid rgba(111, 29, 42, 0.12);
}

.section-heading--compact {
  margin-bottom: 1.2rem;
}

.student-empty-state,
.student-inline-note {
  margin: 0;
  color: rgba(43, 38, 33, 0.84);
  line-height: 1.75;
}

.student-highlight-grid,
.student-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.student-content-grid--notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.student-content-grid--metrics {
  margin-bottom: 1rem;
}

.student-highlight-card,
.student-content-card {
  display: grid;
  gap: 0.78rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(111, 29, 42, 0.1);
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 16px 28px rgba(53, 35, 24, 0.06);
}

.student-content-card--note-library,
.student-content-card--note-page {
  align-content: start;
}

.student-highlight-card__type,
.student-content-card__meta {
  margin: 0;
  color: var(--olive-soft);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.student-highlight-card h3,
.student-content-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.24;
  color: var(--maroon-deep);
}

.student-highlight-card p,
.student-content-card p {
  margin: 0;
  line-height: 1.72;
}

.student-content-card__date,
.student-content-card__hint {
  color: rgba(43, 38, 33, 0.82);
}

.student-note-card__context {
  color: rgba(43, 38, 33, 0.9);
}

.student-note-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.student-note-card__facts--stacked {
  grid-template-columns: 1fr;
}

.student-note-card__facts div {
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(111, 29, 42, 0.08);
  background: rgba(255, 252, 247, 0.85);
}

.student-note-card__facts dt {
  margin: 0 0 0.35rem;
  color: var(--olive-soft);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-note-card__facts dd {
  margin: 0;
  color: var(--maroon-deep);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.45;
}

.student-note-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.student-note-page-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.student-content-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.student-status-pill,
.student-verification-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(180, 148, 95, 0.16);
  border: 1px solid rgba(180, 148, 95, 0.26);
  color: var(--maroon-deep);
  font-size: 0.76rem;
  font-weight: 600;
}

.student-status-pill--soft {
  background: rgba(255, 252, 247, 0.92);
}

.student-status-pill--success {
  background: rgba(105, 112, 74, 0.12);
  border-color: rgba(105, 112, 74, 0.22);
}

.student-status-pill--alert {
  background: rgba(111, 29, 42, 0.1);
  border-color: rgba(111, 29, 42, 0.18);
}

.student-section__footer {
  margin-top: 1rem;
}

.student-section__footer--actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.student-subsection-heading {
  margin-top: 1.25rem;
}

.student-activity-list,
.student-profile-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.student-activity-list li,
.student-profile-list div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(111, 29, 42, 0.08);
}

.student-activity-list li:last-child,
.student-profile-list div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.student-profile-list dt {
  color: var(--olive-soft);
}

.student-profile-list dd {
  margin: 0;
  text-align: right;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  color: var(--maroon-deep);
}

.student-profile-list--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.student-preferences-form {
  display: grid;
  gap: 1rem;
}

.student-preferences-form select {
  width: 100%;
}

.student-preferences-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.student-topbar {
  display: flex;
  justify-content: flex-start;
}

.student-status-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.student-history-list {
  display: grid;
  gap: 1rem;
}

.student-history-card {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(111, 29, 42, 0.1);
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 16px 28px rgba(53, 35, 24, 0.06);
}

.student-history-card__amount {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.student-history-card__amount--positive {
  color: rgba(85, 101, 48, 0.98);
}

.student-history-card__amount--negative {
  color: var(--maroon-deep);
}

.student-history-card__amount--neutral {
  color: rgba(43, 38, 33, 0.84);
}

.student-history-card__sign {
  font-size: 0.95em;
}

.student-history-card__body {
  display: grid;
  gap: 0.6rem;
}

.student-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.student-payment-claim-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
}

.student-payment-qr-card,
.student-payment-claim-form {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(111, 29, 42, 0.1);
  background: rgba(255, 253, 249, 0.82);
}

.student-payment-qr-card__header,
.student-payment-qr-card__actions {
  display: grid;
  gap: 0.45rem;
}

.student-payment-qr-card__image {
  width: min(100%, 15rem);
  border-radius: 1.15rem;
  border: 1px solid rgba(111, 29, 42, 0.12);
  background: #fffdf9;
}

.admin-form-grid--claims {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notice-banner {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(111, 29, 42, 0.14);
}

.notice-banner--success {
  background: rgba(105, 112, 74, 0.12);
  color: var(--charcoal);
}

.notice-banner--error {
  background: rgba(111, 29, 42, 0.08);
  color: var(--maroon-deep);
}

.admin-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  margin-left: 0.45rem;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  background: rgba(111, 29, 42, 0.12);
  color: var(--maroon-deep);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

.admin-inline-alerts {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.admin-inline-alert {
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(111, 29, 42, 0.14);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 12px 28px rgba(68, 42, 28, 0.08);
}

.admin-inline-alert__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.admin-inline-alert__title {
  margin: 0;
  color: var(--maroon-deep);
  font-weight: 600;
}

.admin-inline-alert__copy {
  margin: 0;
  color: rgba(43, 38, 33, 0.84);
}

.admin-inline-alert__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-inline-alert__dismiss {
  border: 0;
  background: transparent;
  color: rgba(43, 38, 33, 0.72);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

@media (max-width: 980px) {
  .student-identity-grid,
  .student-highlight-grid,
  .student-content-grid,
  .student-content-grid--notes,
  .student-note-detail-grid,
  .student-note-page-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-profile-list--grid,
  .student-status-overview {
    grid-template-columns: 1fr;
  }

  .student-payment-claim-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-grid--claims {
    grid-template-columns: 1fr;
  }

  .student-learning-stage {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.74fr);
    gap: 1rem;
  }

  .student-learning-stage__visual {
    width: min(100%, 17rem);
  }

  .student-learning-stage__image {
    height: clamp(11.5rem, 28vw, 14rem);
  }

  .student-history-card {
    grid-template-columns: 1fr;
  }

  .student-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .student-nav__links {
    justify-content: flex-start;
  }

  .student-nav__logout,
  .student-nav__logout-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .admin-version-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-inline-alert__row {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-shell {
    width: min(100%, calc(100% - 1rem));
  }

  .student-learning-stage {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .student-learning-stage__visual {
    justify-self: stretch;
    width: 100%;
  }

  .student-learning-stage__image {
    height: clamp(12rem, 46vw, 15rem);
    object-position: center 26%;
  }

  .student-hero__status-row,
  .student-identity-grid,
  .student-highlight-grid,
  .student-content-grid,
  .student-content-grid--notes,
  .student-note-detail-grid,
  .student-note-page-list,
  .student-note-card__facts {
    grid-template-columns: 1fr;
  }

  .student-activity-list li,
  .student-profile-list div,
  .student-content-card__row,
  .student-preferences-form__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .student-profile-list dd {
    text-align: left;
    justify-content: flex-start;
  }

  .student-nav__link,
  .student-nav__logout-button {
    width: 100%;
  }

  .student-link-row {
    flex-direction: column;
  }

  .student-payment-qr-card__image {
    width: min(100%, 12rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__ray-glow {
    opacity: 0.6;
    transform: translate(-50%, 50%) scale(1);
    animation: none !important;
  }

  .hero__ray {
    opacity: var(--ray-rest-opacity, 0.42);
    animation: none !important;
  }

  .hero__notation {
    animation: none !important;
    opacity: 0 !important;
  }

  .hero__notation::before,
  .hero__notation::after {
    animation: none !important;
    opacity: 0 !important;
  }
}

@keyframes hero-ray-reveal {
  from {
    opacity: 0;
    transform: rotate(var(--ray-angle)) scaleX(0.14) translateY(0.15rem);
    filter: drop-shadow(0 0 0 rgba(215, 189, 128, 0));
  }

  to {
    opacity: var(--ray-rest-opacity, 0.44);
    transform: rotate(var(--ray-angle)) scaleX(1) translateY(0);
    filter: drop-shadow(0 0 0.8rem rgba(215, 189, 128, 0.26));
  }
}

@keyframes hero-ray-glow-reveal {
  from {
    opacity: 0;
    transform: translate(-50%, 50%) scale(0.72);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 50%) scale(1);
  }
}

@keyframes hero-ripple-ring {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.18);
  }

  12% {
    opacity: 0.44;
  }

  72% {
    opacity: 0.18;
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(12.4);
  }
}

@keyframes hero-ripple-core {
  from {
    opacity: 0;
    transform: scale(0.28);
  }

  10% {
    opacity: 0.54;
  }

  68% {
    opacity: 0.22;
  }

  to {
    opacity: 0;
    transform: scale(11.2);
  }
}

/* Public holding mode only: it does not alter the established homepage. */
.holding-page__main {
  overflow: hidden;
}

.holding-page .site-header__inner {
  grid-template-columns: minmax(0, 1fr) auto;
}

.holding-page .site-header__panel {
  justify-content: flex-end;
}

.holding-hero,
.holding-section,
.holding-close {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.holding-hero {
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.holding-hero::before {
  content: "";
  position: absolute;
  width: min(44rem, 72vw);
  height: min(44rem, 72vw);
  right: -12rem;
  top: -15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 148, 95, 0.18), rgba(180, 148, 95, 0.04) 48%, transparent 70%);
  pointer-events: none;
}

.holding-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.84fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.holding-hero__content {
  max-width: 43rem;
}

.holding-hero__eyebrow,
.holding-hero__status {
  margin: 0;
  color: var(--olive-soft);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.holding-hero h1,
.holding-section h2,
.holding-close h2 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--maroon-deep);
}

.holding-hero h1 {
  max-width: 13ch;
  margin-top: 1.1rem;
  font-size: clamp(2.55rem, 5.5vw, 5.3rem);
  line-height: 1.1;
}

.holding-hero__copy {
  max-width: 39rem;
  margin: 1.45rem 0 0;
  color: rgba(43, 38, 33, 0.96);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.9;
}

.holding-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.7rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line-gold);
}

.holding-hero__status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold-muted);
  box-shadow: 0 0 0 0.28rem rgba(180, 148, 95, 0.13);
}

.holding-hero__visual {
  position: relative;
  margin: 0;
  padding: clamp(0.55rem, 1.3vw, 0.9rem);
  border: 1px solid rgba(111, 29, 42, 0.34);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.52);
  box-shadow: 0 24px 55px rgba(76, 23, 32, 0.1);
}

.holding-hero__visual::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  z-index: -1;
  border: 1px solid rgba(180, 148, 95, 0.26);
  border-radius: var(--radius-lg);
}

.holding-hero__visual img {
  display: block;
  width: 100%;
  height: clamp(21rem, 35vw, 31rem);
  object-fit: cover;
  object-position: center 28%;
  border-radius: calc(var(--radius-lg) - 0.45rem);
}

.holding-section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  border-top: 1px solid var(--line-gold);
}

.holding-section__heading {
  width: min(43rem, 100%);
}

.holding-section__heading h2,
.holding-experience h2,
.holding-close h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4.1vw, 3.65rem);
  line-height: 1.18;
}

.holding-section__heading > p:last-child,
.holding-experience__content > p:last-child,
.holding-close p:last-child {
  margin: 1.15rem 0 0;
  color: rgba(43, 38, 33, 0.9);
  font-size: 1.03rem;
  line-height: 1.85;
}

.holding-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4.25rem);
}

.holding-benefit {
  min-height: 11rem;
  padding: 1.55rem;
  border: 1px solid rgba(111, 29, 42, 0.14);
  background: rgba(255, 252, 247, 0.56);
  box-shadow: 0 12px 28px rgba(53, 35, 24, 0.055);
}

.holding-benefit__index {
  display: block;
  color: var(--gold-muted);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.holding-benefit h3,
.holding-experience__list h3 {
  margin: 1.45rem 0 0;
  color: var(--maroon-deep);
  font-family: var(--font-serif);
  font-size: 1.26rem;
  line-height: 1.28;
}

.holding-benefit p,
.holding-experience__list p {
  margin: 0.65rem 0 0;
  color: rgba(43, 38, 33, 0.86);
  font-size: 0.94rem;
  line-height: 1.7;
}

.holding-section--experience {
  width: min(1280px, calc(100% - 2rem));
  border-bottom: 1px solid var(--line-gold);
}

.holding-experience {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.holding-experience__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-soft);
  border-left: 1px solid var(--border-soft);
}

.holding-experience__list li {
  min-height: 8.4rem;
  padding: 1.4rem;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.holding-experience__list h3 {
  margin-top: 0;
  font-size: 1.12rem;
}

.holding-close {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  text-align: center;
}

.holding-close__inner {
  width: min(47rem, 100%);
  margin: 0 auto;
}

.holding-close h2 {
  max-width: 16ch;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 860px) {
  .holding-hero__inner,
  .holding-experience {
    grid-template-columns: 1fr;
  }

  .holding-hero__content {
    max-width: 42rem;
  }

  .holding-hero__visual {
    width: min(39rem, calc(100% - 1.2rem));
    justify-self: center;
  }

  .holding-hero__visual img {
    height: clamp(17rem, 54vw, 27rem);
    object-position: center 30%;
  }

  .holding-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .holding-page .site-header__inner {
    width: min(100% - 1rem, 40rem);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
  }

  .holding-page .site-header__panel {
    display: flex;
  }

  .holding-page .brandmark {
    gap: 0.58rem;
    min-width: 0;
  }

  .holding-page .brandmark__icon {
    width: 2.15rem;
  }

  .holding-page .brandmark__bangla {
    font-size: 1.34rem;
    line-height: 1.08;
    white-space: nowrap;
  }

  .holding-page .brandmark__english {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .holding-page .language-switch__option {
    padding-right: 0.58rem;
    padding-left: 0.58rem;
  }

  .holding-hero,
  .holding-section,
  .holding-close {
    width: min(100% - 1.5rem, 40rem);
  }

  .holding-hero {
    padding-top: 2.7rem;
  }

  .holding-hero h1 {
    max-width: none;
    font-size: clamp(2.32rem, 11vw, 3.5rem);
  }

  .holding-hero__copy {
    line-height: 1.78;
  }

  .holding-benefits-grid,
  .holding-experience__list {
    grid-template-columns: 1fr;
  }

  .holding-benefit {
    min-height: auto;
  }

  .holding-experience__list li {
    min-height: auto;
  }
}
