:root {
  color-scheme: light;
  --bg: #f5efe4;
  --bg-soft: #fcf8f1;
  --surface: rgba(255, 252, 246, 0.86);
  --surface-strong: rgba(255, 252, 246, 0.96);
  --surface-dark: #1f2431;
  --border: rgba(44, 52, 69, 0.11);
  --border-strong: rgba(44, 52, 69, 0.22);
  --text: #1d2330;
  --text-soft: #596273;
  --text-muted: #7a8394;
  --accent: #af7f34;
  --accent-strong: #2d6c82;
  --accent-soft: rgba(175, 127, 52, 0.12);
  --glow: rgba(45, 108, 130, 0.14);
  --shadow-soft: 0 18px 42px rgba(23, 27, 38, 0.08);
  --shadow-sm: 0 16px 38px rgba(23, 27, 38, 0.08);
  --shadow-md: 0 30px 68px rgba(23, 27, 38, 0.12);
  --shadow-lg: 0 42px 110px rgba(23, 27, 38, 0.16);
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 40px;
  --radius-pill: 999px;
  --shell: min(1240px, calc(100vw - 2rem));
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-display: "Sora", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 20rem),
    radial-gradient(circle at top right, var(--glow), transparent 32rem),
    linear-gradient(180deg, #fffaf2 0%, var(--bg) 48%, #efe5d8 100%);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: -8rem;
  right: -7rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 108, 130, 0.16), transparent 68%);
  filter: blur(10px);
}

body::after {
  left: -9rem;
  bottom: -12rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175, 127, 52, 0.12), transparent 72%);
  filter: blur(10px);
}

body.is-nav-open {
  overflow: hidden;
}

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

video,
canvas,
iframe,
svg {
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
  touch-action: manipulation;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--text);
  box-shadow: var(--shadow-md);
}

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

.language-prompt {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(16px);
  background: rgba(29, 35, 48, 0.92);
  color: #f6f4ef;
}

.language-prompt__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.language-prompt__copy p {
  margin: 0.35rem 0 0;
  color: rgba(246, 244, 239, 0.8);
}

.language-prompt__actions {
  display: flex;
  gap: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  padding: 1rem 0;
  backdrop-filter: blur(18px);
  background: rgba(245, 239, 228, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(23, 27, 38, 0.04);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
  will-change: transform;
}

.site-header[data-hidden="true"] {
  transform: translateY(calc(-100% - 0.9rem));
  box-shadow: none;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 108, 130, 0.16), transparent);
}

.site-header__bar {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
}

body.is-nav-open .site-header,
.site-header:focus-within {
  transform: translateY(0);
}

body.is-nav-open .site-header {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand__mark {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand__copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.brand__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 800;
}

.brand__name {
  font-size: 1.24rem;
  line-height: 1.1;
}

.brand__tag {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-nav {
  position: relative;
  justify-self: end;
  min-width: 0;
  max-width: 100%;
}

.site-nav__toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
}

.site-nav__toggle-line,
.site-nav__toggle-line::before,
.site-nav__toggle-line::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  content: "";
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav__toggle-line::before {
  transform: translateY(-0.38rem);
}

.site-nav__toggle-line::after {
  transform: translateY(0.28rem);
}

.site-nav__panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 1rem;
  width: auto;
  max-width: 100%;
  min-width: 0;
  padding: 0.28rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(23, 27, 38, 0.05);
}

.site-nav__list,
.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav__list {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.18rem;
  border-radius: var(--radius-pill);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 700;
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-current,
.site-nav__link--active {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.78);
}

.site-nav__tools {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.8rem;
  min-width: 0;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.2rem 0.5rem 0.2rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-soft);
  font-weight: 700;
}

.language-picker select {
  border: 0;
  background: transparent;
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.92rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), #c1934f);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 34px rgba(175, 127, 52, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(175, 127, 52, 0.28);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: none;
}

.button--small {
  min-height: 2.65rem;
  padding: 0.7rem 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

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

.hero,
.section {
  padding: clamp(3.5rem, 8vw, 6.2rem) 0;
  position: relative;
}

.page-hero {
  padding: clamp(2.8rem, 7vw, 4.8rem) 0 2.3rem;
}

.hero__grid,
.split-panel,
.contact-layout,
.site-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.page-hero__layout,
.page-hero__stats,
.page-hero__actions,
.breadcrumbs,
.info-grid,
.story-grid,
.quotes-grid,
.faq-grid,
.bio-grid,
.timeline-grid,
.article-grid,
.article-shell,
.cta-banner {
  display: grid;
  gap: 1rem;
}

.hero__grid > *,
.split-panel > *,
.contact-layout > *,
.site-footer__grid > *,
.shop-group__header > *,
.video-feature > *,
.category-card,
.service-card,
.product-card,
.video-card,
.lab-card,
.editorial-card,
.contact-panel,
.contact-form {
  min-width: 0;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: stretch;
  gap: 1.75rem;
}

.page-hero__layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: stretch;
}

.hero__content,
.hero__panel,
.section-heading,
.split-panel__copy,
.contact-panel,
.contact-form {
  display: grid;
  gap: 1rem;
}

.page-hero__body,
.page-hero__media,
.cta-banner__copy {
  display: grid;
  gap: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.42rem 0.92rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--accent);
}

.hero__title,
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 0.97;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__content {
  align-content: center;
  position: relative;
  padding: clamp(1rem, 2vw, 1.35rem) 0;
}

.hero__content::after {
  content: "";
  position: absolute;
  left: -1.4rem;
  bottom: -1rem;
  width: 10rem;
  height: 10rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(45, 108, 130, 0.08), rgba(175, 127, 52, 0.12));
  filter: blur(6px);
  z-index: -1;
}

.hero__copy,
.section-copy,
.contact-panel__copy,
.note-card,
.market-note,
.form-status,
.site-footer__meta,
.noscript-alert,
.card__copy,
.video-card__copy {
  color: var(--text-soft);
}

.brand__tag,
.site-nav__link,
.section-copy,
.card__copy,
.product-card__sku,
.product-card__title,
.product-card__price,
.chip,
.recognition-panel__intro,
.recognition-panel__banner,
.recognition-card__meta,
.recognition-card__label,
.recognition-review__publication,
.recognition-review__details {
  overflow-wrap: anywhere;
}

.hero__badge-row,
.hero__stats,
.hero__mini-grid,
.category-grid,
.newsletter-points,
.service-grid,
.product-grid,
.video-grid,
.lab-grid,
.editorial-grid,
.form-grid,
.contact-panel__meta {
  display: grid;
  gap: 1rem;
}

.hero__badge-row {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.hero__copy {
  margin: 0;
  max-width: 36rem;
  font-size: 1.08rem;
}

.page-hero__intro,
.article-subtitle,
.article-lead,
.article-meta {
  margin: 0;
  color: var(--text-soft);
}

.page-hero__media {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(252, 248, 241, 0.95)),
    linear-gradient(135deg, rgba(45, 108, 130, 0.05), rgba(175, 127, 52, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 21rem;
  object-fit: cover;
}

.page-hero__actions,
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.hub-page--internal .page-hero__layout {
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border-radius: calc(var(--radius-lg) + 0.45rem);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(244, 236, 224, 0.9)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hub-page--internal .page-hero__body {
  align-content: center;
  padding: clamp(0.5rem, 1vw, 0.85rem) clamp(0.5rem, 1.3vw, 1rem) clamp(0.5rem, 1vw, 0.75rem) clamp(1.2rem, 2vw, 1.55rem);
  position: relative;
}

.hub-page--internal .page-hero__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 0.24rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(45, 108, 130, 0.65));
}

.breadcrumbs {
  grid-auto-flow: column;
  justify-content: start;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--accent-strong);
}

.info-grid,
.story-grid,
.quotes-grid,
.faq-grid,
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-card,
.story-card,
.quote-card,
.faq-card,
.bio-card,
.timeline-card,
.blog-feature,
.article-card,
.article-content,
.article-sidebar,
.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 252, 246, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
}

.info-card,
.story-card,
.quote-card,
.faq-card,
.bio-card,
.timeline-card,
.blog-feature,
.article-card,
.article-content,
.article-sidebar,
.cta-banner {
  padding: 1.25rem;
}

.info-card__badge,
.story-card__badge,
.bio-card__eyebrow,
.timeline-card__year {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(45, 108, 130, 0.08);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bio-card--feature {
  grid-column: 1 / -1;
  padding: 1.45rem;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(240, 234, 224, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.1), transparent 38%);
  box-shadow: var(--shadow-soft);
}

.bio-card--feature .bio-card__title {
  font-size: clamp(1.4rem, 2.1vw, 1.95rem);
}

.info-card__title,
.story-card__title,
.faq-card__title,
.bio-card__title,
.timeline-card__title {
  margin: 0;
  line-height: 1.2;
}

.quote-card__quote {
  margin: 0;
  color: var(--text);
  font-size: 1.04rem;
}

