/* Layout: editorial pages. Condensed display type, serif italic accents, an arch-shaped image,
   and bands that flip between the light and dark theme so every page mixes both. */
:root {
  --bg: #ffffff;
  --surface: #f3f4f6;
  --ink: #151515;
  --muted: #5d615b;
  --line: rgba(21, 21, 21, .16);
  --accent: #f2b230;
  --on-accent: #151515;
  --accent-text: #8a5a00;
  --pill: #151515;
  --on-pill: #f2f2ee;
  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0a0b0f;
  --surface: #13141a;
  --ink: #f2f1ee;
  --muted: #9b9dac;
  --line: rgba(255, 255, 255, .13);
  --accent: #f4b73c;
  --on-accent: #151515;
  --accent-text: #f4b73c;
  --pill: #f2f1ee;
  --on-pill: #0a0b0f;
  color-scheme: dark;
}
/* inverted bands: always the opposite of the page theme */
html[data-theme="light"] .invert {
  --bg: #0a0b0f; --surface: #13141a; --ink: #f2f1ee; --muted: #9b9dac;
  --line: rgba(255, 255, 255, .13); --accent: #f4b73c; --accent-text: #f4b73c;
  --pill: #f2f1ee; --on-pill: #0a0b0f; color-scheme: dark;
}
html[data-theme="dark"] .invert {
  --bg: #ffffff; --surface: #f3f4f6; --ink: #151515; --muted: #5d615b;
  --line: rgba(21, 21, 21, .16); --accent: #f2b230; --accent-text: #8a5a00;
  --pill: #151515; --on-pill: #f2f2ee; color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.band { background: var(--bg); color: var(--ink); }
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(56px, 9vw, 112px); }

/* type */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
  text-wrap: balance;
}
.h-xl { font-size: clamp(3.4rem, 9.5vw, 7.6rem); }
.h-lg { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.h-md { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.serif { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; }
.lede { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; text-wrap: pretty; }
.muted { color: var(--muted); }
.eyebrow { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .9rem;
  background: var(--pill); color: var(--on-pill);
  font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem;
  padding: .35rem .4rem .35rem 1.3rem; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s ease;
}
.btn .dot {
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-family: var(--sans); font-size: 1rem; line-height: 1;
}
.btn:hover { transform: translateX(3px); }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ink); }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.logo { font-family: var(--display); font-size: 1.5rem; letter-spacing: .03em; text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; }
.logo::before { content: ""; width: .8rem; height: .8rem; border-radius: 50%; background: var(--accent); }
.nav { display: flex; gap: .35rem; }
.nav a {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; padding: .55rem .95rem; border-radius: 999px; color: var(--muted);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--pill); color: var(--on-pill); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: block; }
.menu-btn { display: none; }

@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem max(20px, env(safe-area-inset-left, 0px)) 1rem;
  }
  .nav.open { display: flex; }
  .nav a { font-family: var(--display); font-size: 2rem; letter-spacing: .03em; padding: .5rem 0; border-radius: 0; color: var(--ink); }
  .nav a[aria-current="page"] { background: none; color: var(--accent-text); }
}

/* hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-block: .6rem 1.4rem; }
.hero h1 .line { display: block; }
.hero h1 .serif { font-size: .9em; }
.hero .lede { max-width: 30ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; align-items: center; }
.arch {
  position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 440px; margin-left: auto;
  border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--surface);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.arch .tag {
  position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; justify-content: space-between; gap: 1rem;
  background: var(--bg); color: var(--ink); border-radius: 14px; padding: .65rem .9rem; font-size: .8rem; font-weight: 700;
}
.arch .tag span:last-child { color: var(--muted); font-weight: 500; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .arch { margin-inline: 0; max-width: 360px; }
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(36px, 6vw, 64px); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
.stat span { font-size: .82rem; color: var(--muted); }

/* services strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip > div { padding: 1.4rem 1.4rem 1.4rem 0; }
.strip > div + div { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.strip h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .03em; margin-bottom: .35rem; }
.strip p { font-size: .86rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .strip { grid-template-columns: 1fr; }
  .strip > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}

/* worked with */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.logos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.logos-grid > div { padding: 1.5rem 1.4rem; border-radius: 18px; color: #151515; min-width: 0; }
.logos-grid .wk-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(21, 21, 21, .12); margin-bottom: 1.1rem; }
.logos-grid .wk-ico svg { width: 24px; height: 24px; }
.logos-grid b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; }
.logos-grid span { font-size: .86rem; color: rgba(21, 21, 21, .72); }
.logos-grid .c1 { background: #f4b73c; }
.logos-grid .c2 { background: #ff8a6b; }
.logos-grid .c3 { background: #4fd1b8; }
.logos-grid .c4 { background: #a999ff; }
@media (max-width: 480px) { .logos-grid { grid-template-columns: 1fr; } }

/* category list */
.cat-list { display: grid; }
.cat-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 1.2rem; align-items: center; text-decoration: none;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.cat-row:first-child { border-top: 1px solid var(--line); }
.cat-row .t { width: 96px; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: var(--surface); }
.cat-row .t img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cat-row h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.cat-row p { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.cat-row .arrow { font-size: 1.5rem; transition: transform .2s ease; }
.cat-row:hover .arrow { transform: translateX(6px); color: var(--accent-text); }
@media (max-width: 480px) { .cat-row { grid-template-columns: 72px 1fr auto; } .cat-row .t { width: 72px; } }

/* project cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.card[hidden] { display: none; }
.thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); padding: 0; cursor: zoom-in; color: inherit; font: inherit;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.thumb:hover img { transform: scale(1.04); }
.thumb.noimg { display: grid; place-items: center; padding: 1rem; text-align: center; }
.thumb.noimg::after { content: attr(data-title); font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; color: var(--muted); }
.card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.chip { flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; background: var(--pill); color: var(--on-pill); }
.card p { font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* portfolio filters */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 2rem 2.4rem; }
.filters button {
  font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .35rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
}
.filters button small { font-family: var(--sans); font-size: .7rem; color: var(--muted); margin-left: .35rem; letter-spacing: 0; }
.filters button[aria-pressed="true"] { background: var(--pill); color: var(--on-pill); border-color: var(--pill); }
.filters button[aria-pressed="true"] small { color: var(--on-pill); opacity: .7; }

/* lightbox */
dialog.lb { border: 0; padding: 0; background: transparent; color: var(--ink); width: min(770px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-width: none; }
dialog.lb::backdrop { background: rgba(10, 10, 14, .82); }
.lb-box { background: var(--bg); border-radius: 18px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; max-height: calc(100vh - 24px); }
.lb-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.lb-head h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; line-height: 1.1; }
.lb-head p { font-size: .85rem; color: var(--muted); max-width: 70ch; line-height: 1.45; }
.lb-body { overflow: auto; background: var(--surface); }
.lb-body img { width: 100%; height: auto; display: block; transition: opacity .18s ease; }
.lb-body { min-height: 40vh; }

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.portrait { position: relative; max-width: 240px; margin-inline: auto; }
.portrait::before { content: ""; position: absolute; inset: -6% -6% auto auto; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); opacity: .9; z-index: 0; }
.portrait .frame { position: relative; z-index: 1; border-radius: 999px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tags span { font-size: .85rem; font-weight: 600; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.timeline { display: grid; }
.tl { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; line-height: 1.05; }
.tl .role { font-family: var(--serif); font-style: italic; color: var(--accent-text); font-size: 1.15rem; }
@media (max-width: 700px) { .tl { grid-template-columns: 1fr; gap: .5rem; } }
.edu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 760px) { .edu { grid-template-columns: 1fr; } }
.edu > div { padding: 1.3rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.edu b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; display: block; line-height: 1.15; }
.edu span { font-size: .85rem; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.mail { font-family: var(--display); font-size: clamp(1.7rem, 4.2vw, 2.8rem); line-height: 1.05; word-break: break-word; text-decoration: none; border-bottom: 3px solid var(--accent); }
.contact-lines { display: grid; gap: 1.4rem; margin-top: 2rem; }
.contact-lines b { display: block; }
form { display: grid; gap: 1rem; }
label { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: grid; gap: .4rem; }
input, textarea {
  font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; width: 100%;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.note { font-size: .82rem; color: var(--muted); }

/* cta + footer */
.cta { text-align: left; }
.cta .row { display: flex; flex-wrap: wrap; gap: 2rem; align-items: end; justify-content: space-between; }
.footer { padding-block: 2.2rem; }
.footer .row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }
.footer a { text-decoration: none; margin-right: 1.2rem; font-weight: 700; color: var(--ink); }
.footer a:hover { color: var(--accent-text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* flat artwork (logos, print, UX) sits on a paper tile instead of being cropped */
.thumb.contain, .cat-row .t.contain { background: #f3f3ef; }
.thumb.contain img, .cat-row .t.contain img { object-fit: contain; object-position: center; padding: 4%; }
.thumb.contain:hover img { transform: scale(1.03); }

/* hero: interactive image grid (three.js canvas) with the intro in a card on top */
.hero-stage { position: relative; background: var(--bg); color: var(--ink); }
.grid-stage { position: relative; height: clamp(540px, 82svh, 820px); overflow: hidden; touch-action: pan-y; }
.grid-stage canvas { display: block; width: 100%; height: 100%; }
.grid-fallback { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; padding: 10px; overflow: hidden; align-content: start; }
.grid-fallback img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: brightness(.45);  }
.grid-stage.gl-ok .grid-fallback { display: none; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; pointer-events: none; padding-bottom: clamp(16px, 3vw, 36px); }
.hero-overlay .wrap { display: block; }
.hero-card { background: var(--bg); border-radius: 22px; padding: clamp(1.2rem, 2.4vw, 2rem); max-width: 540px; box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
.hero-card .h-lg { margin-block: .5rem 1rem; }
.hero-card .h-lg .line { display: block; }
.hero-card .lede { margin-bottom: 1.4rem; font-size: clamp(1.2rem, 2vw, 1.5rem); max-width: 32ch; }
.hero-card a, .hero-card button { pointer-events: auto; }

/* hero card centred in the grid, text centred */
.hero-overlay { align-items: center; justify-content: center; padding-bottom: 0; }
.hero-overlay .wrap { display: flex; justify-content: center; }
.hero-card { text-align: center; }
.hero-card .lede { margin-inline: auto; }
.hero-card .hero-actions { justify-content: center; }

/* portrait above the greeting */
.hero-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; margin: 0 auto 1rem; border: 3px solid var(--accent); background: var(--surface); }

/* portrait twice as big, half outside and half inside the card */
.hero-card { position: relative; margin-top: 96px; padding-top: calc(96px + 1.1rem); }
.hero-avatar { position: absolute; top: -96px; left: 50%; transform: translateX(-50%); width: 192px; height: 192px; margin: 0; border-width: 4px; }

/* dark glass card over the grid */
.hero-card {
  --ink: #f4f3ef; --muted: #c9cad4; --pill: #f4f3ef; --on-pill: #17181f; --accent: #f4b73c; --accent-text: #f4b73c;
  background: linear-gradient(145deg, rgba(28, 29, 40, .62), rgba(12, 13, 20, .72));
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.hero-card .link-arrow { border-color: var(--accent); }
.hero-avatar { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }

/* "What I design": desk photo as a softly blurred parallax background */
.photo-band {
  position: relative; overflow: hidden; isolation: isolate; background: #0f1016;
  --ink: #f4f3ef; --muted: #c9cad4; --line: rgba(255, 255, 255, .22);
  --accent: #f4b73c; --accent-text: #f4b73c; --surface: rgba(255, 255, 255, .08);
  color: var(--ink);
}
.photo-band .parallax-img {
  position: absolute; left: -24px; top: -15%; width: calc(100% + 48px); max-width: none; height: 130%;
  object-fit: cover; filter: blur(5px) saturate(1.05); transform: translate3d(0, 0, 0); will-change: transform; z-index: -2;
}
.photo-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 16, .74), rgba(10, 11, 16, .58) 50%, rgba(10, 11, 16, .76)); }
.photo-band .wrap { position: relative; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* portfolio: masonry columns, every image keeps its own proportions */
.cards.masonry { display: block; column-count: 3; column-gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 960px) { .cards.masonry { column-count: 2; } }
@media (max-width: 580px) { .cards.masonry { column-count: 1; } }
.cards.masonry .card { break-inside: avoid; page-break-inside: avoid; margin-bottom: clamp(18px, 2.4vw, 32px); width: 100%; }
.cards.masonry .thumb { aspect-ratio: var(--ar, 4 / 3); height: auto; }
.cards.masonry .thumb img { object-fit: cover; object-position: top center; }

/* portfolio: soft radial glow behind the title and the first projects (dark theme only) */
.pf-top { position: relative; isolation: isolate; }
.pf-top > .band { position: relative; z-index: 1; background: transparent; }
html[data-theme="dark"] .pf-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(1250px, 100%); z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 68% 58% at 50% 34%, rgba(86, 128, 196, .3) 0%, rgba(58, 92, 156, .17) 32%, rgba(34, 54, 96, .07) 60%, rgba(10, 11, 15, 0) 82%);
}

/* the same soft blue glow on the other dark areas, placed on alternating sides */
html[data-theme="dark"] main > section.band:not(.photo-band):not(.invert):not(.hero-stage),
html[data-theme="light"] main > section.band.invert {
  background-image: radial-gradient(ellipse 52% 75% at 88% 22%, rgba(86, 128, 196, .26) 0%, rgba(58, 92, 156, .14) 38%, rgba(34, 54, 96, 0) 74%);
}
html[data-theme="dark"] main > section.band:not(.photo-band):not(.invert):not(.hero-stage):nth-of-type(even),
html[data-theme="light"] main > section.band.invert:nth-of-type(even) {
  background-image: radial-gradient(ellipse 52% 75% at 10% 78%, rgba(86, 128, 196, .26) 0%, rgba(58, 92, 156, .14) 38%, rgba(34, 54, 96, 0) 74%);
}

.footer .copyright { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 0; text-align: center; font-size: .8rem; color: var(--muted); }

.footer .copyright::before { content:''; display:block; height:1px; background: rgba(128,128,128,.3); margin-bottom: 1.2rem; }
.footer .copyright { padding-top: 0; }

/* login gate */
#gate{display:none}
html.locked{overflow:hidden}
html.locked body>*:not(#gate):not(script){display:none!important}
html.locked #gate{display:flex;position:fixed;inset:0;z-index:9999;align-items:center;justify-content:center;padding:16px;background:radial-gradient(60% 50% at 50% 35%,rgba(70,110,200,.22),transparent 70%),#0a0b0f;color:#f2f3f5}
#gate form{width:min(380px,100%);display:grid;gap:14px}
#gate .g-brand{display:flex;align-items:center;gap:10px;letter-spacing:.06em;font-size:1.1rem;margin-bottom:10px}
#gate .g-brand i{width:12px;height:12px;border-radius:50%;background:#f6b23a;display:block}
#gate h1{font-size:2.4rem;margin:0;line-height:1.1;font-weight:400;text-transform:uppercase}
#gate p{margin:0 0 6px;color:#a3a7b3}
#gate label{display:grid;gap:6px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:#a3a7b3;font-weight:700}
#gate input{font:inherit;font-size:1rem;letter-spacing:0;text-transform:none;color:#f2f3f5;background:#13141a;border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:.85rem 1rem}
#gate input:focus{outline:2px solid #f6b23a;outline-offset:1px}
#gate .g-err{min-height:1.2em;color:#ff7b72;font-size:.9rem}
#gate .btn{justify-self:start;cursor:pointer;border:0;border-radius:999px;background:#f2f3f5;color:#111;font-weight:700;padding:.85rem 1.8rem;font-size:.95rem;letter-spacing:.06em;text-transform:uppercase}
