/* Layout and palette inspired by the supplied Slide_05 reference. */
:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #271f1e;
  --blue: #85a2b0;
  --blue-pale: #dfe8ec;
  --muted: #5e707c;
  --line: #c9cac4;
  --down: #a44b44;
  --up: #30755d;
  font-size: min(1vw, 1.77778vh);
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; }
body { background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; overflow: hidden; }
.screen { width: 100%; height: 100%; display: flex; flex-direction: column; }
.masthead { flex: 0 0 11.2%; background: var(--blue); padding: 0 4.5%; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: Georgia, 'Times New Roman', serif; font-size: 3.45rem; letter-spacing: -.12rem; line-height: 1; }
.brand-period { color: #e4ecef; }
.masthead-section { display: flex; align-items: center; gap: 1.2rem; font-size: 1.02rem; font-weight: 600; letter-spacing: .24rem; }
.header-rule { width: 2.5rem; height: 1px; background: var(--ink); opacity: .5; }
.main-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 42% 1fr; gap: 3.1rem; padding: 2.65rem 4.5% 2rem; }
.visual { position: relative; min-height: 0; margin: 0; overflow: hidden; background: #1d6384; border: .3rem solid white; }
.architecture { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(9, 35, 50, .15) 60%, rgba(9, 35, 50, .87) 100%); }
.image-caption { position: absolute; bottom: 2.1rem; left: 2.1rem; color: #fff; }
.eyebrow { font-size: .91rem; letter-spacing: .17rem; font-weight: 600; }
.breadth { font-family: Georgia, 'Times New Roman', serif; font-size: 6.4rem; line-height: 1.04; letter-spacing: -.2rem; margin: .6rem 0 .4rem; display: flex; gap: 1rem; align-items: baseline; }
.breadth-divider { font-size: 4.4rem; font-weight: normal; color: #a4c2d0; }
.breadth-caption { font-size: 1.5rem; color: #e4edf2; }
.image-tag { position: absolute; top: 1.5rem; left: 1.55rem; color: white; border: 1px solid rgba(255,255,255,.5); padding: .5rem .75rem; font-size: .72rem; letter-spacing: .15rem; background: rgba(20,58,77,.25); }
.market-content { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.dateline { background: var(--blue-pale); display: flex; gap: .8rem; align-items: center; padding: .57rem .7rem; font-size: .92rem; font-weight: 600; letter-spacing: .11rem; color: var(--muted); width: fit-content; max-width: 100%; }
.dateline-dot { padding: 0 .25rem; }
.editorial { margin: 1.5rem 0 1.4rem; }
.snapshot-label { display: flex; align-items: center; gap: .5rem; font-size: .75rem; letter-spacing: .1rem; color: var(--muted); }
.snapshot-icon { width: .47rem; height: .47rem; background: var(--muted); display: inline-block; border-radius: 50%; }
.label-divider { color: #a8b4bb; margin: 0 .15rem; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: 3.9rem; line-height: 1.06; letter-spacing: -.08rem; font-weight: normal; margin: .75rem 0 1rem; }
.summary { font-size: 1.28rem; line-height: 1.42; max-width: 95%; margin: 0; }
.indices { margin-top: auto; }
.table-heading, .index-row { display: grid; grid-template-columns: 1fr 1.1fr .85fr; align-items: center; gap: .8rem; }
.table-heading { padding: 0 0 .7rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .69rem; letter-spacing: .09rem; }
.table-heading > :nth-child(2), .table-heading > :nth-child(3) { text-align: right; }
.index-row { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.index-identity h2 { font-size: 1.35rem; margin: 0 0 .3rem; font-weight: normal; }
.index-identity > span { font-size: .77rem; color: var(--muted); }
.index-level { text-align: right; font-size: 2.45rem; letter-spacing: -.08rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.index-change { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.down { color: var(--down); }
.up { color: var(--up); }
.flat { color: var(--muted); }
.percent { font-size: 1.35rem; display: block; margin-bottom: .3rem; }
.direction { font-size: 1.15rem; }
.points { font-size: .82rem; opacity: .95; }
.data-note { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: .82rem; line-height: 1.5; margin-top: 1rem; }
.note-mark { display: block; height: .62rem; width: .62rem; flex-shrink: 0; margin-top: .28rem; border: 1px solid var(--muted); }
.feed-status { color: #727a7c; font-size: .74rem; }
.footer { margin: 0 4.5%; border-top: 1px solid var(--line); min-height: 3.1rem; display: flex; align-items: center; gap: 2rem; color: var(--muted); font-size: .81rem; }
.footer-title { font-weight: 600; letter-spacing: .13rem; }
.source { margin-left: auto; }
.footer-right { display: flex; align-items: center; gap: 2.2rem; letter-spacing: .1rem; }
.footer-number { letter-spacing: 0; }
@media (min-aspect-ratio: 21/9) {
  .main-layout { grid-template-columns: 39% 1fr; gap: 4rem; }
  .editorial { margin-top: 2rem; }
  h1 { font-size: 4.1rem; }
}
/* Portrait players: keep all indices on screen, without relying on scrolling. */
@media (max-aspect-ratio: 1/1) {
  :root { font-size: min(1.7vw, .96vh); }
  .masthead { flex-basis: 8%; padding: 0 5%; }
  .brand { font-size: 3.3rem; }
  .masthead-section { font-size: .83rem; letter-spacing: .15rem; }
  .header-rule { display: none; }
  .main-layout { grid-template-columns: 1fr; grid-template-rows: 29% 1fr; gap: 2rem; padding: 2rem 5% 1.7rem; }
  .architecture { /* Only the architecture crop of the supplied slide is shown. */ height: 100%; }
  .image-caption { bottom: 1.5rem; left: 1.7rem; }
  .eyebrow { font-size: .85rem; }
  .breadth { font-size: 5rem; display: inline-flex; margin: .5rem 1rem 0 0; gap: .7rem; }
  .breadth-divider { font-size: 3.7rem; }
  .image-caption > .eyebrow { display: block; }
  .breadth-caption { font-size: 1.35rem; }
  .editorial { margin: 1.4rem 0; }
  h1 { font-size: 4rem; line-height: 1.04; }
  .summary { font-size: 1.4rem; }
  .dateline { font-size: 1rem; }
  .index-row { padding: 1.2rem 0; }
  .index-level { font-size: 2.8rem; }
  .index-identity h2 { font-size: 1.6rem; }
  .index-identity > span { font-size: .85rem; }
  .percent { font-size: 1.65rem; }
  .points { font-size: .95rem; }
  .table-heading { font-size: .8rem; }
  .data-note { font-size: .95rem; }
  .feed-status { font-size: .85rem; }
  .footer { margin: 0 5%; min-height: 4rem; font-size: .85rem; gap: 1rem; }
  .footer-right { letter-spacing: .06rem; gap: 1rem; }
}