.quote-card__author {
  font-size: 1rem;
}

.quote-card__role {
  color: var(--text-muted);
}

.cta-banner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(234, 244, 246, 0.94)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.14), transparent 38%);
}

.article-shell {
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  align-items: start;
}

.article-meta {
  font-size: 0.92rem;
}

.article-content p {
  margin: 0 0 1rem;
}

.article-content p:last-child {
  margin-bottom: 0;
}

.article-sidebar__title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.hero-badge,
.hero-stat,
.mini-card,
.note-card,
.market-note,
.newsletter-point,
.contact-panel__card,
.contact-form,
.hero__panel,
.category-card,
.service-card,
.product-card,
.video-feature,
.video-card,
.lab-card,
.editorial-card,
.floating-card,
.site-footer,
.split-panel,
.contact-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 252, 246, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
}

.hero-badge,
.hero-stat,
.mini-card,
.note-card,
.market-note,
.newsletter-point,
.contact-panel__card,
.contact-form,
.contact-panel,
.video-card,
.lab-card,
.editorial-card {
  padding: 1.2rem;
}

.hero__panel {
  overflow: hidden;
  position: relative;
  padding: 0;
  gap: 0;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(252, 248, 241, 0.95)),
    linear-gradient(135deg, rgba(45, 108, 130, 0.05), rgba(175, 127, 52, 0.09));
}

.hero__panel-media {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
}

.hero__panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 27, 40, 0.06), rgba(20, 27, 40, 0.62));
}

.hero__panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__panel-body {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.hero-spotlight {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(18, 25, 37, 0.52);
  color: #f8f4ec;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.hero-spotlight__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(248, 244, 236, 0.84);
}

.hero-spotlight__title {
  font-size: clamp(1.18rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.hero-spotlight__copy {
  margin: 0;
  color: rgba(248, 244, 236, 0.8);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero__panel-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.hero__panel-copy {
  margin: 0;
  color: var(--text-soft);
}

.hero__note {
  display: grid;
  gap: 0.4rem;
  width: min(100%, 38rem);
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-sm);
}

.hero__note strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.hero__note p {
  margin: 0;
  color: var(--text-soft);
}

.newsletter-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 0.96fr);
  gap: 1.35rem;
  align-items: stretch;
}

.newsletter-panel,
.newsletter-form-card {
  min-width: 0;
}

.newsletter-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  border-radius: calc(var(--radius-lg) + 0.15rem);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(239, 232, 220, 0.94)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 40%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.newsletter-panel__eyebrow,
.newsletter-point__eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.36rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(45, 108, 130, 0.09);
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsletter-panel__title,
.newsletter-point__title,
.newsletter-embed__title {
  margin: 0;
  line-height: 1.15;
}

.newsletter-panel__title {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.newsletter-panel__copy,
.newsletter-embed__copy,
.newsletter-embed__privacy-copy,
.newsletter-embed .entry__specification {
  color: var(--text-soft);
}

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

.newsletter-point {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(44, 52, 69, 0.08);
}

.newsletter-form-card {
  border-radius: calc(var(--radius-lg) + 0.15rem);
  background:
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 34%),
    linear-gradient(145deg, #171c26 0%, #131821 48%, #1b1420 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 72px rgba(10, 12, 18, 0.24);
  overflow: hidden;
}

.newsletter-embed {
  text-align: left;
  background: transparent;
}

.newsletter-embed .sib-form-message-panel {
  max-width: none;
  margin: 1rem 1rem 0;
  border-radius: 1rem;
}

.newsletter-embed__container {
  max-width: none !important;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.newsletter-embed__visual {
  padding: 1rem 1rem 0;
}

.newsletter-embed__image {
  width: 100%;
  min-height: 15rem;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 0.2rem);
  box-shadow: 0 20px 40px rgba(10, 12, 18, 0.18);
}

.newsletter-embed__body {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

.newsletter-embed__header {
  display: grid;
  gap: 0.7rem;
}

.newsletter-embed__eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 246, 228, 0.12);
  color: rgba(255, 236, 204, 0.92);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsletter-embed__title {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  color: #f7f3eb;
}

.newsletter-embed__copy,
.newsletter-embed .entry__label,
.newsletter-embed .entry__specification,
.newsletter-embed__privacy-copy,
.newsletter-embed__privacy-copy a {
  font-family: var(--font-body) !important;
}

.newsletter-embed__copy {
  margin: 0;
  color: rgba(247, 243, 235, 0.78);
}

.newsletter-embed .entry__label,
.newsletter-embed .entry__specification {
  color: rgba(247, 243, 235, 0.82) !important;
}

.newsletter-embed .entry__label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
}

.newsletter-embed .entry__field {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.2rem;
}

.newsletter-embed .input {
  min-height: 3.3rem;
  border: 0 !important;
  border-radius: calc(var(--radius-md) - 0.2rem) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--text) !important;
  padding-inline: 1rem !important;
}

.newsletter-embed .input::placeholder {
  color: #7a8394 !important;
}

.newsletter-embed__privacy {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-embed__privacy-copy p {
  margin: 0;
  color: rgba(247, 243, 235, 0.72);
  font-size: 0.9rem;
}

.newsletter-embed__privacy-copy a {
  color: #f4c77f;
}

.newsletter-embed__actions {
  display: flex;
  justify-content: flex-start;
}

.newsletter-embed__submit {
  min-width: 13rem;
  min-height: 3.25rem;
  border: 0 !important;
  border-radius: var(--radius-pill) !important;
  background: linear-gradient(135deg, var(--accent), #c1934f) !important;
  color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  box-shadow: 0 18px 34px rgba(175, 127, 52, 0.28);
}

.newsletter-embed__submit:hover,
.newsletter-embed__submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(175, 127, 52, 0.32);
}

.newsletter-embed__message--error {
  color: #661d1d;
}

.newsletter-embed__message--success {
  color: #085229;
}

.hero-stat strong,
.mini-card strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}

.hero-stat span,
.mini-card span,
.hero-badge span {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-badge strong {
  display: block;
  margin-bottom: 0.25rem;
}

.hero-badge:nth-child(1) {
  transform: translateY(0.8rem);
}

.hero-badge:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(236, 245, 247, 0.8));
}

.hero-badge:nth-child(3) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 240, 226, 0.82));
}

.hero-badge:hover,
.hero-badge:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

.mini-card {
  background: rgba(247, 241, 231, 0.86);
  border-radius: var(--radius-md);
}

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

.section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.18));
}

.section-heading {
  margin-bottom: 2.3rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 0.8rem 2rem;
}

.section-copy {
  margin: 0;
  max-width: 52rem;
  font-size: 1.05rem;
}

.section-heading .eyebrow,
.section-heading .section-title {
  grid-column: 1;
}

.section-heading .section-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 30rem;
  padding-bottom: 0.3rem;
}

.editorial-stage {
  display: grid;
  gap: 1.45rem;
  padding: clamp(1.35rem, 2.8vw, 1.95rem);
  border-radius: calc(var(--radius-lg) + 0.25rem);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(245, 238, 227, 0.9)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.editorial-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0.22rem;
  background: linear-gradient(90deg, rgba(175, 127, 52, 0.95), rgba(45, 108, 130, 0.72));
}

.editorial-stage__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.72fr);
  gap: 1rem 1.8rem;
  align-items: end;
}

.editorial-stage .section-heading {
  margin-bottom: 0;
}

.editorial-stage__aside {
  display: grid;
  gap: 0.78rem;
  align-self: stretch;
  align-content: end;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(44, 52, 69, 0.08);
}

.editorial-stage__label {
  color: var(--accent-strong);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.editorial-stage__quote,
.editorial-stage__note {
  margin: 0;
}

.editorial-stage__quote {
  font-size: 1.06rem;
  line-height: 1.45;
  color: var(--text);
  text-wrap: balance;
}

.editorial-stage__note {
  color: var(--text-soft);
}

.split-panel {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(243, 235, 222, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.14), transparent 36%);
}

.visual-stack {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.floating-card {
  overflow: hidden;
}

.floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card--tall {
  grid-row: span 2;
  min-height: 28rem;
}

.floating-card--small {
  min-height: 10rem;
}

.category-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;
  align-items: stretch;
  counter-reset: category;
}

.category-card,
.service-card,
.product-card,
.video-card,
.lab-card,
.editorial-card {
  overflow: hidden;
}

.category-card {
  display: block;
  position: relative;
  grid-column: span 4;
  min-height: clamp(18rem, 24vw, 22rem);
  isolation: isolate;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 32, 47, 0.08), rgba(25, 32, 47, 0.78));
  z-index: 1;
  pointer-events: none;
}

.category-card::after {
  counter-increment: category;
  content: counter(category, decimal-leading-zero);
  position: absolute;
  right: 1rem;
  top: 0.9rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}

.category-card__media,
.category-card__content {
  position: absolute;
  inset: 0;
}

