/* The editorial preview: display typography, readable controls, and portraits. */
body.home-editorial-page {
  --ed-headline: 'Cormorant Garamond', Georgia, serif;
  --ed-display: 'Cormorant Garamond', Georgia, serif;
  --ed-archetype: 'Cormorant Garamond', Georgia, serif;
  --ed-sans: 'Rajdhani', Arial, sans-serif;
  --ed-ui: 'Share Tech Mono', monospace;
  font-family: var(--ed-sans);
}

body.home-editorial-page #main-view {
  font-family: var(--ed-sans);
}

/* Navigation keeps the existing identity, with comfortably sized controls. */
body.home-editorial-page #main-nav { gap: 1rem; }
body.home-editorial-page #main-nav :is(.nav-link,.nav-drop-btn,.nav-cta,.nav-search-label) {
  font-family: var(--ed-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .035em;
  line-height: 1.4;
  color: #cedce6;
}
body.home-editorial-page #main-nav :is(.nav-link,.nav-drop-btn) { padding: .75rem .6rem; }
body.home-editorial-page #main-nav .nav-cta { padding: .75rem 1rem; white-space: nowrap; }
body.home-editorial-page #main-nav .nav-link-support { color: #e9c66e; }
body.home-editorial-page #main-nav .nav-drop-menu { width: 300px; }
body.home-editorial-page #main-nav .nav-drop-title { font: 400 12px/1.4 var(--ed-ui); letter-spacing: .015em; color: #e4edf2; }
body.home-editorial-page #main-nav .nav-drop-desc { font: 400 13px/1.55 var(--ed-sans); color: #a9bfce; }
body.home-editorial-page #main-nav :is(a,button):focus-visible { outline: 2px solid var(--ed-blue); outline-offset: 4px; }
body.home-editorial-page #mob-menu :is(a,input) { font-family: var(--ed-ui); letter-spacing: .04em; }

/* Restore the original Cormorant Garamond masthead. */
body.home-editorial-page #main-view .ed-hero h1 {
  font-family: var(--ed-headline);
  font-weight: 500;
  font-size: clamp(4.5rem,8.8vw,8.1rem);
  line-height: .9;
  letter-spacing: -.025em;
  margin: 1.7rem 0 1.8rem;
}
body.home-editorial-page #main-view .ed-hero h1>span+span {
  color: var(--ed-blue);
  margin-top: .02em;
  -webkit-text-stroke: 0;
}
body.home-editorial-page #main-view .ed-hero-description {
  font: 400 20px/1.6 var(--ed-sans);
  max-width: 29rem;
}
body.home-editorial-page #main-view :is(.ed-eyebrow,.ed-feature-top,.ed-feature-functions dt,.ed-section-number) {
  font-family: var(--ed-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .09em;
}
body.home-editorial-page #main-view .ed-feature-title h2 {
  font: italic 400 clamp(2.1rem,3vw,2.9rem)/1.15 var(--ed-archetype);
  letter-spacing: -.02em;
}
body.home-editorial-page #main-view .ed-feature-description {
  font: 400 18px/1.6 var(--ed-sans);
  min-height: 3.3rem;
}
body.home-editorial-page #main-view .ed-feature-functions dd>span { font: 400 15px/1.5 var(--ed-sans); }
body.home-editorial-page #main-view .ed-feature-functions dd b { font: 500 1.55rem var(--ed-display); }
body.home-editorial-page #main-view .ed-feature-slide { min-height: 490px; }
body.home-editorial-page #main-view .ed-feature-top { gap: 1rem; line-height: 1.5; }
body.home-editorial-page #main-view :is(.ed-button,.ed-text-link,.ed-feature-link) {
  font: 400 12px/1.5 var(--ed-ui);
  letter-spacing: .005em;
  min-height: 44px;
}
body.home-editorial-page #main-view .ed-button { padding: .9rem 1.15rem; }
body.home-editorial-page #main-view .ed-theory-link { font: 400 15px/1.7 var(--ed-sans); }
body.home-editorial-page #main-view .ed-feature-controls button,
body.home-editorial-page .ed-marquee-pause { font: 400 12px/1.4 var(--ed-ui); }
body.home-editorial-page .ed-marquee-pause { width: 70px; }
body.home-editorial-page .ed-marquee-group>span { font: 400 12px/1.5 var(--ed-ui); letter-spacing: .055em; padding: 1.25rem 2rem; }

