/* ==========================================================================
   BNA Portal — Brand experience layer
   Believers aubergine identity, living coral accents, editorial motion.
   Loaded after the base system so every section inherits the new language.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Brand surfaces & typography
   -------------------------------------------------------------------------- */

body {
  background:
    radial-gradient(1200px 600px at 100% -8%, rgba(108, 76, 224, 0.055), transparent 60%),
    var(--paper);
}

main {
  overflow: clip;
}

::selection {
  background: var(--lime-500);
  color: var(--ink-950);
}

:focus-visible {
  outline-color: rgba(255, 101, 74, 0.85);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--leaf-500), var(--forest-900));
}

.section-title {
  letter-spacing: -0.018em;
}

.section-title em {
  position: relative;
  color: var(--leaf-600);
  font-style: italic;
}

.section-title em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -0.08em;
  z-index: -1;
  height: 0.19em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 101, 74, 0.32), rgba(242, 181, 68, 0.2) 60%, transparent);
  transform: rotate(-0.6deg);
}

.section--dark .section-title em::after,
.section--ink .section-title em::after,
.hero .section-title em::after {
  background: linear-gradient(90deg, rgba(255, 101, 74, 0.4), rgba(242, 181, 68, 0.26) 60%, transparent);
}

.section--dark,
.section--ink {
  background-color: var(--forest-900);
}

.section--dark h2,
.section--dark h3,
.section--ink h2,
.section--ink h3 {
  text-wrap: balance;
}

.section--dark .eyebrow,
.section--ink .eyebrow {
  color: var(--lime-400);
}

.section--paper {
  background: var(--paper);
}

.section--bone {
  background: var(--bone);
}

.tag {
  border-color: rgba(47, 35, 75, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest-800);
}

.tag .icon {
  color: var(--leaf-500);
}

.tag--lime {
  background: var(--lime-500);
  color: var(--ink-950);
  box-shadow: 0 8px 18px -12px rgba(255, 101, 74, 0.9);
}

.tag--dark {
  background: var(--forest-900);
  color: var(--white);
}

.tag--terra {
  background: var(--terra-500);
  color: var(--ink-950);
}

.tag--glass {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}

.btn--primary {
  background: var(--lime-500);
  color: var(--ink-950);
  box-shadow: 0 16px 34px -18px rgba(255, 101, 74, 0.92);
}

.btn--primary:hover {
  background: #ff7b63;
}

.btn--dark {
  background: var(--forest-900);
  color: var(--white);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.62);
}

.btn--outline:hover {
  border-color: var(--leaf-500);
  background: var(--white);
}

.btn--ghost:hover {
  background: rgba(108, 76, 224, 0.08);
}

.eyebrow {
  color: var(--leaf-600);
}

.eyebrow__dot {
  background: var(--lime-500);
  box-shadow: 0 0 0 4px rgba(255, 101, 74, 0.14);
  animation: brandPulse 2.6s ease-in-out infinite;
}

@keyframes brandPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 101, 74, 0.4); }
  55% { box-shadow: 0 0 0 8px rgba(255, 101, 74, 0); }
}

.icon-tile {
  background: linear-gradient(145deg, var(--lime-100), rgba(255, 255, 255, 0.82));
  color: var(--forest-800);
}

.icon-tile--terra {
  background: linear-gradient(145deg, var(--terra-200), #fff8f4);
  color: var(--terra-600);
}

.icon-tile--sky {
  background: linear-gradient(145deg, var(--sky-100), #fdfbf7);
  color: var(--sky-500);
}

/* --------------------------------------------------------------------------
   2. Chrome — announcement, header, progress, dock
   -------------------------------------------------------------------------- */

.scroll-progress__bar {
  background: linear-gradient(90deg, var(--lime-500), var(--terra-500) 48%, var(--leaf-500));
  box-shadow: 0 0 18px rgba(255, 101, 74, 0.55);
}

.announce {
  background:
    radial-gradient(circle at 16% 120%, rgba(108, 76, 224, 0.3), transparent 44%),
    var(--ink-950);
  color: rgba(255, 255, 255, 0.68);
}

.announce__badge {
  background: var(--lime-500);
  color: var(--ink-950);
}

.announce__badge .dot {
  background: var(--ink-950);
}

.announce__text strong {
  color: #fff;
}

.announce__link .icon {
  color: var(--lime-400);
}

.announce__link:hover {
  color: var(--lime-400);
}

.announce__countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.announce__countdown .icon {
  width: 12px;
  height: 12px;
  color: var(--lime-400);
}

.sound-toggle:hover {
  border-color: rgba(255, 101, 74, 0.5);
}

.sound-toggle .icon {
  color: var(--lime-400);
}

.site-header {
  background: rgba(251, 247, 240, 0.86);
}

.site-header.is-scrolled {
  background: rgba(251, 247, 240, 0.96);
  box-shadow: 0 18px 44px -38px rgba(23, 15, 38, 0.65);
}

.brand__logo {
  width: 180px;
  filter: drop-shadow(0 8px 16px rgba(47, 35, 75, 0.08));
}

.main-nav a::after {
  background: var(--lime-500);
}

.main-nav a:hover {
  background: rgba(108, 76, 224, 0.07);
}

.main-nav a.nav-highlight {
  background: var(--lime-100);
  color: var(--forest-900);
}

.menu-toggle {
  background: var(--paper);
}

.mobile-drawer a:hover {
  background: var(--bone);
}

.mobile-drawer .btn {
  color: var(--ink-950);
}

.mobile-drawer__meta .icon {
  color: var(--leaf-500);
}

.to-top {
  background: var(--paper);
  color: var(--forest-900);
}

.to-top__ring .progress {
  stroke: var(--lime-500);
}

.mobile-dock {
  border-color: rgba(47, 35, 75, 0.1);
  background: rgba(251, 247, 240, 0.94);
}

.mobile-dock a.is-active,
.mobile-dock a:hover {
  background: var(--lime-100);
  color: var(--forest-900);
}

.mobile-dock a.dock-cta {
  background: var(--forest-900);
}

.mobile-dock a.dock-cta:hover {
  background: var(--leaf-500);
}

/* --------------------------------------------------------------------------
   3. Hero — living orbit, editorial type, glass OMR console
   -------------------------------------------------------------------------- */

.hero {
  --pointer-x: 50%;
  --pointer-y: 35%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 4.5vw, 4.5rem) 0 clamp(3.5rem, 5.5vw, 5.5rem);
  background:
    radial-gradient(900px 620px at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.72), transparent 60%),
    radial-gradient(circle at 8% 18%, rgba(255, 101, 74, 0.13), transparent 32%),
    radial-gradient(circle at 92% 26%, rgba(108, 76, 224, 0.14), transparent 38%),
    linear-gradient(180deg, #f8f1e6 0%, var(--paper) 55%, #f8f1e6 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(47, 35, 75, 0.14) 1px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 48% 38%, #000 8%, transparent 68%);
  mask-image: radial-gradient(ellipse at 48% 38%, #000 8%, transparent 68%);
  opacity: 0.4;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -280px;
  right: -220px;
  z-index: -1;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(108, 76, 224, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 50px rgba(108, 76, 224, 0.025),
    0 0 0 100px rgba(255, 101, 74, 0.018);
  pointer-events: none;
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.75;
  animation: blobDrift 16s ease-in-out infinite;
}

.hero__blob--violet {
  top: 12%;
  right: 4%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 42% 38%, rgba(108, 76, 224, 0.26), rgba(108, 76, 224, 0) 68%);
}

.hero__blob--coral {
  left: -8%;
  bottom: 4%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 55% 45%, rgba(255, 101, 74, 0.18), rgba(255, 101, 74, 0) 70%);
  animation-delay: -6s;
}

.hero__blob--gold {
  top: 44%;
  left: 46%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(242, 181, 68, 0.18), rgba(242, 181, 68, 0) 70%);
  animation-delay: -11s;
}