.category-card__media {
  z-index: 0;
  pointer-events: none;
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__content {
  display: grid;
  align-content: end;
  gap: 0.7rem;
  padding: 1.15rem;
  z-index: 2;
}

.category-card__badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-card__title,
.service-card__title,
.product-card__title,
.video-card__title,
.lab-card__title,
.editorial-card__title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
  text-wrap: balance;
}

.category-card__title,
.category-card__copy,
.category-card__cta {
  color: #f6f4ef;
}

.category-card__copy {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.45;
}

.category-card__cta {
  font-weight: 800;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card:nth-child(1) {
  grid-column: span 6;
  grid-row: span 2;
  min-height: clamp(24rem, 38vw, 31rem);
}

.category-card:nth-child(1) .category-card__content {
  padding: 1.5rem;
  gap: 0.9rem;
}

.category-card:nth-child(1) .category-card__title {
  font-size: clamp(1.55rem, 2.3vw, 2rem);
}

.category-card:nth-child(2),
.category-card:nth-child(3) {
  grid-column: span 3;
}

.category-card:nth-child(6)::before {
  background: linear-gradient(180deg, rgba(32, 38, 54, 0.08), rgba(32, 38, 54, 0.72));
}

.category-card:nth-child(7),
.category-card:nth-child(10) {
  border-color: rgba(45, 108, 130, 0.22);
}

.category-card:nth-child(7) .category-card__badge,
.category-card:nth-child(10) .category-card__badge {
  background: rgba(248, 244, 236, 0.22);
}

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

.service-grid {
  counter-reset: service;
}

.service-card__media,
.product-card__media,
.video-card__media,
.video-feature__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd2c1;
}

.service-card__media img,
.product-card__media img,
.video-card__media img,
.video-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body,
.product-card__body,
.video-card__body,
.video-feature__body,
.lab-card,
.editorial-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card::after {
  counter-increment: service;
  content: counter(service, decimal-leading-zero);
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: rgba(29, 35, 48, 0.18);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:nth-child(1) {
  grid-column: span 2;
  grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.08fr);
  grid-template-rows: 1fr;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(242, 235, 223, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 36%);
}

.service-card:nth-child(1) .service-card__media {
  aspect-ratio: auto;
  min-height: 100%;
}

.service-card:nth-child(1) .service-card__body {
  align-content: center;
  padding: 1.45rem;
}

.service-card:nth-child(1) .service-card__title {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

.service-card:nth-child(3),
.service-card:nth-child(6) {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(237, 246, 248, 0.9)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.1), transparent 40%);
}

.service-card__meta,
.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shop-stack {
  display: grid;
  gap: 1.75rem;
}

.shop-group {
  display: grid;
  gap: 1rem;
}

.shop-group--landing {
  gap: 1.1rem;
}

.shop-group__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 1rem 1.5rem;
  align-items: end;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(102, 86, 66, 0.12);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.96), rgba(244, 236, 224, 0.85));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.shop-group__header::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 108, 130, 0.14), transparent 70%);
  pointer-events: none;
}

.shop-group__header::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 8rem;
  height: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(45, 108, 130, 0.7));
}

.shop-group__eyebrow {
  grid-column: 1;
  color: var(--accent-strong);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.shop-group__title {
  grid-column: 1;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
  text-wrap: balance;
}

.shop-group__copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  color: var(--text-muted);
  max-width: 60ch;
}

.shop-group__grid {
  align-items: stretch;
}

.shop-group--magic-pro .shop-group__grid {
  grid-template-columns: 1fr;
}

.shop-group--merch .shop-group__grid {
  grid-template-columns: 1fr;
}

.shop-group--merch .shop-group__header {
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.97), rgba(235, 244, 246, 0.9)),
    linear-gradient(135deg, rgba(45, 108, 130, 0.06), rgba(175, 127, 52, 0.06));
}

.feature-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  grid-column: 1 / -1;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 0.25rem);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(242, 234, 222, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.14), transparent 40%);
}

.feature-ribbon::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 108, 130, 0.14), transparent 70%);
  pointer-events: none;
}

.feature-ribbon__media,
.feature-ribbon__body {
  min-width: 0;
}

.feature-ribbon__media {
  position: relative;
  min-height: 100%;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(245, 238, 227, 0.92), rgba(228, 216, 198, 0.82)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.54), transparent 36%);
}

.feature-ribbon__media > img {
  width: 100%;
  height: 100%;
  min-height: 21rem;
  object-fit: cover;
  border-radius: calc(var(--radius-md) + 0.15rem);
  box-shadow: var(--shadow-sm);
}

.feature-ribbon__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.95rem;
  padding: 1.65rem;
}

.feature-ribbon__eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.feature-ribbon__title {
  margin: 0;
  font-size: clamp(1.55rem, 2.45vw, 2.25rem);
  line-height: 1.05;
  text-wrap: balance;
}

.feature-ribbon__copy {
  margin: 0;
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.feature-ribbon__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.feature-ribbon--services .feature-ribbon__media {
  background:
    linear-gradient(180deg, rgba(237, 244, 246, 0.9), rgba(223, 214, 197, 0.84)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.56), transparent 36%);
}

.feature-ribbon--magic .feature-ribbon__media {
  background:
    linear-gradient(180deg, rgba(248, 241, 231, 0.94), rgba(229, 214, 191, 0.84)),
    radial-gradient(circle at top left, rgba(175, 127, 52, 0.16), transparent 38%);
}

.feature-ribbon--recognition .feature-ribbon__media {
  background:
    linear-gradient(180deg, rgba(238, 244, 246, 0.92), rgba(226, 217, 200, 0.84)),
    radial-gradient(circle at top left, rgba(45, 108, 130, 0.16), transparent 40%);
}

.books-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 0.25rem);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(242, 234, 222, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.14), transparent 40%);
}

.books-ribbon::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 108, 130, 0.14), transparent 70%);
  pointer-events: none;
}

.books-ribbon__media,
.books-ribbon__body {
  min-width: 0;
}

.books-ribbon__media {
  position: relative;
  min-height: 100%;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(245, 238, 227, 0.92), rgba(228, 216, 198, 0.82)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.54), transparent 36%);
}

.books-ribbon__media > img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  border-radius: calc(var(--radius-md) + 0.15rem);
  box-shadow: var(--shadow-sm);
}

.books-ribbon__stack {
  position: absolute;
  left: 1.65rem;
  right: 1.65rem;
  bottom: 1.65rem;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.7rem;
}

.books-ribbon__cover {
  width: clamp(4.8rem, 9vw, 6rem);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 36px rgba(12, 18, 28, 0.24);
  background: rgba(255, 250, 243, 0.94);
}

.books-ribbon__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.books-ribbon__cover:nth-child(2) {
  transform: translateY(-0.6rem);
}

.books-ribbon__cover:nth-child(3) {
  transform: translateY(-1rem);
}

.books-ribbon__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 1.7rem;
}

.books-ribbon__eyebrow,
.books-ribbon__label {
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.books-ribbon__title {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  line-height: 1.04;
  text-wrap: balance;
}

.books-ribbon__copy {
  margin: 0;
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.books-ribbon__titles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

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

.bibliography-card {
  display: grid;
  grid-template-columns: minmax(110px, 8rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(44, 52, 69, 0.08);
  box-shadow: var(--shadow-soft);
}

.bibliography-card--feature {
  grid-column: 1 / -1;
  grid-template-columns: minmax(160px, 11rem) minmax(0, 1fr);
  padding: 1.2rem;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(240, 233, 222, 0.94)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 38%);
}

.bibliography-card__media {
  align-self: start;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 0.15rem);
  aspect-ratio: 2 / 3;
  background: rgba(221, 210, 193, 0.8);
  box-shadow: var(--shadow-sm);
}

.bibliography-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bibliography-card__body {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.bibliography-card__format {
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(45, 108, 130, 0.1);
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bibliography-card__title {
  margin: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  line-height: 1.15;
  text-wrap: balance;
}

.recognition-panel {
  display: grid;
  gap: 1.15rem;
  padding: 1.45rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(45, 108, 130, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(248, 241, 230, 0.94)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.08), transparent 38%);
  box-shadow: var(--shadow-soft);
}

.interactive-magic {
  position: relative;
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: calc(var(--radius-lg) + 0.35rem);
  overflow: hidden;
  color: #f4efe4;
  background:
    radial-gradient(circle at top left, rgba(213, 174, 104, 0.18), transparent 22rem),
    radial-gradient(circle at top right, rgba(74, 117, 138, 0.18), transparent 24rem),
    linear-gradient(145deg, #181b24 0%, #10131b 48%, #171116 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 36px 90px rgba(9, 12, 18, 0.38);
}

.interactive-magic::before,
.interactive-magic::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.interactive-magic::before {
  top: -7rem;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(205, 160, 85, 0.16), transparent 70%);
}

.interactive-magic::after {
  left: -7rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(76, 118, 138, 0.14), transparent 72%);
}

.interactive-magic > * {
  position: relative;
  z-index: 1;
}

.interactive-magic__intro,
.interactive-magic__play,
.interactive-magic__reveal {
  display: grid;
  gap: 1rem;
}

.interactive-magic__kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.78rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 246, 228, 0.08);
  border: 1px solid rgba(255, 246, 228, 0.18);
  color: rgba(255, 233, 198, 0.88);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.77rem;
  font-weight: 800;
}