/* Reading and selection controls have their own steady, quieter scale. */
body.home-editorial-page #main-view #types.ed-section { padding-top: 3.5rem; }
body.home-editorial-page #main-view :is(.ed-section-heading h2,.ed-invitation h2) {
  font: 400 clamp(2.7rem,4.3vw,4.2rem)/1.05 var(--ed-display);
  letter-spacing: -.025em;
}
body.home-editorial-page #main-view :is(.ed-section-heading h2 em,.ed-invitation h2 em) { font-weight: 400; }
body.home-editorial-page.sigil-react-mounted #main-view .ed-section p { font: 400 18px/1.6 var(--ed-sans); }
body.home-editorial-page #types .sigil-filter-btn { font: 400 12px/1.4 var(--ed-ui); padding: .7rem 1rem; min-height: 44px; letter-spacing: .01em; }
body.home-editorial-page #types .sigil-search input { font: 400 13px/1.5 var(--ed-ui); letter-spacing: 0; }
body.home-editorial-page #types .sigil-search { min-height: 46px; }
body.home-editorial-page #main-view .ed-type-card { min-height: 154px; padding-right: .8rem; }
body.home-editorial-page #main-view .ed-type-heading>b { font: 400 1.65rem var(--ed-archetype); }
body.home-editorial-page #main-view .ed-type-heading>span { font: 400 11px var(--ed-ui); letter-spacing: .06em; }
body.home-editorial-page #main-view .ed-type-copy h3 { font: 500 18px/1.35 var(--ed-sans); margin: .3rem 0 .45rem; }
body.home-editorial-page.sigil-react-mounted #main-view .ed-type-copy p { font-size: 17px; line-height: 1.5; }
body.home-editorial-page #main-view :is(.ed-type-card,.ed-element,.ed-tool):is(:hover,:focus-visible) { background: rgba(34,211,238,.075); }
body.home-editorial-page #main-view .ed-type-card:is(:hover,:focus-visible) .ed-type-arrow { color: var(--ed-blue); }
body.home-editorial-page #main-view :is(.ed-element h3,.ed-tool h3,.ed-journal-heading h3) { font: 400 1.7rem/1.25 var(--ed-display); letter-spacing: -.015em; }
body.home-editorial-page #main-view .ed-quadra h3 { font: italic 400 2.6rem/1.2 var(--ed-archetype); letter-spacing: -.02em; }
body.home-editorial-page #main-view .ed-quadra-types a { font-size: 13px; min-height: 44px; }
body.home-editorial-page #main-view .ed-quadra-values { font-size: 12px; }
body.home-editorial-page #main-view .ed-element-top { font-size: 13px; }
body.home-editorial-page #main-view .research-title { font: 400 1.65rem/1.25 var(--ed-display); letter-spacing: -.015em; }
body.home-editorial-page #main-view .research-copy { font: 400 18px/1.6 var(--ed-sans); }
body.home-editorial-page #main-view :is(.research-kicker,.research-status) { font: 400 11px/1.5 var(--ed-ui); letter-spacing: .06em; }

