:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #09121c;
  color: #f5f7f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #f5f7f8;
  --muted: #a6b1bb;
  --line: #293642;
  --cyan: #63d1dc;
  --gold: #d9bd7b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: #09121c;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.skip-link {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  transform: translateY(-150%);
  background: var(--ink);
  color: #09121c;
}
.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px max(5vw, 24px);
}

.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; line-height: 1.3; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.header-link, .site-footer a { color: var(--cyan); font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 4px; }

main { max-width: 1440px; margin: 0 auto; padding: 0 max(5vw, 24px); }
.project-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: clamp(40px, 7vw, 92px) 0 56px;
}
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow span { padding: 0 5px; color: #71808d; }
h1, h2, p, figure { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 8px; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; }
.hero-location { margin: 0; color: var(--muted); font-size: 17px; }
.credit-block { max-width: 370px; margin-top: 42px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.credit-label { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.credit-block p { margin: 7px 0 0; color: var(--muted); line-height: 1.5; }
.credit-block strong { color: var(--ink); font-weight: 600; }
.credit-source { display: inline-block; margin-top: 10px; color: var(--cyan); font-size: 12px; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hero-image { margin: 0; }
.hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-image figcaption { margin-top: 8px; color: #85919d; font-size: 11px; text-align: right; }

.facts-band { padding: 23px 0 21px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-band dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 0; }
.facts-band dt { color: var(--muted); font-size: 11px; }
.facts-band dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.facts-band > p { margin: 14px 0 0; color: #82909c; font-size: 11px; }

.project-context { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 8vw, 120px); padding: 76px 0; }
.section-heading h2, .source-panel h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); line-height: 1.15; }
.context-copy p { max-width: 720px; margin-bottom: 18px; color: #d3dbe1; }
.context-copy .scope-note { margin-top: 27px; padding-left: 15px; border-left: 2px solid var(--gold); color: var(--muted); font-size: 13px; }

.source-panel { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 8vw, 120px); padding: 32px 0 68px; border-top: 1px solid var(--line); }
.source-panel ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.source-panel a { display: inline-flex; align-items: baseline; gap: 8px; color: var(--cyan); font-size: 14px; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.site-footer { min-height: 72px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer a { white-space: nowrap; }

@media (max-width: 760px) {
  .site-header, .site-footer { padding-right: 20px; padding-left: 20px; }
  main { padding: 0 20px; }
  .project-hero, .project-context, .source-panel { grid-template-columns: minmax(0, 1fr); }
  .project-hero { gap: 28px; padding: 42px 0 36px; }
  .credit-block { margin-top: 24px; }
  .facts-band dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .project-context { gap: 20px; padding: 48px 0; }
  .source-panel { gap: 20px; padding-bottom: 48px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 5px; padding-top: 16px; padding-bottom: 16px; }
}

@media (max-width: 380px) {
  .site-header { gap: 12px; padding-right: 16px; padding-left: 16px; }
  .brand { min-width: 0; gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 12px; }
  .brand small { max-width: 18ch; font-size: 9px; }
  .header-link { flex: none; font-size: 11px; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