.interactive-magic__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  line-height: 1.04;
  text-wrap: balance;
}

.interactive-magic__subtitle,
.interactive-magic__description,
.interactive-magic__hint,
.interactive-magic__meta-line,
.interactive-magic__share-status {
  margin: 0;
  color: rgba(244, 239, 228, 0.78);
}

.interactive-magic__subtitle {
  font-size: 1.04rem;
}

.interactive-magic__description {
  max-width: 48rem;
}

.interactive-magic__invocation {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(205, 160, 85, 0.92);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 246, 228, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 246, 228, 0.08);
}

.interactive-magic__invocation p {
  margin: 0;
  color: rgba(250, 244, 232, 0.92);
  text-wrap: balance;
}

.interactive-magic__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.interactive-magic .button {
  border-color: rgba(255, 246, 228, 0.18);
  background: rgba(255, 246, 228, 0.1);
  color: #fff5e3;
}

.interactive-magic .button--secondary,
.interactive-magic .button--ghost {
  background: transparent;
}

.interactive-magic .button:hover,
.interactive-magic .button:focus-visible {
  background: rgba(255, 246, 228, 0.16);
}

.interactive-magic__play {
  padding-top: 0.3rem;
}

.interactive-magic__play[hidden],
.interactive-magic__reveal[hidden] {
  display: none !important;
}

.interactive-magic[data-state="revealed"] .interactive-magic__play,
.interactive-magic[data-state="idle"] .interactive-magic__reveal,
.interactive-magic[data-state="playing"] .interactive-magic__reveal {
  display: none !important;
}

.interactive-magic__status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  align-items: center;
}

.interactive-magic__counter {
  margin: 0;
  color: #fff3dd;
  font-size: 1rem;
  font-weight: 700;
}

.interactive-magic__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.interactive-choice {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.85rem;
  align-items: stretch;
  padding: 0.78rem;
  border-radius: calc(var(--radius-md) - 0.1rem);
  background:
    linear-gradient(180deg, rgba(255, 248, 233, 0.08), rgba(255, 248, 233, 0.04)),
    radial-gradient(circle at top right, rgba(205, 160, 85, 0.08), transparent 50%);
  border: 1px solid rgba(255, 246, 228, 0.1);
  box-shadow: 0 20px 40px rgba(5, 8, 13, 0.22);
  transition: transform 0.24s ease, opacity 0.24s ease, filter 0.24s ease, border-color 0.24s ease;
}

.interactive-choice:hover,
.interactive-choice:focus-within {
  transform: translateY(-3px);
  border-color: rgba(205, 160, 85, 0.28);
}

.interactive-choice.is-removing {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(4px);
}

.interactive-choice__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  background: rgba(255, 246, 228, 0.08);
  border: 1px solid rgba(255, 246, 228, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 246, 228, 0.04);
}

.interactive-choice__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.72) saturate(0.9) contrast(1.02);
  transition: transform 0.28s ease;
}

.interactive-choice:hover .interactive-choice__image,
.interactive-choice:focus-within .interactive-choice__image {
  transform: scale(1.03);
}

.interactive-choice__badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1 / 1;
  border-radius: 0.95rem;
  background: rgba(247, 239, 222, 0.78);
  border: 1px solid rgba(89, 63, 31, 0.14);
  box-shadow: 0 14px 24px rgba(10, 13, 20, 0.18);
  backdrop-filter: blur(1px);
}

.interactive-symbol__art {
  width: 2.3rem;
  height: 2.3rem;
  color: #f7ead3;
}

.interactive-choice__badge .interactive-symbol__art {
  width: 1.45rem;
  height: 1.45rem;
  color: #573822;
}

.interactive-choice__body {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  align-content: start;
}

.interactive-choice__title {
  margin: 0;
  font-size: 1rem;
  color: #fff6e6;
}

.interactive-choice__button {
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  padding-inline: 0.95rem;
}

.interactive-magic__reveal {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.08fr);
  gap: 1.8rem;
  align-items: center;
}

.interactive-envelope {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 35rem;
  perspective: 1400px;
  transform-style: preserve-3d;
  overflow: visible;
}

.interactive-envelope__shadow {
  position: absolute;
  inset: auto 1rem 1rem;
  height: 1.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 8, 13, 0.34), transparent 70%);
  filter: blur(10px);
}

.interactive-envelope__back,
.interactive-envelope__front,
.interactive-envelope__flap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 26rem);
  border-radius: 1.2rem;
  backface-visibility: hidden;
}

.interactive-envelope__back,
.interactive-envelope__front {
  bottom: 0.25rem;
  height: 13.4rem;
  background: linear-gradient(180deg, #cdb083 0%, #b58d5a 100%);
  box-shadow: 0 28px 54px rgba(10, 13, 20, 0.28);
}

.interactive-envelope__front {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 36%, 50% 68%, 100% 36%, 100% 100%, 0 100%);
  z-index: 4;
}

.interactive-envelope__flap {
  top: auto;
  bottom: 7.45rem;
  height: 8.6rem;
  transform: translateX(-50%) rotateX(0deg);
  transform-origin: top center;
  background: linear-gradient(180deg, #dec394 0%, #be9864 100%);
  clip-path: polygon(0 0, 100% 0, 50% 88%);
  z-index: 5;
  transition: transform 1s ease 0.25s;
  box-shadow: 0 18px 35px rgba(10, 13, 20, 0.22);
}

.interactive-envelope__wax {
  position: absolute;
  left: 50%;
  bottom: 8.9rem;
  z-index: 6;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 214, 201, 0.72), transparent 24%),
    linear-gradient(145deg, #7f1520, #5f0e16);
  box-shadow: 0 14px 24px rgba(6, 8, 14, 0.24);
  transition: opacity 0.45s ease 0.2s, transform 0.45s ease 0.2s;
}

.interactive-envelope__photo {
  position: absolute;
  left: 50%;
  bottom: 4.4rem;
  z-index: 3;
  width: min(100%, 20.8rem);
  transform: translateX(-50%) translateY(4rem) rotate(-3deg);
  opacity: 0;
  transition: transform 1s ease 0.4s, opacity 0.8s ease 0.45s;
}

.interactive-envelope.is-open .interactive-envelope__flap {
  transform: translateX(-50%) rotateX(-180deg);
}

.interactive-envelope.is-open .interactive-envelope__wax {
  opacity: 0;
  transform: translateX(-50%) scale(0.78);
}

.interactive-envelope.is-open .interactive-envelope__photo {
  opacity: 1;
  transform: translateX(-50%) translateY(-4.8rem) rotate(-1.35deg);
}

.future-photo {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border-radius: 0.65rem;
  background:
    linear-gradient(180deg, rgba(237, 216, 184, 0.98), rgba(193, 158, 112, 0.96)),
    radial-gradient(circle at top left, rgba(255, 244, 222, 0.64), transparent 36%);
  box-shadow: 0 26px 60px rgba(8, 10, 16, 0.28);
  filter: sepia(0.52) saturate(0.82) contrast(1.02);
}

.future-photo__grain {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(84, 56, 22, 0.08), rgba(245, 236, 215, 0.04)),
    repeating-linear-gradient(0deg, rgba(95, 71, 42, 0.03) 0 2px, rgba(255, 245, 227, 0.03) 2px 4px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.future-photo__frame {
  position: relative;
  display: grid;
  min-height: 0;
  padding: 0.78rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(82, 57, 29, 0.24);
  background:
    linear-gradient(180deg, rgba(131, 104, 70, 0.22), rgba(236, 221, 194, 0.72)),
    radial-gradient(circle at center, rgba(249, 241, 222, 0.86), rgba(212, 183, 139, 0.72));
  overflow: hidden;
}

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

.future-photo__frame::before {
  inset: 0.78rem;
  border-radius: 0.18rem;
  background:
    radial-gradient(circle at center, rgba(255, 242, 214, 0.02), rgba(67, 45, 22, 0.22)),
    linear-gradient(180deg, rgba(119, 82, 45, 0.05), rgba(246, 234, 209, 0.04));
  mix-blend-mode: multiply;
}

.future-photo__frame::after {
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 241, 214, 0.28), transparent 38%),
    radial-gradient(circle at bottom left, rgba(87, 57, 27, 0.12), transparent 30%);
  pointer-events: none;
}

.future-photo__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5.15;
  object-fit: cover;
  border-radius: 0.18rem;
  border: 1px solid rgba(82, 57, 29, 0.22);
  filter: sepia(0.88) saturate(0.88) contrast(1.04) brightness(1.02);
  box-shadow: 0 18px 34px rgba(24, 19, 14, 0.2);
}

