:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", sans-serif;
  background: #07121f;
  color: #e8eff8;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 300px;
  background: radial-gradient(ellipse at 50% 30%, #17334c 0%, #0b1b2c 45%, #07121f 78%);
  min-height: 100vh;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid #f5ce73; outline-offset: 6px; }
.site-header {
  min-height: 90px;
  padding: 18px max(24px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #0d2033;
  border-bottom: 1px solid #39516a;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { object-fit: contain; }
.brand span { font-size: 25px; font-weight: 600; letter-spacing: -.035em; }
nav { display: flex; align-items: center; gap: 8px; }
nav a { padding: 10px 15px; border: 1px solid transparent; border-radius: 24px; text-decoration: none; font-size: 14px; }
nav a:hover { background: #1b354d; }
nav a[aria-current] { color: #f5ce73; border-color: #89764b; background: #183149; }
main { max-width: 1040px; margin: auto; padding: 48px 28px 32px; }
h1 { margin: 0 0 38px; text-align: center; color: #f5ce73; font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -.045em; }
.portraits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
figure { margin: 0; background: #10283e; border: 1px solid #8e7950; border-radius: 24px; padding: 12px; box-shadow: 0 20px 55px #02091066; }
.portrait-frame { background: #10283e; border-radius: 15px; overflow: hidden; aspect-ratio: 3 / 4; }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
figcaption { padding: 22px 8px 12px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; letter-spacing: -.025em; text-align: center; }
footer { max-width: 984px; margin: 0 auto; padding: 0 0 28px; color: #aebed0; font-size: 12px; line-height: 1.8; }
summary { width: max-content; cursor: pointer; }
details p { margin: 10px 0; }
details a { color: #d7bd83; text-underline-offset: 3px; }
@media (max-width: 680px) {
  .site-header { padding: 14px 18px; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .brand span { font-size: 23px; }
  .brand img { width: 40px; height: 40px; }
  nav { justify-content: center; width: 100%; gap: 3px; }
  nav a { font-size: 13px; padding: 8px 12px; }
  main { padding: 30px 18px 24px; }
  h1 { margin-bottom: 26px; }
  .portraits { gap: 22px; grid-template-columns: 1fr; max-width: 440px; margin: auto; }
  figure { border-radius: 20px; padding: 9px; }
  figcaption { padding: 18px 6px 12px; font-size: 24px; }
  footer { padding: 0 20px 24px; max-width: 480px; }
}
