/* also humanity — shared brand layer (colours, type, buttons, photo treatment) */
:root {
  color-scheme: dark;
  --space: #05070F; --deep-ocean: #0C183D; --ocean: #1D4F7A; --shallows: #2E8C9A; --atmosphere: #7FB2E5;
  --forest: #24452A; --grassland: #7C8F4A; --desert: #C99A63; --land: #8A5A3C;
  --cloud: #EEF1F3; --ice: #D6E4EC; --mist: #A9BCCB; --ink: #0E1726; --leaf: #2F7A3A;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--space); color: var(--cloud); font: 400 21px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--atmosphere); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.label { font: 500 12px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.mark { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; text-decoration: none; }
.mark u { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.14em; text-decoration-skip-ink: none; }
.mark .hl { background: #E8C89A; color: #0E1726; padding: 0 0.14em 0.04em; margin-left: 0.04em; border-radius: 0.06em; box-shadow: 0 2px 18px rgba(5,7,15,.45); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
svg.el { width: 15px; height: 15px; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 17px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.btn.primary { background: var(--cloud); color: var(--deep-ocean); }
.btn.primary:hover { background: #fff; }
.btn.ghost { border-color: currentColor; }
.btn.ghost:hover { background: rgba(238,241,243,.12); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.on-light .btn.primary { background: var(--deep-ocean); color: var(--cloud); }
.on-light .btn.primary:hover { background: var(--ocean); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.photo { position: relative; overflow: hidden; background: var(--deep-ocean); color: var(--cloud); margin: 0; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,15,.25) 0%, rgba(5,7,15,0) 34%, rgba(5,7,15,.82) 100%); pointer-events: none; }
.photo .over { position: relative; z-index: 2; }
.photo > .wrap { width: 100%; }
.inst { position: absolute; z-index: 2; display: flex; gap: 9px; align-items: center; font: 500 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cloud); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.inst.tl { top: 14px; left: 14px; } .inst.tr { top: 14px; right: 14px; } .inst.bl { bottom: 14px; left: 14px; } .inst.br { bottom: 14px; right: 14px; }
.inst .credit { text-transform: none; letter-spacing: 0.02em; font-weight: 400; opacity: .85; }

header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(5,7,15,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
header.site .mark { font-size: 22px; }
.elnav { display: flex; gap: 6px; }
.elnav a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.elnav a:hover { background: rgba(238,241,243,.12); }
.elnav svg { width: 17px; height: 17px; }
.hnav { display: flex; align-items: center; gap: 22px; font-size: 16px; }
.hnav > a:not(.btn) { text-decoration: none; opacity: .85; }

footer { background: var(--deep-ocean); padding-block: 48px 64px; }
footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer .mark { font-size: 34px; }
footer .credits { margin-top: 32px; font: 400 11px/1.6 var(--mono); color: var(--mist); }
.variant { position: fixed; z-index: 60; right: 14px; bottom: 14px; background: var(--desert); color: var(--deep-ocean); padding: 8px 14px; border-radius: 999px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 760px) {
  body { font-size: 18px; }
  .elnav, .hnav > a:not(.btn) { display: none; }
  .inst .credit { display: none; }
}