.future-photo__symbol {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  top: 1.25rem;
  display: grid;
  place-items: center;
  width: 4rem;
  aspect-ratio: 1 / 1;
  border-radius: 1.05rem;
  border: 1px solid rgba(76, 51, 27, 0.16);
  background: rgba(255, 244, 222, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 222, 0.34), 0 12px 24px rgba(24, 19, 14, 0.14);
}

.future-photo__symbol .interactive-symbol__art {
  width: 1.9rem;
  height: 1.9rem;
  color: #4f3621;
}

.future-photo__seal {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.68rem;
  border-radius: var(--radius-pill);
  background: rgba(84, 56, 22, 0.08);
  border: 1px solid rgba(84, 56, 22, 0.12);
  color: rgba(84, 56, 22, 0.86);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.future-photo__caption {
  display: grid;
  gap: 0.55rem;
  padding: 0 0.25rem 0.2rem;
}

.future-photo__symbol-name,
.future-photo__phrase,
.future-photo__meta {
  margin: 0;
  color: #4d3420;
}

.future-photo__symbol-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.08;
}

.future-photo__phrase {
  font-size: 0.96rem;
  line-height: 1.5;
}

.future-photo__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.recognition-panel__header,
.recognition-panel__main,
.recognition-panel__aside {
  display: grid;
  gap: 0.9rem;
}

.recognition-panel__eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(45, 108, 130, 0.1);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recognition-panel__title,
.recognition-panel__section-title,
.recognition-card__title {
  margin: 0;
  line-height: 1.15;
}

.recognition-panel__title {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.recognition-panel__intro,
.recognition-panel__aside-copy,
.recognition-card__meta,
.recognition-card__label,
.recognition-review__publication {
  margin: 0;
  color: var(--text-soft);
}

.recognition-panel__banner {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 108, 130, 0.1);
  color: var(--text);
  font-weight: 700;
}

.recognition-panel__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: 1rem;
}

.recognition-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(44, 52, 69, 0.09);
}

.recognition-card--mention {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(242, 247, 248, 0.76));
}

.recognition-card__title {
  font-size: 1.08rem;
}

.recognition-card__meta {
  font-weight: 700;
}

.recognition-card__label {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 800;
}

.recognition-review {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(44, 52, 69, 0.08);
}

.recognition-review__reviewer {
  font-size: 0.98rem;
}

.recognition-review__details {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
}

.recognition-panel__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card__price {
  font-size: 1.45rem;
  line-height: 1;
  color: var(--accent-strong);
  font-weight: 800;
}

.product-card {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(252, 248, 241, 0.92)),
    linear-gradient(135deg, rgba(45, 108, 130, 0.03), rgba(175, 127, 52, 0.06));
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__sku {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-card__actions .button {
  flex: 0 1 auto;
  min-width: 10.5rem;
  justify-content: center;
}

.product-card__body {
  align-content: start;
  gap: 0.72rem;
}

.product-card__media {
  position: relative;
}

.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(24, 32, 44, 0.14));
  pointer-events: none;
}

.product-card--books .product-card__media {
  aspect-ratio: 2 / 3;
  background:
    linear-gradient(180deg, rgba(247, 241, 231, 0.98), rgba(239, 228, 210, 0.92)),
    radial-gradient(circle at top, rgba(45, 108, 130, 0.08), transparent 58%);
}

.product-card--books .product-card__media img {
  object-fit: contain;
  padding: 0.82rem;
}

.product-card--books:not(.product-card--feature) .product-card__media {
  width: min(calc(100% - 2rem), 8.75rem);
  margin: 0.9rem auto 0;
}

.product-card--feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(150px, 0.54fr) minmax(0, 1.46fr);
  align-items: stretch;
}

.product-card--feature .product-card__media {
  aspect-ratio: 2 / 3;
  min-height: auto;
  width: min(100%, 10.5rem);
  justify-self: center;
  align-self: center;
  margin: 0.95rem 0;
}

.product-card--feature .product-card__body {
  padding: 1.45rem;
  align-content: center;
}

.product-card--feature .product-card__title {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.product-card--feature .product-card__price {
  font-size: 1.9rem;
}

.product-card--magic-pro {
  display: grid;
  grid-template-columns: minmax(136px, 8.75rem) minmax(0, 1fr);
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(253, 249, 241, 0.98), rgba(248, 239, 226, 0.94)),
    linear-gradient(135deg, rgba(175, 127, 52, 0.06), rgba(45, 108, 130, 0.04));
}

.product-card--magic-pro .product-card__media {
  aspect-ratio: 1 / 1.02;
  min-height: auto;
  width: min(100%, 8.75rem);
  justify-self: center;
  align-self: center;
  margin: 0.9rem 0 0.9rem 0.9rem;
  background:
    linear-gradient(180deg, rgba(249, 242, 232, 0.98), rgba(241, 229, 210, 0.94)),
    radial-gradient(circle at top, rgba(175, 127, 52, 0.12), transparent 58%);
}

.product-card--magic-pro .product-card__media img {
  object-fit: contain;
  padding: 0.72rem;
}

.product-card--magic-pro .product-card__body {
  padding: 1.2rem 1.25rem;
}

.product-card--full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(190px, 0.64fr) minmax(0, 1.36fr);
}

.product-card--full .product-card__media {
  aspect-ratio: 4 / 5;
  min-height: auto;
  width: min(100%, 12.5rem);
  justify-self: center;
  align-self: center;
  margin: 0.95rem 0;
}

.product-card--full .product-card__body {
  padding: 1.45rem;
}

.product-card--full .product-card__title {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

.product-card--full .product-card__price {
  font-size: 1.72rem;
}

.product-card--full .product-card__actions .button {
  flex: 0 0 auto;
  min-width: 12.5rem;
}

.product-card--merch {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.18), transparent 38%),
    radial-gradient(circle at bottom left, rgba(175, 127, 52, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(242, 235, 224, 0.94));
}

.product-card--merch::before {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 87, 110, 0.16), transparent 70%);
  pointer-events: none;
}

.product-card--merch .product-card__media {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(223, 214, 201, 0.8), rgba(201, 186, 163, 0.68));
}

.product-card--merch .product-card__media img {
  object-fit: cover;
}

.product-card--merch .product-card__media::after {
  background: linear-gradient(180deg, rgba(17, 25, 36, 0.04), rgba(17, 25, 36, 0.28));
}

.product-card--merch .product-card__body {
  align-content: center;
  gap: 0.95rem;
  padding: 1.7rem;
}

.product-card--merch .product-card__title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.02;
}

.product-card--merch .product-card__price {
  font-size: clamp(1.5rem, 2.3vw, 1.9rem);
}

.product-card--merch .product-card__actions .button {
  min-width: 14rem;
}

.product-card__brandmark {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 249, 242, 0.88);
  box-shadow: 0 18px 45px rgba(20, 30, 40, 0.16);
  backdrop-filter: blur(10px);
}

.product-card__brandmark img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(20, 30, 40, 0.16);
}

.product-card__brandmark span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent-strong);
}

.market-note {
  margin-top: 1.5rem;
  border-left: 4px solid var(--accent);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.96), rgba(236, 245, 247, 0.78));
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(240, 234, 223, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 36%);
}

.video-feature::after {
  content: "";
  position: absolute;
  inset: auto -4rem -5rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175, 127, 52, 0.16), transparent 70%);
  pointer-events: none;
}

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

.video-card__meta,
.video-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.video-card__copy,
.video-feature__copy {
  margin: 0;
}

.updates-shell,
.updates-layout,
.updates-list {
  display: grid;
  gap: 1rem;
}

.updates-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: start;
}

.updates-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.96fr) minmax(0, 1.04fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(240, 234, 223, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 36%);
}

.updates-feature__media {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(221, 210, 193, 0.8), rgba(204, 187, 160, 0.7));
}

.updates-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.updates-feature__body {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: 1.55rem;
}

.updates-feature__meta,
.updates-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.updates-feature__title,
.updates-entry__title {
  margin: 0;
  line-height: 1.12;
  text-wrap: balance;
}

.updates-feature__title {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.updates-feature__line,
.updates-entry__date {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.updates-feature__copy,
.updates-entry__copy {
  margin: 0;
  color: var(--text-soft);
}

.updates-list {
  padding: 0.1rem 0;
}

.updates-entry {
  display: grid;
  gap: 0.5rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(44, 52, 69, 0.11);
}

.updates-entry:first-child {
  padding-top: 0;
}

.updates-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.updates-entry__platform {
  display: inline-flex;
  padding: 0.3rem 0.66rem;
  border-radius: var(--radius-pill);
  background: rgba(45, 108, 130, 0.08);
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.updates-entry__title {
  font-size: 1.08rem;
}

.updates-entry__link {
  color: var(--accent-strong);
  font-weight: 800;
}

.updates-entry__link:hover,
.updates-entry__link:focus-visible {
  color: var(--text);
}

.lab-grid,
.editorial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
}

.lab-card,
.editorial-card {
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.lab-card::before,
.editorial-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.26rem;
  background: linear-gradient(90deg, var(--accent), rgba(45, 108, 130, 0.65));
}

.lab-card:first-child,
.editorial-card:first-child {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(239, 234, 223, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.1), transparent 36%);
}

.lab-card:first-child .lab-card__title,
.editorial-card:first-child .editorial-card__title {
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
}

.lab-card__eyebrow,
.editorial-card__eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
}

