p.hx-h4{display:block;font-size:1em;font-weight:bold;margin:1.33em 0}
picture{display:contents}
img{height:auto}


:root {
  --accent: #d60909;
  --accent-dark: #a80707;
  --ink: #2b2b2b;
  --fg: #4d4d4d;
  --muted: #787878;
  --border: #e3e3e3;
  --surface: #ffffff;
  --canvas: #f4f4f3;
  --panel: #f7f7f7;
  --footer-bg: #232323;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px -18px rgba(0, 0, 0, .35);
  --wrap: 1180px;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4,p.hx-h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem); }
h3 { font-size: clamp(1.1rem, .95rem + .6vw, 1.3rem); }
h4,p.hx-h4 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: .04em; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin: .25rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

.topbar { background: #1c1c1c; color: #cfcfcf; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar a { color: #f0f0f0; }
.topbar .social { display: flex; gap: 14px; align-items: center; }

.site-header { background: var(--accent); color: #fff; }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 78px;
}
.brand { display: flex; align-items: baseline; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .logo { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); letter-spacing: .01em; }
.brand .name { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; opacity: .85; font-weight: 600; }

.nav-toggle {
  display: none; background: rgba(0,0,0,.15); color: #fff; border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm); padding: 8px 12px; font-size: 1.1rem; cursor: pointer;
}
.nav-toggle:hover { background: rgba(0,0,0,.28); }

.main-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.main-nav a:hover { background: rgba(0,0,0,.18); text-decoration: none; }
.main-nav a[aria-current="page"] { background: #353535; }

.hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.hero .inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 64px) 0; }
.hero .kicker { display: inline-block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.hero h1 { margin-bottom: .5em; }
.hero p.lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: var(--fg); max-width: 46ch; }
.hero-art { aspect-ratio: 4 / 3; border-radius: var(--radius); background: radial-gradient(circle at 68% 38%, #fff 0 7%, var(--accent-dark) 7.3% 14%, #fff 14.3% 22%, var(--accent-dark) 22.3% 29%, #fff 29.3% 36%, transparent 36.5%), linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 34px, rgba(255,255,255,.05) 34px 35px); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent); color: #fff; text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.page { padding: clamp(28px, 4vw, 52px) 0 64px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 52px); align-items: start; }
.layout--single { grid-template-columns: minmax(0, 1fr); }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--ink); font-weight: 600; }

.section { margin-bottom: 44px; }
.section > h2 { padding-bottom: 10px; border-bottom: 2px solid var(--border); position: relative; }
.section > h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--accent); }
.section > h3 { margin-top: 1.6em; }
.section > h4,.section > p.hx-h4 { margin-top: 1.4em; color: var(--fg); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3, .card h4,.card p.hx-h4 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.aside-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px; }
.aside-card .head { background: #353535; color: #fff; padding: 14px 18px; font-family: var(--font-display); font-size: 1.15rem; }
.aside-card .body { padding: 18px; }
.aside-card .body p:last-child { margin-bottom: 0; }
.aside-nav { list-style: none; margin: 0; padding: 0; }
.aside-nav li { border-top: 1px solid var(--border); }
.aside-nav li:first-child { border-top: 0; }
.aside-nav a { display: block; padding: 11px 18px; color: var(--fg); font-weight: 600; }
.aside-nav a:hover { background: var(--panel); color: var(--accent); text-decoration: none; }

.member { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.member .avatar { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; color: #fff; background: linear-gradient(150deg, var(--accent), var(--accent-dark)); }
.member .role { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.member .who { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.member .meta { font-size: .85rem; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: #353535; color: #fff; font-weight: 700; white-space: nowrap; }
tbody tr:nth-child(even) { background: var(--panel); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
caption { caption-side: top; text-align: left; font-weight: 700; color: var(--ink); padding: 12px; }

.acc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc > summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.acc[open] > summary::after { content: "–"; }
.acc > summary:hover { background: var(--panel); }
.acc .acc-body { padding: 0 20px 20px; }
.acc .acc-body > :first-child { margin-top: 0; }

.doclist { list-style: none; margin: 0; padding: 0; }
.doclist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.doclist li:last-child { border-bottom: 0; }
.doclist .ext { flex: none; width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--border); display: grid; place-items: center; font-size: .68rem; font-weight: 700; color: var(--muted); }
.doclist .fn { font-weight: 600; color: var(--ink); }
.doclist .sz { font-size: .82rem; color: var(--muted); }

.note { border-left: 4px solid var(--accent); background: var(--panel); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.2em 0; }
.note strong { color: var(--ink); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 26px; border-left: 2px solid var(--border); }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline b { color: var(--ink); }

.site-footer { background: var(--footer-bg); color: #b9b9b9; margin-top: 40px; }
.site-footer .inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding: 44px 0 28px; }
.site-footer h4,.site-footer p.hx-h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; }
.site-footer a { color: #e6e6e6; }
.site-footer p { margin-bottom: .5rem; }
.site-footer .bottom { border-top: 1px solid #3a3a3a; padding: 16px 0; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16 / 9; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { position: absolute; left: 0; right: 0; background: var(--accent-dark); top: 100%; display: none; box-shadow: var(--shadow); z-index: 40; }
  .site-header .bar { position: relative; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px; }
  .main-nav a { padding: 12px 14px; }
}

@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .site-footer .inner { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .member { align-items: flex-start; }
}

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