/* Editorial layouts share the published header, footer, portal mark and color tokens. */
body[data-route] {
  color: #eff7fd;
  background: var(--brand-night);
}
body[data-route] [id] { scroll-margin-top: 1rem; }
body[data-route] summary:focus-visible {
  outline: 3px solid var(--brand-mint);
  outline-offset: 3px;
}

.editorial-hero {
  min-height: 0;
  padding: clamp(3rem, 6vw, 6rem) 0;
  background: radial-gradient(ellipse at 76% 8%, #18364d 0%, transparent 58%), var(--brand-night);
}
.editorial-home { padding: clamp(2rem, 4.5vw, 4.5rem) 0; }
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.editorial-hero .editorial-intro { min-width: 0; }
.editorial-intro h1 {
  margin: 0;
  color: #f2fafc;
  font: 750 clamp(2.45rem, 6vw, 5.5rem)/1.03 Inter, system-ui, sans-serif;
  letter-spacing: -.06em;
  max-width: 15ch;
  overflow-wrap: break-word;
}
.editorial-intro h1 em { color: #69e2d4; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .editorial-intro h1 em {
    background: linear-gradient(105deg, #63edd0, #72c9ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}
.editorial-intro .eyebrow {
  margin-bottom: 1rem;
  color: #88e0d8;
  font-size: .8125rem;
  letter-spacing: .12em;
}
.editorial-intro .eyebrow::before { content: none; }
.editorial-hero .editorial-intro > p {
  max-width: 45ch;
  margin: 1.25rem 0 0;
  color: #c1d1dc;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.58;
}
.editorial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.55rem; }
.editorial-actions .btn, .editorial-next .btn {
  min-height: 48px;
  padding: .8rem 1.15rem;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  font-size: .9375rem;
}
.editorial-actions .text-link { margin-top: 0; }
.editorial-actions .map-cta { margin: 0; }
.editorial-photo {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #385467;
  border-radius: clamp(1rem, 2.5vw, 1.75rem);
  aspect-ratio: 16 / 10;
  background: #15293b;
}
.editorial-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-photo { aspect-ratio: 11 / 12; }
.home-photo img { object-position: 50% 60%; }
.book-editorial-photo img { object-position: 50% 58%; }
.editorial-portal {
  display: grid;
  place-items: center;
  min-height: 12rem;
  border: 1px solid #365463;
  border-radius: 1.5rem;
  background: radial-gradient(ellipse, #224657 0%, #102338 66%);
}
.editorial-portal .brand-mark {
  width: clamp(5rem, 14vw, 10rem);
  height: auto;
  color: var(--brand-mint);
  filter: drop-shadow(0 0 18px #4aebc94f);
}

.quick-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  max-width: 29rem;
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
}
.quick-pillars a {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .45rem .65rem;
  border: 1px solid #385467;
  border-radius: .65rem;
  font-size: .875rem;
  font-weight: 650;
  overflow-wrap: anywhere;
  transition: border-color .2s, background-color .2s;
}
.quick-pillars svg { flex: none; color: var(--brand-mint); }
.quick-pillars a:hover { border-color: var(--brand-mint); background: #102a3a; }

.editorial-section { padding: clamp(2.25rem, 5.5vw, 5rem) 0; }
.editorial-band { background: #0d1c2c; border-block: 1px solid #233c50; }
.editorial-section h2, .editorial-next h2 {
  margin: 0 0 1.4rem;
  font: 725 clamp(1.8rem, 4vw, 3.1rem)/1.12 Inter, system-ui, sans-serif;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}
.editorial-section h3 { margin: 0 0 .55rem; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.26; }
.editorial-section p { color: #b8cbd9; font-size: 1rem; line-height: 1.6; }
.editorial-section p:last-child { margin-bottom: 0; }
.editorial-section .editorial-note { font-size: .875rem; color: #adcfdd; }
.entry-grid, .contact-editorial, .disclosure-grid, .editorial-steps {
  display: grid;
  gap: 1rem;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.entry-grid, .contact-editorial { align-items: stretch; }
.entry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.editorial-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.editorial-card {
  padding: clamp(1rem, 2.4vw, 1.6rem);
  background: linear-gradient(145deg, #142b3e, #111e30);
  border: 1px solid #365268;
  border-radius: 1rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
a.editorial-card { transition: border-color .2s, background-color .2s, transform .2s; }
a.editorial-card:hover { border-color: var(--brand-mint); transform: translateY(-2px); }
.editorial-card > svg { margin-bottom: 1.15rem; color: var(--brand-mint); }
.editorial-steps article { border-top: 1px solid #538b94; padding: 1rem 0 0; }
.home-depth, .reading-width { max-width: 47rem; }
.home-depth, .editorial-steps + .reading-width { margin-top: 1.45rem; }

.disclosure {
  border: 1px solid #365369;
  border-radius: .85rem;
  background: #112436;
  min-width: 0;
}
.disclosure[open] { border-color: #619597; }
.disclosure summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .85rem;
  min-height: 56px;
  padding: .85rem 1rem;
  border-radius: inherit;
  font-weight: 680;
  line-height: 1.3;
}
.disclosure-with-icon summary { grid-template-columns: auto 1fr auto; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary > svg, .disclosure-indicator { color: var(--brand-mint); }
.disclosure summary:hover { background-color: #1b3748; }
.disclosure-indicator {
  width: 1rem;
  height: 1rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.disclosure[open] .disclosure-indicator { background-size: 100% 2px, 0 0; }
.disclosure-body { padding: 0 1rem 1rem; }
.disclosure-body > :first-child { margin-top: .2rem; }
.disclosure-body .text-link { margin-top: .3rem; }
.disclosure-body > [data-map-return] { color: var(--brand-mint); text-decoration: underline; }
.method-sequence {
  max-width: 48rem;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .7rem;
  list-style: none;
}
.method-sequence li { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); align-items: start; gap: .85rem; }
.method-sequence li:not(:last-child)::before { content: ''; position: absolute; left: 1.2rem; top: 2.5rem; bottom: -1.3rem; border-left: 1px solid #396576; }
.step-number {
  display: grid;
  place-items: center;
  align-self: start;
  height: 2.5rem;
  margin-top: .5rem;
  border: 1px solid #426875;
  border-radius: 50%;
  background: #132c38;
  color: #8ce7d8;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
.video-editorial, .founder-editorial {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 4.25rem);
}
.founder-editorial { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.founder-video { display: grid; justify-items: center; }
.editorial-section .video-frame-portrait { width: min(100%, 278px); }
.editorial-section .game-preview { width: min(100%, 420px); max-width: none; margin: 1rem auto 0; transform: none; }
.editorial-section .text-link { color: #90eddd; border-color: #579e9c; font-size: .9375rem; }
.editorial-section .text-link:hover { color: #d6fff5; }

.editorial-socials { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.editorial-socials a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: .55rem .7rem;
  border: 1px solid #557c89;
  border-radius: .55rem;
  color: #a1eee2;
}
.editorial-socials a:hover { background: #1f4050; }
.editorial-next { color: #f2faff; background: linear-gradient(120deg, #10293b, #0b1829); border-top: 1px solid #28475b; padding: clamp(1.65rem, 4.25vw, 2.85rem) 0; }
.editorial-next .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.editorial-next h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); }
body[data-route] .footer { border-top: 1px solid #28475b; }
body[data-route] .desktop-nav a, body[data-route] .header-about { font-size: .875rem; }
body[data-route] .header-inner { gap: clamp(.6rem, 1.55vw, 1.5rem); }
body[data-route] .language-switch summary { min-height: 44px; font-size: .875rem; }
body[data-route] .mobile-nav:not([hidden]) { max-height: calc(100vh - 82px); max-height: calc(100dvh - 82px); overflow-y: auto; }
@media (min-width: 981px) and (max-width: 1150px) {
  body[data-route] .header-inner .desktop-nav { gap: .7rem; }
  body[data-route] .header-inner .btn-small { padding: .65rem .8rem; }
}
@media (max-width: 900px) {
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .editorial-split, .video-editorial, .founder-editorial, .contact-editorial, .disclosure-grid, .editorial-steps { grid-template-columns: minmax(0, 1fr); }
  .editorial-intro h1 { font-size: clamp(2.35rem, 8.8vw, 3.65rem); }
  .editorial-home .editorial-split { gap: 1.35rem; }
  .editorial-photo { aspect-ratio: 16 / 8; }
  .home-photo { aspect-ratio: 16 / 8; }
  .editorial-portal { display: none; }
  .editorial-actions { gap: .6rem; }
  .editorial-actions .btn { padding-inline: .75rem; }
  .editorial-steps { gap: .8rem; }
  .editorial-next .wrap { align-items: flex-start; flex-direction: column; }
  body[data-route] .mobile-nav:not([hidden]) { max-height: calc(100vh - 74px); max-height: calc(100dvh - 74px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body[data-route] *, body[data-route] *::before, body[data-route] *::after { animation: none !important; transition: none !important; }
}
.club-language-note { flex: 1 0 100%; color: #b8cbd9; font-size: .875rem; }
@media (max-width: 380px) {
  body[data-route] .wrap { width: calc(100% - 28px); }
  body[data-route] .header-inner .brand { gap: .4rem; }
  body[data-route] .header-inner .brand-mark { width: 36px; height: 36px; }
  body[data-route] .header-inner .brand-word { font-size: 1rem; }
  body[data-route] .language-switch { margin-right: 0; }
  body[data-route] .language-globe { display: none; }
  .quick-pillars a { padding-inline: .5rem; gap: .35rem; }
  .quick-pillars a svg { width: 16px; height: 16px; }
  .quick-pillars a span { overflow-wrap: normal; hyphens: auto; }
  body[data-route] .contact-widget:not([open]) .contact-label { display: none; }
  body[data-route] .contact-widget:not([open]) summary { width: 44px; padding-inline: 0; justify-content: center; }
  body[data-language="fr"] .quick-pillars a:last-child svg { display: none; }
}

.disclosure-body blockquote {
  margin: 1rem 0 0;
  padding-left: .85rem;
  border-left: 2px solid #549a9c;
  color: #d8eee9;
  line-height: 1.6;
}
.editorial-section .app-dashboard-axes > div {
  flex-direction: column;
  gap: .5rem;
  padding: .55rem .3rem;
  text-align: center;
  overflow-wrap: anywhere;
}
@media (max-width: 380px) {
  body[data-language="fr"] .quick-pillars { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
