/* Informational layout: section index, overview, the Atlas of centers, Studio, business model, pitch deck, founder path.
   Same art direction as the rest of the site: deep teal, mint accent, hairline borders, light Segoe UI headings. */
section[id] { scroll-margin-top: 24px; }

/* ---- on this page ---- */
.page-index { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 8px; border-top: 1px solid var(--line); }
.page-index a { display: inline-flex; gap: 8px; align-items: baseline; text-decoration: none; font-size: 13px; color: #c7c2d0; padding: 8px 14px; border: 1px solid #2c3a3f; border-radius: 999px; transition: border-color .2s, color .2s; }
.page-index a span { font: 600 10px/1 monospace; color: var(--accent); letter-spacing: .06em; }
.page-index a:hover { color: #fff; border-color: var(--accent); }

/* ---- 01 overview ---- */
.overview { padding-block: 90px 40px; }
.ov-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 0 40px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ov-stats div { background: #071d22; padding: 26px 24px; display: flex; flex-direction: column-reverse; gap: 6px; }
.ov-stats dd { margin: 0; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--fg); }
.ov-stats dt { font-size: 12px; color: var(--muted); }
.ov-audiences { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ov-audiences article { padding: 24px; border: 1px solid #23363b; border-radius: 16px; background: linear-gradient(170deg, #0a262b, #061619); display: flex; flex-direction: column; gap: 10px; }
.ov-audiences h3 { font-size: 21px; line-height: 1.25; margin: 0; }
.ov-audiences p { color: #a9b6b8; font-size: 14px; margin: 0; }
.ov-audiences .text-link { margin-top: auto; color: var(--accent); }

/* ---- 02 atlas ---- */
.atlas { padding-block: 90px 40px; }
.atlas-group { margin-top: 56px; }
.atlas-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.atlas-group-head h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 0; }
.atlas-group-head p { margin: 0; color: var(--muted); font-size: 14px; max-width: 460px; text-align: right; }
.atlas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.atlas-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid #23363b; border-radius: 18px; overflow: hidden; background: #071a1f; }
.atlas-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #030a0c; }
.atlas-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.atlas-card:hover img { transform: scale(1.03); }
.atlas-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.atlas-num { margin: 0; font: 600 11px/1 monospace; letter-spacing: .1em; color: var(--accent); }
.atlas-body h4 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.atlas-lede { margin: 0; color: #d5dcdd; font-size: 16px; }
.atlas-body ul { margin: 0; padding-left: 18px; color: #a9b6b8; font-size: 14px; line-height: 1.6; display: grid; gap: 4px; }
.atlas-body li::marker { color: var(--accent); }
.atlas-value { margin: 4px 0 0; font-size: 14px; color: #d5dcdd; }
.atlas-value b { display: block; font: 700 9px/1.8 'Segoe UI', Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.atlas-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.atlas-foot .label { justify-self: auto; }
.atlas-foot .text-link { color: var(--accent); }
.atlas-note { margin: 0; font-size: 11px; color: #8d9a9c; }

/* ---- 04 studio (own section now) ---- */
.studio-marks.studio-section { margin: 0 auto; padding-block: 90px 40px; }   /* .studio-marks' own margin would undo .wrap's centring */
.studio-section > .studio-mark-card + .studio-mark-card { margin-top: 8px; }
.studio-mark-card .studio-gallery.studio-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---- 08 business model ---- */
.model { padding-block: 90px 40px; }
.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 36px; }
.model-grid article { padding: 24px; border: 1px solid #23363b; border-radius: 16px; background: #071a1f; }
.model-grid h3 { font-size: 20px; line-height: 1.3; margin: 8px 0 10px; }
.model-grid p:last-child { color: #a9b6b8; font-size: 14px; margin: 0; }

/* ---- 09 pitch deck ---- */
.pitch { padding-block: 90px 40px; }
.pitch-viewer { display: grid; gap: 14px; }
.pitch-stage { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid #2c4a4f; background: #030a0c; box-shadow: 0 30px 80px #000a; }
.pitch-stage img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.pitch-stage figcaption { display: flex; gap: 16px; align-items: baseline; padding: 12px 18px; background: #061619; font-size: 13px; color: #c7d0d2; }
.pitch-stage figcaption span:first-child { font: 600 11px monospace; color: var(--accent); letter-spacing: .08em; }
.pitch-arrow { position: absolute; top: calc(50% - 40px); width: 46px; height: 46px; border-radius: 50%; border: 1px solid #ffffff40; background: #03121699; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.pitch-arrow.prev { left: 14px; } .pitch-arrow.next { right: 14px; }
.pitch-arrow:hover { background: #0a2d33; border-color: var(--accent); }
.pitch-thumbs { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 8px; }
.pitch-thumbs button { padding: 0; border: 1px solid #23363b; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .6; transition: opacity .2s, border-color .2s; }
.pitch-thumbs button[aria-pressed="true"], .pitch-thumbs button:hover { opacity: 1; border-color: var(--accent); }
.pitch-thumbs img { display: block; width: 100%; height: auto; }
.pitch .actions .button:not(.primary) { border: 1px solid #50485e; }

/* ---- 10 founder path ---- */
.founder-bio > p.founder-quote { max-width: 560px; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; font-weight: 300; letter-spacing: -.02em; color: var(--fg); border-left: 2px solid var(--accent); padding-left: 18px; margin: 18px 0; }
.founder-path { margin: 18px 0; display: grid; gap: 10px; }
.founder-path div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid #ffffff14; }
.founder-path dt { font: 600 10px monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.founder-path dd { margin: 0; font-size: 14px; }

@media (max-width: 1100px) {
  .ov-audiences, .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pitch-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-audiences, .model-grid, .atlas-grid { grid-template-columns: minmax(0, 1fr); }
  .atlas-group-head { display: block; } .atlas-group-head p { text-align: left; margin-top: 6px; }
  .pitch-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .studio-mark-card .studio-gallery.studio-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pitch-arrow { width: 38px; height: 38px; font-size: 22px; top: calc(50% - 32px); }
  .page-index a { font-size: 12px; padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) { .atlas-card img { transition: none; } }

/* A tall dojo must not turn its aspect ratio into a minimum phone width. */
.component-stage { width:100%; min-width:0; }
.component-stage.dojo-mode { aspect-ratio:auto; }
@media(max-width:900px){.component-demo,.component-demo.no-inspector{grid-template-columns:minmax(0,1fr)}}
