/* Digital Futures: business-reading layout for OIP Call 30. */
:root {
  color-scheme: light;
  --ink: #1a2a5a;
  --text: #34405c;
  --muted: #626b7f;
  --line: #dde1e9;
  --surface: #ffffff;
  --page: #f5f5f0;
  --accent: #6c5ce7;
  --accent-bright: #a29bff;
  --orange: #ff8c42;
  --green: #00d4a0;
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.65; }
button { font: inherit; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
button:focus-visible { outline-offset: -4px; }
.wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: -80px; left: 16px; padding: 10px 18px; background: white; color: var(--ink); border: 2px solid var(--accent); border-radius: 4px; }
.skip-link:focus { top: 10px; }

.site-header { background: var(--page); border-bottom: 1px solid #d5d5d0; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 236px; height: auto; }
.header-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; }
.header-meta .call { font-weight: 750; color: var(--ink); }
.header-meta .divider { width: 1px; height: 22px; background: #d5d5d0; }

.hero { padding: 46px 0 50px; color: #e8e8f0; background: linear-gradient(110deg, #0a0a0f, #161620 78%, #211d3b); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 60px; align-items: center; }
.eyebrow { margin-bottom: 15px; display: flex; align-items: center; gap: 9px; color: #c4c1df; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
h1 { margin: 0 0 18px; color: #ffffff; font-size: clamp(32px, 4.5vw, 48px); font-weight: 750; letter-spacing: -.035em; line-height: 1.16; }
h1 span { display: block; margin-top: 7px; color: var(--accent-bright); font-size: clamp(22px, 2.7vw, 30px); font-weight: 550; letter-spacing: -.02em; }
.hero-lede { max-width: 680px; margin: 0; color: #c3c3d2; font-size: 17px; line-height: 1.7; }
.deadline-card { padding: 24px; border: 1px solid #454057; border-top: 3px solid var(--orange); border-radius: 7px; background: rgba(255, 255, 255, .035); }
.deadline-label { display: block; margin-bottom: 10px; color: #c8c5d8; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.deadline-date { display: block; color: #fff; font-size: 24px; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; }
.deadline-time { display: block; margin-top: 7px; color: #ddd8ed; font-size: 14px; }
.deadline-foot { margin: 20px 0 0; padding-top: 15px; border-top: 1px solid #454057; color: #c8c5d8; font-size: 13px; }
.deadline-foot strong { color: var(--accent-bright); font-size: 18px; margin-right: 5px; }

.challenge-section { padding-top: 36px; padding-bottom: 56px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 20px; }
.section-kicker { margin: 0 0 5px; color: #595079; font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: 25px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.section-note { margin: 0; max-width: 420px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.tablist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; background: #eeeff3; overflow: hidden; }
.tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 102px; padding: 17px 24px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: background .15s ease; }
.tab:last-child { border-right: 0; }
.tab:hover { background: #e7e5f5; }
.tab[aria-selected="true"] { background: #fff; }
.tab[aria-selected="true"]::before { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); content: ""; }
.tab-top { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 5px; }
.tab-number { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #655f79; }
.tab[aria-selected="true"] .tab-number { color: #5345b8; }
.tab-arrow { color: #8c88a1; font-size: 18px; }
.tab[aria-selected="true"] .tab-arrow { color: var(--accent); }
.tab-title { color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.35; }
.tab-title-short { display: none; }
.tab-subtitle { display: none; }
.noscript-note { margin: 14px 0 0; padding: 10px 12px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13px; }

.project-showcase { padding: 34px; border: 1px solid var(--line); border-top: 0; background: #fff; }
.showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 20px; }
.showcase-heading h2 { margin: 0; color: var(--ink); font-size: 25px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.showcase-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.showcase-card { display: flex; flex-direction: column; min-height: 280px; padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: #fcfcfd; }
.showcase-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.showcase-index { color: #655b8b; font-size: 10px; font-weight: 750; letter-spacing: .055em; }
.showcase-status { display: inline-flex; align-items: center; padding: 4px 8px; border: 1px solid; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-demo { border-color: #c8e9dc; background: #eef9f4; color: #17664e; }
.status-concept { border-color: #f0d9bd; background: #fff7ed; color: #8a4a14; }
.showcase-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 19px; line-height: 1.35; letter-spacing: -.015em; }
.showcase-card > p { margin: 0 0 12px; color: var(--text); font-size: 13px; line-height: 1.65; }
.showcase-card .showcase-note { margin-top: auto; padding-top: 10px; color: var(--muted); font-size: 12px; }
.showcase-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); color: #5345b8; font-size: 14px; font-weight: 700; text-decoration: none; }
.showcase-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.panel { overflow: hidden; border: 1px solid var(--line); border-radius: 0 0 8px 8px; background: var(--surface); box-shadow: 0 8px 24px rgba(26, 42, 90, .035); }
.panel[hidden] { display: none; }
.panel-head { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: center; gap: 44px; padding: 32px 36px; border-bottom: 1px solid var(--line); }
.panel-category { margin-bottom: 12px; color: #5a5078; font-size: 11px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.panel h3 { max-width: 770px; margin: 0; color: var(--ink); font-size: clamp(23px, 2.6vw, 29px); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.panel-functions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.pill { display: inline-flex; padding: 4px 10px; background: #f3f2f9; border: 1px solid #e6e3f3; border-radius: 4px; color: #575272; font-size: 12px; line-height: 1.6; }
.owner-mark { display: grid; place-items: center; width: 250px; min-height: 96px; padding: 12px; background: white; }
.owner-mark img { display: block; width: auto; max-width: 100%; height: auto; max-height: 85px; object-fit: contain; }
.owner-mark.wide img { width: 100%; }
.panel-body { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 36px; padding: 32px 36px 36px; }
.label { margin: 0 0 12px; color: var(--ink); font-size: 15px; font-weight: 750; line-height: 1.4; }
.statement { margin: 0 0 28px; padding: 18px 22px; border-left: 3px solid var(--accent); background: #f5f3fc; border-radius: 0 5px 5px 0; color: var(--ink); font-size: 17px; line-height: 1.65; font-weight: 500; }
.context { margin: 0 0 28px; color: var(--text); font-size: 16px; line-height: 1.75; }
.priorities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.priority { padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: 5px; background: #fcfcfd; }
.priority .index { display: block; margin-bottom: 10px; color: #655b8b; font-size: 10px; font-weight: 750; letter-spacing: .06em; }
.priority h5 { margin: 0 0 8px; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.4; }
.priority p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.7; }
.brief-sidebar { display: flex; flex-direction: column; gap: 22px; }
.owner-card, .brief-targets { margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 5px; background: #fafafa; }
.owner-card .owner-link { display: inline-flex; align-items: center; gap: 7px; color: #5345b8; font-size: 16px; font-weight: 750; text-decoration: none; }
.owner-card .owner-link::after, .source-link::after { content: "↗"; }
.owner-card a:hover, .source-link:hover { text-decoration: underline; }
.owner-card p { margin: 12px 0 0; color: var(--text); font-size: 14px; line-height: 1.7; }
.owner-detail { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.owner-detail strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 13px; }
.owner-detail span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.source-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 18px; color: #5345b8; font-size: 13px; font-weight: 650; text-decoration: none; }
.brief-targets { background: #fff; }
.target-list { margin: 0; padding: 0; list-style: none; }
.target-list li { display: block; padding: 12px 0; border-bottom: 1px solid #e9ebf0; color: var(--text); font-size: 14px; line-height: 1.6; }
.target-list li:first-child { padding-top: 1px; }
.target-list li:last-child { border-bottom: 0; padding-bottom: 4px; }
.target-list strong { color: #5345b8; font-weight: 750; }
.target-note { margin: 15px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.65; }

.closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; margin-top: 28px; padding: 26px 30px; border: 1px solid #dcd8ed; border-radius: 6px; background: #efedf7; }
.closing h2 { margin: 0 0 5px; color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.closing p { margin: 0; color: #505b71; font-size: 14px; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 19px; border-radius: 5px; background: var(--accent); color: white; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.cta:hover { background: #5847cb; }
.site-footer { padding: 25px 0 30px; border-top: 1px solid #d5d5d0; background: var(--page); color: var(--muted); font-size: 12px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 760px) auto; justify-content: space-between; gap: 30px; }
.site-footer a { color: #5345b8; }

@media (max-width: 1050px) {
  .hero-inner { gap: 36px; grid-template-columns: minmax(0, 1fr) 265px; }
  .panel-head { gap: 28px; padding: 28px; grid-template-columns: minmax(0, 1fr) 205px; }
  .owner-mark { width: 205px; }
  .panel-body { padding: 28px; gap: 25px; grid-template-columns: minmax(0, 1fr) 280px; }
  .priorities { grid-template-columns: 1fr; }
  .project-showcase { padding: 28px; }
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .deadline-card { max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; padding: 18px 22px; }
  .deadline-label { margin: 0; grid-column: 1 / -1; }
  .deadline-date { font-size: 24px; }
  .deadline-time { align-self: center; margin: 0; }
  .deadline-foot { grid-column: 1 / -1; margin-top: 8px; padding-top: 10px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .section-note { max-width: none; }
  .showcase-heading { align-items: start; flex-direction: column; gap: 10px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card { min-height: 0; }
  .tablist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tab { min-height: 92px; padding: 15px 18px; }
  .panel-head { grid-template-columns: 1fr; gap: 14px; }
  .owner-mark { justify-self: start; width: 230px; min-height: 70px; padding: 0; }
  .owner-mark img { max-height: 70px; }
  .owner-mark:not(.wide) { justify-content: start; }
  .owner-mark:not(.wide) img { width: 145px; }
  .panel-body { grid-template-columns: 1fr; }
  .priorities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
  .closing { grid-template-columns: 1fr; gap: 18px; }
  .cta { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand img { width: 190px; }
  .header-meta { font-size: 12px; }
  .header-meta .divider, .header-meta > span:last-child { display: none; }
  .hero { padding: 32px 0; }
  .hero-lede { font-size: 16px; }
  .deadline-card { display: block; }
  .deadline-label { margin-bottom: 8px; }
  .deadline-time { margin-top: 5px; }
  .deadline-foot { margin-top: 14px; }
  .challenge-section { padding-top: 27px; padding-bottom: 36px; }
  .section-heading h2 { font-size: 23px; }
  .project-showcase { padding: 22px 18px; }
  .showcase-heading h2 { font-size: 23px; }
  .tab { min-height: 96px; padding: 12px 9px; }
  .tab-top { min-height: 26px; align-items: flex-start; margin-bottom: 5px; }
  .tab-number { font-size: 9px; letter-spacing: .025em; }
  .tab-arrow { display: none; }
  .tab-title { font-size: 13px; }
  .tab-title-full { display: none; }
  .tab-title-short { display: inline; }
  .panel-head, .panel-body { padding: 22px 20px; }
  .panel h3 { font-size: 23px; }
  .statement { padding: 16px 17px; font-size: 16px; }
  .context { font-size: 15px; }
  .priorities, .brief-sidebar { grid-template-columns: 1fr; }
  .closing { padding: 22px 20px; }
  .cta { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  body, .hero, .site-header, .site-footer { background: white; color: #222; }
  .wrap { width: 100%; }
  .hero { padding: 20px 0; }
  h1, h1 span, .hero-lede, .eyebrow, .deadline-date, .deadline-time, .deadline-label, .deadline-foot, .deadline-foot strong { color: #222; }
  .hero-inner { grid-template-columns: 1fr; }
  .deadline-card { border: 1px solid #aaa; }
  .tablist, .closing, .skip-link, .showcase-link { display: none; }
  .panel, .panel[hidden] { display: block; margin-bottom: 24px; box-shadow: none; border-radius: 0; }
  .panel-body { grid-template-columns: 1fr; }
  .brief-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .panel-head, .priority, .owner-card, .brief-targets { break-inside: avoid; }
  .panel:not(:first-of-type) { break-before: page; }
}
