:root {
  --bg: #fcfaf8;
  --surface: #ffffff;
  --paper: #fff5f9;
  --paper-strong: #f9d5e3;
  --green: #1d5047;
  --green-deep: #153a34;
  --ink: #17252e;
  --muted: #5d6872;
  --line: #dce2e6;
  --gold: #fba203;
  --coral: #f98149;
  --purple: #9f4ea8;
  --purple-deep: #7d3687;
  --shadow: 0 18px 48px rgba(15, 32, 39, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 2rem));
  --transition: 180ms ease;
  --display-ar: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
  --display-latin: "Poppins", sans-serif;
  --intro-progress: 0;
  --site-progress: 0;
  --page-scroll: 0;
  --game-theme: #9f4ea8;
  --arcade-art: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans Arabic", "Poppins", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(159, 78, 168, 0.16), transparent 28%),
    radial-gradient(circle at top left, rgba(249, 129, 73, 0.08), transparent 22%),
    linear-gradient(180deg, #fffefe 0%, var(--bg) 100%);
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 28%, rgba(255, 255, 255, 0.08) 52%, transparent 72%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.36), transparent 14%);
  opacity: 0.85;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  position: relative;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 58, 52, 0.12);
}

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

.button--soft {
  background: #fff;
  color: var(--green);
  border-color: rgba(29, 80, 71, 0.28);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.68);
  color: var(--green);
  border-color: rgba(29, 80, 71, 0.14);
  backdrop-filter: blur(12px);
}

.button--accent {
  background: var(--coral);
  color: #fff;
}

.text-link {
  color: var(--green);
  font-weight: 700;
}

.text-link:hover {
  color: var(--purple-deep);
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow--soft {
  color: var(--purple-deep);
}

.section,
.page-hero {
  padding: 5rem 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.section-head h2,
.page-hero h1,
.hero-title,
.callout-card h2,
.quiz-card h2 {
  margin: 0;
  line-height: 1.15;
  font-family: var(--display-ar);
}

.section-head h2,
.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-head p,
.page-hero p,
.hero-lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.9;
}

.section-head--split {
  align-items: end;
  justify-content: space-between;
  flex-direction: row;
}

.section-head--split > div {
  display: grid;
  gap: 0.85rem;
}

.section-head--center {
  align-items: center;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: clamp(0.72rem, 1.5vw, 1rem) 0;
  backdrop-filter: blur(18px);
  background: rgba(252, 250, 248, 0.78);
  border-bottom: 1px solid rgba(29, 80, 71, 0.08);
}

.page-home .site-header {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, calc(0.16 + (var(--page-scroll) * 0.58))),
      rgba(255, 245, 249, calc(0.1 + (var(--page-scroll) * 0.42)))
    );
  border-bottom-color: rgba(255, 255, 255, calc(0.08 + (var(--page-scroll) * 0.16)));
  box-shadow: 0 18px 42px rgba(21, 58, 52, calc(var(--page-scroll) * 0.14));
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.4rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--display-latin);
}

.brand__mark {
  height: clamp(3.35rem, 4.4vw, 4rem);
  flex: none;
  filter: drop-shadow(0 10px 18px rgba(29, 80, 71, 0.12));
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__text strong {
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  letter-spacing: 0.04em;
}

.brand__text small {
  color: var(--green);
  font-size: clamp(0.62rem, 1.15vw, 0.7rem);
  font-family: var(--display-ar);
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 1.5vw, 1.4rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--green);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(29, 80, 71, 0.16);
  background: #fff;
  padding: 0.7rem;
  gap: 0.24rem;
  flex-direction: column;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--green);
}

.message-stack {
  padding-top: 1rem;
}

.flash {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.flash--success,
.flash--info {
  background: #e9fff1;
  color: var(--green-deep);
  border: 1px solid rgba(29, 80, 71, 0.12);
}

.metric-card,
.program-card,
.value-card,
.process-step,
.contact-card,
.faq-item,
.story-panel,
.newsletter-banner,
.news-card,
.mini-story,
.feature-story,
.magazine-feature,
.product-card,
.quiz-card,
.contact-form,
.palette-swatch,
.intro-scroll__glass,
.typing-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 245, 249, 0.42)),
    rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    0 20px 48px rgba(15, 32, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.intro-scroll {
  position: relative;
  height: 420vh;
  margin-top: -5.8rem;
}

.intro-scroll__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  display: grid;
}

.intro-scroll__sticky::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24vh;
  background: linear-gradient(180deg, rgba(252, 250, 248, 0), rgba(252, 250, 248, 1));
  opacity: calc(0.18 + (var(--site-progress) * 0.92));
  transform: translateY(calc((1 - var(--site-progress)) * 3rem));
  z-index: 0;
  pointer-events: none;
}

.intro-scroll__backdrop,
.intro-scroll__veil {
  position: absolute;
  inset: 0;
}

.intro-scroll__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform:
    scale(calc(1.1 - (var(--intro-progress) * 0.08)))
    translateY(calc(var(--intro-progress) * 2.2rem));
  filter: saturate(1.06) contrast(1.03);
}

.intro-scroll__veil {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.22), transparent 16%),
    linear-gradient(180deg, rgba(18, 46, 43, 0.18), rgba(18, 46, 43, 0.56)),
    linear-gradient(140deg, rgba(159, 78, 168, 0.46), rgba(29, 80, 71, 0.34));
  opacity: calc(1 - (var(--intro-progress) * 0.1));
}

.intro-scroll__content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  width: min(1320px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: clamp(6.5rem, 11vh, 8rem) 3rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 1.25rem;
  transform: translateY(calc(var(--intro-progress) * 1.1rem));
}

.intro-scroll__content::before {
  content: none;
}

.intro-scroll__glass {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  justify-self: center;
  align-self: center;
  width: min(64rem, calc(100% - 2rem));
  max-width: 100%;
  min-height: auto;
  height: auto;
  padding: clamp(2.2rem, 4.3vw, 3.9rem) clamp(1.7rem, 3vw, 3.15rem);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 2.45rem;
  background:
    linear-gradient(180deg, rgba(189, 178, 198, 0.54), rgba(121, 132, 154, 0.4)),
    linear-gradient(135deg, rgba(255, 248, 251, 0.26), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow:
    0 30px 72px rgba(16, 23, 39, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  opacity: calc(1 - (var(--intro-progress) * 0.42));
  transform:
    translate3d(0, calc(var(--intro-progress) * -2.6rem), 0)
    scale(calc(1 - (var(--intro-progress) * 0.06)));
}

.intro-scroll__mini {
  margin: 0 0 1rem;
  max-width: 37rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  line-height: 1.95;
}

.intro-scroll__line {
  margin: 0;
  max-width: 14.8ch;
  min-height: 0;
  font-family: var(--display-ar);
  font-size: clamp(2.25rem, min(3.8vw, 6.4vh), 4rem);
  line-height: 1.04;
  text-wrap: balance;
  text-shadow: 0 10px 24px rgba(32, 25, 44, 0.14);
}

.intro-scroll__line::after {
  content: "";
  display: inline-block;
  width: 0.11em;
  height: 0.9em;
  margin-inline-start: 0.14rem;
  vertical-align: -0.08em;
  background: currentColor;
  opacity: 0;
  animation: blinkCaret 0.92s steps(1) infinite;
}

.intro-scroll__line.is-typing::after {
  opacity: 1;
}

.intro-scroll__support {
  margin: 1rem 0 0;
  max-width: 36rem;
  min-height: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.94rem, 1vw, 1.02rem);
  line-height: 1.95;
  opacity: 0;
  transform: translateY(0.8rem);
  transition:
    opacity 320ms ease,
    transform 320ms ease;
}

.intro-scroll__support.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-scroll__dots {
  display: inline-flex;
  gap: 0.6rem;
  margin-top: 1.45rem;
}

.intro-scroll__dots span {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    transform var(--transition),
    background var(--transition);
}

.intro-scroll__dots span.is-active {
  background: var(--gold);
  transform: scale(1.22);
}

.scroll-cue {
  grid-column: 1 / -1;
  justify-self: center;
  display: grid;
  gap: 0.6rem;
  place-items: center;
  color: #fff;
  font-weight: 700;
  z-index: 1;
  opacity: calc(1 - (var(--site-progress) * 1.45));
  transform: translateY(calc(var(--site-progress) * 1.8rem));
}

.scroll-cue__text {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.scroll-cue__icon {
  position: relative;
  width: 2rem;
  height: 3.2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.56);
}

.scroll-cue__icon::before,
.scroll-cue__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0.72rem;
  height: 0.72rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
  animation: cueBounce 1.8s infinite;
}

.scroll-cue__icon::before {
  top: 0.72rem;
}

.scroll-cue__icon::after {
  top: 1.3rem;
  animation-delay: 0.18s;
}

.strength-manifesto {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 1.4rem;
  align-items: center;
  margin-top: -8vh;
  padding: 1.5rem;
  padding-bottom: 5rem;
  border-radius: 2.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 245, 249, 0.62)),
    rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    0 26px 64px rgba(15, 32, 39, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  opacity: calc(0.38 + (var(--site-progress) * 0.62));
  transform:
    translate3d(0, calc((1 - var(--site-progress)) * 5rem), 0)
    scale(calc(0.97 + (var(--site-progress) * 0.03)));
  transition:
    opacity 240ms linear,
    transform 240ms linear;
  scroll-margin-top: 6rem;
}

.strength-manifesto__visual {
  overflow: hidden;
  border-radius: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: var(--shadow);
}

.strength-manifesto__visual img {
  width: 100%;
  height: 100%;
  min-height: 33rem;
  object-fit: cover;
}

.strength-manifesto__copy {
  display: grid;
  gap: 1rem;
}

.strength-manifesto__copy h2 {
  margin: 0;
  font-family: var(--display-ar);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

.strength-manifesto__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.typing-panel {
  padding: 1.15rem 1.25rem;
  border-radius: 1.35rem;
  display: grid;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.typing-panel::after,
.newsletter-banner::after {
  content: "";
  position: absolute;
  inset: auto auto -2.6rem -1rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 70%);
  pointer-events: none;
}

.typing-panel__label {
  color: var(--purple-deep);
  font-weight: 700;
}

.typing-panel__text {
  min-height: 2.4rem;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  color: var(--green-deep);
}

.typing-panel__text::after {
  content: "";
  display: inline-block;
  width: 0.12em;
  height: 1.05em;
  margin-inline-start: 0.18rem;
  vertical-align: -0.12em;
  background: currentColor;
  animation: blinkCaret 0.9s steps(1) infinite;
}

.hero-shell {
  position: relative;
  overflow: clip;
  padding: 4rem 0 5rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.2), transparent 16%),
    linear-gradient(140deg, var(--purple) 0%, #b35aa3 52%, #8d4298 100%);
  border-bottom-left-radius: 42% 14%;
  border-bottom-right-radius: 42% 14%;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -10% -8rem;
  height: 14rem;
  background: var(--bg);
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 2rem;
  min-height: 34rem;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
  color: #fff;
}

.hero-title {
  display: grid;
  gap: 0.15rem;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  color: #fff;
}

.hero-title__accent {
  color: var(--gold);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.84);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.35rem;
}

.hero-visual {
  position: relative;
  min-height: 32rem;
  display: grid;
  place-items: center;
}

.hero-frame {
  position: relative;
  z-index: 2;
  width: min(29rem, 100%);
  padding: 0.85rem;
  border-radius: 2rem;
  background: rgba(255, 250, 252, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 54px rgba(30, 12, 39, 0.22);
  backdrop-filter: blur(18px);
  animation: floatY 4.8s ease-in-out infinite;
}

.hero-art {
  width: 100%;
  border-radius: 1.45rem;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero-seal {
  position: absolute;
  top: 1rem;
  left: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 247, 251, 0.92);
  color: var(--green);
  box-shadow: 0 12px 28px rgba(30, 12, 39, 0.18);
}

.hero-seal img {
  width: 2.9rem;
  height: 2.9rem;
}

.hero-seal span {
  max-width: 13rem;
  font-weight: 700;
  line-height: 1.6;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.32);
}

.hero-orbit--one {
  width: 19rem;
  height: 19rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%);
  animation: slowSpin 18s linear infinite;
}

.hero-orbit--two {
  width: 25rem;
  height: 25rem;
  animation: slowSpinReverse 24s linear infinite;
}

.metrics-grid,
.program-grid,
.values-grid,
.palette-grid,
.process-grid,
.product-grid {
  display: grid;
  gap: 1.25rem;
}

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

.metric-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.4rem;
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
  text-align: center;
}

.metric-card strong {
  display: block;
  margin: 1rem 0 0.35rem;
  color: var(--gold);
  font-size: 2rem;
  font-family: "Poppins", sans-serif;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
}

.metric-card__icon {
  position: relative;
  display: inline-flex;
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(29, 80, 71, 0.12);
}

.metric-card__icon::before,
.metric-card__icon::after {
  content: "";
  position: absolute;
}

.metric-card__icon--spark::before {
  inset: 0.9rem;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.metric-card__icon--spark::after {
  width: 0.6rem;
  height: 0.6rem;
  background: var(--gold);
  border-radius: 50%;
  inset: 1.55rem auto auto 1.55rem;
}

.metric-card__icon--workshop::before {
  inset: 1rem 0.8rem;
  border-radius: 0.7rem;
  border: 2px solid var(--green);
}

.metric-card__icon--workshop::after {
  inset: 1.55rem 1.1rem auto;
  height: 2px;
  background: var(--gold);
}

.metric-card__icon--projects::before {
  width: 1.1rem;
  height: 1.1rem;
  top: 1rem;
  right: 1rem;
  border: 2px solid var(--green);
  border-radius: 0.3rem;
}

.metric-card__icon--projects::after {
  width: 1.1rem;
  height: 1.1rem;
  bottom: 1rem;
  left: 1rem;
  background: rgba(251, 162, 3, 0.16);
  border: 2px solid var(--gold);
  border-radius: 0.3rem;
}

.metric-card__icon--partners::before {
  width: 0.95rem;
  height: 0.95rem;
  top: 1.1rem;
  right: 1rem;
  border-radius: 50%;
  border: 2px solid var(--green);
}

.metric-card__icon--partners::after {
  width: 1.35rem;
  height: 0.7rem;
  bottom: 1rem;
  left: 1rem;
  border: 2px solid var(--gold);
  border-top: 0;
  border-radius: 0 0 1rem 1rem;
}

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

.program-card,
.value-card,
.process-step,
.contact-card,
.faq-item,
.story-panel,
.callout-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

.metric-card:hover,
.program-card:hover,
.value-card:hover,
.process-step:hover,
.contact-card:hover,
.faq-item:hover,
.story-panel:hover,
.news-card:hover,
.mini-story:hover,
.feature-story:hover,
.magazine-feature:hover,
.product-card:hover,
.quiz-card:hover,
.contact-form:hover,
.palette-swatch:hover {
  transform: translateY(-0.4rem);
  border-color: rgba(159, 78, 168, 0.18);
  box-shadow: 0 24px 54px rgba(15, 32, 39, 0.12);
}

.program-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  display: grid;
  gap: 0.8rem;
  min-height: 16rem;
}

.program-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.program-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.program-card__tag {
  justify-self: start;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.program-card--gold .program-card__tag {
  color: #7f4f00;
  background: rgba(251, 162, 3, 0.18);
}

.program-card--green .program-card__tag {
  color: var(--green);
  background: rgba(29, 80, 71, 0.1);
}

.program-card--purple .program-card__tag {
  color: var(--purple-deep);
  background: rgba(159, 78, 168, 0.12);
}

.program-card--coral .program-card__tag {
  color: #a74b24;
  background: rgba(249, 129, 73, 0.16);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  grid-auto-flow: dense;
}

.news-card {
  overflow: hidden;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.news-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
}

.news-card:first-child .news-card__media {
  aspect-ratio: auto;
  min-height: 100%;
}

.news-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.03);
}

.news-card__body {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--purple-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.news-card h3,
.mini-story h3,
.feature-story h3,
.magazine-feature h2,
.product-card h3,
.contact-card a,
.contact-card p {
  margin: 0;
}

.news-card p,
.feature-story p,
.mini-story p,
.magazine-feature p,
.product-card p,
.callout-card p,
.contact-card p,
.faq-item p {
  color: var(--muted);
  line-height: 1.8;
}

.news-card--textual {
  display: grid;
  align-content: start;
}

.newsletter-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 245, 249, 0.98)),
    linear-gradient(140deg, rgba(29, 80, 71, 0.02), rgba(159, 78, 168, 0.08));
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.4rem;
  align-items: center;
}

