:root {
  color-scheme: dark;
  background: #0b101c;
  color: #fff5e3;
  font: 16px/1.65 system-ui, sans-serif;
  --gold: #f0d298;
  --muted: #d8cbb6;
  --line: #40394a;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--gold); text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.wrap { width: min(66rem, 100% - 3rem); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.bar, nav, footer { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; }
.bar { justify-content: space-between; min-height: 5rem; padding-block: .8rem; }
.brand { font: 1.2rem var(--serif); text-decoration: none; }
nav { font-size: .875rem; }
nav a { text-decoration: none; }
nav a[aria-current="page"] { color: #fff5e3; text-decoration: underline; }
.languages { position: relative; }
.languages summary { color: var(--gold); cursor: pointer; }
.languages div { position: absolute; z-index: 1; inset: calc(100% + .5rem) 0 auto auto; min-width: max-content; padding: .4rem; border: 1px solid var(--line); border-radius: .5rem; background: #0b101c; }
.languages a { display: block; padding: .3rem .6rem; }
.languages a[aria-current="true"] { color: #fff5e3; text-decoration: underline; }
.hero { position: relative; isolation: isolate; min-height: clamp(15rem, 34vw, 23rem); display: grid; align-content: end; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero img { position: absolute; z-index: -2; inset: 0 0 auto auto; width: min(75%, 48rem); height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b101c 20%, transparent 84%), linear-gradient(0deg, #0b101c 1%, transparent 95%); }
.hero .wrap { padding: 3rem 0 2.5rem; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; }
h1 { max-width: 15ch; font-size: clamp(2.45rem, 7vw, 4.1rem); line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.2; }
.hero p { max-width: 40ch; color: var(--muted); margin: 1rem 0 0; }
article { max-width: 44rem; padding-block: 2rem 4rem; }
article section { padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
article p { color: var(--muted); margin: .6rem 0; overflow-wrap: anywhere; }
footer { padding-block: 1.5rem 2.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 38rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero img { width: 100%; }
  .hero::after { background: linear-gradient(0deg, #0b101c 4%, #0b101c77 59%, #0b101c20); }
  .bar { gap: .7rem; }
  nav { gap: .45rem 1rem; }
}