@keyframes blobDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(26px, -30px, 0) scale(1.08); }
}

.hero__orbit {
  position: absolute;
  top: 50%;
  right: -260px;
  width: min(1000px, 92vw);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.8;
}

.hero__orbit-ring {
  transform-box: fill-box;
  transform-origin: center;
}

.hero__orbit-ring--one {
  animation: spinSlow 90s linear infinite;
}

.hero__orbit-ring--two {
  animation: spinReverse 120s linear infinite;
}

.hero__orbit-ring--three {
  animation: spinSlow 60s linear infinite;
}

.hero__petals {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinSlow 150s linear infinite;
}

.hero__orbit-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinSlow 28s linear infinite;
  filter: drop-shadow(0 0 10px rgba(255, 101, 74, 0.55));
}

.hero__sparkles {
  animation: floatY 9s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.hero__ecg {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: heroEcg 7s 1.2s var(--ease-out) infinite;
}

@keyframes heroEcg {
  0% { stroke-dashoffset: 900; opacity: 0; }
  8% { opacity: 1; }
  45%, 70% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(47, 35, 75, 0.22) 0.55px, transparent 0.65px);
  background-size: 5px 5px;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

.hero__kicker-mark {
  position: absolute;
  top: clamp(2.6rem, 6vw, 6rem);
  left: max(18px, calc(50vw - 620px - 26px));
  display: none;
  color: var(--lime-500);
  animation: floatY 7s ease-in-out infinite;
}

.hero__kicker-mark svg {
  width: 28px;
  height: 28px;
}

.hero__grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
}

.hero__copy {
  gap: 20px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--leaf-600);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 0.9rem + 0.65vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.hero__kicker::after {
  content: "";
  width: clamp(34px, 7vw, 90px);
  height: 1px;
  background: linear-gradient(90deg, var(--leaf-500), transparent);
}

.hero__eyebrow {
  border-color: rgba(47, 35, 75, 0.12);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 22px -18px rgba(23, 15, 38, 0.5);
  color: var(--forest-800);
  animation: heroRise 0.8s 0.1s var(--ease-out) both;
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.85rem, 1.1rem + 5vw, 5.35rem);
  line-height: 1.13;
  letter-spacing: -0.03em;
  animation: heroRise 0.9s 0.18s var(--ease-out) both;
}

.hero h1 .accent {
  color: var(--leaf-600);
}

.hero h1 .accent svg {
  color: var(--lime-500);
  height: 0.22em;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.4));
}

.hero h1 .accent svg path {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: heroUnderline 1.2s 0.75s var(--ease-out) forwards;
}

@keyframes heroUnderline {
  to { stroke-dashoffset: 0; }
}

.hero__lede {
  animation: heroRise 0.9s 0.28s var(--ease-out) both;
}

.hero__lede strong {
  color: var(--forest-800);
}

.hero__actions {
  animation: heroRise 0.9s 0.36s var(--ease-out) both;
}

.hero__actions .btn--primary {
  position: relative;
  overflow: hidden;
}

.hero__actions .btn--primary::after {
  content: "";
  position: absolute;
  inset: -30% -60%;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%) skewX(-16deg);
  animation: heroShine 4.8s 1.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroShine {
  0%, 55% { transform: translateX(-120%) skewX(-16deg); }
  75%, 100% { transform: translateX(120%) skewX(-16deg); }
}

.hero__chips {
  animation: heroRise 0.9s 0.44s var(--ease-out) both;
}

.hero__trust,
.hero__stats {
  animation: heroRise 0.9s 0.52s var(--ease-out) both;
}

.hero__trust {
  color: var(--muted);
}

.hero__stats {
  border-top-color: rgba(47, 35, 75, 0.12);
}

.hero__stats .stat__num {
  color: var(--forest-900);
}

.hero__stats .suffix {
  color: var(--lime-500);
}

.hero__stats .stat__label {
  color: var(--muted);
}

@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* Rotating admission stamp */
.hero__stamp {
  position: absolute;
  top: -58px;
  right: 0;
  z-index: 5;
  pointer-events: none;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow:
    0 18px 36px -20px rgba(23, 15, 38, 0.5),
    inset 0 0 0 1px rgba(47, 35, 75, 0.08);
  animation: stampIn 1s 0.65s var(--ease-spring) both;
}

.hero__stamp-ring {
  position: absolute;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  animation: spinSlow 22s linear infinite;
}

.hero__stamp-ring text {
  fill: var(--forest-800);
  font-family: var(--font-latin);
  font-size: 7.6px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__stamp-core {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.22), transparent 40%),
    var(--forest-900);
  box-shadow: 0 8px 16px -8px rgba(23, 15, 38, 0.55);
}

.hero__stamp-core img {
  width: 32px;
  height: 35px;
}

@keyframes stampIn {
  from { opacity: 0; transform: scale(0.6) rotate(-25deg); }
  to { opacity: 1; transform: none; }
}

.hero__seats {
  position: absolute;
  right: 4%;
  bottom: 10px;
  z-index: 3;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 101, 74, 0.24);
  border-radius: var(--r-pill);
  background: rgba(255, 246, 242, 0.92);
  color: var(--terra-600);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px -20px rgba(255, 101, 74, 0.8);
  backdrop-filter: blur(10px);
}

.hero__seats .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-500);
  animation: brandPulse 2.2s ease-in-out infinite;
}

.hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 0.2s ease;
}

.hero__scroll-cue:hover {
  color: var(--leaf-600);
}

.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 32px;
  overflow: hidden;
  background: rgba(47, 35, 75, 0.15);
}

.hero__scroll-line span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--lime-500);
  animation: scrollCue 2.2s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { transform: translateY(-14px); }
  70%, 100% { transform: translateY(34px); }
}

/* Console — purple glass lab */
.hero__visual {
  position: relative;
  min-height: 590px;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(47, 35, 75, 0.16), transparent 66%);
  filter: blur(28px);
}

.hero__console-wrap {
  width: min(100%, 530px);
  animation: consoleIn 1.1s 0.4s var(--ease-out) both;
}