.editorial-band--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.editorial-band__copy {
  display: grid;
  gap: 0.95rem;
}

.editorial-band__copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  font-family: var(--display-ar);
}

.editorial-band__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.editorial-band__stack {
  position: relative;
  min-height: 35rem;
}

.editorial-band__stack figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.editorial-band__stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-band__primary {
  position: absolute;
  inset: 0 0 3.5rem 12%;
}

.editorial-band__secondary {
  position: absolute;
  width: 45%;
  height: 48%;
  inset: auto auto 0 0;
  transform: rotate(-4deg);
}

.newsletter-banner__copy {
  display: grid;
  gap: 0.85rem;
}

.newsletter-banner__copy h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.newsletter-banner__form,
.inline-form {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.field-group {
  display: grid;
  gap: 0.5rem;
}

.field-group label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(29, 80, 71, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(159, 78, 168, 0.24);
  border-color: rgba(159, 78, 168, 0.34);
}

.form-errors {
  color: #a43c2a;
  font-weight: 700;
}

.home-editorial-section {
  overflow: clip;
}

.home-editorial-frame {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.5rem);
  border-radius: 2.6rem;
  background:
    linear-gradient(135deg, rgba(255, 253, 253, 0.96), rgba(251, 244, 248, 0.94)),
    rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow:
    0 34px 72px rgba(15, 32, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  isolation: isolate;
}

.home-editorial-frame::before {
  content: "";
  position: absolute;
  inset: auto 4% 8% 4%;
  height: 14rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(159, 78, 168, 0.16), transparent 56%),
    radial-gradient(circle at 65% 50%, rgba(249, 129, 73, 0.12), transparent 52%);
  filter: blur(36px);
  z-index: -1;
  pointer-events: none;
}

.home-editorial-section__head {
  margin-bottom: 2.35rem;
}

.home-editorial-section__head h2 {
  max-width: 13ch;
}

.home-editorial-carousel {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.4rem, 2vw, 2.3rem);
  align-items: center;
}

.home-editorial-carousel__copy {
  display: grid;
  gap: 1rem;
  align-self: stretch;
}

.home-editorial-panel {
  display: grid;
  gap: 1rem;
  height: 100%;
  padding: 2rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 251, 0.98)),
    rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow:
    0 26px 52px rgba(15, 32, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.home-editorial-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-editorial-panel__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(159, 78, 168, 0.08);
  color: var(--purple-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-editorial-panel h3 {
  margin: 0;
  max-width: 15ch;
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
  line-height: 1.26;
}

.home-editorial-panel p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.95;
}

.home-editorial-panel__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  justify-content: space-between;
  margin-top: auto;
}

.home-editorial-carousel__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
}

.home-editorial-nav {
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 80, 71, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--green);
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(15, 32, 39, 0.08);
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.home-editorial-nav:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 78, 168, 0.24);
}

.home-editorial-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.home-editorial-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(29, 80, 71, 0.1);
  color: var(--green-deep);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(15, 32, 39, 0.06);
}

.home-editorial-dot {
  width: 0.82rem;
  height: 0.82rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(29, 80, 71, 0.14);
  transition:
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.home-editorial-dot.is-active {
  background: linear-gradient(135deg, var(--green), var(--purple));
  transform: scale(1.25);
  box-shadow: 0 0 0 5px rgba(159, 78, 168, 0.12);
}

.home-editorial-carousel__stage-wrap {
  position: relative;
  min-height: 38rem;
  padding-inline: 0.8rem;
  perspective: 2200px;
  isolation: isolate;
}

.home-editorial-carousel__halo {
  position: absolute;
  inset: 9% 9% 11%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(159, 78, 168, 0.18), transparent 46%),
    radial-gradient(circle at 60% 72%, rgba(249, 129, 73, 0.14), transparent 38%),
    radial-gradient(circle at 28% 30%, rgba(251, 162, 3, 0.1), transparent 32%);
  filter: blur(38px);
  z-index: 0;
  pointer-events: none;
}

.home-editorial-carousel__stage {
  position: relative;
  min-height: inherit;
  transform-style: preserve-3d;
}

.home-editorial-carousel__stage::after {
  content: "";
  position: absolute;
  inset: auto 8% 6% 8%;
  height: 4.6rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(15, 32, 39, 0.16), transparent 70%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}

.home-editorial-card {
  position: absolute;
  inset: 0;
  width: min(24.5rem, calc(100% - 2rem));
  margin: auto;
  padding: 0.92rem;
  appearance: none;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  border: 1px solid rgba(118, 73, 118, 0.14);
  border-radius: 2.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 242, 247, 0.94)),
    rgba(255, 255, 255, 0.24);
  box-shadow:
    0 34px 70px rgba(15, 32, 39, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform-style: preserve-3d;
  cursor: pointer;
  text-align: right;
  font: inherit;
  overflow: hidden;
  transition:
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease,
    box-shadow 420ms ease,
    filter 420ms ease;
}

.home-editorial-card__poster {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 1.55rem;
  background:
    radial-gradient(circle at top right, rgba(249, 129, 73, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(159, 78, 168, 0.18), transparent 30%),
    linear-gradient(180deg, #fff8fb, #f5ecf8);
  min-height: 29rem;
}

.home-editorial-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(16, 45, 40, 0.14) 100%);
  pointer-events: none;
}

.home-editorial-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 480ms ease;
}

.home-editorial-card__glass {
  display: grid;
  gap: 0.45rem;
  width: calc(100% - 1.2rem);
  margin: -5.8rem auto 0.3rem;
  padding: 1rem 1rem 1.08rem;
  border-radius: 1.45rem;
  background: linear-gradient(135deg, rgba(17, 55, 50, 0.94), rgba(67, 39, 110, 0.92));
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 32, 39, 0.18);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 2;
}

.home-editorial-card__meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-editorial-card strong {
  font-family: var(--display-ar);
  font-size: 1.16rem;
  line-height: 1.55;
  text-align: right;
}

.home-editorial-card.is-active {
  z-index: 5;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
  filter: saturate(1.02);
}

.home-editorial-card.is-active .home-editorial-card__poster img {
  transform: scale(1.02);
}

.home-editorial-card.is-next {
  z-index: 4;
  opacity: 0.92;
  transform: translate3d(-32%, 2%, -130px) rotateY(-24deg) scale(0.9);
}

.home-editorial-card.is-prev {
  z-index: 4;
  opacity: 0.92;
  transform: translate3d(32%, 2%, -130px) rotateY(24deg) scale(0.9);
}

.home-editorial-card.is-far-next {
  z-index: 3;
  opacity: 0.5;
  transform: translate3d(-52%, 8%, -260px) rotateY(-30deg) scale(0.8);
}

.home-editorial-card.is-far-prev {
  z-index: 3;
  opacity: 0.5;
  transform: translate3d(52%, 8%, -260px) rotateY(30deg) scale(0.8);
}

.home-editorial-card.is-hidden {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 12%, -360px) scale(0.72);
}

.magazine-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.25rem;
}

.feature-story,
.mini-story,
.magazine-feature,
.product-card,
.quiz-card,
.contact-form {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.feature-story,
.magazine-feature {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1fr);
  border-radius: 2rem;
  overflow: hidden;
}

.feature-story__media,
.magazine-feature__media {
  min-height: 100%;
  background: var(--paper);
}

.feature-story__media img,
.magazine-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-story__body,
.magazine-feature__copy {
  padding: 1.6rem;
  display: grid;
  gap: 0.9rem;
}

.mini-story-list {
  display: grid;
  gap: 1rem;
}

.mini-story {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.mini-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--paper);
}

.minutes-pill,
.price-pill,
.status-badge,
.stock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.minutes-pill {
  justify-self: start;
  padding: 0.45rem 0.8rem;
  background: rgba(159, 78, 168, 0.1);
  color: var(--purple-deep);
}

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

.callout-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 2rem;
  display: grid;
  gap: 0.95rem;
}

.callout-card::before {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  inset: auto auto -5rem -3rem;
  background: rgba(255, 255, 255, 0.26);
}

.callout-card--store {
  background:
    linear-gradient(135deg, rgba(29, 80, 71, 0.96), rgba(39, 109, 96, 0.96)),
    var(--green);
  color: #fff;
}

.callout-card--store p,
.callout-card--store .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.callout-card--quiz {
  background:
    linear-gradient(135deg, rgba(255, 245, 249, 0.98), rgba(249, 213, 227, 0.82)),
    var(--paper);
}

.page-hero {
  --hero-tint-a: rgba(159, 78, 168, 0.15);
  --hero-tint-b: rgba(29, 80, 71, 0.12);
  --hero-tint-c: rgba(249, 129, 73, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 1.5rem;
  min-height: 31rem;
  margin-top: 1.2rem;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 2.25rem;
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 249, 0.82));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 84% 14%, var(--hero-tint-a), transparent 34%),
    radial-gradient(circle at 8% 88%, var(--hero-tint-b), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 249, 0.88));
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 21rem;
  height: 21rem;
  inset: -7rem auto auto -4rem;
  border-radius: 44% 56% 46% 54% / 51% 39% 61% 49%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), var(--hero-tint-c));
  opacity: 0.9;
}

.page-hero__content {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(0.7rem, 1.8vw, 1.15rem);
}

.page-hero__content h1 {
  max-width: 11ch;
  font-size: clamp(2.45rem, 4.8vw, 4.9rem);
  line-height: 1.05;
}

.page-hero__content p {
  max-width: 58ch;
  font-size: clamp(1rem, 1.28vw, 1.12rem);
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.page-hero__chips span,
.page-hero__chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 80, 71, 0.12);
  color: var(--green);
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.page-hero__chips a.is-active {
  background: var(--green);
  color: #fff;
}

.page-hero__visual {
  position: relative;
  min-height: 26rem;
  display: grid;
  align-items: end;
}

.page-hero__frame {
  position: absolute;
  inset: 0 8% 1.5rem 0;
  margin: 0;
  overflow: hidden;
  border-radius: 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 24px 54px rgba(18, 37, 46, 0.16);
  background: rgba(255, 255, 255, 0.4);
}

.page-hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 31, 48, 0.04), rgba(19, 31, 48, 0.22)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 34%, transparent 70%, rgba(255, 255, 255, 0.12));
}

.page-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__note {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(19rem, 84%);
  padding: 1.05rem 1.1rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 80, 71, 0.12);
  box-shadow: 0 18px 38px rgba(18, 37, 46, 0.12);
}

.page-hero__note-label,
.page-hero__panel-label {
  display: inline-flex;
  color: var(--purple-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.page-hero__note strong,
.page-hero__panel strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--green-deep);
  font-size: 1.16rem;
  line-height: 1.45;
}

.page-hero__note p,
.page-hero__panel p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.page-hero__visual--cards {
  min-height: 0;
  align-content: center;
  gap: 1rem;
}

.page-hero__panel {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 80, 71, 0.12);
  box-shadow: 0 16px 34px rgba(18, 37, 46, 0.08);
  backdrop-filter: blur(14px);
}

.page-hero__panel--text {
  grid-template-columns: 1fr;
}

.page-hero__panel--accent {
  background: linear-gradient(135deg, rgba(29, 80, 71, 0.94), rgba(103, 54, 122, 0.9));
  border-color: transparent;
}

.page-hero__panel--accent .page-hero__panel-label,
.page-hero__panel--accent strong,
.page-hero__panel--accent p {
  color: rgba(255, 255, 255, 0.92);
}

.page-hero__panel--soft {
  background: linear-gradient(135deg, rgba(255, 245, 249, 0.98), rgba(255, 255, 255, 0.88));
}

.page-hero__icon-art {
  width: 5rem;
  height: 5rem;
  padding: 0.7rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(29, 80, 71, 0.12);
  background: rgba(255, 255, 255, 0.72);
  object-fit: contain;
}

.page-hero--about {
  --hero-tint-a: rgba(159, 78, 168, 0.16);
  --hero-tint-b: rgba(29, 80, 71, 0.14);
  --hero-tint-c: rgba(251, 162, 3, 0.14);
}

.page-hero--projects {
  --hero-tint-a: rgba(29, 80, 71, 0.16);
  --hero-tint-b: rgba(249, 129, 73, 0.14);
  --hero-tint-c: rgba(159, 78, 168, 0.12);
}

.page-hero--magazine {
  --hero-tint-a: rgba(249, 129, 73, 0.16);
  --hero-tint-b: rgba(159, 78, 168, 0.14);
  --hero-tint-c: rgba(29, 80, 71, 0.1);
}

.page-hero--store {
  --hero-tint-a: rgba(29, 80, 71, 0.16);
  --hero-tint-b: rgba(251, 162, 3, 0.16);
  --hero-tint-c: rgba(249, 129, 73, 0.12);
}

.page-hero--quiz {
  --hero-tint-a: rgba(159, 78, 168, 0.18);
  --hero-tint-b: rgba(29, 80, 71, 0.14);
  --hero-tint-c: rgba(249, 129, 73, 0.1);
}

.page-hero--contact {
  --hero-tint-a: rgba(29, 80, 71, 0.14);
  --hero-tint-b: rgba(159, 78, 168, 0.14);
  --hero-tint-c: rgba(251, 162, 3, 0.12);
}

.page-hero--contact .page-hero__content h1 {
  max-width: 10ch;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: 2rem;
}

.story-panel__copy {
  display: grid;
  gap: 1rem;
}

.story-panel__copy h2 {
  margin: 0;
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
  color: var(--muted);
}

.clean-list li {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 245, 249, 0.58);
}

.story-panel__visual img {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
  border-radius: 1.55rem;
  box-shadow: var(--shadow);
}

.about-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr);
  gap: 1rem;
}

.about-mosaic figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.about-mosaic__large {
  aspect-ratio: 1.28 / 1;
}

.about-mosaic__small {
  aspect-ratio: 0.82 / 1;
}

.about-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.value-card {
  padding: 1.4rem;
  border-radius: 1.4rem;
  display: grid;
  gap: 0.9rem;
}