/* A brief editorial pause, with original brand copy rather than an attribution. */
body.home-editorial-page #main-view .ed-statement {
  background: #f1eee6;
  color: #112537;
  padding: clamp(3.5rem,6vw,5.5rem) 2rem;
  text-align: center;
  border-block: 1px solid #d3d6d3;
}
.ed-statement-inner { max-width: 1120px; margin: auto; }
.ed-statement-kicker,.ed-statement-signature { display: block; font: 400 11px/1.5 var(--ed-ui); text-transform: uppercase; letter-spacing: .14em; color: #4b6370; }
body.home-editorial-page.sigil-react-mounted #main-view .ed-statement p.ed-statement-quote,
body.home-editorial-page #main-view .ed-statement p.ed-statement-quote {
  font: 400 clamp(2.25rem,4.7vw,4.7rem)/1.2 var(--ed-display);
  letter-spacing: -.025em;
  color: #112537;
  max-width: 1000px;
  margin: 1.8rem auto;
}
.ed-statement-quote em { color: #20536a; font-weight: 400; }

/* Three real database portraits, with consistent crops and direct links. */
body.home-editorial-page.sigil-react-mounted #main-view #research .profile-additions {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
body.home-editorial-page #research .profile-carousel-shell { padding: 0; }
body.home-editorial-page #research .ed-portrait-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 24px;
  padding: 0;
  overflow: visible;
}
body.home-editorial-page #research .profile-carousel-nav { display: none; }
.ed-profile-card { display: flex; flex-direction: column; min-width: 0; color: var(--ed-white); text-decoration: none; border-bottom: 1px solid var(--ed-rule); }
.ed-profile-visual { overflow: hidden; background: #12263a; }
body.home-editorial-page #research .ed-profile-image { width: 100%; aspect-ratio: 4/5; height: auto; border-radius: 0; overflow: hidden; position: relative; }
body.home-editorial-page #research .ed-profile-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--profile-img-x,50%) var(--profile-img-y,50%); transform: scale(var(--profile-img-zoom,1)); filter: saturate(.8); transition: filter .25s; }
.ed-profile-card:is(:hover,:focus-visible) .ed-profile-image img { filter: saturate(1); }
.ed-profile-copy { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 0 1.2rem; }
.ed-profile-meta { display: flex; justify-content: space-between; gap: 1rem; font: 400 11px/1.5 var(--ed-ui); text-transform: uppercase; letter-spacing: .07em; color: #a9bdcc; }
.ed-profile-meta b { color: var(--ed-blue); font: 400 14px 'Share Tech Mono',monospace; }
.ed-profile-card[data-quadra="Beta"] .ed-profile-meta b { color: var(--quadra-beta); }
.ed-profile-card[data-quadra="Gamma"] .ed-profile-meta b { color: var(--quadra-gamma); }
.ed-profile-card[data-quadra="Delta"] .ed-profile-meta b { color: var(--quadra-delta); }
.ed-profile-copy h3 { font: 400 clamp(1.55rem,2.4vw,2.1rem)/1.2 var(--ed-archetype); letter-spacing: -.02em; margin: .65rem 0 .4rem; }
body.home-editorial-page.sigil-react-mounted #main-view #research .ed-profile-source { font-size: 12px; line-height: 1.5; color: #96b2c5; margin: 0 0 .8rem; }
body.home-editorial-page.sigil-react-mounted #main-view #research .ed-profile-summary { font-size: 17px; line-height: 1.6; color: #c2d2df; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 1.1rem; }
.ed-profile-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; margin-top: auto; font: 400 12px var(--ed-ui); color: #d6ebf4; }
.ed-profile-card:is(:hover,:focus-visible) .ed-profile-link { color: var(--ed-blue); }

@media(max-width:1180px) {
  body.home-editorial-page #main-nav { gap: .5rem; padding-inline: 1.5rem; }
  body.home-editorial-page #main-nav .nav-right { gap: .5rem; }
  body.home-editorial-page #main-nav :is(.nav-link,.nav-drop-btn) { padding-inline: .45rem; }
  body.home-editorial-page #main-nav .nav-cta { padding-inline: .75rem; }
}
@media(max-width:1050px) {
  body.home-editorial-page #main-nav .desktop-nav { display: none; }
  body.home-editorial-page #main-nav .nav-burger { display: flex; }
}
@media(max-width:760px) {
  body.home-editorial-page #main-view .ed-hero h1 { font-size: clamp(2.8rem,13.9vw,6.8rem); margin: 1.5rem 0; }
  body.home-editorial-page #main-view .ed-hero-description { font-size: 18px; line-height: 1.6; }
  body.home-editorial-page #main-view .ed-hero-actions { gap: .75rem 1rem; }
  body.home-editorial-page #main-view :is(.ed-button,.ed-text-link,.ed-feature-link) { font-size: 13px; }
  body.home-editorial-page #main-view .ed-button { padding-inline: .85rem; }
  body.home-editorial-page #main-view .ed-feature-top { font-size: 10px; letter-spacing: .045em; flex-wrap: wrap; gap: .3rem .8rem; }
  body.home-editorial-page #main-view .ed-feature-top>* { white-space: nowrap; }
  body.home-editorial-page #main-view .ed-feature-title { gap: .6rem; }
  body.home-editorial-page #main-view .ed-feature-title h2 { font-size: 1.75rem; }
  body.home-editorial-page #main-view .ed-feature-slide { min-height: 490px; }
  body.home-editorial-page #main-view .ed-feature-description { min-height: 5.3rem; font-size: 17px; }
  body.home-editorial-page #main-view .ed-feature-functions dd>span { font-size: 14px; }
  body.home-editorial-page .ed-marquee-group>span { font-size: 11px; padding: 1rem 1.4rem; }
  body.home-editorial-page .ed-marquee-pause { width: 56px; font-size: 11px; }
  body.home-editorial-page #main-view .ed-section { padding-inline: 1.5rem; }
  body.home-editorial-page #types .sigil-filter-row { flex-wrap: wrap; }
  body.home-editorial-page #types .sigil-filter-btn { font-size: 12px; padding-inline: .8rem; }
  body.home-editorial-page #types .sigil-search input { font-size: 16px; }
  body.home-editorial-page #main-view .ed-type-card { min-height: 154px; }
  body.home-editorial-page #main-view .ed-statement { padding: 3.3rem 1.5rem; }
  .ed-statement-break { display: none; }
  body.home-editorial-page #main-view .ed-element h3 { font-size: 1.35rem; overflow-wrap: anywhere; }
  body.home-editorial-page #main-view .ed-element p { font-size: 17px; }
  body.home-editorial-page #research .ed-portrait-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 85%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; }
  .ed-profile-card { scroll-snap-align: start; }
  body.home-editorial-page #research .profile-carousel-nav { display: grid; width: 40px; height: 40px; top: 34%; bottom: auto; }
  body.home-editorial-page #research .profile-carousel-nav.prev { left: -12px; }
  body.home-editorial-page #research .profile-carousel-nav.next { right: -12px; }
}
@media(max-width:380px) {
  body.home-editorial-page #main-view .ed-feature-title h2 { font-size: 1.5rem; }
  body.home-editorial-page #main-view .ed-feature-top { font-size: 9px; }
  body.home-editorial-page #main-view .ed-hero-actions .ed-text-link { font-size: 12px; }
  body.home-editorial-page #main-view .ed-feature-slide { min-height: 505px; }
  body.home-editorial-page #main-view .ed-section-heading h2 { font-size: 2rem; }
  body.home-editorial-page #main-view .ed-element { padding: .9rem; }
}
@media(prefers-reduced-motion:reduce) {
  .ed-profile-image img { transition: none; }
  body.home-editorial-page #research .ed-portrait-grid { scroll-behavior: auto; }
}
@media(forced-colors:active) {
  body.home-editorial-page #main-view .ed-hero h1>span+span { color: CanvasText; -webkit-text-stroke: 0; }
}