body[data-page="home"] #servicios .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body[data-page="home"] .hero {
  padding-top: clamp(4.25rem, 9vw, 6.4rem);
  overflow: clip;
}

body[data-page="home"] .hero__grid {
  gap: clamp(1.9rem, 4vw, 3rem);
  align-items: start;
}

body[data-page="home"] .hero__content {
  padding-right: clamp(0rem, 1.8vw, 1.25rem);
}

body[data-page="home"] .hero__content::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  top: 0.55rem;
  width: 0.28rem;
  height: min(15rem, 52%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(175, 127, 52, 0.95), rgba(45, 108, 130, 0.72));
  box-shadow: 0 16px 32px rgba(45, 108, 130, 0.16);
}

body[data-page="home"] .hero__badge-row {
  gap: 0.85rem;
}

body[data-page="home"] .hero-badge {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 241, 231, 0.84)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.08), transparent 52%);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

body[data-page="home"] .hero__panel {
  transform: translateY(1rem);
  box-shadow: var(--shadow-lg);
}

body[data-page="home"] #categorias .section-heading,
body[data-page="home"] #videos .section-heading,
body[data-page="home"] #actualizaciones .section-heading,
body[data-page="home"] #ia-magia .section-heading,
body[data-page="home"] #opinion .section-heading,
body[data-page="home"] #contacto .section-heading {
  max-width: 71rem;
}

body[data-page="home"] #categorias .category-grid {
  gap: 1.1rem;
}

body[data-page="home"] #categorias .category-card {
  border-radius: calc(var(--radius-lg) + 0.2rem);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 55px rgba(23, 27, 38, 0.1);
}

body[data-page="home"] #categorias .category-card::before {
  background: linear-gradient(180deg, rgba(18, 24, 35, 0.04) 16%, rgba(18, 24, 35, 0.8) 100%);
}

body[data-page="home"] #categorias .category-card__content {
  position: absolute;
  gap: 0.78rem;
  padding: 1.3rem;
}

body[data-page="home"] #categorias .category-card__content::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  height: calc(58% - 1rem);
  min-height: 8.5rem;
  border-radius: calc(var(--radius-md) + 0.1rem);
  background: linear-gradient(180deg, rgba(17, 24, 35, 0.04), rgba(17, 24, 35, 0.72));
  box-shadow: 0 18px 40px rgba(12, 18, 28, 0.16);
  z-index: -1;
}

body[data-page="home"] #categorias .category-card:nth-child(1) .category-card__content::before {
  height: calc(46% - 1rem);
}

body[data-page="home"] #categorias .category-card__copy {
  max-width: 26ch;
}

body[data-page="home"] #categorias .category-card:not(:first-child) .category-card__title {
  font-size: 1.12rem;
}

body[data-page="home"] #servicios .service-card:not(:first-child) {
  grid-template-columns: minmax(132px, 0.82fr) minmax(0, 1.18fr);
  grid-template-rows: 1fr;
  align-items: stretch;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(44, 52, 69, 0.11);
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] #servicios .service-card:not(:first-child) .service-card__media {
  aspect-ratio: auto;
  min-height: 100%;
  background: rgba(238, 228, 211, 0.44);
}

body[data-page="home"] #servicios .service-card:not(:first-child) .service-card__body {
  padding: 1.25rem 1.35rem;
}

body[data-page="home"] #servicios .service-card::after {
  top: auto;
  bottom: 1rem;
  right: 1rem;
}

body[data-page="home"] #servicios .editorial-stage,
body[data-page="home"] #tienda .editorial-stage {
  gap: 1.7rem;
}

body[data-page="home"] #servicios .editorial-stage__aside,
body[data-page="home"] #tienda .editorial-stage__aside {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 243, 235, 0.74)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.08), transparent 36%);
}

body[data-page="home"] #tienda .shop-group {
  gap: 1rem;
}

body[data-page="home"] #tienda .shop-group__header {
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid rgba(44, 52, 69, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] #tienda .shop-group__header::before {
  width: 6.5rem;
  left: 0;
  bottom: 0;
}

body[data-page="home"] #tienda .shop-group__header::after {
  opacity: 0.68;
}

body[data-page="home"] #tienda .shop-group--books .shop-group__grid,
body[data-page="home"] #tienda .shop-group--magic-pro .shop-group__grid {
  gap: 0;
  border-radius: calc(var(--radius-lg) - 0.1rem);
  overflow: hidden;
  border: 1px solid rgba(44, 52, 69, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 241, 231, 0.7)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.06), transparent 44%);
}

body[data-page="home"] #tienda .shop-group--books .shop-group__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="home"] #tienda .product-card:not(.product-card--feature):not(.product-card--full) {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

body[data-page="home"] #tienda .product-card--feature,
body[data-page="home"] #tienda .product-card--full {
  box-shadow: none;
  border: 0;
}

body[data-page="home"] #tienda .product-card:not(.product-card--feature):not(.product-card--full):not(.product-card--merch) {
  border-top: 1px solid rgba(44, 52, 69, 0.11);
}

body[data-page="home"] #tienda .product-card--feature {
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(241, 233, 221, 0.9)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 38%);
}

body[data-page="home"] #tienda .product-card__body {
  gap: 0.78rem;
}

body[data-page="libros"] .shop-group--books .shop-group__header {
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid rgba(44, 52, 69, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="libros"] .shop-group--books .shop-group__header::before {
  width: 6.5rem;
  left: 0;
  bottom: 0;
}

body[data-page="libros"] .shop-group--books .shop-group__grid {
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 0.1rem);
  border: 1px solid rgba(44, 52, 69, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 241, 231, 0.72)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.06), transparent 44%);
}

body[data-page="libros"] .shop-group--books .product-card:not(.product-card--feature) {
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(44, 52, 69, 0.11);
  box-shadow: none;
  background: transparent;
}

body[data-page="libros"] .shop-group--books .product-card--feature {
  border: 0;
  box-shadow: none;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(241, 233, 221, 0.9)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 38%);
}

body[data-page="home"] #ia-magia .lab-grid,
body[data-page="home"] #opinion .editorial-grid {
  gap: 0;
}

body[data-page="home"] #ia-magia .lab-card,
body[data-page="home"] #opinion .editorial-card {
  min-height: 0;
  padding: 1.15rem 0 1.15rem 1.4rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-bottom: 1px solid rgba(44, 52, 69, 0.11);
}

body[data-page="home"] #ia-magia .lab-card::before,
body[data-page="home"] #opinion .editorial-card::before {
  inset: 0 auto 0 0;
  width: 0.24rem;
  height: auto;
  background: linear-gradient(180deg, var(--accent), rgba(45, 108, 130, 0.64));
}

body[data-page="home"] #ia-magia .lab-card:first-child,
body[data-page="home"] #opinion .editorial-card:first-child {
  margin-bottom: 0.55rem;
  padding: 1.45rem 1.45rem 1.45rem 1.65rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(239, 234, 223, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.1), transparent 36%);
  box-shadow: var(--shadow-soft);
}

body[data-page="home"] #ia-magia .lab-card:not(:first-child),
body[data-page="home"] #opinion .editorial-card:not(:first-child) {
  margin-left: 1rem;
}

body[data-page="home"] #ia-magia .lab-card:last-child,
body[data-page="home"] #opinion .editorial-card:last-child {
  border-bottom: 0;
}

.contact-layout {
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.contact-panel {
  position: sticky;
  top: 7.3rem;
}

body[data-page="home"] #categorias::before,
body[data-page="home"] #tienda::before,
body[data-page="home"] #opinion::before {
  content: "";
  position: absolute;
  inset: auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(6px);
}

body[data-page="home"] #categorias::before {
  left: -6rem;
  top: 0.5rem;
  background: radial-gradient(circle, rgba(45, 108, 130, 0.12), transparent 70%);
}

body[data-page="home"] #tienda::before {
  right: -6rem;
  top: 2rem;
  background: radial-gradient(circle, rgba(175, 127, 52, 0.12), transparent 70%);
}

body[data-page="home"] #opinion::before {
  left: 50%;
  bottom: -7rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(45, 108, 130, 0.1), transparent 70%);
}