.value-card__meta {
  color: var(--purple-deep);
  font-weight: 700;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

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

.palette-swatch {
  padding: 1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.palette-swatch span {
  display: block;
  height: 5.5rem;
  border-radius: 1rem;
}

.palette-swatch strong,
.palette-swatch small {
  font-family: "Poppins", sans-serif;
}

.palette-swatch small {
  color: var(--muted);
}

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

.process-step {
  padding: 1.5rem;
  border-radius: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.process-step span {
  color: var(--gold);
  font-size: 2.1rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.product-card {
  overflow: hidden;
  border-radius: 1.9rem;
}

.product-card__visual {
  position: relative;
  background: #fcf0f5;
  aspect-ratio: 1 / 1;
  padding: 1.2rem;
  border-bottom: 4px solid #1f1f1f;
}

.product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.3rem;
}

.price-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-width: 6.3rem;
  min-height: 2.8rem;
  background: #fff;
  color: var(--ink);
  border: 3px solid #192430;
  font-family: "Poppins", sans-serif;
}

.product-card__body {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.product-card__body h3 {
  color: var(--green);
  font-size: 1.45rem;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  align-items: center;
}

.status-badge {
  min-height: 2rem;
  padding: 0.2rem 0.8rem;
  background: #d9f9e6;
  border: 1px solid #0c7a4e;
  color: #0c7a4e;
}

.status-badge--gold {
  background: rgba(251, 162, 3, 0.18);
  border-color: rgba(140, 96, 0, 0.34);
  color: #8c6000;
}

.status-badge--muted {
  background: rgba(93, 104, 114, 0.12);
  border-color: rgba(93, 104, 114, 0.26);
  color: var(--muted);
}

.stock-badge {
  min-height: 2rem;
  padding: 0.2rem 0.8rem;
  color: #677588;
  border: 1px solid rgba(103, 117, 136, 0.42);
}

.quiz-card {
  padding: 1.8rem;
  border-radius: 2rem;
  display: grid;
  gap: 1.5rem;
}

.quiz-card__top,
.quiz-card__actions,
.quiz-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quiz-card__body {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 245, 249, 0.72), rgba(255, 255, 255, 0.92));
}

.quiz-progress {
  flex-direction: column;
  align-items: end;
}

.quiz-progress__bar {
  width: min(22rem, 100%);
  height: 0.85rem;
  border-radius: 999px;
  background: rgba(159, 78, 168, 0.12);
  overflow: hidden;
}

.quiz-progress__value {
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transition: width 220ms ease;
}

.quiz-card__eyebrow {
  color: var(--purple-deep);
  font-weight: 700;
}

.quiz-options {
  display: grid;
  gap: 0.85rem;
}

.quiz-option {
  width: 100%;
  text-align: right;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(29, 80, 71, 0.14);
  background: #fff;
  color: var(--ink);
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.quiz-option:hover {
  border-color: rgba(159, 78, 168, 0.3);
  transform: translateY(-1px);
}

.quiz-option.is-selected {
  background: rgba(29, 80, 71, 0.08);
  border-color: rgba(29, 80, 71, 0.28);
}

.quiz-option.is-correct {
  background: #e8fff2;
  border-color: rgba(12, 122, 78, 0.34);
}

.quiz-option.is-wrong {
  background: #fff0eb;
  border-color: rgba(200, 97, 51, 0.26);
}

.quiz-feedback {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(29, 80, 71, 0.06);
  color: var(--green-deep);
  line-height: 1.8;
}

.quiz-feedback.is-error {
  background: rgba(249, 129, 73, 0.14);
  color: #8c4020;
}

.quiz-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(159, 78, 168, 0.08);
  border: 1px solid rgba(159, 78, 168, 0.16);
  color: var(--purple-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.question-hub,
.game-experience {
  display: grid;
  gap: 1.5rem;
}

.question-filter-bar,
.game-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.question-chip,
.game-map__stop {
  min-height: 3.3rem;
  padding: 0.8rem 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(29, 80, 71, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  display: grid;
  gap: 0.2rem;
  text-align: right;
  box-shadow: 0 14px 34px rgba(18, 37, 46, 0.06);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.question-chip:hover,
.game-map__stop:hover {
  transform: translateY(-2px);
  border-color: rgba(161, 79, 166, 0.32);
}

.question-chip span,
.game-map__stop strong {
  font-weight: 700;
}

.question-chip small,
.game-map__stop small,
.game-map__stop span {
  color: var(--muted);
}

.question-chip.is-active,
.game-map__stop.is-active {
  background: linear-gradient(135deg, rgba(29, 80, 71, 0.96), rgba(161, 79, 166, 0.92));
  border-color: transparent;
  color: #fff;
}

.question-chip.is-active small,
.game-map__stop.is-active small,
.game-map__stop.is-active span {
  color: rgba(255, 255, 255, 0.82);
}

.question-hub__layout,
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 1.25rem;
}

.question-sidebar,
.dashboard-list-card,
.dashboard-card,
.question-group-card,
.game-stage,
.dashboard-grid {
  display: grid;
}

.question-sidebar,
.dashboard-list-card {
  gap: 1rem;
}

.question-groups,
.dashboard-list {
  display: grid;
  gap: 0.9rem;
}

.question-group-card,
.dashboard-card,
.dashboard-list-card {
  padding: 1.3rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 245, 249, 0.68)),
    rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 20px 44px rgba(15, 32, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
}

.question-group-card {
  gap: 0.8rem;
}

.question-group-card__badge,
.dashboard-card__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  min-height: 2.3rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(251, 162, 3, 0.14);
  color: #8c6000;
  font-weight: 700;
}

.question-group-card h3,
.dashboard-card h3 {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--display-ar);
}

.question-group-card p,
.dashboard-card p,
.dashboard-list__item span,
.article-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.question-group-card__meta,
.dashboard-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  align-items: center;
}

.question-player {
  min-height: 100%;
}

.game-stage {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 1.25rem;
  align-items: stretch;
}

.game-stage__visual {
  overflow: hidden;
  border-radius: 1.9rem;
  min-height: 30rem;
  box-shadow: var(--shadow);
}

.game-stage__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-stage__card {
  min-height: 100%;
  align-content: start;
}

.game-world,
.game-story,
.game-story__main,
.game-story__aside,
.game-story__stats,
.game-stat,
.game-resolution,
.game-resolution__panel {
  display: grid;
}

.game-world {
  gap: 1.5rem;
}

.game-map--story {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-map__stop.is-complete {
  border-color: rgba(29, 80, 71, 0.28);
  box-shadow: 0 18px 38px rgba(29, 80, 71, 0.14);
}

.game-story {
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.72fr);
  gap: 1.25rem;
  align-items: start;
}

.game-stage--story {
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
}

.game-stage__poster {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 1.95rem;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.game-stage__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 37, 46, 0.08), rgba(23, 37, 46, 0.68)),
    linear-gradient(135deg, color-mix(in srgb, var(--game-theme) 68%, white 32%), rgba(29, 80, 71, 0.24));
}

.game-stage__poster img {
  width: 100%;
  height: 100%;
  min-height: 36rem;
  object-fit: cover;
  transform: scale(1.02);
}

.game-stage__poster-copy {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  z-index: 1;
  display: grid;
  gap: 0.6rem;
  padding: 1.1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  color: #fff;
}

.game-stage__poster-copy strong {
  font-family: var(--display-ar);
  font-size: 1.4rem;
}

.game-stage__poster-copy p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.game-story__card {
  gap: 1.2rem;
}

.game-story__stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.game-stat {
  gap: 0.5rem;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.game-stat__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.game-stat__row span {
  color: var(--muted);
  font-size: 0.94rem;
}

.game-stat__row strong {
  color: var(--green-deep);
  font-family: var(--display-latin);
  font-size: 1rem;
}

.game-stat__bar {
  width: 100%;
  height: 0.62rem;
  border-radius: 999px;
  background: rgba(159, 78, 168, 0.12);
  overflow: hidden;
}

.game-stat__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--game-theme));
  transition: width 260ms ease;
}

.game-story__body {
  gap: 1.15rem;
}

.game-story__narrative {
  margin: 0;
  color: var(--ink);
  line-height: 1.95;
  font-size: 1.02rem;
}

.game-story__choices {
  gap: 0.9rem;
}

.game-choice {
  display: grid;
  gap: 0.32rem;
  text-align: right;
}

.game-choice strong {
  font-size: 1rem;
}

.game-choice small {
  color: var(--muted);
}

.game-choice.is-muted {
  opacity: 0.52;
}

.game-choice.is-selected {
  background: linear-gradient(180deg, rgba(159, 78, 168, 0.12), rgba(29, 80, 71, 0.08));
  border-color: color-mix(in srgb, var(--game-theme) 45%, var(--green) 55%);
}

.game-choice:disabled {
  cursor: default;
}

.game-resolution {
  gap: 0.95rem;
  padding: 1.1rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 245, 249, 0.84)),
    rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.game-resolution__panel {
  gap: 0.45rem;
}

.game-resolution__panel span {
  color: var(--purple-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.game-resolution__panel strong {
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: 1.05rem;
}

.game-resolution__panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.game-deltas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.game-story__aside {
  gap: 1rem;
  position: sticky;
  top: 7rem;
}

.arcade-world,
.arcade-layout,
.arcade-board,
.arcade-board__top,
.arcade-board__heading,
.arcade-hud,
.arcade-stage,
.arcade-stage__overlay,
.arcade-stage__overlay-actions,
.arcade-board__footer,
.arcade-energy,
.arcade-energy__label,
.arcade-controls,
.arcade-aside {
  display: grid;
}

.arcade-world {
  gap: 1.5rem;
}

.arcade-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: 1.25rem;
  align-items: start;
}

.arcade-board,
.arcade-aside > article {
  padding: 1.25rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 245, 249, 0.68)),
    rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 22px 48px rgba(15, 32, 39, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
}

.arcade-board {
  gap: 1rem;
}

.arcade-board__top {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.66fr);
  gap: 1rem;
  align-items: start;
}

.arcade-board__heading {
  gap: 0.55rem;
}

.arcade-board__heading h2 {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.arcade-board__heading p,
.arcade-controls p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.arcade-hud {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.arcade-hud__card {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.arcade-hud__card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.arcade-hud__card strong {
  color: var(--green-deep);
  font-family: var(--display-latin);
  font-size: 1.3rem;
}

.arcade-stage {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  min-height: 30rem;
  background:
    linear-gradient(180deg, rgba(11, 17, 24, 0.14), rgba(11, 17, 24, 0.28)),
    rgba(14, 18, 27, 0.62);
  box-shadow: 0 22px 52px rgba(14, 18, 27, 0.24);
  isolation: isolate;
}

.arcade-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(135deg, color-mix(in srgb, var(--game-theme) 26%, black 74%), rgba(11, 17, 24, 0.92)),
    var(--arcade-art) center / cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.06);
}

.arcade-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(11, 17, 24, 0.12)),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.16), transparent 18%);
}

.arcade-stage__canvas {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 880 / 500;
}

.arcade-stage__overlay {
  position: absolute;
  inset: 1rem;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.8rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(15, 22, 29, 0.48)),
    rgba(15, 22, 29, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: #fff;
}

.arcade-stage__overlay[hidden] {
  display: none;
}

.arcade-stage__overlay-kicker {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 700;
}

.arcade-stage__overlay h3 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--display-ar);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.arcade-stage__overlay p {
  margin: 0;
  max-width: 40rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
}

.arcade-stage__overlay-actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 0.75rem;
  justify-content: center;
}

.arcade-stage__toast {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: min(24rem, calc(100% - 2rem));
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-deep);
  box-shadow: 0 18px 40px rgba(15, 22, 29, 0.22);
  transform: translateY(0.6rem);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.arcade-stage__toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.arcade-board__footer {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr);
  gap: 1rem;
  align-items: center;
}

.arcade-energy {
  gap: 0.75rem;
}

.arcade-energy__label {
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.arcade-energy__label span {
  color: var(--muted);
}

.arcade-energy__label strong {
  color: var(--green-deep);
}

.arcade-energy__bar {
  width: 100%;
  height: 0.95rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(159, 78, 168, 0.12);
}

.arcade-energy__bar span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--game-theme), var(--green));
  transition: width 220ms ease;
}

.arcade-controls {
  gap: 0.25rem;
}

.arcade-controls__title {
  color: var(--purple-deep);
  font-weight: 700;
}

.arcade-controls span span {
  color: var(--green-deep);
  font-weight: 700;
}

.arcade-aside {
  gap: 1rem;
  position: sticky;
  top: 7rem;
}

.arcade-beat {
  border-inline-start: 4px solid rgba(29, 80, 71, 0.08);
}

.arcade-beat.is-active {
  border-inline-start-color: color-mix(in srgb, var(--game-theme) 54%, var(--gold) 46%);
  background: rgba(255, 255, 255, 0.88);
}

.arcade-beat.is-locked {
  opacity: 0.74;
  filter: saturate(0.82);
}

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

.dashboard-card {
  gap: 0.8rem;
}

.dashboard-list__item {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: rgba(255, 245, 249, 0.62);
  display: grid;
  gap: 0.3rem;
  transition:
    transform var(--transition),
    background var(--transition);
}

.dashboard-list__item:hover {
  transform: translateY(-1px);
  background: rgba(249, 213, 227, 0.72);
}

.article-body {
  font-size: 1.03rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.18fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.3rem;
  border-radius: 1.4rem;
  display: grid;
  gap: 0.75rem;
}

.contact-card a {
  color: var(--green);
  font-weight: 700;
}

.contact-form {
  padding: 1.5rem;
  border-radius: 1.8rem;
  display: grid;
  gap: 1rem;
}

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

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
}

.faq-item p {
  margin: 0.8rem 0 0;
}

.site-footer {
  margin-top: 5rem;
  padding: 2rem 0 3rem;
  background: linear-gradient(180deg, var(--green), #1a4648);
  color: #fff;
}

.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 1.5rem;
  padding: 1.6rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 2.2rem;
}

.footer-newsletter h2,
.footer-copy,
.footer-heading {
  margin: 0;
}

.footer-newsletter p,
.footer-copy,
.footer-links a,
.footer-links span,
.footer-bottom {
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr));
  gap: 1.5rem;
}

.footer-column {
  display: grid;
  gap: 0.8rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.social-row,
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: space-between;
}

.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.footer-bottom div {
  display: flex;
  gap: 0.9rem;
}

.will-reveal {
  --reveal-x: 0;
  --reveal-y: 2.6rem;
  --reveal-scale: 0.985;
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition:
    opacity 780ms cubic-bezier(0.2, 0.8, 0.16, 1) var(--reveal-delay, 0ms),
    transform 920ms cubic-bezier(0.2, 0.8, 0.16, 1) var(--reveal-delay, 0ms),
    filter 860ms ease var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.will-reveal[data-reveal="left"] {
  --reveal-x: -2.6rem;
  --reveal-y: 1.1rem;
}

.will-reveal[data-reveal="right"] {
  --reveal-x: 2.6rem;
  --reveal-y: 1.1rem;
}

.will-reveal[data-reveal="soft"] {
  --reveal-y: 1.4rem;
  --reveal-scale: 0.992;
}

.will-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.qr-hero-card {
  gap: 0.9rem;
}

.qr-hero-card__preview,
.qr-preset-card__preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.qr-hero-card__preview {
  min-height: 12rem;
  padding: 0.8rem;
}

.qr-hero-card__preview svg,
.qr-preset-card__preview svg,
.qr-preview-stage svg {
  width: 100%;
  height: auto;
  display: block;
}

.qr-studio,
.qr-studio__layout,
.qr-studio__builder,
.qr-studio__preview,
.qr-builder-form,
.qr-builder-form__section,
.qr-preset-card,
.qr-preset-card__meta,
.qr-preview-card,
.qr-logic-card,
.qr-reliability,
.qr-reliability__score,
.qr-reliability__meta,
.qr-preview-actions {
  display: grid;
}

.qr-studio {
  gap: 1.5rem;
}

.qr-studio__layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1.25rem;
  align-items: start;
}

.qr-studio__builder,
.qr-preview-card,
.qr-logic-card {
  padding: 1.4rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 245, 249, 0.66)),
    rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 24px 56px rgba(15, 32, 39, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
}

.qr-studio__builder,
.qr-studio__preview {
  gap: 1rem;
}

.qr-gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.qr-gallery-filter .button.is-active {
  background: var(--green);
  color: #fff;
}

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

.qr-preset-card {
  gap: 0.85rem;
  align-content: start;
  padding: 0.95rem;
  border: 1px solid rgba(29, 80, 71, 0.08);
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.76);
  text-align: right;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.qr-preset-card:hover,
.qr-preset-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(159, 78, 168, 0.24);
  box-shadow: 0 18px 38px rgba(15, 32, 39, 0.08);
}

.qr-preset-card.is-selected {
  background: rgba(255, 255, 255, 0.94);
}

.qr-preset-card__preview {
  min-height: 11.5rem;
  padding: 0.7rem;
}

.qr-preset-card__meta {
  gap: 0.22rem;
}

.qr-preset-card__meta strong {
  font-family: var(--display-ar);
  color: var(--green-deep);
}

.qr-preset-card__meta span,
.qr-preset-card__meta small {
  color: var(--muted);
  line-height: 1.7;
}

.qr-builder-form {
  gap: 1rem;
}

.qr-builder-form__section {
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.field-card {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.field-card > span {
  color: var(--green);
  font-weight: 700;
}

.field-card--toggle {
  align-content: center;
}

.field-card--toggle input {
  width: 1.2rem;
  height: 1.2rem;
}

.field-card textarea,
.field-card input,
.field-card select {
  width: 100%;
}

.field-card--color input[type="color"] {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.35rem;
  border: 0;
  background: #fff;
  border-radius: 0.9rem;
}

.qr-content-panels {
  display: grid;
  gap: 0.8rem;
}

.qr-content-panel {
  display: none;
}

.qr-content-panel.is-active {
  display: block;
}

.qr-preview-card,
.qr-logic-card {
  gap: 1rem;
}

.qr-preview-stage {
  min-height: 30rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.55), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 252, 0.74));
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.qr-preview-stage.is-refreshing {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 14px 28px rgba(29, 80, 71, 0.08);
}

.qr-preview-stage svg {
  max-width: min(100%, 34rem);
}

