:root {
  color-scheme: light;
  --ink: #17191c;
  --ink-soft: #34383d;
  --navy: #111b25;
  --navy-2: #1a2936;
  --paper: #f2efe7;
  --white: #ffffff;
  --line: #d7d1c5;
  --red: #ad1017;
  --red-dark: #79090e;
  --orange: #e36a26;
  --yellow: #efbd35;
  --blue: #185b85;
  --green: #315e2b;
  --muted: #696d72;
  --shadow: 0 18px 44px rgba(27, 23, 18, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1220px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; left: 14px; top: -100px; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 14px; }

.portal-header { position: sticky; top: 0; z-index: 30; background: rgba(17, 27, 37, .98); color: var(--white); box-shadow: 0 4px 18px rgba(0, 0, 0, .16); }
.portal-header::after { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--red), var(--orange) 68%, var(--yellow)); }
.brand-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.portal-brand { display: flex; min-width: 0; align-items: center; gap: 13px; color: var(--white); text-decoration: none; }
.brand-photo { width: 46px; height: 46px; border: 2px solid #ef4349; border-radius: 50%; object-fit: cover; object-position: center 28%; }
.brand-copy { min-width: 0; line-height: 1.16; }
.brand-copy strong { display: block; color: #ff4c52; font-size: .76rem; letter-spacing: .075em; text-transform: uppercase; }
.brand-copy span { display: block; margin-top: 4px; overflow: hidden; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.pc-mark { display: grid; flex: 0 0 auto; width: 46px; height: 46px; place-items: center; border: 2px solid #ff4a50; background: #980c13; color: #fff; font-weight: 900; }
.global-nav { border-top: 1px solid rgba(255, 255, 255, .13); }
.nav-track { display: flex; min-height: 46px; align-items: stretch; gap: 4px; overflow-x: auto; scrollbar-width: thin; }
.nav-track a { display: inline-flex; flex: 0 0 auto; align-items: center; padding: 8px 13px; color: #d9dde0; font-size: .88rem; font-weight: 720; text-decoration: none; white-space: nowrap; }
.nav-track a:hover, .nav-track a[aria-current="page"] { background: rgba(255, 255, 255, .09); color: #fff; }
.nav-track a[aria-current="page"] { box-shadow: inset 0 -3px 0 #ff4a50; }

main { padding: 28px 0 68px; }
.home-lead { display: grid; grid-template-columns: minmax(0, .96fr) minmax(440px, 1.04fr); overflow: hidden; border-top: 7px solid var(--red); background: var(--white); box-shadow: var(--shadow); }
.latest-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(26px, 4vw, 52px); }
.kicker { color: var(--red); font-size: .78rem; font-weight: 850; letter-spacing: .085em; text-transform: uppercase; }
.home-lead h1, .page-hero h1 { margin: 10px 0 15px; font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.024em; line-height: 1.05; }
.home-lead h1 { font-size: clamp(2.1rem, 4.2vw, 3.85rem); }
.standfirst { margin: 0; color: var(--ink-soft); font-size: clamp(1.02rem, 1.5vw, 1.17rem); line-height: 1.58; }
.status-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.status-chip { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: #f7f5f0; color: var(--ink-soft); font-size: .82rem; font-weight: 760; }
.status-chip.risk { border-color: #e2a2a5; background: #fff0f0; color: var(--red-dark); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.critical-line { margin-top: 17px; padding: 13px 15px; border-left: 4px solid var(--orange); background: #f5eee6; color: var(--ink-soft); font-size: .92rem; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--red); border-radius: 3px; background: var(--red); color: var(--white); font-weight: 790; line-height: 1.2; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button.secondary { border-color: var(--navy); background: var(--navy); }
.button.ghost { border-color: #aaa59b; background: transparent; color: var(--ink); }
.button.ghost:hover { border-color: var(--ink); background: #f7f5f0; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.map-preview { display: flex; min-height: 100%; flex-direction: column; justify-content: center; padding: 22px; background: var(--navy); color: var(--white); text-decoration: none; }
.map-preview-frame { overflow: hidden; width: 100%; aspect-ratio: 1200 / 630; border: 1px solid rgba(255, 255, 255, .22); background: #fff; }
.map-preview-frame img { width: 100%; height: 100%; object-fit: cover; }
.map-preview span { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; color: #e4e8eb; font-size: .88rem; font-weight: 740; }

.spotlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.spotlight-card { position: relative; display: grid; min-height: 300px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); text-decoration: none; }
.spotlight-card.media { grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); }
.spotlight-image { position: relative; overflow: hidden; min-height: 300px; background: #24282b; }
.spotlight-image img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 48%, rgba(17, 27, 37, .2)); }
.spotlight-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 38px); }
.spotlight-copy h2 { margin: 8px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 2.6vw, 2.45rem); line-height: 1.08; }
.spotlight-copy p { margin: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--red); font-weight: 820; }
.video-spotlight { display: flex; min-height: 300px; flex-direction: column; justify-content: space-between; padding: clamp(26px, 4vw, 42px); background: linear-gradient(135deg, var(--navy), #223848); color: var(--white); }
.video-spotlight .kicker { color: #ff8e79; }
.video-spotlight h2 { margin: 12px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.08; }
.video-spotlight p { max-width: 580px; margin: 0; color: #d7dde1; }
.play-mark { display: grid; width: 58px; height: 58px; place-items: center; border: 2px solid #ff5960; border-radius: 50%; background: rgba(173, 16, 23, .35); }
.play-mark svg { width: 25px; height: 25px; fill: white; transform: translateX(2px); }
.media-state { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #fff; font-size: .88rem; font-weight: 800; }
.media-state .dot { width: 9px; height: 9px; border-radius: 50%; background: #9da7ad; }
.media-state.live .dot { background: #ff343c; box-shadow: 0 0 0 5px rgba(255, 52, 60, .17); }

.section-block { margin-top: 42px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.08; }
.section-heading p { max-width: 580px; margin: 0; color: var(--muted); }
.section-heading a { color: var(--red); font-weight: 790; text-decoration: none; }
.section-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.section-tile { display: flex; min-height: 220px; flex-direction: column; padding: 25px; border-top: 5px solid var(--blue); background: var(--white); box-shadow: 0 10px 30px rgba(27, 23, 18, .075); text-decoration: none; }
.section-tile:nth-child(2) { border-color: var(--orange); }
.section-tile:nth-child(3) { border-color: var(--green); }
.section-tile:nth-child(4) { border-color: var(--red); }
.tile-index { color: var(--muted); font-size: .75rem; font-weight: 850; letter-spacing: .08em; }
.section-tile h3 { margin: auto 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; line-height: 1.14; }
.section-tile p { margin: 0; color: var(--muted); font-size: .91rem; }
.section-tile b { display: block; margin-top: 16px; color: var(--red); font-size: .86rem; }

.archive-list { border-top: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.archive-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 17px 22px; border-bottom: 1px solid var(--line); text-decoration: none; }
.archive-row time { color: var(--red); font-size: .82rem; font-weight: 820; text-transform: uppercase; }
.archive-row strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.14rem; line-height: 1.3; }
.archive-row b { color: var(--red); font-size: .88rem; }
.profile-strip { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; align-items: center; gap: 26px; margin-top: 42px; padding: 26px; background: var(--navy); color: var(--white); }
.profile-strip img { width: 128px; height: 128px; object-fit: cover; object-position: center 28%; }
.profile-strip h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; }
.profile-strip p { max-width: 700px; margin: 0; color: #d6dce0; }

.page-hero { padding: clamp(30px, 5vw, 62px); border-top: 7px solid var(--red); background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.page-hero .kicker { color: #ff8e79; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.35rem, 5vw, 4.6rem); }
.page-hero p { max-width: 820px; margin: 0; color: #d6dce0; font-size: clamp(1.03rem, 1.7vw, 1.2rem); }
.content-panel { margin-top: 24px; padding: clamp(24px, 4vw, 44px); background: var(--white); box-shadow: var(--shadow); }
.content-panel h2 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; }
.content-panel h3 { margin: 0 0 8px; font-size: 1.15rem; }
.content-panel p { max-width: 800px; color: var(--ink-soft); }
.empty-state { padding: clamp(30px, 6vw, 72px); border: 1px dashed #aaa59b; background: #faf8f4; text-align: center; }
.empty-state .empty-mark { display: grid; width: 58px; height: 58px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 900; }
.empty-state h2 { margin-inline: auto; }
.empty-state p { margin: 0 auto; }
.category-grid, .method-grid, .workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-card, .method-card, .workflow-card { padding: 24px; border: 1px solid var(--line); background: #faf8f4; }
.category-card span, .workflow-card span { color: var(--red); font-size: .76rem; font-weight: 850; letter-spacing: .075em; text-transform: uppercase; }
.category-card h2, .method-card h2, .workflow-card h2 { margin: 10px 0 8px; font-size: 1.45rem; }
.category-card p, .method-card p, .workflow-card p { margin: 0; font-size: .94rem; }
.risk-scale { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 22px; }
.risk-step { min-height: 70px; padding: 12px 9px; color: #fff; font-size: .8rem; font-weight: 800; text-align: center; }
.risk-step:nth-child(1) { background: #4d9f3f; }
.risk-step:nth-child(2) { background: #d2ad25; }
.risk-step:nth-child(3) { background: #e36a26; }
.risk-step:nth-child(4) { background: #ad1017; }
.risk-step:nth-child(5) { background: #7b267e; }
.risk-step:nth-child(6) { background: #46184a; }
.about-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.about-grid img { width: 260px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 28%; }

.video-status { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 22px; }
.video-stage { overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); }
.video-stage iframe, .video-stage img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-placeholder { display: grid; width: 100%; height: 100%; place-items: center; padding: 28px; color: var(--white); text-align: center; }
.video-placeholder .play-mark { margin: 0 auto 17px; }
.video-placeholder h2 { margin: 0 0 8px; color: #fff; }
.video-placeholder p { margin: 0 auto; color: #cbd3d8; }
.video-copy { display: flex; flex-direction: column; justify-content: center; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.video-copy h2 { margin: 8px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1.12; }
.video-copy p { margin: 0; color: var(--muted); }
.video-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card { overflow: hidden; background: var(--white); box-shadow: 0 10px 28px rgba(27, 23, 18, .08); }
.video-thumb { aspect-ratio: 16 / 9; background: var(--navy); }
.video-thumb img, .video-thumb iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-card-copy { padding: 20px; }
.video-card-copy h3 { margin: 7px 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; line-height: 1.18; }
.video-card-copy p { margin: 0; color: var(--muted); font-size: .91rem; }

.live-dock { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: min(390px, calc(100% - 40px)); padding: 18px 46px 18px 18px; border-top: 5px solid #ff343c; background: var(--navy); color: var(--white); box-shadow: 0 20px 48px rgba(0, 0, 0, .28); }
.live-dock strong, .live-dock span { display: block; }
.live-dock strong { margin: 4px 0; }
.live-dock span { color: #d6dce0; font-size: .88rem; }
.live-dock a { color: #fff; }
.live-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; background: transparent; color: #fff; cursor: pointer; }

.share-toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; max-width: calc(100% - 40px); padding: 11px 15px; background: var(--navy); color: #fff; box-shadow: var(--shadow); font-weight: 750; }
.button:focus-visible, .nav-track a:focus-visible, .spotlight-card:focus-visible, .section-tile:focus-visible, .archive-row:focus-visible { outline: 3px solid rgba(24, 91, 133, .42); outline-offset: 3px; }

.portal-footer { padding: 32px 0 42px; background: var(--navy); color: #cfd6da; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.portal-footer strong { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.footer-links a { color: #e5e9eb; font-size: .88rem; text-decoration: none; }

@media (max-width: 980px) {
  .home-lead { grid-template-columns: 1fr; }
  .map-preview { min-height: auto; }
  .spotlight-grid, .section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spotlight-card.media { grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); }
  .category-grid, .method-grid, .workflow-grid, .video-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-status { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 20px, 1220px); }
  .brand-row { min-height: 62px; }
  .brand-photo { width: 40px; height: 40px; }
  .pc-mark { width: 40px; height: 40px; font-size: .88rem; }
  .brand-copy span { font-size: .91rem; }
  main { padding-top: 14px; }
  .latest-copy, .page-hero { padding: 24px 20px; }
  .home-lead h1 { font-size: 2.28rem; }
  .map-preview { padding: 12px; }
  .spotlight-grid, .section-grid, .category-grid, .method-grid, .workflow-grid, .video-list { grid-template-columns: 1fr; }
  .spotlight-card.media { grid-template-columns: 1fr; }
  .spotlight-image { min-height: 220px; max-height: 280px; }
  .section-heading { display: block; }
  .section-heading p, .section-heading a { display: block; margin-top: 8px; }
  .archive-row { grid-template-columns: 1fr; gap: 4px; }
  .archive-row b { margin-top: 4px; }
  .profile-strip { grid-template-columns: 82px minmax(0, 1fr); }
  .profile-strip img { width: 82px; height: 82px; }
  .profile-strip .button { grid-column: 1 / -1; }
  .risk-scale { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { width: min(260px, 75%); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .brand-copy strong { font-size: .64rem; }
  .brand-copy span { font-size: .82rem; }
  .pc-mark { display: none; }
  .action-row .button { width: 100%; }
  .status-chip { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