.contact-panel__label {
  color: var(--accent-strong);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.contact-panel__email {
  display: inline-flex;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
  margin-top: 0.5rem;
  text-wrap: balance;
}

.contact-panel__actions {
  display: grid;
  gap: 0.75rem;
}

.contact-panel__meta {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 0.48rem;
}

.field span {
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.88rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.field textarea {
  resize: vertical;
}

.field--full {
  grid-column: 1 / -1;
}

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

.form-actions {
  display: grid;
  gap: 0.8rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
}

.site-footer {
  margin: 0 auto 1rem;
  width: var(--shell);
  padding: 1.4rem;
}

.site-footer__grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  align-items: start;
}

.site-footer__title {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.site-footer__links {
  display: grid;
  gap: 0.7rem;
}

.site-footer__links a {
  color: var(--text-soft);
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--accent-strong);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(29, 35, 48, 0.08);
  font-size: 0.92rem;
}

.noscript-alert {
  margin: 0 auto 1.5rem;
  width: var(--shell);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
}

:focus-visible {
  outline: 3px solid rgba(45, 108, 130, 0.28);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-card:nth-child(1),
  .category-card:nth-child(2),
  .category-card:nth-child(6),
  .category-card:nth-child(9) {
    grid-column: span 2;
  }

  .shop-group__header {
    grid-template-columns: 1fr;
  }

  .shop-group__copy {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 1499px) and (min-width: 1201px) {
  .site-header__bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .brand {
    justify-self: start;
  }

  .site-nav {
    justify-self: stretch;
    width: 100%;
  }

  .site-nav__panel {
    display: grid;
    justify-content: stretch;
    gap: 0.75rem;
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav__list {
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    padding: 0.28rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 34px rgba(23, 27, 38, 0.05);
  }

  .site-nav__tools {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 1200px) {
  .site-header__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .site-nav {
    position: static;
    justify-self: end;
  }

  .site-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .site-nav__panel {
    display: none;
    position: fixed;
    inset-inline: max(0.75rem, env(safe-area-inset-left, 0px));
    top: calc(env(safe-area-inset-top, 0px) + 5.25rem);
    z-index: 30;
    width: auto;
    max-width: calc(100vw - 1.5rem);
    max-height: min(calc(100vh - 6.25rem), 34rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 252, 246, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav[data-open="true"] .site-nav__panel {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__link {
    justify-content: flex-start;
  }

  .site-nav__tools {
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
  }

  .site-nav__tools > * {
    width: 100%;
    min-width: 0;
  }

  .language-picker {
    min-width: 0;
  }

  .language-picker select {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .hero__grid,
  .page-hero__layout,
  .editorial-stage__intro,
  .split-panel,
  .video-feature,
  .updates-layout,
  .updates-feature,
  .cta-banner,
  .article-shell,
  .contact-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .service-grid,
  .product-grid,
  .video-grid,
  .lab-grid,
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid,
  .story-grid,
  .quotes-grid,
  .faq-grid,
  .article-grid,
  .bio-grid,
  .timeline-grid,
  .bibliography-grid,
  .page-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recognition-panel__layout {
    grid-template-columns: 1fr;
  }

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

  .interactive-magic__reveal {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading .section-copy {
    grid-column: 1;
    grid-row: auto;
    max-width: 52rem;
    padding-bottom: 0;
  }

  .contact-panel {
    position: static;
    top: auto;
  }

  .product-card--feature {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .bibliography-card--feature {
    grid-template-columns: minmax(140px, 10rem) minmax(0, 1fr);
  }

  .service-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .lab-card:first-child,
  .editorial-card:first-child {
    grid-column: 1 / -1;
  }

  body[data-page="home"] #ia-magia .lab-card:not(:first-child),
  body[data-page="home"] #opinion .editorial-card:not(:first-child) {
    margin-left: 0;
  }

  .product-card--magic-pro {
    grid-template-columns: minmax(132px, 8rem) minmax(0, 1fr);
  }

  .product-card--full {
    grid-template-columns: 1fr;
  }

  .product-card--feature .product-card__media {
    min-height: auto;
  }

  .product-card--magic-pro .product-card__media,
  .product-card--full .product-card__media {
    min-height: auto;
  }

  .product-card__brandmark {
    left: 0.85rem;
    top: 0.85rem;
  }

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

  body[data-page="home"] .hero__panel {
    transform: none;
  }

  body[data-page="home"] #servicios .service-card:not(:first-child) {
    grid-template-columns: 1fr;
  }

  body[data-page="libros"] .shop-group--books .shop-group__grid {
    grid-template-columns: 1fr;
  }

  .interactive-envelope {
    min-height: 31rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0.75rem 0;
  }

  .site-nav__panel {
    inset-inline: max(0.5rem, env(safe-area-inset-left, 0px));
    top: calc(env(safe-area-inset-top, 0px) + 4.75rem);
    max-width: calc(100vw - 1rem);
    max-height: min(calc(100vh - 5.5rem), 32rem);
    padding: 0.9rem;
  }

  .brand {
    gap: 0.72rem;
  }

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

  .brand__name {
    font-size: 1.08rem;
  }

  .brand__tag {
    display: none;
  }

  .language-prompt__inner {
    align-items: flex-start;
  }

  .product-card__actions,
  .actions {
    display: grid;
  }

  .product-card__actions .button,
  .actions .button {
    min-width: 0;
  }

  .recognition-panel {
    padding: 1.1rem;
  }
}

body[data-page="home"] #quien-es .split-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  padding: clamp(1.15rem, 2vw, 1.4rem);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(237, 243, 244, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 42%);
}

body[data-page="home"] #quien-es .split-panel__copy {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(0.35rem, 1vw, 0.55rem);
}

body[data-page="home"] #quien-es .note-card {
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.78);
}

body[data-page="home"] #explora-universo .section-heading,
body[data-page="home"] #proyectos .section-heading,
body[data-page="home"] #prueba-social .section-heading,
body[data-page="home"] #blog-reciente .section-heading,
body[data-page="home"] #videos .section-heading {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: end;
  gap: clamp(1rem, 4vw, 3rem);
}

body[data-page="home"] #explora-universo .category-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.95rem, 1.6vw, 1.2rem);
  align-items: stretch;
}

body[data-page="home"] #explora-universo .category-card {
  grid-column: span 4;
  min-height: clamp(18rem, 22vw, 21.5rem);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border-radius: calc(var(--radius-lg) + 0.15rem);
  background: #17202d;
  box-shadow: var(--shadow-lg);
}

body[data-page="home"] #explora-universo .category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 19, 0.04), rgba(8, 12, 19, 0.78)),
    linear-gradient(135deg, rgba(22, 27, 41, 0.06), rgba(18, 26, 38, 0.4));
  z-index: 1;
}

body[data-page="home"] #explora-universo .category-card__media,
body[data-page="home"] #explora-universo .category-card__media img {
  height: 100%;
}

body[data-page="home"] #explora-universo .category-card__media img {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.01);
}

body[data-page="home"] #explora-universo .category-card__content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  gap: 0.7rem;
  padding: 1.35rem;
  color: #f7f3eb;
}

body[data-page="home"] #explora-universo .section-copy {
  max-width: 34rem;
}

body[data-page="home"] #explora-universo .category-card__copy {
  max-width: 28ch;
}

body[data-page="home"] #explora-universo .category-card__badge {
  background: rgba(255, 248, 236, 0.16);
  color: #f7f3eb;
}

body[data-page="home"] #explora-universo .category-card__title,
body[data-page="home"] #explora-universo .category-card__copy,
body[data-page="home"] #explora-universo .category-card__cta {
  color: #f7f3eb;
}

body[data-page="home"] #explora-universo .category-card__copy {
  color: rgba(247, 243, 235, 0.84);
}

body[data-page="home"] #explora-universo .category-card__cta {
  font-weight: 700;
}

body[data-page="home"] #explora-universo .category-card--coming-soon {
  cursor: default;
}

body[data-page="home"] #explora-universo .category-card--coming-soon .category-card__cta {
  color: rgba(247, 243, 235, 0.72);
}

body[data-page="home"] #explora-universo .category-card--shows-events,
body[data-page="home"] #explora-universo .category-card--gallery-videos {
  grid-column: span 7;
  min-height: clamp(22rem, 28vw, 29rem);
}

body[data-page="home"] #explora-universo .category-card--shows-events {
  grid-row: span 2;
}

body[data-page="home"] #explora-universo .category-card--ai-magic,
body[data-page="home"] #explora-universo .category-card--daily-disaster {
  grid-column: span 5;
  min-height: clamp(18rem, 21vw, 21rem);
}

body[data-page="home"] #explora-universo .category-card--daily-disaster,
body[data-page="home"] #explora-universo .category-card--books-resources {
  min-height: clamp(18rem, 21vw, 21rem);
}

body[data-page="home"] #explora-universo .category-card--opinion {
  grid-column: span 3;
}

body[data-page="home"] #explora-universo .category-card--gallery-videos .category-card__content {
  max-width: 42rem;
}

body[data-page="home"] #newsletter .section-heading {
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.82fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
}