.qr-reliability {
  grid-template-columns: minmax(140px, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.qr-reliability__score {
  gap: 0.25rem;
  align-content: start;
}

.qr-reliability__score strong {
  font-family: var(--display-latin);
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--green-deep);
}

.qr-reliability__score span,
.qr-reliability__meta span {
  color: var(--muted);
}

.qr-reliability__meta {
  gap: 0.6rem;
}

.qr-reliability__meta strong {
  color: var(--purple-deep);
}

.qr-reliability__meta ul {
  margin: 0;
  padding-inline-start: 1.1rem;
  color: var(--muted);
  line-height: 1.9;
}

.qr-preview-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.page-qr-studio .dashboard-list {
  display: grid;
  gap: 0.8rem;
}

@media (max-width: 1180px) {
  .qr-studio__layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .qr-builder-form__section,
  .qr-preview-card,
  .qr-logic-card,
  .qr-studio__builder {
    padding: 1rem;
    border-radius: 1.45rem;
  }

  .qr-preview-stage {
    min-height: 22rem;
    padding: 0.75rem;
    border-radius: 1.3rem;
  }

  .qr-reliability,
  .qr-preview-actions,
  .qr-preset-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .qr-gallery-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .qr-preset-grid {
    grid-template-columns: 1fr;
  }

  .qr-preset-card__preview {
    min-height: 10rem;
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes slowSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes slowSpinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes cueBounce {
  0%,
  100% {
    transform: translateX(-50%) rotate(45deg) translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateX(-50%) rotate(45deg) translateY(5px);
    opacity: 1;
  }
}

@keyframes blinkCaret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 0.6rem) 0 auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--transition),
      transform var(--transition),
      visibility var(--transition);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(29, 80, 71, 0.08);
    box-shadow: var(--shadow);
  }

  .site-nav li + li {
    border-top: 1px solid rgba(29, 80, 71, 0.08);
  }

  .site-nav a {
    display: block;
    padding: 0.95rem 0.8rem;
  }
}

@media (max-height: 960px) and (min-width: 1101px) {
  .intro-scroll__content {
    padding-block: 6rem 2.2rem;
  }

  .intro-scroll__glass {
    width: min(60rem, calc(100% - 2rem));
    padding: 1.8rem 1.5rem 1.6rem;
    border-radius: 2.2rem;
  }

  .intro-scroll__mini {
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
  }

  .intro-scroll__line {
    max-width: 16.5ch;
    font-size: clamp(2.15rem, min(3.4vw, 6vh), 3.65rem);
  }

  .intro-scroll__support {
    margin-top: 0.75rem;
    font-size: 0.9rem;
  }

  .intro-scroll__dots {
    margin-top: 1rem;
  }
}

@media (max-width: 1100px) {
  .page-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page-hero__content,
  .page-hero__visual {
    min-height: 0;
  }

  .page-hero__content h1,
  .page-hero--contact .page-hero__content h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 6vw, 3.7rem);
  }

  .page-hero__frame {
    position: relative;
    inset: auto;
    min-height: 24rem;
  }

  .page-hero__note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: -2rem;
  }

  .page-hero__visual--cards {
    grid-template-columns: 1fr 1fr;
  }

  .intro-scroll {
    height: 360vh;
  }

  .intro-scroll__content {
    width: min(100%, calc(100% - 1.5rem));
    grid-template-columns: 1fr;
    padding-block: 6.4rem 2rem;
  }

  .intro-scroll__glass {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    height: auto;
    width: min(100%, 56rem);
    min-height: clamp(29rem, 62vh, 39rem);
    padding: 1.8rem;
    border-radius: 2rem;
  }

  .intro-scroll__line {
    max-width: 100%;
    font-size: clamp(2.3rem, 5.8vw, 3.8rem);
  }

  .intro-scroll__mini,
  .intro-scroll__support {
    max-width: 100%;
  }

  .strength-manifesto,
  .hero-grid,
  .newsletter-banner,
  .editorial-band,
  .home-editorial-carousel,
  .magazine-showcase,
  .story-panel,
  .feature-story,
  .magazine-feature,
  .question-hub__layout,
  .game-story,
  .arcade-layout,
  .game-stage,
  .dashboard-columns,
  .contact-layout,
  .footer-newsletter,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid,
  .program-grid,
  .values-grid,
  .palette-grid,
  .product-grid,
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-map--story,
  .game-story__stats,
  .arcade-hud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-story__aside {
    position: static;
  }

  .arcade-aside {
    position: static;
  }

  .arcade-board__top,
  .arcade-board__footer {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .process-grid,
  .split-callout,
  .about-mosaic {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 24rem;
  }

  .editorial-band__stack {
    min-height: 28rem;
  }

  .news-card:first-child {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .home-editorial-carousel__stage-wrap {
    min-height: 34rem;
  }

  .home-editorial-frame {
    padding: 1.4rem;
  }

  .strength-manifesto {
    margin-top: -5vh;
  }

  .strength-manifesto__visual img {
    min-height: 25rem;
  }
}

@media (max-width: 860px) {
  .page-hero {
    padding: 1.3rem;
    border-radius: 1.8rem;
  }

  .page-hero__content {
    padding: 0.4rem;
  }

  .page-hero__frame {
    min-height: 20rem;
    border-radius: 1.55rem;
  }

  .page-hero__note,
  .page-hero__panel {
    border-radius: 1.3rem;
  }

  .page-hero__visual--cards {
    grid-template-columns: 1fr;
  }

  .intro-scroll {
    height: 320vh;
  }

  .site-header {
    padding: 0.72rem 0;
  }

  .site-header__inner {
    grid-template-columns: auto auto 1fr;
    gap: 0.8rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .field-grid,
  .metrics-grid,
  .program-grid,
  .values-grid,
  .palette-grid,
  .product-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .game-map--story,
  .game-story__stats,
  .arcade-hud,
  .arcade-stage__overlay-actions {
    grid-template-columns: 1fr;
  }

  .news-card:first-child {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .home-editorial-carousel__stage-wrap {
    min-height: 28.5rem;
  }

  .home-editorial-card {
    width: min(22rem, calc(100% - 0.8rem));
    padding: 0.8rem;
  }

  .home-editorial-card__poster {
    min-height: 21rem;
  }

  .home-editorial-card__glass {
    width: calc(100% - 1rem);
    margin-top: -4.8rem;
  }

  .section-head--split {
    align-items: start;
    flex-direction: column;
  }

  .mini-story {
    grid-template-columns: 1fr;
  }

  .editorial-band__primary,
  .editorial-band__secondary {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    transform: none;
  }

  .editorial-band__stack {
    display: grid;
    gap: 1rem;
    min-height: 0;
  }

  .intro-scroll__content {
    width: min(100%, calc(100% - 1rem));
    padding-block: 6.2rem 1.4rem;
  }

  .intro-scroll__glass {
    width: 100%;
    min-height: clamp(25rem, 56vh, 32rem);
    padding: 1.45rem 1.2rem;
    border-radius: 1.7rem;
  }

  .intro-scroll__line {
    max-width: 100%;
    font-size: clamp(2rem, 7vw, 3.15rem);
  }

  .intro-scroll__support {
    font-size: 0.98rem;
  }

  .strength-manifesto {
    margin-top: -3vh;
    padding: 1.2rem;
  }

  .arcade-board,
  .arcade-aside > article {
    padding: 1rem;
    border-radius: 1.55rem;
  }

  .arcade-stage {
    min-height: 22rem;
    border-radius: 1.45rem;
  }

  .arcade-stage__overlay {
    inset: 0.8rem;
    padding: 1.35rem;
  }
}

@media (max-width: 640px) {
  .home-editorial-frame {
    padding: 1.1rem;
    border-radius: 1.8rem;
  }

  .home-editorial-panel {
    padding: 1.35rem;
  }

  .home-editorial-panel h3 {
    max-width: none;
    font-size: 1.48rem;
  }

  .home-editorial-carousel__controls {
    justify-content: space-between;
  }

  .home-editorial-count {
    order: 3;
    width: 100%;
  }

  .home-editorial-carousel__stage-wrap {
    min-height: 24rem;
  }

  .home-editorial-card {
    width: min(18.5rem, calc(100% - 0.6rem));
    padding: 0.72rem;
    border-radius: 1.7rem;
  }

  .home-editorial-card__poster {
    min-height: 16.5rem;
    border-radius: 1.25rem;
  }

  .home-editorial-card__glass {
    width: calc(100% - 0.8rem);
    margin-top: -4.15rem;
    padding: 0.8rem 0.9rem 0.9rem;
    border-radius: 1.2rem;
  }

  .home-editorial-card.is-next {
    transform: translate3d(-14%, 5%, -90px) rotateY(-15deg) scale(0.9);
  }

  .home-editorial-card.is-prev {
    transform: translate3d(14%, 5%, -90px) rotateY(15deg) scale(0.9);
  }

  .home-editorial-card.is-far-next {
    transform: translate3d(-22%, 10%, -170px) rotateY(-22deg) scale(0.8);
  }

  .home-editorial-card.is-far-prev {
    transform: translate3d(22%, 10%, -170px) rotateY(22deg) scale(0.8);
  }
}

@media (max-width: 620px) {
  .page-hero {
    margin-top: 0.8rem;
    padding: 1rem;
    gap: 1rem;
    border-radius: 1.45rem;
  }

  .page-hero__content h1,
  .page-hero--contact .page-hero__content h1 {
    font-size: clamp(1.95rem, 9vw, 2.65rem);
  }

  .page-hero__content p {
    font-size: 0.95rem;
  }

  .page-hero__chips {
    gap: 0.5rem;
  }

  .page-hero__chips span,
  .page-hero__chips a {
    min-height: 2.2rem;
    padding: 0.45rem 0.78rem;
    font-size: 0.85rem;
  }

  .page-hero__frame {
    min-height: 16rem;
    border-radius: 1.2rem;
  }

  .page-hero__note,
  .page-hero__panel {
    padding: 0.9rem;
  }

  .page-hero__icon-art {
    width: 4.2rem;
    height: 4.2rem;
  }

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

  .brand {
    gap: 0.65rem;
  }

  .brand__mark {
    width: 3rem;
    height: 3rem;
  }

  .brand__text strong {
    font-size: 0.92rem;
  }

  .brand__text small {
    display: none;
  }

  .hero-shell {
    padding-top: 2rem;
    border-bottom-left-radius: 24% 7%;
    border-bottom-right-radius: 24% 7%;
  }

  .hero-actions,
  .quiz-card__top,
  .quiz-card__actions,
  .product-card__meta,
  .social-row,
  .footer-bottom,
  .footer-bottom div {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-title {
    font-size: 2.55rem;
  }

  .hero-frame {
    width: min(17rem, 100%);
  }

  .hero-seal {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .intro-scroll {
    height: 300vh;
    margin-top: -4.9rem;
  }

  .intro-scroll__content {
    width: calc(100% - 0.8rem);
    padding-block: 5.8rem 1.2rem;
  }

  .intro-scroll__mini,
  .intro-scroll__support {
    max-width: 100%;
  }

  .intro-scroll__glass {
    min-height: clamp(22rem, 52vh, 28rem);
    padding: 1.2rem 1rem;
    border-radius: 1.35rem;
  }

  .intro-scroll__mini {
    font-size: 0.92rem;
  }

  .intro-scroll__line {
    font-size: clamp(1.78rem, 9vw, 2.45rem);
    line-height: 1.08;
  }

  .intro-scroll__support {
    font-size: 0.92rem;
  }

  .scroll-cue__text {
    padding-inline: 0.9rem;
    font-size: 0.92rem;
  }

  .strength-manifesto {
    margin-top: -2vh;
    padding: 1rem;
    padding-bottom: 4rem;
  }

  .quiz-progress {
    align-items: start;
  }

  .quiz-progress__bar {
    width: 100%;
  }

  .game-story__aside {
    position: static;
  }

  .game-stage__poster img {
    min-height: 22rem;
  }

  .arcade-stage {
    min-height: 18rem;
  }

  .arcade-stage__overlay {
    inset: 0.65rem;
    padding: 1.1rem;
  }

  .arcade-stage__toast {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }
}

:root {
  --identity-pattern-soft: url("/media/new%20webidenty/ChatGPT%20Image%20May%2014%2C%202026%2C%2012_31_55%20AM.png");
  --identity-pattern-bold: url("/media/new%20webidenty/ChatGPT%20Image%20May%2014%2C%202026%2C%2012_32_39%20AM.png");
  --identity-pattern-lines: url("/media/new%20webidenty/ChatGPT%20Image%20May%2014%2C%202026%2C%2012_33_27%20AM.png");
  --identity-face: url("/media/new%20webidenty/Screenshot_2026-04-16_031924.png");
  --identity-flower: url("/media/new%20webidenty/ChatGPT%20Image%20May%2014%2C%202026%2C%2012_30_06%20AM.png");
}

.page-home main::before,
.page-projects main::before,
.page-magazine main::before,
.page-project-detail main::before {
  content: "";
  position: absolute;
  inset: 1rem 0 auto;
  height: 19rem;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(252, 250, 248, 0.22), rgba(252, 250, 248, 0.95)),
    var(--identity-pattern-soft) center top / cover no-repeat;
  opacity: 0.12;
  z-index: -1;
}

.page-shell {
  padding-top: 1.2rem;
}

.page-overview__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-overview__chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 80, 71, 0.1);
  color: var(--green);
  font-weight: 700;
}

.home-stage {
  padding: 1.4rem 0 0;
}

.home-stage__grid {
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.95fr) minmax(0, 0.87fr);
  grid-template-areas:
    "hero feature programs"
    "gallery stats news";
  gap: 1rem;
  align-items: stretch;
}

.mosaic-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  direction: rtl;
  min-height: 18.8rem;
  padding: 1.4rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 252, 0.9)),
    rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.95rem;
}

.mosaic-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--identity-pattern-lines) center / cover no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.mosaic-panel::after {
  content: "";
  position: absolute;
  width: 11rem;
  height: 11rem;
  inset: auto auto -4.8rem -4.2rem;
  border-radius: 50%;
  background: rgba(162, 208, 205, 0.28);
  z-index: 0;
}

.mosaic-panel > * {
  position: relative;
  z-index: 1;
}

.mosaic-panel h1,
.mosaic-panel h2,
.mosaic-panel h3 {
  margin: 0;
  font-family: var(--display-ar);
  color: var(--green-deep);
}

.mosaic-panel .section-head h2 {
  max-width: none;
  font-size: clamp(1.22rem, 1.65vw, 1.72rem);
}

.mosaic-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.mosaic-panel--hero {
  grid-area: hero;
  grid-template-columns: minmax(0, 0.92fr) minmax(240px, 0.82fr);
  align-items: center;
  min-height: 23.6rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(255, 245, 249, 0.92)),
    rgba(255, 255, 255, 0.24);
}

.mosaic-panel--hero::after {
  width: 15rem;
  height: 15rem;
  inset: auto -4.2rem -5rem auto;
  background: rgba(162, 208, 205, 0.42);
  filter: blur(4px);
}

.mosaic-panel--hero h1 {
  max-width: 8.5ch;
  font-size: clamp(1.78rem, 2.5vw, 2.75rem);
  line-height: 1.08;
}

.mosaic-panel--hero h1 span {
  color: var(--purple-deep);
}

.mosaic-panel__copy {
  display: grid;
  gap: 0.9rem;
}

.home-stage__chips,
.folder-stats,
.project-folder-card__counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.home-stage__chips a,
.project-folder-card__counts span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(29, 80, 71, 0.12);
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
}

.home-stage__chips a:hover {
  background: rgba(29, 80, 71, 0.08);
  color: var(--purple-deep);
}

.mosaic-panel__hero-art,
.mosaic-panel__media,
.project-folder-card__media,
.project-detail-hero__media,
.resource-card__media {
  overflow: hidden;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.mosaic-panel__hero-art img,
.mosaic-panel__media img,
.project-folder-card__media img,
.project-detail-hero__media img,
.resource-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-panel__hero-art {
  position: relative;
  min-height: 100%;
  aspect-ratio: 1 / 1.04;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 250, 0.84));
}

.mosaic-panel--hero .mosaic-panel__hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 0.8rem 0.2rem;
  filter: drop-shadow(0 18px 30px rgba(18, 37, 46, 0.08));
}