@keyframes consoleIn {
  from { opacity: 0; transform: translate3d(0, 36px, 0) rotateY(-6deg) rotateX(3deg); }
  to { opacity: 1; transform: none; }
}

.console {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 101, 74, 0.14), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(108, 76, 224, 0.28), transparent 44%),
    linear-gradient(155deg, #4a3474 0%, #2f234b 48%, #170f26 100%);
  box-shadow:
    0 60px 110px -56px rgba(23, 15, 38, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.25s ease-out;
}

.console::after {
  background: linear-gradient(180deg, transparent 55%, rgba(23, 15, 38, 0.5));
}

.console__mark {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.console__mark img {
  width: 20px;
  height: 22px;
  object-fit: contain;
}

.console__eyebrow,
.console__live,
.console__caption,
.console__panel-note,
.console__hint,
.hud-modes {
  color: rgba(255, 255, 255, 0.48);
}

.console__eyebrow .dot,
.console__live .dot {
  background: var(--lime-400);
  box-shadow: 0 0 10px rgba(255, 101, 74, 0.6);
}

.console__live {
  border-color: rgba(255, 101, 74, 0.3);
  background: rgba(255, 101, 74, 0.1);
  color: #ffc0b3;
}

.console__tabs {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.24);
}

.console__tab {
  color: rgba(255, 255, 255, 0.52);
}

.console__tab.is-active,
.console__tab[aria-selected="true"] {
  background: rgba(255, 101, 74, 0.14);
  color: #ffd0c6;
  box-shadow: inset 0 0 0 1px rgba(255, 101, 74, 0.18);
}

.console__tab:hover {
  color: #fff;
}

.console__rings span {
  border-color: rgba(255, 255, 255, 0.14);
}

.console__rings span:nth-child(1)::before {
  background: var(--lime-400);
  box-shadow: 0 0 14px rgba(255, 101, 74, 0.8);
}

.console__rings span:nth-child(2)::before {
  background: var(--terra-500);
  box-shadow: 0 0 14px rgba(242, 181, 68, 0.8);
}

.console__rings span:nth-child(3)::before {
  background: var(--leaf-400);
  box-shadow: 0 0 14px rgba(138, 106, 219, 0.8);
}

.console__scan {
  background: linear-gradient(180deg, transparent, rgba(255, 101, 74, 0.09), transparent);
}

.console__caption,
.console__panel-note {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(23, 15, 38, 0.48);
}

.console__caption strong,
.console__panel-note strong {
  color: #ffd0c6;
}

.console__metric {
  background: rgba(255, 255, 255, 0.045);
}

.console__metric strong em {
  color: var(--lime-400);
}

.console__hint {
  background: rgba(255, 101, 74, 0.08);
}

.console__hint .icon {
  color: var(--lime-400);
}

.hud-modes__btn.is-active {
  border-color: var(--lime-500);
  background: var(--lime-500);
  color: var(--ink-950);
  box-shadow: 0 0 18px rgba(255, 101, 74, 0.3);
}

.console__replay {
  border-color: rgba(255, 101, 74, 0.3);
  background: rgba(255, 101, 74, 0.1);
  color: #ffc0b3;
}

.console__replay:hover {
  border-color: rgba(255, 101, 74, 0.6);
  background: rgba(255, 101, 74, 0.18);
}

.hero-float {
  border-color: rgba(47, 35, 75, 0.1);
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 24px 50px -28px rgba(23, 15, 38, 0.55);
  pointer-events: none;
}

.hero-float__icon {
  background: var(--lime-100);
  color: var(--terra-600);
}

.hero-float__icon--coral {
  background: rgba(108, 76, 224, 0.12);
  color: var(--leaf-600);
}

.hero-float strong {
  color: var(--forest-900);
}

.hero-float span {
  color: var(--muted-2);
}

.hero-float--tl {
  top: -18px;
  left: -20%;
}

.hero-float--br {
  top: auto;
  right: -5%;
  bottom: 10%;
}

/* --------------------------------------------------------------------------
   4. Marquee
   -------------------------------------------------------------------------- */

.trust {
  border-color: transparent;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 101, 74, 0.16), transparent 26%),
    linear-gradient(90deg, #241a3d, #2f234b 45%, #241a3d);
  color: rgba(255, 255, 255, 0.72);
}

.trust::before {
  background: linear-gradient(90deg, #241a3d, transparent);
}

.trust::after {
  background: linear-gradient(-90deg, #241a3d, transparent);
}

.marquee__item {
  color: rgba(255, 255, 255, 0.78);
}

.marquee__item .icon {
  color: var(--lime-400);
}

.marquee__dot {
  background: var(--terra-500);
  box-shadow: 0 0 10px rgba(242, 181, 68, 0.65);
}

/* --------------------------------------------------------------------------
   5. About
   -------------------------------------------------------------------------- */

.about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 90%, rgba(255, 101, 74, 0.08), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(108, 76, 224, 0.08), transparent 34%),
    var(--paper);
}

.about::before {
  content: "ABOUT";
  position: absolute;
  top: 6%;
  left: -2%;
  color: transparent;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 17vw, 14rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  opacity: 0.55;
  -webkit-text-stroke: 1px rgba(47, 35, 75, 0.08);
  pointer-events: none;
  user-select: none;
}

.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2.5rem, 5.5vw, 6rem);
}

.about__collage {
  position: relative;
  min-height: 520px;
}

.about__orbit {
  position: absolute;
  inset: 2% -6% 0 -7%;
  color: var(--leaf-500);
  pointer-events: none;
}

.about__orbit svg {
  width: 100%;
  height: 100%;
  animation: spinSlow 80s linear infinite;
}

.about__photo {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  background: var(--bone);
  box-shadow: 0 40px 70px -44px rgba(23, 15, 38, 0.6);
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.about__collage:hover .about__photo img {
  transform: scale(1.045);
}

.about__photo--main {
  top: 0;
  left: 8%;
  width: 66%;
  height: 78%;
  border: 8px solid var(--white);
  transform: rotate(-2.4deg);
}

.about__photo--main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(47, 35, 75, 0.45));
}

.about__photo--small {
  right: 0;
  bottom: 2%;
  width: 40%;
  height: 42%;
  border: 6px solid var(--white);
  transform: rotate(3.2deg);
}

.about__photo-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
}

.about__photo-tag .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime-400);
}

.about__seal {
  position: absolute;
  left: 0;
  top: 39%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--forest-900);
  color: var(--white);
  box-shadow: 0 20px 32px -20px rgba(23, 15, 38, 0.6);
  transform: rotate(-3deg);
  animation: floatY 8s ease-in-out infinite;
}

.about__seal img {
  width: 26px;
  height: 28px;
}

.about__seal span {
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.about__seal span strong {
  display: block;
  color: var(--lime-400);
  font-size: 10px;
}

.about__sticker {
  position: absolute;
  right: 2%;
  top: 4%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--lime-500);
  color: var(--ink-950);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  transform: rotate(8deg);
  box-shadow: 0 18px 30px -18px rgba(255, 101, 74, 0.9);
}