body[data-page="home"] #newsletter .section-copy {
  max-width: 34rem;
}

body[data-page="home"] #experiencia-interactiva .interactive-magic {
  background:
    linear-gradient(135deg, rgba(15, 21, 33, 0.98), rgba(22, 26, 38, 0.96)),
    radial-gradient(circle at top right, rgba(214, 176, 116, 0.16), transparent 35%);
  border: 1px solid rgba(240, 219, 183, 0.14);
  box-shadow: 0 32px 64px rgba(10, 12, 16, 0.22);
}

body[data-page="home"] #experiencia-interactiva .interactive-home__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

body[data-page="home"] #videos .video-feature {
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(235, 243, 247, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.12), transparent 38%);
}

body[data-page="home"] #proyectos .project-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

body[data-page="home"] #proyectos .story-card {
  grid-column: span 4;
  display: grid;
  gap: 0.9rem;
  padding: 1.45rem;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(245, 240, 232, 0.92)),
    radial-gradient(circle at top right, rgba(45, 108, 130, 0.09), transparent 38%);
}

body[data-page="home"] #proyectos .story-card:first-child {
  grid-column: span 5;
}

body[data-page="home"] #proyectos .story-card:nth-child(2) {
  grid-column: span 4;
}

body[data-page="home"] #proyectos .story-card:nth-child(3) {
  grid-column: span 3;
}

body[data-page="home"] #prueba-social .info-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

body[data-page="home"] #prueba-social .info-card {
  grid-column: span 4;
  padding: 1.4rem;
}

body[data-page="home"] #blog-reciente .editorial-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

body[data-page="home"] #blog-reciente .editorial-card:first-child {
  grid-column: span 6;
}

body[data-page="home"] #blog-reciente .editorial-card:not(:first-child) {
  grid-column: span 3;
}

body[data-page="home"] #contacto .contact-layout {
  align-items: start;
}

@media (max-width: 1180px) {
  .category-card,
  body[data-page="home"] #explora-universo .category-card--shows-events,
  body[data-page="home"] #explora-universo .category-card--ai-magic,
  body[data-page="home"] #explora-universo .category-card--daily-disaster,
  body[data-page="home"] #explora-universo .category-card--books-resources,
  body[data-page="home"] #explora-universo .category-card--opinion,
  body[data-page="home"] #explora-universo .category-card--gallery-videos,
  body[data-page="home"] #proyectos .story-card,
  body[data-page="home"] #blog-reciente .editorial-card:first-child,
  body[data-page="home"] #blog-reciente .editorial-card:not(:first-child),
  body[data-page="home"] #prueba-social .info-card {
    grid-column: span 6;
  }

  body[data-page="home"] #quien-es .split-panel,
  body[data-page="home"] #explora-universo .section-heading,
  body[data-page="home"] #newsletter .section-heading,
  body[data-page="home"] #proyectos .section-heading,
  body[data-page="home"] #prueba-social .section-heading,
  body[data-page="home"] #blog-reciente .section-heading,
  body[data-page="home"] #videos .section-heading {
    grid-template-columns: 1fr;
  }

  .newsletter-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .category-card,
  body[data-page="home"] #explora-universo .category-card--shows-events,
  body[data-page="home"] #explora-universo .category-card--ai-magic,
  body[data-page="home"] #explora-universo .category-card--daily-disaster,
  body[data-page="home"] #explora-universo .category-card--books-resources,
  body[data-page="home"] #explora-universo .category-card--opinion,
  body[data-page="home"] #explora-universo .category-card--gallery-videos,
  body[data-page="home"] #proyectos .story-card,
  body[data-page="home"] #blog-reciente .editorial-card:first-child,
  body[data-page="home"] #blog-reciente .editorial-card:not(:first-child),
  body[data-page="home"] #prueba-social .info-card {
    grid-column: 1 / -1;
  }

  .newsletter-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 6rem;
  }

  .hero,
  .section {
    padding: 3.2rem 0;
  }

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

  .section-title {
    font-size: clamp(1.9rem, 11vw, 2.8rem);
  }

  .actions,
  .language-prompt__actions {
    display: grid;
  }

  .button,
  .button--secondary,
  .button--ghost,
  .language-picker {
    width: 100%;
  }

  .hero__badge-row,
  .hero__stats,
  .hero__mini-grid,
  .page-hero__stats,
  .category-grid,
  .newsletter-points,
  .service-grid,
  .product-grid,
  .video-grid,
  .lab-grid,
  .editorial-grid,
  .info-grid,
  .story-grid,
  .quotes-grid,
  .faq-grid,
  .bio-grid,
  .timeline-grid,
  .article-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .hero__panel-media {
    min-height: 19rem;
  }

  .hero-badge:nth-child(1) {
    transform: none;
  }

  .hero__panel-body,
  .shop-group__header,
  .editorial-stage,
  .updates-feature__body,
  .cta-banner,
  .article-content,
  .article-sidebar,
  .product-card--feature .product-card__body,
  .product-card--magic-pro .product-card__body,
  .product-card--full .product-card__body {
    padding: 1.1rem;
  }

  .product-card--feature .product-card__media,
  .product-card--magic-pro .product-card__media,
  .product-card--full .product-card__media,
  .product-card--books:not(.product-card--feature) .product-card__media,
  .bibliography-card__media {
    width: min(100%, 9.5rem);
    margin: 1rem auto 0;
  }

  .product-card--magic-pro {
    grid-template-columns: 1fr;
  }

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

  .hub-page--internal .page-hero__body {
    padding: 0.35rem 0.1rem 0.25rem 1rem;
  }

  .hub-page--internal .page-hero__body::before {
    top: 0.2rem;
    bottom: 0.2rem;
  }

  .category-card:nth-child(1),
  .category-card:nth-child(2),
  .category-card:nth-child(6),
  .category-card:nth-child(9),
  .lab-card:first-child,
  .editorial-card:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .service-card:nth-child(1) {
    grid-column: auto;
  }

  body[data-page="home"] #ia-magia .lab-card,
  body[data-page="home"] #opinion .editorial-card {
    padding-left: 1rem;
  }

  .hero__note {
    padding: 0.92rem 1rem;
  }

  .form-actions {
    align-items: stretch;
  }

  .site-footer {
    margin-bottom: 0.5rem;
  }

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

  .product-card__brandmark {
    gap: 0.55rem;
    padding: 0.62rem 0.75rem;
  }

  .product-card__brandmark img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .product-card__brandmark span {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .feature-ribbon__media {
    padding: 1rem;
  }

  .feature-ribbon__media > img {
    min-height: 18rem;
  }

  .feature-ribbon__body {
    padding: 1.15rem;
  }

  .books-ribbon__media {
    padding: 1rem;
  }

  .books-ribbon__media > img {
    min-height: 18rem;
  }

  .books-ribbon__stack {
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1.15rem;
    gap: 0.55rem;
  }

  .books-ribbon__body {
    padding: 1.15rem;
  }

  .interactive-magic {
    padding: 1.15rem;
  }

  .newsletter-panel,
  .newsletter-embed__body {
    padding: 1.1rem;
  }

  .newsletter-embed__visual {
    padding: 0.85rem 0.85rem 0;
  }

  .newsletter-embed__privacy {
    grid-template-columns: 1fr;
  }

  .newsletter-embed__actions {
    display: grid;
  }

  .newsletter-embed__submit {
    width: 100%;
  }

  .interactive-magic__actions {
    display: grid;
  }

  .interactive-envelope {
    min-height: 28rem;
  }

  .interactive-envelope__back,
  .interactive-envelope__front,
  .interactive-envelope__flap {
    width: min(100%, 21rem);
  }

  .interactive-envelope__photo {
    width: min(100%, 19rem);
  }

  .future-photo__frame {
    min-height: 0;
  }

  .future-photo__symbol {
    width: 3.4rem;
    left: 1rem;
    top: 1rem;
  }

  .future-photo__symbol .interactive-symbol__art {
    width: 1.55rem;
    height: 1.55rem;
  }

  body[data-page="home"] .hero__content {
    padding-right: 0;
  }

  body[data-page="home"] .hero__content::before {
    left: -0.25rem;
    top: -0.1rem;
    height: 5rem;
  }

  body[data-page="home"] #categorias .category-card__content::before {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    height: calc(52% - 0.75rem);
  }

  body[data-page="home"] #tienda .shop-group--books .shop-group__grid,
  body[data-page="home"] #tienda .shop-group--magic-pro .shop-group__grid {
    border-radius: var(--radius-md);
  }

  body[data-page="home"] #explora-universo .category-card,
  body[data-page="home"] #explora-universo .category-card--shows-events,
  body[data-page="home"] #explora-universo .category-card--ai-magic,
  body[data-page="home"] #explora-universo .category-card--gallery-videos {
    min-height: 18rem;
  }

  body[data-page="home"] #experiencia-interactiva .interactive-home__footer {
    justify-content: stretch;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