.mosaic-panel__hero-art::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  bottom: -1.4rem;
  width: 7.4rem;
  height: 7.4rem;
  background: var(--identity-flower) center / contain no-repeat;
  z-index: 2;
}

.mosaic-panel__hero-art::after {
  content: "";
  position: absolute;
  right: -1.4rem;
  top: -1.2rem;
  width: 9rem;
  height: 9rem;
  border-radius: 1.8rem;
  background: var(--identity-pattern-bold) center / cover no-repeat;
  opacity: 0.18;
  transform: rotate(-8deg);
}

.mosaic-panel--feature .mosaic-panel__media,
.mosaic-panel--news .headline-card,
.mosaic-panel--gallery .mini-gallery,
.mosaic-panel--stats .metrics-grid--inline {
  align-self: start;
}

.mosaic-panel--feature .mosaic-panel__media {
  aspect-ratio: 4 / 3;
}

.mosaic-panel--feature .mosaic-panel__media img {
  object-fit: contain;
  padding: 0.65rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 249, 0.86));
}

.mosaic-panel--feature {
  grid-area: feature;
  align-content: start;
}

.mosaic-panel--feature::after {
  background: rgba(249, 129, 73, 0.14);
}

.mosaic-panel--feature p,
.mosaic-panel--news p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mosaic-panel--feature > p {
  -webkit-line-clamp: 3;
}

.folder-stats div {
  min-width: 0;
  padding: 0.85rem 0.9rem;
  border-radius: 1.2rem;
  background: rgba(29, 80, 71, 0.05);
  display: grid;
  gap: 0.25rem;
}

.folder-stats strong {
  font-size: 1.25rem;
  color: var(--green-deep);
}

.folder-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.mosaic-panel--programs {
  grid-area: programs;
  align-content: start;
}

.mosaic-panel--programs::after {
  background: rgba(159, 78, 168, 0.11);
}

.panel-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.program-list {
  display: grid;
  gap: 0.75rem;
  counter-reset: program-list;
}

.program-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.program-list__item::before {
  counter-increment: program-list;
  content: counter(program-list, decimal-leading-zero);
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(29, 80, 71, 0.08);
  color: var(--green-deep);
  font-family: var(--display-latin);
  font-weight: 700;
  line-height: 1;
}

.program-list__item strong {
  color: var(--green-deep);
  display: block;
  margin-bottom: 0.2rem;
}

.mosaic-panel--programs .program-list__item p {
  display: block;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-list__item--gold {
  box-shadow: inset 0 0 0 1px rgba(251, 162, 3, 0.14);
}

.program-list__item--green {
  box-shadow: inset 0 0 0 1px rgba(29, 80, 71, 0.14);
}

.program-list__item--purple {
  box-shadow: inset 0 0 0 1px rgba(161, 79, 166, 0.14);
}

.mosaic-panel--news {
  grid-area: news;
  align-content: start;
}

.headline-card,
.headline-list,
.mini-gallery {
  display: grid;
  gap: 0.85rem;
}

.headline-card {
  padding: 1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.headline-card h3 {
  font-size: 1.24rem;
  line-height: 1.45;
}

.headline-card span,
.headline-list a span {
  color: var(--purple-deep);
  font-weight: 700;
  font-size: 0.88rem;
}

.headline-list a {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 1.1rem;
  background: rgba(29, 80, 71, 0.04);
  transition: transform var(--transition), background var(--transition);
}

.headline-list a:hover {
  transform: translateY(-2px);
  background: rgba(29, 80, 71, 0.08);
}

.mosaic-panel--gallery {
  grid-area: gallery;
  align-content: start;
}

.mosaic-panel--gallery::after {
  background: rgba(251, 162, 3, 0.13);
}

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

.mini-gallery__item {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.mini-gallery__item img {
  aspect-ratio: 1 / 1;
  border-radius: 1.2rem;
  object-fit: cover;
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.mini-gallery__item figcaption {
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.84rem;
}

.mosaic-panel--stats {
  grid-area: stats;
  align-content: start;
}

.mosaic-panel--stats::after {
  background: rgba(29, 80, 71, 0.12);
}

.metrics-grid--inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.metrics-grid--inline .metric-card {
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.metrics-grid--inline .metric-card strong {
  font-size: 1.35rem;
}

.section-directory,
.photo-gallery,
.project-catalog,
.project-resource-grid,
.project-directory,
.magazine-directory {
  display: grid;
  gap: 1rem;
}

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

.directory-card,
.magazine-directory-card,
.project-directory-card {
  padding: 1.35rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.55rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.directory-card:hover,
.magazine-directory-card:hover,
.project-directory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(15, 32, 39, 0.1);
}

.directory-card span,
.magazine-directory-card span,
.project-directory-card span {
  color: var(--purple-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

.directory-card strong,
.magazine-directory-card strong,
.project-directory-card strong {
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: 1.2rem;
}

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

.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-card__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  display: grid;
  gap: 0.25rem;
  background: linear-gradient(180deg, rgba(16, 26, 31, 0), rgba(16, 26, 31, 0.78));
  color: #fff;
}

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

.project-catalog--full {
  grid-template-columns: 1fr;
}

.project-folder-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  min-height: 100%;
}

.project-folder-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.45rem;
  background: var(--project-accent, var(--green));
}

.project-folder-card__media {
  margin: 1rem 1rem 0;
  aspect-ratio: 4 / 3;
}

.project-folder-card__body {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem 1rem 1rem;
}

.project-folder-card__body h2,
.project-folder-card__body h3,
.resource-card__body h3 {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--display-ar);
}

.project-folder-card__body p,
.project-folder-card__preview-groups p,
.resource-card__body p,
.resource-card__details,
.directory-card p,
.magazine-directory-card p,
.project-directory-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.project-folder-card--full {
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
}

.project-folder-card--full .project-folder-card__media {
  margin: 1rem;
  height: calc(100% - 2rem);
  aspect-ratio: auto;
}

.project-folder-card__preview-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.project-folder-card__preview-groups div {
  padding: 0.9rem;
  border-radius: 1.2rem;
  background: rgba(29, 80, 71, 0.05);
}

.project-library-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 249, 0.82)),
    var(--identity-pattern-soft) center / cover no-repeat;
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.project-library-overview__copy {
  display: grid;
  gap: 0.85rem;
}

.project-library-overview__side {
  display: grid;
  gap: 0.9rem;
}

.project-library-overview__media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.75rem;
}

.project-library-overview__media img {
  width: 100%;
  height: clamp(9rem, 15vw, 13rem);
  object-fit: cover;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 38px rgba(15, 32, 39, 0.12);
}

.project-library-overview__media img:last-child {
  transform: translateY(0.8rem);
}

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

.project-stat-grid article {
  padding: 1.15rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(29, 80, 71, 0.08);
  display: grid;
  gap: 0.35rem;
}

.project-stat-grid strong {
  font-size: 2rem;
  color: var(--green-deep);
  font-family: var(--display-latin);
}

.project-detail-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 1.2rem;
  padding: 1.4rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 249, 0.88)),
    rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.project-detail-hero::before {
  content: "";
  position: absolute;
  inset: auto auto -8rem -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--project-accent, var(--green)) 24%, white);
}

.project-detail-hero__copy {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.project-detail-hero__copy h1 {
  margin: 0;
  font-family: var(--display-ar);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: var(--green-deep);
}

.project-detail-hero__media {
  min-height: 25rem;
}

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

.project-detail-section {
  scroll-margin-top: 7rem;
}

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

.resource-card {
  overflow: hidden;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.resource-card__media {
  aspect-ratio: 5 / 3;
  border-radius: 0;
  border: 0;
}

.resource-card__body {
  display: grid;
  gap: 0.8rem;
  padding: 1.15rem;
}

.resource-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--purple-deep);
  font-weight: 700;
  font-size: 0.88rem;
}

.resource-card__details {
  padding: 0.85rem 1rem;
  border-radius: 1.1rem;
  background: rgba(29, 80, 71, 0.05);
}

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

.magazine-directory-card {
  border-top: 0.35rem solid var(--section-accent, var(--green));
}

.magazine-section-block {
  scroll-margin-top: 7rem;
}

.news-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  align-items: start;
}

.news-grid--compact .news-card:first-child {
  grid-column: auto;
  display: block;
}

.empty-copy {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .home-stage__grid,
  .project-catalog,
  .section-directory,
  .photo-gallery,
  .magazine-directory,
  .project-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-stage__grid {
    direction: rtl;
    grid-template-areas:
      "hero hero"
      "feature programs"
      "gallery stats"
      "news news";
  }

  .mosaic-panel--hero,
  .project-folder-card--full,
  .project-library-overview,
  .project-detail-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .home-stage__grid,
  .metrics-grid--inline,
  .section-directory,
  .photo-gallery,
  .project-catalog,
  .project-resource-grid,
  .project-directory,
  .magazine-directory,
  .news-grid--compact,
  .project-folder-card__preview-groups {
    grid-template-columns: 1fr;
  }

  .home-stage__grid {
    direction: rtl;
    grid-template-areas:
      "hero"
      "feature"
      "programs"
      "gallery"
      "stats";
      "news";
  }

  .mosaic-panel,
  .project-library-overview,
  .project-detail-hero {
    padding: 1.15rem;
    border-radius: 1.5rem;
  }

  .mosaic-panel--hero {
    min-height: auto;
  }

  .mini-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .home-stage {
    padding-top: 0.8rem;
  }

  .project-library-overview__media {
    grid-template-columns: 1fr;
  }

  .project-library-overview__media img:last-child {
    transform: none;
  }

  .mosaic-panel h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .mosaic-panel,
  .project-folder-card,
  .resource-card,
  .directory-card,
  .magazine-directory-card,
  .project-directory-card {
    border-radius: 1.25rem;
  }

  .mini-gallery {
    grid-template-columns: 1fr;
  }
}

.page-home main::before,
.page-projects main::before,
.page-magazine main::before,
.page-project-detail main::before {
  height: 16rem;
  opacity: 0.08;
}

.landing-home {
  padding-top: 1.25rem;
}

.landing-hero {
  display: grid;
  gap: 1rem;
}

.landing-hero__layout,
.landing-overview {
  display: grid;
  direction: rtl;
  gap: 1rem;
}

.landing-hero__layout {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

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

.landing-card,
.landing-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  direction: rtl;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 250, 0.93));
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.landing-card::before,
.landing-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--identity-pattern-lines) center / cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.landing-card > *,
.landing-panel > * {
  position: relative;
  z-index: 1;
}

.landing-hero__copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.5rem, 2.8vw, 2.5rem);
}

.landing-hero__copy h1 {
  margin: 0;
  max-width: 9ch;
  font-family: var(--display-ar);
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  line-height: 1.04;
  color: var(--green-deep);
}

.landing-hero__copy h1 span {
  color: var(--purple-deep);
}

.landing-hero__copy p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.95;
}

.landing-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.landing-hero__chips a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(29, 80, 71, 0.1);
  color: var(--green);
  font-weight: 700;
}

.landing-hero__chips a:hover {
  color: var(--purple-deep);
  background: rgba(255, 255, 255, 1);
}

.landing-hero__media {
  min-height: 31rem;
  padding: 0;
  display: grid;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
  animation: floatSoft 8s ease-in-out infinite;
  border-radius: 2rem;
  overflow: hidden;
}

.landing-hero__media::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.34), transparent 22%),
    var(--identity-pattern-lines) center / cover no-repeat;
  opacity: 0.08;
}

.landing-hero__media > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
  transition: transform 0.4s ease;
}

.landing-hero__stamp {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  width: min(12rem, 38%);
  padding: 0.7rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: 0 18px 40px rgba(15, 32, 39, 0.12);
  animation: stampFloat 6.2s ease-in-out infinite;
}

.landing-hero__stamp img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 1.15rem;
}

.landing-panel {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.35rem;
  min-height: 100%;
}

.landing-panel h2 {
  margin: 0;
  font-family: var(--display-ar);
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  color: var(--green-deep);
  line-height: 1.2;
}

.landing-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.landing-panel__intro {
  font-size: 0.95rem;
}

.landing-panel--about {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 251, 0.93));
}

.landing-panel--programs {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 250, 0.93));
}

.landing-panel--stats {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.landing-program-list {
  display: grid;
  gap: 0.8rem;
}

.landing-program-item {
  padding: 1rem 1.05rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: 0 12px 30px rgba(15, 32, 39, 0.04);
}

.landing-program-item strong {
  display: block;
  margin: 0 0 0.4rem;
  color: var(--green-deep);
}

.landing-program-item p {
  margin: 0;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-program-item--gold {
  box-shadow:
    inset 0 0 0 1px rgba(251, 162, 3, 0.16),
    0 12px 30px rgba(15, 32, 39, 0.04);
}

.landing-program-item--green {
  box-shadow:
    inset 0 0 0 1px rgba(29, 80, 71, 0.16),
    0 12px 30px rgba(15, 32, 39, 0.04);
}

.landing-program-item--purple {
  box-shadow:
    inset 0 0 0 1px rgba(159, 78, 168, 0.16),
    0 12px 30px rgba(15, 32, 39, 0.04);
}

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

.landing-stats-grid .metric-card {
  padding: 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.landing-stats-grid .metric-card strong {
  font-size: 1.55rem;
}

.landing-stats-grid .metric-card p {
  font-size: 0.92rem;
}

.news-scroller,
.photo-scroller {
  display: grid;
  direction: ltr;
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.news-scroller {
  grid-auto-columns: minmax(18rem, 22rem);
  padding-inline: 0.1rem 0.25rem;
}

.news-scroller__item,
.photo-strip-card {
  scroll-snap-align: start;
}

.scroller-hint {
  margin: -1rem 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.section-head--rail {
  align-items: center;
}

.rail-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rail-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.rail-button {
  width: 2.65rem;
  height: 2.65rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(29, 80, 71, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--green-deep);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.rail-button:hover,
.rail-button:focus-visible {
  transform: translateY(-2px);
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  outline: none;
}

.news-scroller .news-card {
  height: 100%;
}

.news-scroller .news-card:first-child {
  grid-column: auto;
  display: block;
}

.news-scroller .news-card:first-child .news-card__media {
  aspect-ratio: 3 / 4;
  min-height: auto;
}

.news-scroller .news-card__body {
  padding: 1.2rem;
}

.news-scroller .news-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__media {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
  display: grid;
  place-items: center;
}

.news-card__media img {
  object-fit: contain;
  padding: 0.8rem;
}

.photo-scroller {
  grid-auto-columns: minmax(22rem, 31rem);
}

.photo-strip-card {
  position: relative;
  overflow: hidden;
  min-height: 23rem;
  border-radius: 1.75rem;
  background: #fff;
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.photo-strip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.photo-strip-card:hover img {
  transform: scale(1.03);
}

.photo-strip-card__overlay {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 21, 29, 0), rgba(13, 21, 29, 0.78));
}

.photo-strip-card__overlay strong {
  font-size: 1.05rem;
}

.photo-strip-card__overlay span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
}

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

.landing-project-grid .project-folder-card__media {
  aspect-ratio: 4 / 5;
}

.landing-project-grid .project-folder-card__body {
  gap: 0.85rem;
}

.landing-project-grid .project-folder-card__body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-hero {
  min-height: auto;
  padding: 2rem;
  gap: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 250, 0.92));
}

.page-hero::before {
  background:
    radial-gradient(circle at 86% 18%, rgba(162, 208, 205, 0.16), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(249, 213, 227, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 250, 0.92));
}

.page-hero::after {
  display: none;
}

.page-hero__content {
  padding: 0;
}

.page-hero__content h1 {
  max-width: 10ch;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.page-hero__content p {
  font-size: 1rem;
}

.page-hero__chips a,
.page-hero__chips span {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: none;
}

.page-hero__visual {
  min-height: auto;
  display: grid;
  gap: 1rem;
  align-items: start;
}

.page-hero__frame {
  position: relative;
  inset: auto;
  margin: 0;
  min-height: 22rem;
  aspect-ratio: 4 / 3;
  border-radius: 1.8rem;
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.9);
}

.page-hero__frame::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(19, 31, 48, 0.12));
}

.page-hero__note {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(20rem, 100%);
  margin-top: -3.2rem;
  margin-inline-start: 1.5rem;
}

.partner-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 250, 0.93));
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: var(--shadow);
}