.about__sticker strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
}

.about__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.about__quote {
  position: relative;
  margin: 4px 0 0;
  padding: 18px 20px 18px 42px;
  border-left: 3px solid var(--lime-500);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.6);
}

.about__quote > .icon {
  position: absolute;
  top: 18px;
  left: 16px;
  width: 16px;
  height: 12px;
  color: var(--lime-500);
  opacity: 0.8;
}

.about__quote p {
  color: var(--forest-800);
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  font-style: italic;
  line-height: 1.7;
}

.about__quote footer {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about__stats > div {
  padding: 0 18px;
  border-left: 1px solid var(--line);
}

.about__stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.about__stats strong {
  display: block;
  color: var(--leaf-600);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
}

.about__stats sup {
  color: var(--lime-500);
  font-size: 0.5em;
  vertical-align: super;
}

.about__stats span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}

.about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   6. Shared section flourishes
   -------------------------------------------------------------------------- */

.eligibility {
  background:
    radial-gradient(circle at 90% 16%, rgba(255, 101, 74, 0.1), transparent 30%),
    radial-gradient(circle at 4% 66%, rgba(108, 76, 224, 0.08), transparent 30%),
    var(--paper);
}

.formula-card {
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 101, 74, 0.24), transparent 36%),
    linear-gradient(145deg, #43306f, #170f26);
}

.calc-card {
  border-color: rgba(47, 35, 75, 0.12);
  box-shadow: 0 36px 80px -50px rgba(23, 15, 38, 0.6);
}

.calc-card__status {
  color: var(--sky-500);
}

.gauge {
  margin-bottom: 28px;
  background: radial-gradient(circle at 50% 40%, rgba(47, 35, 75, 0.16), transparent 66%);
}

.gauge-panel {
  padding-bottom: 30px;
}

.gauge__readout {
  bottom: -22px;
}

.gauge__score {
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  color: var(--lime-300);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--lime-500);
  box-shadow: 0 0 0 4px rgba(255, 101, 74, 0.12);
}

.field__hint {
  color: var(--muted-2);
}

.req {
  color: var(--lime-500);
}

/* --------------------------------------------------------------------------
   7. Exam blueprint
   -------------------------------------------------------------------------- */

.exam {
  background:
    radial-gradient(circle at 6% 6%, rgba(255, 101, 74, 0.18), transparent 28%),
    radial-gradient(circle at 92% 84%, rgba(108, 76, 224, 0.24), transparent 42%),
    linear-gradient(155deg, #2f234b 0%, #241a3d 54%, #170f26 100%);
}

.exam--ecg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='120' viewBox='0 0 600 120'%3E%3Cpath d='M0 76h90l14-22 16 54 20-94 24 126 20-88 18 44h278' fill='none' stroke='%23ff654a' stroke-opacity='.22' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 600px 120px;
  opacity: 0.7;
  pointer-events: none;
}

.fact-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.fact-card::after {
  border-color: rgba(255, 255, 255, 0.1);
}

.fact-card__num {
  color: var(--lime-400);
}

.blueprint {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 101, 74, 0.08), transparent 30%),
    var(--paper);
}

.blueprint__kicker {
  color: var(--leaf-600);
}

.blueprint .tabs,
.section--dark .blueprint .tabs,
.section--ink .blueprint .tabs {
  border-color: var(--line);
  background: var(--bone);
}

.blueprint .tab,
.section--dark .blueprint .tab,
.section--ink .blueprint .tab {
  color: var(--muted);
}

.blueprint .tab[aria-selected="true"],
.blueprint .tab.is-active,
.section--dark .blueprint .tab[aria-selected="true"],
.section--ink .blueprint .tab[aria-selected="true"] {
  background: var(--forest-900);
  color: var(--white);
  box-shadow: 0 8px 18px -12px rgba(23, 15, 38, 0.5);
}

.blueprint__note {
  border-color: rgba(47, 35, 75, 0.1);
  background: rgba(108, 76, 224, 0.06);
  color: var(--muted);
}

.blueprint__target {
  width: 100%;
  max-width: 360px;
  margin-top: auto;
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 101, 74, 0.24), transparent 38%),
    linear-gradient(150deg, #43306f, #170f26);
  color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 24px 50px -34px rgba(23, 15, 38, 0.65);
}

.blueprint__target-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.blueprint__target-top span {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.blueprint__target-top strong {
  color: var(--lime-300);
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 0.9;
}

.blueprint__target-top sup {
  color: var(--lime-500);
  font-size: 0.5em;
}

.blueprint__target-bar {
  height: 7px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
}

.blueprint__target-bar span {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime-500), var(--terra-500));
  box-shadow: 0 0 14px rgba(255, 101, 74, 0.4);
}

.blueprint__target-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.blueprint__target p {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 10.5px;
  line-height: 1.6;
}

.donut circle[fill="#ffffff"] {
  fill: #fff;
}

/* --------------------------------------------------------------------------
   8. Methodology
   -------------------------------------------------------------------------- */

.method {
  background:
    radial-gradient(circle at 12% 88%, rgba(255, 101, 74, 0.1), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(108, 76, 224, 0.08), transparent 32%),
    var(--paper);
}

.method-banner {
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 101, 74, 0.28), transparent 40%),
    radial-gradient(circle at 8% 90%, rgba(108, 76, 224, 0.3), transparent 40%),
    linear-gradient(145deg, #43306f, #170f26);
}

.method-banner h3 em {
  color: var(--lime-400);
}

.method-banner__meta {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.method-card--dark {
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 101, 74, 0.22), transparent 38%),
    linear-gradient(150deg, #43306f, #170f26);
}

.method-card--lime {
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.4), transparent 38%),
    linear-gradient(150deg, #ffe0d9, #fff3ef);
}

.method-card--lime .method-card__icon {
  border-color: rgba(255, 101, 74, 0.18);
}

.method-card__icon {
  background: linear-gradient(145deg, rgba(108, 76, 224, 0.08), var(--white));
}

/* --------------------------------------------------------------------------
   9. Courses
   -------------------------------------------------------------------------- */

.courses {
  background:
    radial-gradient(circle at 92% 18%, rgba(242, 181, 68, 0.1), transparent 30%),
    radial-gradient(circle at 6% 86%, rgba(108, 76, 224, 0.08), transparent 28%),
    linear-gradient(180deg, var(--bone), #f1eaf8);
}

.course-promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.course-promise {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 35, 75, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
}

.course-promise__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--lime-100);
  color: var(--terra-600);
}

.course-promise__icon--violet {
  background: rgba(108, 76, 224, 0.1);
  color: var(--leaf-600);
}

.course-promise__icon--gold {
  background: var(--terra-200);
  color: var(--terra-600);
}

.course-promise__icon .icon {
  width: 17px;
  height: 17px;
}