.partner-section__copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.partner-section__copy h2 {
  margin: 0;
  font-family: var(--display-ar);
  font-size: clamp(1.9rem, 3vw, 3rem);
  color: var(--green-deep);
  line-height: 1.12;
}

.partner-section__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

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

.partner-card {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  min-height: 10.5rem;
  padding: 1.2rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: 0 16px 38px rgba(15, 32, 39, 0.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 78, 168, 0.18);
  box-shadow: 0 22px 44px rgba(15, 32, 39, 0.08);
}

.partner-card strong {
  font-family: var(--display-ar);
  color: var(--green-deep);
  font-size: 1.2rem;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1180px) {
  .landing-hero__layout,
  .landing-overview,
  .landing-project-grid,
  .partner-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-panel--stats {
    grid-column: 1 / -1;
  }

  .partner-section__copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .landing-home {
    padding-top: 0.9rem;
  }

  .landing-hero__layout,
  .landing-overview,
  .landing-stats-grid,
  .landing-project-grid,
  .partner-section,
  .partner-grid,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .landing-hero__media {
    min-height: 24rem;
  }

  .landing-card,
  .landing-panel,
  .page-hero,
  .photo-strip-card,
  .partner-section {
    border-radius: 1.5rem;
  }

  .landing-hero__stamp {
    width: 9rem;
  }

  .news-scroller {
    grid-auto-columns: minmax(17rem, 85vw);
  }

  .photo-scroller {
    grid-auto-columns: minmax(17rem, 88vw);
  }

  .page-hero__note {
    width: auto;
    margin: 0;
  }

  .section-head--rail,
  .rail-actions {
    align-items: start;
    flex-direction: column;
  }

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

  .animate-fade-in-up,
  .animate-fade-in-right,
  .animate-scale-in,
  .animate-slide-down {
    animation-duration: 0.6s;
  }
}

@media (max-width: 620px) {
  .landing-hero__copy {
    padding: 1.2rem 1rem;
  }

  .landing-hero__copy h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    max-width: 8ch;
  }

  .landing-hero__copy p {
    font-size: 0.95rem;
  }

  .landing-hero__chips {
    flex-direction: column;
    gap: 0.5rem;
  }

  .landing-hero__chips a {
    width: 100%;
    justify-content: center;
  }

  .landing-panel {
    padding: 1.1rem;
  }

  .landing-panel h2 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
  }

  .landing-program-list {
    gap: 0.6rem;
  }

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

  .hero-actions {
    gap: 0.6rem;
  }

  .button {
    min-height: 2.8rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .text-link {
    font-size: 0.95rem;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }
}

.project-folder-card__media,
.page-hero__frame,
.resource-card__media,
.project-detail-hero__media {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.9));
}

.project-folder-card__media img,
.page-hero__frame img,
.resource-card__media img,
.project-detail-hero__media img {
  object-fit: contain;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
  height: 100%;
}

.project-folder-card:hover .project-folder-card__media img {
  transform: scale(1.02);
}

.landing-hero__media:hover > img {
  transform: scale(1.01);
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes stampFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatDelayed {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes statShine {
  0% {
    opacity: 0;
    transform: rotate(24deg) translateX(-80%);
  }
  22% {
    opacity: 0.68;
  }
  100% {
    opacity: 0;
    transform: rotate(24deg) translateX(190%);
  }
}

@keyframes statIconPop {
  0% {
    transform: scale(0.82) rotate(-8deg);
  }
  62% {
    transform: scale(1.08) rotate(3deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade-in-up-delay {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.animate-fade-in-up-delay-2 {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.animate-fade-in-up-delay-3 {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slide-down {
  animation: slideDown 0.6s ease-out forwards;
  opacity: 0;
}

.animate-scale-in {
  animation: scaleIn 0.8s ease-out forwards;
  opacity: 0;
}

.animate-float-delayed {
  animation: floatDelayed 6.2s ease-in-out infinite;
  animation-delay: 0.3s;
}

.text-gradient {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.button-hover-glow {
  position: relative;
  overflow: hidden;
}

.button-hover-glow:hover {
  box-shadow: 0 0 20px rgba(159, 78, 168, 0.3), 0 10px 24px rgba(21, 58, 52, 0.12);
  transform: translateY(-3px);
}

.button-hover-scale {
  transition: all var(--transition);
}

.button-hover-scale:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(21, 58, 52, 0.15);
}

.text-link-hover {
  position: relative;
  transition: color var(--transition);
}

.text-link-hover::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--purple-deep);
  transition: width var(--transition);
}

.text-link-hover:hover::after {
  width: 100%;
}

.chip-link {
  transition: all var(--transition);
  position: relative;
}

.chip-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(21, 58, 52, 0.12);
  background: var(--paper);
}

.program-item-hover {
  transition: all var(--transition);
}

.program-item-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(159, 78, 168, 0.12);
  border-color: rgba(159, 78, 168, 0.24);
}

.stat-card-hover {
  transition: all var(--transition);
}

.stat-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 32, 39, 0.12);
}

.partner-card-hover {
  transition: all var(--transition);
}

.partner-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(159, 78, 168, 0.1);
  border-color: rgba(159, 78, 168, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 245, 249, 0.96));
}

.project-card-hover {
  transition: all var(--transition);
}

.project-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 32, 39, 0.16);
}

.news-card-item {
  animation-delay: calc(var(--item-index, 0) * 0.1s);
}

.counter {
  display: block;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .will-reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

:root {
  --identity-pattern-soft: url("/media/website-custom/20056ba9-cae6-40ad-86cd-538c1c0f6b37.png");
  --identity-pattern-bold: url("/media/website-custom/65728d07-5984-4114-8c3c-b7f518f21c20_GVMSvvy.png");
  --identity-pattern-lines: url("/media/website-custom/20056ba9-cae6-40ad-86cd-538c1c0f6b37_8Yeng3F.png");
  --identity-face: url("/media/website-custom/0997c8bc-a98d-4482-b30d-80c8fe990ba5.png");
  --identity-flower: url("/media/website-custom/f77bccfc-c7bc-4b50-bc33-f379ecb0ff45.png");
}

html,
body,
.page-home main {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body,
  .page-home main {
    overflow-x: hidden;
  }
}

.page-home {
  background:
    radial-gradient(circle at 86% 5%, rgba(251, 162, 3, 0.16), transparent 23rem),
    radial-gradient(circle at 12% 18%, rgba(162, 208, 205, 0.22), transparent 20rem),
    linear-gradient(180deg, #fffaf6 0%, #f8f4ef 48%, #fff 100%);
}

.home-redesign,
.home-section {
  position: relative;
  overflow-x: clip;
}

.home-redesign {
  isolation: isolate;
  padding: clamp(1rem, 2vw, 1.8rem) 0 clamp(2.4rem, 5vw, 4.5rem);
}

.home-redesign::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.75), rgba(255, 250, 246, 0.2)),
    var(--identity-pattern-soft) center / cover no-repeat;
  opacity: 0.24;
}

.home-redesign__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  pointer-events: none;
  z-index: -1;
}

.home-redesign__glow--one {
  width: 22rem;
  height: 22rem;
  top: 2rem;
  right: -7rem;
  background: rgba(29, 80, 71, 0.15);
}

.home-redesign__glow--two {
  width: 24rem;
  height: 24rem;
  bottom: -8rem;
  left: -6rem;
  background: rgba(249, 129, 73, 0.14);
}

.home-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.1rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 80, 71, 0.12);
  color: var(--green-deep);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.home-hero-pro {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.1rem, 3vw, 2.4rem);
  align-items: center;
  direction: rtl;
}

.home-hero-pro > * {
  min-width: 0;
}

.home-hero-pro__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(0.95rem, 2vw, 1.35rem);
  padding: clamp(1.35rem, 3.6vw, 3rem);
  border-radius: clamp(1.5rem, 3vw, 2.8rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 240, 0.78)),
    rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(29, 80, 71, 0.1);
  box-shadow:
    0 30px 80px rgba(15, 32, 39, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
}

.home-hero-pro__copy::after {
  content: "";
  position: absolute;
  inset: auto auto 1.1rem 1.1rem;
  width: clamp(5.6rem, 12vw, 10rem);
  height: clamp(5.6rem, 12vw, 10rem);
  border-radius: 2.2rem;
  background: var(--identity-pattern-lines) center / cover no-repeat;
  opacity: 0.16;
  transform: rotate(-8deg);
  pointer-events: none;
}

.home-hero-pro__copy h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 10ch;
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: clamp(3rem, 7.2vw, 6.35rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.home-hero-pro__copy h1 span {
  display: block;
  color: #8a3f83;
}

.home-hero-pro__copy h1 .home-hero-pro__title-main {
  color: var(--green-deep);
}

.home-hero-pro__copy p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 42rem;
  color: #344851;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 2;
}

.home-hero-pro__actions,
.home-hero-pro__trust {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.home-hero-pro__trust span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(29, 80, 71, 0.07);
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.home-hero-pro__visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.82fr);
  grid-template-rows: minmax(14rem, 0.95fr) minmax(12rem, 0.72fr);
  gap: clamp(0.7rem, 1.6vw, 1rem);
  min-height: clamp(34rem, 56vw, 44rem);
  padding: clamp(0.7rem, 1.7vw, 1rem);
  border-radius: clamp(1.6rem, 3.4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(21, 58, 52, 0.14), rgba(255, 255, 255, 0.35)),
    rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 34px 90px rgba(15, 32, 39, 0.14);
}

.home-hero-pro__visual::before {
  content: "";
  position: absolute;
  inset: 12% 6% 8% 22%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(251, 162, 3, 0.28), transparent 48%),
    radial-gradient(circle at 28% 32%, rgba(249, 129, 73, 0.18), transparent 42%);
  filter: blur(28px);
  pointer-events: none;
}

.home-hero-pro__visual figure {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(1.25rem, 2vw, 2rem);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 52px rgba(15, 32, 39, 0.16);
}

.home-hero-pro__visual img,
.home-gallery-card img,
.home-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-pro__portrait {
  grid-row: 1 / 3;
}

.home-hero-pro__wide {
  transform: translateY(1.2rem);
}

.home-hero-pro__mini {
  transform: translateY(-0.3rem);
}

.home-hero-pro__note {
  position: absolute;
  z-index: 2;
  right: clamp(0.9rem, 3vw, 2rem);
  bottom: clamp(0.9rem, 3vw, 2rem);
  display: grid;
  gap: 0.25rem;
  width: min(18rem, calc(100% - 2rem));
  padding: 1rem 1.1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(29, 80, 71, 0.1);
  color: var(--green-deep);
  box-shadow: 0 20px 45px rgba(15, 32, 39, 0.16);
  backdrop-filter: blur(14px);
}

.home-hero-pro__note strong {
  font-family: var(--display-ar);
  font-size: 1.05rem;
}

.home-hero-pro__note span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.home-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: clamp(1rem, 2.6vw, 1.7rem);
  direction: rtl;
}

.home-proof-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-width: 0;
  min-height: 11rem;
  padding: 1.05rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(29, 80, 71, 0.1);
  box-shadow: 0 18px 44px rgba(15, 32, 39, 0.08);
  backdrop-filter: blur(16px);
  transition:
    transform 420ms cubic-bezier(0.2, 0.85, 0.24, 1),
    opacity 420ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.home-proof-card::before {
  content: "";
  position: absolute;
  inset: -45% auto auto -30%;
  width: 9rem;
  height: 18rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  opacity: 0;
  transform: rotate(24deg) translateX(-70%);
  pointer-events: none;
}

.js-counter-ready .home-proof-card {
  opacity: 0;
  transform: translateY(1.4rem) scale(0.96);
}

.js-counter-ready .home-proof-card.is-counted {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: calc(var(--stat-index, 0) * 90ms);
}

.home-proof-card.is-counted::before {
  animation: statShine 1100ms ease calc(var(--stat-index, 0) * 110ms) both;
}

.home-proof-card:hover {
  transform: translateY(-0.35rem);
  border-color: rgba(251, 162, 3, 0.22);
  box-shadow: 0 24px 56px rgba(15, 32, 39, 0.12);
}

.home-proof-card .metric-card__icon {
  width: 3.1rem;
  height: 3.1rem;
  transition:
    transform 420ms cubic-bezier(0.2, 0.85, 0.24, 1),
    box-shadow 240ms ease;
}

.home-proof-card.is-counted .metric-card__icon {
  animation: statIconPop 720ms cubic-bezier(0.2, 0.85, 0.24, 1) both;
}

.home-proof-card strong {
  color: var(--gold);
  font-family: var(--display-latin);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
}

.home-proof-card__value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.home-proof-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-section {
  padding-top: clamp(3.3rem, 7vw, 6.5rem);
  direction: rtl;
}

.home-section__head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.home-section__head--split {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.25rem;
}

.home-section__head h2,
.home-showcase__copy h2,
.home-collab__copy h2 {
  margin: 0;
  max-width: 16ch;
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.home-section__head p,
.home-showcase__copy p,
.home-collab__copy p,
.home-projects-pro .home-section__head > p {
  margin: 0;
  max-width: 50rem;
  color: var(--muted);
  line-height: 1.9;
}

.home-pathways__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-route-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.85rem;
  min-height: 17rem;
  padding: 1.25rem;
  border-radius: 1.65rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 241, 0.86)),
    #fff;
  border: 1px solid rgba(29, 80, 71, 0.1);
  box-shadow: 0 20px 52px rgba(15, 32, 39, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.home-route-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -34% auto;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: var(--route-glow, rgba(162, 208, 205, 0.28));
  transition: transform 260ms ease;
}

.home-route-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 80, 71, 0.18);
  box-shadow: 0 30px 68px rgba(15, 32, 39, 0.12);
}

.home-route-card:hover::before {
  transform: scale(1.18);
}

.home-route-card span,
.home-route-card strong,
.home-route-card p {
  position: relative;
  z-index: 1;
}

.home-route-card span {
  color: var(--gold);
  font-family: var(--display-latin);
  font-size: 0.9rem;
  font-weight: 800;
}

.home-route-card strong {
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.home-route-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.home-route-card--magazine {
  --route-glow: rgba(249, 129, 73, 0.2);
}

.home-route-card--questions {
  --route-glow: rgba(162, 208, 205, 0.34);
}

.home-route-card--game {
  --route-glow: rgba(159, 78, 168, 0.18);
}

.home-route-card--projects {
  --route-glow: rgba(251, 162, 3, 0.2);
}

.home-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.home-showcase__copy {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.8rem;
  background:
    linear-gradient(180deg, rgba(21, 58, 52, 0.92), rgba(26, 70, 72, 0.96)),
    var(--identity-pattern-bold) center / cover no-repeat;
  color: #fff;
  box-shadow: 0 26px 70px rgba(15, 32, 39, 0.16);
}

.home-showcase__copy .home-kicker {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.home-showcase__copy h2,
.home-showcase__copy p,
.home-showcase__copy .text-link {
  color: #fff;
}

.home-showcase__copy p {
  color: rgba(255, 255, 255, 0.82);
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(9rem, 14vw, 13rem);
  gap: 0.8rem;
}

.home-gallery-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: 1.45rem;
  background: #efe6ee;
  box-shadow: 0 20px 52px rgba(15, 32, 39, 0.1);
}

.home-gallery-card--1,
.home-gallery-card--4 {
  grid-row: span 2;
}

.home-gallery-card--2,
.home-gallery-card--5 {
  grid-column: span 2;
}

.home-gallery-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, rgba(10, 18, 24, 0), rgba(10, 18, 24, 0.72));
}

.home-gallery-card figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  color: #fff;
}

.home-gallery-card figcaption strong {
  font-family: var(--display-ar);
  font-size: 1rem;
}

.home-gallery-card figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-news-grid .news-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 56px rgba(15, 32, 39, 0.08);
}

.home-news-grid .news-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.home-news-grid .news-card:first-child .news-card__media,
.home-news-grid .news-card__media {
  min-height: auto;
  aspect-ratio: 4 / 3;
  background: #f4ecf2;
}

.home-news-grid .news-card:first-child .news-card__media {
  aspect-ratio: 16 / 10;
}

.home-news-grid .news-card__media img {
  padding: 0;
  object-fit: cover;
  background: transparent;
}

.home-news-grid .news-card h3 {
  color: var(--ink);
  font-family: var(--display-ar);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.5;
}

.home-news-grid .news-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-collab__panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 240, 0.9)),
    var(--identity-pattern-soft) center / cover no-repeat;
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: 0 28px 74px rgba(15, 32, 39, 0.1);
}

.home-collab__copy {
  display: grid;
  gap: 1rem;
  align-content: center;
  padding: clamp(0.5rem, 2vw, 1rem);
}

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

.home-partner-card {
  min-width: 0;
  min-height: 10.5rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 80, 71, 0.08);
}

.home-partner-card strong {
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: 1.16rem;
}

.home-partner-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.home-project-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(15rem, 0.8fr) auto;
  border-radius: 1.65rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: 0 22px 56px rgba(15, 32, 39, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.home-project-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.44rem;
  background: var(--project-accent, var(--green));
}

.home-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 72px rgba(15, 32, 39, 0.13);
}

.home-project-card figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #f4ecf2;
}

.home-project-card > div {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
}

.home-project-card h3 {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.home-project-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-project-card__link {
  color: var(--green);
  font-weight: 900;
}

.home-newsletter-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 1.1rem;
  align-items: center;
  margin-bottom: -1.8rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(21, 58, 52, 0.96), rgba(28, 78, 68, 0.92)),
    var(--identity-pattern-bold) center / cover no-repeat;
  color: #fff;
  box-shadow: 0 28px 72px rgba(15, 32, 39, 0.16);
}

.home-newsletter-cta .home-kicker {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.home-newsletter-cta__copy {
  display: grid;
  gap: 0.8rem;
}

.home-newsletter-cta__copy h2 {
  margin: 0;
  max-width: 16ch;
  color: #fff;
  font-family: var(--display-ar);
  font-size: clamp(1.8rem, 3.8vw, 3.35rem);
  line-height: 1.08;
}

.home-newsletter-cta__copy p {
  margin: 0;
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.9;
}

.home-newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.home-newsletter-form input {
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: none;
}

.home-newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(251, 162, 3, 0.28);
}

@media (max-width: 1120px) {
  .home-hero-pro,
  .home-showcase,
  .home-collab__panel {
    grid-template-columns: 1fr;
  }

  .home-proof,
  .home-pathways__grid,
  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-newsletter-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-home .site-header {
    background: rgba(255, 250, 246, 0.92);
  }

  .site-nav {
    inset-inline: 1rem;
  }

  .home-redesign {
    padding-top: 0.9rem;
  }

  .home-hero-pro {
    gap: 0.9rem;
  }

  .home-hero-pro__copy {
    padding: 1rem;
    border-radius: 1.35rem;
  }

  .home-hero-pro__copy h1 {
    max-width: 10ch;
    font-size: clamp(2.15rem, 12.5vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .home-hero-pro__copy p {
    font-size: 0.94rem;
    line-height: 1.78;
  }

  .home-hero-pro__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-hero-pro__actions .button {
    width: 100%;
  }

  .home-hero-pro__trust {
    gap: 0.5rem;
  }

  .home-hero-pro__trust span {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
    min-height: 2.05rem;
    padding: 0.36rem 0.62rem;
    font-size: 0.82rem;
  }

  .home-hero-pro__visual {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 17rem 10rem;
    min-height: auto;
    border-radius: 1.35rem;
  }

  .home-hero-pro__portrait {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .home-hero-pro__wide,
  .home-hero-pro__mini {
    transform: none;
  }

  .home-hero-pro__note {
    position: relative;
    right: auto;
    bottom: auto;
    grid-column: 1 / -1;
    width: 100%;
  }

  .home-proof,
  .home-pathways__grid,
  .home-news-grid,
  .home-project-grid,
  .home-collab__cards {
    grid-template-columns: 1fr;
  }

  .home-proof-card {
    min-height: auto;
  }

  .home-section {
    padding-top: 3.2rem;
  }

  .home-section__head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-section__head--split .button {
    width: 100%;
  }

  .home-section__head h2,
  .home-showcase__copy h2,
  .home-collab__copy h2,
  .home-newsletter-cta__copy h2 {
    max-width: 100%;
    font-size: clamp(1.75rem, 9vw, 2.6rem);
  }

  .home-route-card {
    min-height: auto;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 10.5rem;
  }

  .home-gallery-card--1,
  .home-gallery-card--2,
  .home-gallery-card--4,
  .home-gallery-card--5 {
    grid-column: auto;
    grid-row: auto;
  }

  .home-gallery-card--1,
  .home-gallery-card--4 {
    grid-row: span 2;
  }

  .home-news-grid .news-card:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .home-project-card {
    grid-template-rows: minmax(13rem, 0.8fr) auto;
  }

  .home-newsletter-cta {
    margin-bottom: -0.8rem;
    border-radius: 1.45rem;
  }

  .home-newsletter-form {
    grid-template-columns: 1fr;
    border-radius: 1.35rem;
  }

  .home-newsletter-form .button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .home-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 15rem;
  }

  .home-gallery-card--1,
  .home-gallery-card--4 {
    grid-row: auto;
  }

  .home-hero-pro__visual {
    grid-template-columns: 1fr;
    grid-template-rows: 19rem 11rem 11rem auto;
  }
}

/* Professional sizing pass */
h1,
h2,
h3,
.brand__text strong,
.home-kicker,
.button,
.site-nav a,
.home-hero-pro__copy h1,
.home-section__head h2,
.home-showcase__copy h2,
.home-collab__copy h2,
.home-newsletter-cta__copy h2,
.page-hero__content h1,
.landing-hero__copy h1,
.project-detail-hero__copy h1 {
  letter-spacing: 0;
}

.button {
  min-height: 2.75rem;
  padding: 0.62rem 1.12rem;
  font-size: 0.92rem;
}

.site-header {
  padding: clamp(0.48rem, 1vw, 0.72rem) 0;
}

.site-header__inner {
  gap: clamp(0.7rem, 1.5vw, 1.1rem);
}

.brand {
  gap: 0.65rem;
}

.brand__mark {
  height: clamp(2.55rem, 3.1vw, 3.05rem);
}

.brand__text strong {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.brand__text small {
  font-size: clamp(0.58rem, 0.85vw, 0.66rem);
}

.site-nav ul {
  gap: clamp(0.62rem, 1.1vw, 1rem);
}

.site-nav a {
  font-size: 0.92rem;
}

.menu-toggle {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.62rem;
}

.section,
.page-hero {
  padding: 4rem 0;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
}

.page-hero {
  gap: 1.1rem;
  padding: clamp(1.15rem, 2.2vw, 1.7rem);
}

.page-hero__content {
  gap: 0.8rem;
}

.page-hero__content h1,
.page-hero--contact .page-hero__content h1,
.landing-hero__copy h1,
.project-detail-hero__copy h1 {
  font-size: clamp(1.75rem, 2.7vw, 2.8rem);
  line-height: 1.16;
}

.page-hero__content p,
.landing-hero__copy p,
.project-detail-hero__copy p {
  font-size: clamp(0.94rem, 1vw, 1rem);
  line-height: 1.8;
}

.page-hero__chips {
  gap: 0.52rem;
}

.page-hero__chips span,
.page-hero__chips a {
  min-height: 2rem;
  padding: 0.36rem 0.7rem;
  font-size: 0.84rem;
}

.page-hero__note {
  padding: 0.85rem 0.9rem;
}

.page-hero__note strong,
.page-hero__panel strong {
  font-size: 1rem;
}

.page-hero__icon-art {
  width: 4rem;
  height: 4rem;
}

.home-redesign {
  padding: clamp(0.8rem, 1.5vw, 1.2rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.home-kicker {
  min-height: 1.85rem;
  padding: 0.34rem 0.68rem;
  font-size: 0.78rem;
}

.home-hero-pro {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(0.9rem, 2.2vw, 1.7rem);
}

.home-hero-pro__copy {
  gap: clamp(0.75rem, 1.4vw, 1rem);
  padding: clamp(1.05rem, 2.45vw, 2.1rem);
  border-radius: clamp(1.1rem, 2vw, 1.8rem);
}

.home-hero-pro__copy::after {
  width: clamp(4rem, 8vw, 7rem);
  height: clamp(4rem, 8vw, 7rem);
  border-radius: 1.4rem;
}

.home-hero-pro__copy h1 {
  max-width: 11ch;
  font-size: clamp(2.25rem, 4.75vw, 4.35rem);
  line-height: 1.05;
}

.home-hero-pro__copy p {
  max-width: 36rem;
  font-size: clamp(0.94rem, 1vw, 1.04rem);
  line-height: 1.78;
}

.home-hero-pro__actions,
.home-hero-pro__trust {
  gap: 0.58rem;
}

.home-hero-pro__trust span {
  min-height: 1.95rem;
  padding: 0.32rem 0.62rem;
  font-size: 0.8rem;
}

.home-hero-pro__visual {
  grid-template-rows: minmax(11rem, 0.95fr) minmax(9rem, 0.72fr);
  min-height: clamp(27rem, 42vw, 34rem);
  padding: clamp(0.55rem, 1.25vw, 0.8rem);
  border-radius: clamp(1.15rem, 2.2vw, 1.9rem);
}

.home-hero-pro__visual figure {
  border-radius: clamp(0.9rem, 1.4vw, 1.4rem);
}

.home-hero-pro__wide {
  transform: translateY(0.7rem);
}

.home-hero-pro__note {
  width: min(15.5rem, calc(100% - 1.4rem));
  padding: 0.78rem 0.9rem;
  border-radius: 1rem;
}

.home-hero-pro__note strong {
  font-size: 0.95rem;
}

.home-hero-pro__note span {
  font-size: 0.82rem;
  line-height: 1.55;
}

.home-proof {
  gap: 0.7rem;
}

.home-proof-card {
  min-height: 8.8rem;
  padding: 0.85rem;
  border-radius: 1.05rem;
}

.home-proof-card .metric-card__icon,
.metric-card__icon {
  width: 2.55rem;
  height: 2.55rem;
}

.home-proof-card strong,
.metric-card strong {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.home-proof-card p,
.home-section__head p,
.home-showcase__copy p,
.home-collab__copy p,
.home-projects-pro .home-section__head > p,
.home-route-card p,
.home-partner-card p,
.home-project-card p,
.home-news-grid .news-card p,
.home-newsletter-cta__copy p {
  font-size: 0.94rem;
  line-height: 1.72;
}

.home-section {
  padding-top: clamp(2.35rem, 4.5vw, 4.4rem);
}

.home-section__head {
  gap: 0.62rem;
  margin-bottom: clamp(1rem, 2.2vw, 1.55rem);
}

.home-section__head h2,
.home-showcase__copy h2,
.home-collab__copy h2 {
  max-width: 18ch;
  font-size: clamp(1.55rem, 2.9vw, 2.75rem);
  line-height: 1.16;
}

.home-pathways__grid,
.home-news-grid,
.home-project-grid {
  gap: 0.78rem;
}

.home-route-card {
  min-height: 13rem;
  gap: 0.62rem;
  padding: 1rem;
  border-radius: 1.15rem;
}

.home-route-card strong,
.home-project-card h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.32;
}

.home-showcase {
  gap: clamp(0.8rem, 2vw, 1.35rem);
}

.home-showcase__copy,
.home-collab__panel,
.home-newsletter-cta {
  border-radius: 1.35rem;
}

.home-showcase__copy {
  gap: 0.75rem;
  padding: clamp(1rem, 2vw, 1.45rem);
}

.home-gallery-grid {
  grid-auto-rows: clamp(8rem, 11vw, 10.75rem);
  gap: 0.62rem;
}

.home-gallery-card {
  border-radius: 1.05rem;
}

.home-gallery-card figcaption {
  padding: 0.8rem;
}

.home-news-grid .news-card {
  border-radius: 1.15rem;
}

.home-news-grid .news-card h3 {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.45;
}

.home-collab__panel {
  gap: 0.8rem;
  padding: clamp(0.9rem, 1.6vw, 1.15rem);
}

.home-collab__copy {
  gap: 0.75rem;
}

.home-collab__cards {
  gap: 0.72rem;
}

.home-partner-card {
  min-height: 8rem;
  gap: 0.42rem;
  padding: 0.88rem;
  border-radius: 1rem;
}

.home-partner-card strong {
  font-size: 1rem;
}

.home-project-card {
  grid-template-rows: minmax(11.5rem, 0.8fr) auto;
  border-radius: 1.15rem;
}

.home-project-card > div {
  gap: 0.58rem;
  padding: 0.9rem;
}

.home-newsletter-cta {
  gap: 0.85rem;
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.home-newsletter-cta__copy {
  gap: 0.58rem;
}

.home-newsletter-cta__copy h2 {
  max-width: 18ch;
  font-size: clamp(1.45rem, 2.65vw, 2.35rem);
  line-height: 1.16;
}

.home-newsletter-form {
  gap: 0.55rem;
  padding: 0.42rem;
}

.home-newsletter-form input {
  min-height: 2.75rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .home-hero-pro,
  .home-showcase,
  .home-collab__panel {
    grid-template-columns: 1fr;
  }

  .home-hero-pro__visual {
    width: min(100%, 46rem);
    margin-inline: auto;
  }

  .site-nav a {
    padding: 0.72rem 0.7rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 760px) {
  .button {
    min-height: 2.65rem;
    padding: 0.58rem 1rem;
    font-size: 0.88rem;
  }

  .site-header {
    padding: 0.42rem 0;
  }

  .site-header__inner {
    gap: 0.55rem;
  }

  .brand__mark {
    height: 2.35rem;
  }

  .brand__text strong {
    font-size: 0.88rem;
  }

  .brand__text small {
    display: none;
  }

  .menu-toggle {
    width: 2.35rem;
    height: 2.35rem;
    padding: 0.58rem;
  }

  .section,
  .page-hero {
    padding: 2.75rem 0;
  }

  .page-hero {
    padding: 0.95rem;
    border-radius: 1.25rem;
  }

  .page-hero__content h1,
  .page-hero--contact .page-hero__content h1,
  .landing-hero__copy h1,
  .project-detail-hero__copy h1 {
    font-size: clamp(1.5rem, 6.2vw, 2.05rem);
  }

  .page-hero__content p,
  .landing-hero__copy p,
  .project-detail-hero__copy p {
    font-size: 0.9rem;
  }

  .home-redesign {
    padding-top: 0.7rem;
  }

  .home-hero-pro {
    gap: 0.75rem;
  }

  .home-hero-pro__copy {
    gap: 0.68rem;
    padding: 0.88rem;
    border-radius: 1.05rem;
  }

  .home-hero-pro__copy h1 {
    max-width: 12ch;
    font-size: clamp(1.55rem, 6.8vw, 1.95rem);
    line-height: 1.14;
  }

  .home-hero-pro__copy p {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .home-hero-pro__trust span {
    min-height: 1.85rem;
    padding: 0.28rem 0.48rem;
    font-size: 0.76rem;
  }

  .home-hero-pro__visual {
    grid-template-rows: 12.5rem 7.5rem;
    border-radius: 1.05rem;
  }

  .home-hero-pro__note {
    padding: 0.72rem 0.8rem;
  }

  .home-proof-card {
    min-height: auto;
  }

  .home-section {
    padding-top: 2.6rem;
  }

  .home-section__head h2,
  .home-showcase__copy h2,
  .home-collab__copy h2,
  .home-newsletter-cta__copy h2 {
    font-size: clamp(1.25rem, 5.4vw, 1.72rem);
    line-height: 1.2;
  }

  .home-section__head p,
  .home-showcase__copy p,
  .home-collab__copy p,
  .home-projects-pro .home-section__head > p,
  .home-route-card p,
  .home-partner-card p,
  .home-project-card p,
  .home-news-grid .news-card p,
  .home-newsletter-cta__copy p {
    font-size: 0.88rem;
  }

  .home-gallery-grid {
    grid-auto-rows: 9rem;
  }

  .home-project-card {
    grid-template-rows: minmax(9.2rem, 0.8fr) auto;
  }

  .home-newsletter-form {
    border-radius: 1rem;
  }
}

@media (max-width: 460px) {
  .home-hero-pro__visual {
    grid-template-rows: 13rem 7.8rem 7.8rem auto;
  }

  .home-gallery-grid {
    grid-auto-rows: 12rem;
  }
}

/* Compact scale requested after mobile review */
html {
  font-size: 15px;
}

.project-folder-card__body h2,
.project-folder-card__body h3,
.resource-card__body h3,
.project-library-overview__copy h2 {
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.28;
}

.project-folder-card__body p,
.project-folder-card__preview-groups p,
.resource-card__body p,
.directory-card p,
.magazine-directory-card p,
.project-directory-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.project-stat-grid strong {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.project-folder-card__body {
  gap: 0.65rem;
  padding: 0.95rem 0.9rem 0.9rem;
}

.project-folder-card__counts {
  gap: 0.45rem;
}

.project-folder-card__counts span {
  min-height: 1.9rem;
  padding: 0.32rem 0.62rem;
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  html {
    font-size: 13.5px;
  }

  .shell {
    width: min(100% - 1.2rem, 1180px);
  }

  .site-header {
    padding: 0.34rem 0;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand__mark {
    height: 2.05rem;
  }

  .brand__text strong {
    font-size: 0.82rem;
  }

  .menu-toggle {
    width: 2.15rem;
    height: 2.15rem;
    padding: 0.52rem;
  }

  .button {
    min-height: 2.35rem;
    padding: 0.48rem 0.82rem;
    font-size: 0.82rem;
  }

  .eyebrow,
  .badge,
  .home-kicker {
    font-size: 0.74rem;
  }

  .page-hero__content h1,
  .page-hero--contact .page-hero__content h1,
  .landing-hero__copy h1,
  .project-detail-hero__copy h1 {
    font-size: clamp(1.35rem, 5.2vw, 1.8rem);
    line-height: 1.22;
  }

  .page-hero__content p,
  .landing-hero__copy p,
  .project-detail-hero__copy p {
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .page-hero__chips span,
  .page-hero__chips a {
    min-height: 1.78rem;
    padding: 0.28rem 0.55rem;
    font-size: 0.76rem;
  }

  .section {
    padding: 2.1rem 0;
  }

  .section-head h2,
  .page-hero h1,
  .home-section__head h2,
  .home-showcase__copy h2,
  .home-collab__copy h2,
  .home-newsletter-cta__copy h2 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    line-height: 1.25;
  }

  .section-head p,
  .home-section__head p,
  .home-showcase__copy p,
  .home-collab__copy p,
  .home-projects-pro .home-section__head > p {
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .project-library-overview,
  .project-folder-card,
  .resource-card,
  .directory-card,
  .magazine-directory-card,
  .project-directory-card {
    border-radius: 0.95rem;
  }

  .project-library-overview,
  .project-detail-hero,
  .mosaic-panel {
    padding: 0.82rem;
  }

  .project-library-overview__copy,
  .project-library-overview__side,
  .project-folder-card__body {
    gap: 0.55rem;
  }

  .project-library-overview__copy h2,
  .project-folder-card__body h2,
  .project-folder-card__body h3,
  .resource-card__body h3,
  .magazine-directory-card strong,
  .project-directory-card strong {
    font-size: 1.1rem;
    line-height: 1.28;
  }

  .project-folder-card__body p,
  .project-folder-card__preview-groups p,
  .resource-card__body p,
  .resource-card__details,
  .directory-card p,
  .magazine-directory-card p,
  .project-directory-card p {
    font-size: 0.82rem;
    line-height: 1.48;
  }

  .project-folder-card__body {
    padding: 0.72rem;
  }

  .project-folder-card__media {
    margin: 0.55rem 0.55rem 0;
    border-radius: 0.82rem;
  }

  .project-folder-card--full .project-folder-card__media {
    height: auto;
    max-height: 12rem;
    margin: 0.55rem;
    aspect-ratio: 16 / 8.2;
  }

  .project-folder-card__counts {
    gap: 0.34rem;
  }

  .project-folder-card__counts span {
    min-height: 1.65rem;
    padding: 0.24rem 0.48rem;
    font-size: 0.7rem;
  }

  .project-folder-card__preview-groups {
    gap: 0.45rem;
  }

  .project-folder-card__preview-groups div,
  .project-stat-grid article {
    padding: 0.6rem;
    border-radius: 0.75rem;
  }

  .project-stat-grid {
    gap: 0.5rem;
  }

  .project-stat-grid strong {
    font-size: 1.18rem;
  }

  .project-library-overview__media img {
    height: 8rem;
    border-radius: 0.85rem;
  }
}

@media (max-width: 460px) {
  html {
    font-size: 13px;
  }

  .project-folder-card--full .project-folder-card__media {
    max-height: 10.5rem;
  }

  .project-library-overview__media img {
    height: 7.4rem;
  }
}

/* Home compact order */
.home-compact {
  position: relative;
  isolation: isolate;
  padding: 0.85rem 0 2.2rem;
  background:
    linear-gradient(180deg, rgba(252, 250, 248, 0.88), rgba(252, 250, 248, 0.96)),
    var(--identity-pattern-soft) center top / 58rem auto repeat;
}

.home-compact-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  width: 100%;
  min-height: calc(100svh - 4.2rem);
  padding: clamp(1.25rem, 4vw, 4.5rem) max(1.2rem, calc((100vw - 1180px) / 2));
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 244, 248, 0.12) 0%, rgba(255, 244, 248, 0.34) 42%, rgba(252, 250, 248, 0.86) 72%, rgba(252, 250, 248, 0.96) 100%),
    var(--home-hero-bg) center / cover no-repeat;
  border: 0;
  box-shadow: none;
  direction: rtl;
}

.home-compact-hero__copy {
  display: grid;
  gap: 0.78rem;
  justify-self: start;
  min-width: 0;
  width: min(42rem, 100%);
  max-width: none;
  padding: clamp(1.35rem, 2.6vw, 2.4rem);
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 247, 0.82)),
    rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow:
    0 26px 70px rgba(15, 32, 39, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
  text-align: right;
}

.home-compact-hero h1 {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  color: var(--green-deep);
  font-family: var(--display-latin);
  font-size: clamp(2.45rem, 4.4vw, 4.25rem);
  line-height: 0.96;
}

.home-compact-hero h1 small {
  color: var(--purple-deep);
  font-family: var(--display-ar);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  line-height: 1.45;
}

.home-compact-hero p {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.home-compact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.55rem;
}

.home-compact-hero__mark {
  display: none;
}

.home-compact-hero__mark img {
  width: min(7.5rem, 74%);
  height: auto;
}

.home-compact-section {
  margin-top: clamp(1rem, 2vw, 1.45rem);
  direction: rtl;
}

.home-compact-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.72rem;
}

.home-compact-section__head h2 {
  margin: 0.35rem 0 0;
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.25;
}

.home-compact-rail,
.home-project-rail,
.home-counter-rail {
  display: grid;
  grid-auto-flow: column;
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding: 0.1rem 0.05rem 0.55rem;
}

.home-compact-rail {
  direction: ltr;
  grid-auto-columns: clamp(15.5rem, 23vw, 18rem);
}

.home-compact-rail .news-card,
.home-compact-rail .news-card:first-child {
  display: grid;
  grid-template-columns: 1fr;
  height: 18.5rem;
  border-radius: 1rem;
}

.home-compact-rail .news-card:first-child {
  grid-column: auto;
}

.home-compact-rail .news-card__media,
.home-compact-rail .news-card:first-child .news-card__media {
  min-height: 0;
  height: 8.3rem;
  aspect-ratio: auto;
}

.home-compact-rail .news-card__media img {
  padding: 0.5rem;
}

.home-compact-rail .news-card__body {
  gap: 0.42rem;
  min-height: 0;
  padding: 0.78rem;
}

.home-compact-rail .news-card__meta {
  gap: 0.45rem;
  font-size: 0.72rem;
}

.home-compact-rail .news-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--green-deep);
  font-size: 0.98rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-compact-rail .news-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-compact-rail .text-link {
  font-size: 0.78rem;
}

.home-counter-rail {
  direction: rtl;
  grid-auto-columns: minmax(10.5rem, 1fr);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-counter-card {
  display: grid;
  min-height: 7.5rem;
  gap: 0.35rem;
  align-content: center;
  padding: 0.78rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: 0 14px 34px rgba(15, 32, 39, 0.06);
}

.home-counter-card .metric-card__icon {
  width: 2.2rem;
  height: 2.2rem;
}

.home-counter-card strong {
  color: var(--gold);
  font-family: var(--display-latin);
  font-size: clamp(1.22rem, 2.2vw, 1.72rem);
  line-height: 1;
}

.home-counter-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 0.34fr);
  gap: 0.8rem;
  align-items: stretch;
  min-height: 13.8rem;
  padding: 0.9rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: 0 18px 48px rgba(15, 32, 39, 0.08);
}

.home-promo-card--game {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 239, 0.92)),
    rgba(255, 255, 255, 0.9);
}

.home-promo-card__copy {
  display: grid;
  gap: 0.5rem;
  align-content: center;
  min-width: 0;
}

.home-promo-card h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.24;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-promo-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-promo-card__media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0.95rem;
  background: #f5eff4;
}

.home-promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-project-rail {
  direction: ltr;
  grid-auto-columns: clamp(15.5rem, 24vw, 18.5rem);
}

.home-project-mini {
  scroll-snap-align: start;
  overflow: hidden;
  display: grid;
  grid-template-rows: 8.5rem minmax(0, 1fr);
  height: 16.2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 80, 71, 0.08);
  box-shadow: 0 14px 34px rgba(15, 32, 39, 0.06);
  border-inline-start: 0.28rem solid var(--project-accent, var(--green));
  direction: rtl;
}