.course-promise strong {
  display: block;
  color: var(--forest-900);
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.course-promise div span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.course-card {
  border-color: rgba(47, 35, 75, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.course-card--featured {
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 101, 74, 0.28), transparent 40%),
    radial-gradient(circle at 10% 100%, rgba(108, 76, 224, 0.24), transparent 36%),
    linear-gradient(155deg, #43306f, #170f26);
}

.course-card__price {
  color: var(--forest-900);
}

.course-card--featured .course-card__price {
  color: #ffcdc2;
}

.course-card__installment {
  color: var(--leaf-600);
}

.course-card--featured .course-card__installment {
  color: var(--lime-400);
}

.course-card__list .icon {
  color: var(--leaf-500);
}

.course-card--featured .course-card__list .icon {
  color: var(--lime-400);
}

.course-card__art {
  opacity: 0.35;
}

.course-card--featured .course-card__art {
  opacity: 0.28;
  filter: brightness(1.5) saturate(0.95);
}

.crash-panel {
  border-color: rgba(47, 35, 75, 0.1);
  background: rgba(255, 255, 255, 0.55);
}

.crash-card {
  border-color: rgba(47, 35, 75, 0.1);
  background: var(--white);
}

.crash-card__tag {
  color: #8a5410;
}

.crash-card:nth-child(2) .crash-card__tag {
  color: var(--leaf-600);
}

.crash-card:nth-child(3) .crash-card__tag {
  color: #1f6f67;
}

.crash-card__price {
  color: var(--leaf-600);
}

.course-perks .tag {
  background: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   10. Free library
   -------------------------------------------------------------------------- */

.library {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(242, 181, 68, 0.12), transparent 28%),
    radial-gradient(circle at 4% 90%, rgba(108, 76, 224, 0.12), transparent 32%),
    linear-gradient(180deg, var(--paper), #f3ecfa);
}

.library::before {
  content: "LIBRARY";
  position: absolute;
  top: 3%;
  right: -2%;
  color: transparent;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  opacity: 0.5;
  -webkit-text-stroke: 1px rgba(47, 35, 75, 0.07);
  pointer-events: none;
  user-select: none;
}

.library .container {
  position: relative;
  z-index: 1;
}

.library__free {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 101, 74, 0.22);
  border-radius: var(--r-pill);
  background: var(--lime-100);
  color: var(--forest-900);
  font-size: 11px;
  font-weight: 700;
}

.library__free .icon {
  width: 14px;
  height: 14px;
}

.library__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.book-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(47, 35, 75, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 26px 60px -46px rgba(23, 15, 38, 0.55);
  transition:
    transform 0.45s var(--ease-spring),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.book-card:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  border-color: rgba(255, 101, 74, 0.26);
  box-shadow: 0 36px 74px -44px rgba(23, 15, 38, 0.6);
}

.book-card__cover {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 0.72;
  margin: 10px 10px 0;
  padding: 20px 18px 18px 24px;
  border-radius: 16px 10px 10px 16px;
  color: var(--white);
  box-shadow:
    inset 6px 0 0 rgba(0, 0, 0, 0.14),
    inset 9px 0 0 rgba(255, 255, 255, 0.08);
}

.book-card__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(160deg, transparent 50%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.book-card__cover::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 14px;
  bottom: 34%;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.book-card__cover--coral {
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.2), transparent 36%),
    linear-gradient(155deg, #ff7d64, #d8442c);
}

.book-card__cover--violet {
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.2), transparent 36%),
    linear-gradient(155deg, #7c5cff, #3b2c5e);
}

.book-card__cover--gold {
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(155deg, #f8c95e, #c98a21);
  color: var(--ink-950);
}

.book-card__cover--mint {
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.22), transparent 36%),
    linear-gradient(155deg, #46b9a5, #1f6f67);
}

.book-card__series,
.book-card__edition {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.82;
}

.book-card__edition {
  position: absolute;
  top: 20px;
  right: 16px;
  opacity: 0.58;
}

.book-card__cover h3 {
  position: relative;
  z-index: 1;
  margin: auto 0 26px;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  line-height: 1.35;
  text-shadow: 0 4px 18px rgba(23, 15, 38, 0.15);
}

.book-card__cover--gold h3 {
  color: var(--ink-950);
}

.book-card__spine-label {
  position: absolute;
  left: 24px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.book-card__mark {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  width: 28px;
  height: auto;
  opacity: 0.92;
}

.book-card__cover--gold .book-card__mark {
  opacity: 0.82;
}

.book-card__cover-line {
  position: absolute;
  top: 54%;
  right: -20px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.04);
}

.book-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 16px 18px 18px;
}

.book-card__tag {
  color: var(--leaf-600);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-card__body h4 {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.book-card__body p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.book-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  margin-top: auto;
  border: 1px solid rgba(47, 35, 75, 0.12);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--forest-900);
  font-size: 11px;
  font-weight: 700;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.book-card__btn .icon {
  width: 14px;
  height: 14px;
  color: var(--lime-500);
}

.book-card__btn:hover {
  border-color: var(--forest-900);
  background: var(--forest-900);
  color: var(--white);
}

.book-card__btn:hover .icon {
  color: var(--lime-400);
}

.library__note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(47, 35, 75, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.library__note-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--lime-100);
  color: var(--terra-600);
}

.library__note p {
  flex: 1;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.library__note strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   11. Career & roadmap
   -------------------------------------------------------------------------- */

.career {
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 101, 74, 0.18), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(108, 76, 224, 0.22), transparent 36%),
    linear-gradient(160deg, #170f26, #241a3d 60%, #170f26);
}

.career::before {
  content: "CAREER";
  font-family: var(--font-serif);
}

.roadmap__station {
  fill: #2f234b;
  stroke: var(--lime-500);
  stroke-width: 2;
}

.roadmap__station-core {
  fill: var(--lime-400);
}

.roadmap__dot {
  fill: var(--lime-400);
}

.milestone {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.milestone:hover {
  border-color: rgba(255, 101, 74, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.milestone__icon {
  background: rgba(255, 101, 74, 0.1);
  color: var(--lime-400);
}

.milestone__tag {
  color: var(--lime-400);
}

/* --------------------------------------------------------------------------
   12. OMR test
   -------------------------------------------------------------------------- */

.test {
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 101, 74, 0.2), transparent 32%),
    radial-gradient(circle at 92% 82%, rgba(108, 76, 224, 0.26), transparent 40%),
    linear-gradient(155deg, #2f234b, #170f26);
}

.quiz-shell {
  border-color: rgba(255, 255, 255, 0.52);
  background:
    radial-gradient(circle at 90% 4%, rgba(255, 101, 74, 0.1), transparent 34%),
    radial-gradient(circle at 4% 96%, rgba(108, 76, 224, 0.08), transparent 34%),
    var(--paper);
  color: var(--text);
}

.quiz-intro__badge {
  color: var(--leaf-600);
}

.quiz-intro__badge .eyebrow__dot {
  background: var(--lime-500);
}

.quiz-option:hover,
.quiz-option.is-selected {
  border-color: rgba(255, 101, 74, 0.55);
  background: rgba(255, 101, 74, 0.1);
}

.quiz-option.is-selected .quiz-option__key {
  background: var(--lime-500);
  color: var(--ink-950);
}

.quiz-timer__ring .track,
.score-orb .track {
  stroke: #d8cef0;
}

.quiz-timer__ring .bar {
  stroke: var(--lime-400);
}

.result-hero__tag {
  color: var(--lime-400);
}

.score-orb .bar {
  stroke: var(--lime-400);
}

.explanation.is-correct summary .status {
  color: var(--sky-500);
}

/* --------------------------------------------------------------------------
   13. Mentors
   -------------------------------------------------------------------------- */

.mentors {
  background:
    radial-gradient(circle at 8% 12%, rgba(242, 181, 68, 0.08), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(108, 76, 224, 0.08), transparent 30%),
    var(--paper);
}

.mentor-card__portrait {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.6), transparent 50%),
    linear-gradient(150deg, #f0e9fb, #d8cef0);
}

.mentor-card:nth-child(2) .mentor-card__portrait {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.6), transparent 50%),
    linear-gradient(150deg, #ffe3dc, #ffc4b8);
}