.home-project-mini figure {
  margin: 0;
  overflow: hidden;
  background: #f4ecf2;
}

.home-project-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-project-mini div {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.72rem;
}

.home-project-mini span {
  color: var(--purple-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.home-project-mini strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--green-deep);
  font-family: var(--display-ar);
  font-size: 1rem;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-project-mini p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 760px) {
  .home-compact {
    padding-top: 0.55rem;
    background-size: 34rem auto;
  }

  .home-compact-hero {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 3.1rem);
    gap: 0.6rem;
    align-items: end;
    padding: 1rem 0.6rem 1.4rem;
    background:
      linear-gradient(180deg, rgba(252, 250, 248, 0.22) 0%, rgba(252, 250, 248, 0.42) 42%, rgba(252, 250, 248, 0.92) 100%),
      var(--home-hero-bg) center / cover no-repeat;
  }

  .home-compact-hero__copy {
    justify-self: stretch;
    width: 100%;
    gap: 0.56rem;
    padding: 0.9rem;
    border-radius: 0.95rem;
  }

  .home-compact-hero h1 {
    font-size: clamp(1.75rem, 7.2vw, 2.2rem);
    line-height: 1.02;
  }

  .home-compact-hero h1 small {
    font-size: 0.75rem;
  }

  .home-compact-hero p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-compact-section {
    margin-top: 0.82rem;
  }

  .home-compact-section__head {
    align-items: center;
    margin-bottom: 0.5rem;
  }

  .home-compact-section__head h2 {
    margin-top: 0.22rem;
    font-size: 1rem;
  }

  .rail-button {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }

  .home-compact-rail {
    grid-auto-columns: 13.2rem;
    gap: 0.55rem;
  }

  .home-compact-rail .news-card,
  .home-compact-rail .news-card:first-child {
    height: 14.8rem;
    border-radius: 0.85rem;
  }

  .home-compact-rail .news-card__media,
  .home-compact-rail .news-card:first-child .news-card__media {
    height: 6.2rem;
  }

  .home-compact-rail .news-card__body {
    padding: 0.58rem;
  }

  .home-compact-rail .news-card h3 {
    font-size: 0.86rem;
  }

  .home-compact-rail .news-card p {
    font-size: 0.72rem;
  }

  .home-counter-rail {
    grid-template-columns: none;
    grid-auto-columns: 8.4rem;
    gap: 0.55rem;
  }

  .home-counter-card {
    min-height: 6.35rem;
    padding: 0.62rem;
    border-radius: 0.82rem;
  }

  .home-counter-card .metric-card__icon {
    width: 1.9rem;
    height: 1.9rem;
  }

  .home-counter-card strong {
    font-size: 1.18rem;
  }

  .home-counter-card p {
    font-size: 0.72rem;
  }

  .home-promo-card {
    grid-template-columns: minmax(0, 1fr) 6.2rem;
    min-height: 10.2rem;
    gap: 0.55rem;
    padding: 0.68rem;
    border-radius: 0.92rem;
  }

  .home-promo-card h2 {
    font-size: 1rem;
    line-height: 1.26;
  }

  .home-promo-card p {
    font-size: 0.75rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  .home-promo-card__media {
    border-radius: 0.72rem;
  }

  .home-project-rail {
    grid-auto-columns: 13.2rem;
    gap: 0.55rem;
  }

  .home-project-mini {
    grid-template-rows: 6.4rem minmax(0, 1fr);
    height: 12.6rem;
    border-radius: 0.85rem;
  }

  .home-project-mini div {
    gap: 0.25rem;
    padding: 0.55rem;
  }

  .home-project-mini span {
    font-size: 0.66rem;
  }

  .home-project-mini strong {
    font-size: 0.86rem;
  }

  .home-project-mini p {
    font-size: 0.7rem;
  }
}

@media (max-width: 420px) {
  .home-compact-hero {
    grid-template-columns: 1fr;
  }

  .home-compact-hero__mark {
    display: none;
  }
}

/* Articles page compact type rails */
.page-magazine .page-hero {
  grid-template-columns: 1fr;
  min-height: 0;
}

.page-magazine .page-hero__content {
  max-width: 62rem;
}

.page-magazine .page-hero__content h1 {
  max-width: 14ch;
}

.page-magazine .magazine-directory {
  gap: 0.72rem;
}

.page-magazine .magazine-directory-card {
  min-height: 6.4rem;
  padding: 0.82rem;
  border-radius: 0.95rem;
}

.page-magazine .magazine-directory-card strong {
  font-size: 1rem;
}

.page-magazine .magazine-directory-card span {
  font-size: 0.78rem;
}

.article-type-rail {
  direction: ltr;
  grid-auto-columns: clamp(15rem, 23vw, 18rem);
  gap: 0.75rem;
}

.article-type-rail .news-card,
.article-type-rail .news-card:first-child {
  display: grid;
  grid-template-columns: 1fr;
  grid-column: auto;
  height: 18rem;
  border-radius: 1rem;
}

.article-type-rail .news-card__media,
.article-type-rail .news-card:first-child .news-card__media {
  min-height: 0;
  height: 8rem;
  aspect-ratio: auto;
}

.article-type-rail .news-card__body {
  gap: 0.42rem;
  padding: 0.75rem;
}

.article-type-rail .news-card__meta {
  font-size: 0.72rem;
}

.article-type-rail .news-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.96rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-type-rail .news-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-type-rail .text-link {
  font-size: 0.78rem;
}

.page-magazine .rail-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .page-magazine .page-hero {
    padding: 0.82rem;
    border-radius: 1rem;
  }

  .page-magazine .page-hero__content {
    gap: 0.55rem;
  }

  .page-magazine .page-hero__content h1 {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .page-magazine .page-hero__content p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .page-magazine .page-hero__chips {
    flex-wrap: nowrap;
    gap: 0.38rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .page-magazine .page-hero__chips span,
  .page-magazine .page-hero__chips a {
    flex: 0 0 auto;
  }

  .page-magazine .magazine-directory {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 10.5rem;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 0.45rem;
    scroll-snap-type: x proximity;
  }

  .page-magazine .magazine-directory-card {
    min-height: 5.2rem;
    scroll-snap-align: start;
  }

  .page-magazine .section-head--split {
    gap: 0.55rem;
  }

  .page-magazine .rail-actions {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .page-magazine .rail-actions p {
    font-size: 0.74rem;
  }

  .article-type-rail {
    grid-auto-columns: 13rem;
    gap: 0.55rem;
  }

  .article-type-rail .news-card,
  .article-type-rail .news-card:first-child {
    height: 14.6rem;
    border-radius: 0.85rem;
  }

  .article-type-rail .news-card__media,
  .article-type-rail .news-card:first-child .news-card__media {
    height: 6.1rem;
  }

  .article-type-rail .news-card__body {
    padding: 0.58rem;
  }

  .article-type-rail .news-card h3 {
    font-size: 0.84rem;
  }

  .article-type-rail .news-card p {
    font-size: 0.7rem;
  }
}