.mentor-card:nth-child(3) .mentor-card__portrait {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.6), transparent 50%),
    linear-gradient(150deg, #e3f4f0, #bde3da);
}

.mentor-card:nth-child(4) .mentor-card__portrait {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.6), transparent 50%),
    linear-gradient(150deg, #fff0c8, #ffd98c);
}

.mentor-card__portrait::after {
  background: linear-gradient(180deg, transparent 55%, rgba(47, 35, 75, 0.55));
}

.portrait-fallback {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.28), transparent 50%),
    linear-gradient(150deg, var(--leaf-500), var(--ink-950));
  color: var(--lime-200);
}

.mentor-card__badge {
  background: rgba(255, 255, 255, 0.9);
  color: var(--forest-800);
}

.mentor-card__badge .icon {
  color: var(--lime-500);
}

.mentor-card__role {
  color: var(--leaf-600);
}

.mentor-card__foot {
  color: var(--muted-2);
}

.mentor-note {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */

.quotes {
  background:
    radial-gradient(circle at 92% 88%, rgba(255, 101, 74, 0.1), transparent 30%),
    radial-gradient(circle at 4% 8%, rgba(108, 76, 224, 0.08), transparent 30%),
    linear-gradient(180deg, #f3ecfa, var(--bone));
}

.quote-card {
  border-color: rgba(47, 35, 75, 0.1);
  background: rgba(255, 255, 255, 0.86);
}

.quote-card--featured {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 101, 74, 0.26), transparent 40%),
    linear-gradient(150deg, #43306f, #170f26);
}

.quote-card__mark {
  color: var(--lime-500);
}

.quote-card__rank {
  color: var(--leaf-600);
}

.quote-card__avatar {
  background: var(--lime-100);
  color: var(--forest-800);
}

.quote-card__person span {
  color: var(--leaf-600);
}

/* --------------------------------------------------------------------------
   15. Blog & news
   -------------------------------------------------------------------------- */

.blog {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 10%, rgba(108, 76, 224, 0.08), transparent 30%),
    radial-gradient(circle at 95% 90%, rgba(255, 101, 74, 0.08), transparent 30%),
    var(--paper);
}

.blog__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--leaf-600);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.blog__badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-500);
  animation: brandPulse 2.4s ease-in-out infinite;
}

.blog__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  gap: 16px;
}

.post-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(47, 35, 75, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 26px 60px -48px rgba(23, 15, 38, 0.5);
  transition:
    transform 0.45s var(--ease-spring),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 101, 74, 0.25);
  box-shadow: 0 36px 74px -44px rgba(23, 15, 38, 0.55);
}

.post-card--featured {
  grid-row: span 2;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 101, 74, 0.16), transparent 38%),
    linear-gradient(150deg, #43306f, #170f26);
  color: rgba(255, 255, 255, 0.72);
}

.post-card__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  padding: 18px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(150deg, #ff7d64, #c53d27);
  color: var(--white);
}

.post-card--featured .post-card__visual {
  min-height: 232px;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 101, 74, 0.32), transparent 34%),
    linear-gradient(150deg, #3b2c5e, #241a3d);
}

.post-card__visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.post-card__visual-label,
.post-card__mini-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.post-card__visual strong {
  position: absolute;
  right: 16px;
  bottom: 10px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.post-card__visual--violet {
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(150deg, #7c5cff, #3b2c5e);
}

.post-card__visual--gold {
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.24), transparent 36%),
    linear-gradient(150deg, #f8c95e, #c98a21);
  color: var(--ink-950);
}

.post-card__mini-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

.post-card__mini-icon .icon {
  width: 19px;
  height: 19px;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 9px;
  padding: 18px 20px 20px;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 9.5px;
}

.post-card--featured .post-card__meta {
  color: rgba(255, 255, 255, 0.5);
}

.post-card__cat {
  color: var(--lime-500);
  font-weight: 700;
}

.post-card--featured .post-card__cat {
  color: var(--lime-400);
}

.post-card__body h3 {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.post-card--featured .post-card__body h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 400;
  line-height: 1.5;
}

.post-card__body p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.post-card--featured .post-card__body p {
  color: rgba(255, 255, 255, 0.56);
}

.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 8px;
  color: var(--leaf-600);
  font-size: 11px;
  font-weight: 700;
}

.post-card__link .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}

.post-card__link:hover .icon {
  transform: translateX(3px);
}

.post-card--featured .post-card__link {
  color: var(--lime-400);
}

/* --------------------------------------------------------------------------
   16. Initiatives
   -------------------------------------------------------------------------- */

.initiatives {
  background:
    radial-gradient(circle at 92% 8%, rgba(108, 76, 224, 0.08), transparent 28%),
    var(--paper);
}

.initiative-card {
  border-color: rgba(47, 35, 75, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.initiative-card:nth-child(4n + 1) {
  background: linear-gradient(160deg, rgba(255, 101, 74, 0.08), rgba(255, 255, 255, 0.9));
}

.initiative-card:nth-child(4n + 2) {
  background: linear-gradient(160deg, rgba(108, 76, 224, 0.08), rgba(255, 255, 255, 0.9));
}

.initiative-card:nth-child(4n + 3) {
  background: linear-gradient(160deg, rgba(242, 181, 68, 0.1), rgba(255, 255, 255, 0.9));
}

.initiative-card:nth-child(4n + 4) {
  background: linear-gradient(160deg, rgba(47, 143, 131, 0.08), rgba(255, 255, 255, 0.9));
}

.initiative-card__icon {
  color: var(--leaf-600);
  background: var(--paper);
}

.initiative-card__num {
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   17. Admission
   -------------------------------------------------------------------------- */

.apply {
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 101, 74, 0.12), transparent 32%),
    radial-gradient(circle at 92% 84%, rgba(108, 76, 224, 0.1), transparent 32%),
    linear-gradient(180deg, var(--bone), #f1eaf8);
}

.apply-card {
  border-color: rgba(47, 35, 75, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.form-section__num {
  background: var(--forest-900);
  color: var(--white);
}

.form-section__head {
  border-color: rgba(47, 35, 75, 0.1);
}

.apply-benefit__icon {
  background: var(--lime-100);
  color: var(--terra-600);
}

.helpline-card {
  border-color: rgba(47, 35, 75, 0.1);
  background: var(--forest-900);
  color: rgba(255, 255, 255, 0.7);
}

.helpline-card span {
  color: rgba(255, 255, 255, 0.66);
}

.helpline-card a {
  color: var(--lime-400);
}

.fee-bar {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 101, 74, 0.22), transparent 40%),
    linear-gradient(145deg, #43306f, #170f26);
}

.apply-secure {
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   18. Contact
   -------------------------------------------------------------------------- */

.contact {
  background:
    radial-gradient(circle at 92% 12%, rgba(242, 181, 68, 0.1), transparent 28%),
    radial-gradient(circle at 4% 88%, rgba(108, 76, 224, 0.08), transparent 30%),
    var(--paper);
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.9);
}

.map-card {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 101, 74, 0.18), transparent 36%),
    linear-gradient(150deg, #43306f, #170f26);
}

.campus-card {
  border-color: rgba(47, 35, 75, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.campus-card__tag {
  color: var(--leaf-600);
}

.campus-card a {
  color: var(--leaf-600);
}

.contact-quick a {
  border-color: rgba(47, 35, 75, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.contact-quick a:hover {
  border-color: var(--lime-500);
  color: var(--terra-600);
  background: var(--white);
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.contact-socials > span {
  margin-right: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest-800);
  background: var(--white);
  transition:
    transform 0.3s var(--ease-spring),
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.contact-socials a:hover {
  transform: translateY(-3px);
  border-color: var(--lime-500);
  background: var(--lime-500);
  color: var(--ink-950);
}

.contact-socials .icon {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 101, 74, 0.16), transparent 32%),
    radial-gradient(circle at 4% 90%, rgba(108, 76, 224, 0.2), transparent 36%),
    linear-gradient(160deg, #2f234b, #170f26 62%);
}

.site-footer::before {
  background: linear-gradient(90deg, transparent, var(--lime-500), var(--terra-500), var(--leaf-400), transparent);
  background-size: 220% 100%;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  max-width: 240px;
}

.footer__logo img {
  width: 204px;
  height: auto;
}

.footer__tagline {
  margin-top: -8px;
  color: var(--lime-400);
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.02em;
}

.footer__desc {
  color: rgba(255, 255, 255, 0.58);
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact .icon {
  color: var(--lime-400);
}

.footer__social {
  border-color: rgba(255, 255, 255, 0.16);
}

.footer__social:hover {
  background: var(--lime-500);
  color: var(--ink-950);
}

.footer__social--fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.footer__social--ig:hover {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7);
  border-color: #ee2a7b;
  color: #fff;
}

.footer__social--li:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
}

.footer__links a:hover,
.footer__bottom a:hover {
  color: var(--lime-400);
}

.footer__hotline a {
  color: var(--lime-400);
}

.footer__giant {
  color: transparent;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.04em;
  opacity: 0.45;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.footer__omr {
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   20. Editorial modal
   -------------------------------------------------------------------------- */

.modal {
  background: rgba(23, 15, 38, 0.72);
}

.modal__dialog--article {
  width: min(100%, 760px);
  background: var(--paper);
}

.article-modal__head {
  position: relative;
  padding: 30px 32px 24px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 101, 74, 0.2), transparent 38%),
    linear-gradient(150deg, #43306f, #170f26);
  color: rgba(255, 255, 255, 0.7);
}

.article-modal__cat {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--lime-500);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-modal__head .modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.article-modal__head .modal__close:hover {
  background: var(--lime-500);
  color: var(--ink-950);
}

.article-modal__head h2 {
  max-width: 22ch;
  margin-top: 16px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.4;
}

.article-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
}

.article-modal__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-modal__meta .icon {
  width: 12px;
  height: 12px;
  color: var(--lime-400);
}

.article-body {
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.9;
}

.article-body p {
  margin-bottom: 14px;
}

.article-body h3 {
  margin: 22px 0 8px;
  color: var(--forest-900);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.article-body strong {
  color: var(--forest-900);
}

.article-callout {
  position: relative;
  margin: 20px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--lime-500);
  border-radius: 0 14px 14px 0;
  background: var(--lime-100);
  color: var(--forest-800);
  font-size: 12.5px;
  line-height: 1.8;
}

.article-callout strong {
  color: var(--terra-600);
}

/* --------------------------------------------------------------------------
   21. Pointer spotlight & card hovers
   -------------------------------------------------------------------------- */

.method-card,
.course-card,
.initiative-card,
.book-card,
.post-card,
.mentor-card,
.quote-card,
.fact-card {
  --spot-x: 50%;
  --spot-y: 50%;
}

.method-card::before,
.course-card::before,
.initiative-card::before,
.post-card::before,
.quote-card::before,
.fact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--spot-x) var(--spot-y), rgba(255, 101, 74, 0.09), transparent 66%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.method-card:hover::before,
.course-card:hover::before,
.initiative-card:hover::before,
.post-card:hover::before,
.quote-card:hover::before,
.fact-card:hover::before {
  opacity: 1;
}

.method-card > *,
.course-card > *,
.initiative-card > *,
.post-card > *,
.quote-card > * {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .brand__logo {
    width: 162px;
  }

  .hero__visual {
    min-height: 540px;
  }

  .hero__stamp {
    right: -1%;
  }

  .hero-float--tl {
    left: -3%;
  }

  .hero-float--br {
    right: -2%;
  }

  .blog__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .post-card--featured {
    grid-row: span 1;
  }

  .post-card--featured .post-card__body h3 {
    font-size: 1.25rem;
  }

  .post-card__visual {
    min-height: 120px;
  }

  .post-card--featured .post-card__visual {
    min-height: 170px;
  }

  .library__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 1080px) {
  .announce__countdown {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hero {
    padding-top: 2.25rem;
    padding-bottom: 4.25rem;
  }

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

  .hero-float,
  .hero-float--tl,
  .hero-float--br {
    display: none;
  }

  .hero__copy {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 6vw, 4.2rem);
    max-width: 16ch;
  }

  .hero__visual {
    min-height: auto;
    width: min(100%, 580px);
    margin-inline: auto;
  }

  .hero__stamp {
    top: -24px;
    right: -8px;
  }

  .hero__orbit {
    right: -40%;
    width: 1100px;
    opacity: 0.5;
  }

  .hero__scroll-cue {
    display: none;
  }

  .hero__seats {
    right: 2%;
    bottom: 2%;
  }

  .hero-float--tl {
    left: -10px;
  }

  .hero-float--br {
    right: -8px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__collage {
    width: min(100%, 560px);
    min-height: 480px;
    margin-inline: auto;
  }

  .about__copy {
    max-width: 760px;
  }

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

  .post-card--featured {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .post-card--featured .post-card__visual {
    min-height: 100%;
  }

  .library__note {
    flex-wrap: wrap;
  }

  .library__note .btn {
    margin-left: auto;
  }
}

@media (max-width: 860px) {
  .course-promises {
    grid-template-columns: 1fr;
  }

  .hero__stamp,
  .hero__seats {
    display: none;
  }

  .hero__stamp {
    width: 102px;
    height: 102px;
  }

  .hero__stamp-core {
    width: 54px;
    height: 54px;
  }

  .hero__stamp-ring text {
    font-size: 8.2px;
  }

  .hero__stamp-core img {
    width: 27px;
    height: 30px;
  }

  .blog__grid {
    gap: 12px;
  }

  .about__collage {
    min-height: 430px;
  }

  .library__grid {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .brand__logo {
    width: 146px;
  }

  .announce__countdown {
    display: none;
  }

  .hero {
    padding-bottom: 2.75rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 10.4vw, 3.6rem);
  }

  .hero__kicker {
    font-size: 1.05rem;
  }

  .hero__kicker::after {
    display: none;
  }

  .hero__eyebrow {
    flex-wrap: wrap;
    gap: 7px;
    font-size: 10px;
  }

  .hero__stats .stat__label {
    font-size: 9.5px;
  }

  .hero__stamp {
    top: -18px;
    right: 0;
    width: 92px;
    height: 92px;
  }

  .hero__stamp-ring {
    inset: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
  }

  .hero__stamp-ring text {
    font-size: 9.5px;
  }

  .hero__stamp-core {
    width: 48px;
    height: 48px;
  }

  .hero__stamp-core img {
    width: 24px;
    height: 27px;
  }

  .hero__seats {
    position: static;
    align-self: flex-start;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.7);
  }

  .hero__visual {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .hero__console-wrap {
    width: 100%;
  }

  .console {
    border-radius: 26px;
    padding: 14px;
  }

  .console__stage {
    min-height: 360px;
  }

  .hero-float {
    display: none;
  }

  .hero__orbit {
    right: -90%;
    width: 900px;
    opacity: 0.42;
  }

  .about::before {
    top: 2%;
    font-size: 6.5rem;
  }

  .about__collage {
    min-height: 400px;
  }

  .about__sticker {
    width: 76px;
    height: 76px;
    font-size: 8px;
  }

  .about__sticker strong {
    font-size: 16px;
  }

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

  .about__stats > div {
    padding: 0 10px;
  }

  .about__stats span {
    font-size: 9px;
  }

  .post-card--featured {
    display: flex;
  }

  .post-card--featured .post-card__visual {
    min-height: 200px;
  }

  .post-card__body h3 {
    font-size: 13.5px;
  }

  .library__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .book-card__cover {
    aspect-ratio: 1.15;
  }

  .library__note {
    flex-direction: column;
    align-items: flex-start;
  }

  .library__note .btn {
    width: 100%;
    margin-left: 0;
  }

  .footer__logo img {
    width: 180px;
  }

  .article-modal__head {
    padding: 24px 20px 20px;
  }

  .article-modal__head .modal__close {
    top: 16px;
    right: 16px;
  }

  .article-modal__head h2 {
    padding-right: 28px;
  }

  .article-body {
    font-size: 12.5px;
  }
}

@media (max-width: 560px) {
  .hero__stamp {
    display: none;
  }

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

  .library__grid {
    max-width: none;
    gap: 12px;
  }

  .book-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    border-radius: 20px;
  }

  .book-card__cover {
    aspect-ratio: auto;
    min-height: 216px;
    margin: 8px 0 8px 8px;
    padding: 13px 10px 13px 17px;
    border-radius: 13px 8px 8px 13px;
  }

  .book-card__cover h3 {
    margin-bottom: 32px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .book-card__series,
  .book-card__edition {
    display: none;
  }

  .book-card__spine-label {
    left: 17px;
    bottom: 10px;
    font-size: 5.5px;
    letter-spacing: 0.06em;
  }

  .book-card__mark {
    right: 9px;
    bottom: 9px;
    width: 21px;
  }

  .book-card__cover-line {
    top: 58%;
    right: -36px;
    width: 86px;
    height: 86px;
  }

  .book-card__body {
    padding: 14px 14px 14px 13px;
    gap: 6px;
  }

  .book-card__body h4 {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .book-card__body p {
    font-size: 10px;
    line-height: 1.6;
  }

  .book-card__btn {
    min-height: 38px;
    font-size: 10px;
    padding-inline: 10px;
  }

  .post-card__visual {
    min-height: 104px;
  }

  .post-card--featured .post-card__visual {
    min-height: 180px;
  }

  .hero__seats {
    display: none;
  }

  .hero__blob--violet {
    width: 360px;
    height: 360px;
  }

  .hero__blob--coral {
    width: 340px;
    height: 340px;
  }

  .hero__orbit {
    display: none;
  }

  .hero__stats .stat {
    flex: 1 1 100%;
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--line);
  }

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

  .hero__stats .stat__num {
    font-size: 1.45rem;
  }

  .hero__stats .stat__label {
    font-size: 10px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .about__collage {
    min-height: 340px;
  }

  .about__photo--main {
    left: 0;
    width: 72%;
    height: 80%;
    border-width: 5px;
  }

  .about__photo--small {
    width: 43%;
    height: 44%;
    border-width: 4px;
  }

  .about__seal {
    left: auto;
    right: 4%;
    top: 30%;
    padding: 9px 11px;
  }

  .about__sticker {
    right: -4px;
    top: 0;
  }

  .about__stats strong {
    font-size: 1.75rem;
  }

  .about__stats span {
    font-size: 8.5px;
    line-height: 1.4;
  }

  .blog__badge {
    font-size: 8px;
  }

  .post-card__body {
    padding: 15px 16px 17px;
  }

  .book-card__cover h3 {
    font-size: 1.4rem;
  }

  .library__note {
    padding: 14px;
  }
}

@media (max-width: 400px) {
  .hero__eyebrow .tag {
    font-size: 9.5px;
  }

  .about__collage {
    min-height: 300px;
  }

  .about__photo--main {
    width: 76%;
    height: 78%;
  }

  .about__photo--small {
    width: 46%;
    height: 42%;
  }
}

/* --------------------------------------------------------------------------
   23. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .hero__blob,
  .hero__orbit-ring,
  .hero__petals,
  .hero__orbit-dot,
  .hero__sparkles,
  .hero__ecg,
  .hero__stamp-ring,
  .about__orbit svg,
  .about__seal,
  .hero__kicker-mark,
  .hero__actions .btn--primary::after {
    animation: none !important;
  }

  .hero__stamp,
  .hero__console-wrap,
  .hero__eyebrow,
  .hero h1,
  .hero h1 .accent svg path,
  .hero__lede,
  .hero__actions,
  .hero__chips,
  .hero__trust,
  .hero__stats {
    animation: none !important;
  }

  .console {
    transform: none !important;
  }
}
