:root {
  color-scheme: dark;
  --bg: #101013;
  --ink: #f4f3f5;
  --muted: #c2c0c9;
  --line: #37373e;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body, figure { margin: 0; }
body { line-height: 1.55; }
a { color: inherit; text-underline-offset: .27em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid #f4d4a1; outline-offset: 5px; }
.skip-link { position: fixed; top: .5rem; left: .75rem; padding: .65rem 1rem; z-index: 2; background: #17171b; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.wrap { width: min(100% - 3rem, 78rem); margin-inline: auto; }
.header { background: #101013; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand, .intro-inner { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.05rem; font-weight: 750; letter-spacing: .15em; text-decoration: none; }
.brand small, .intro-inner small { font-size: .69em; color: var(--muted); }
.mark { display: inline-block; width: 1.25em; aspect-ratio: 1; flex: none; background: linear-gradient(135deg, #f8f7fb 22%, #9e9ca7 92%); clip-path: polygon(0 50%, 41% 0, 100% 0, 72% 29%, 51% 29%, 34% 50%, 51% 71%, 72% 71%, 100% 100%, 41% 100%); }
nav { display: flex; gap: clamp(.9rem, 3vw, 2.6rem); }
nav a, .language { display: inline-flex; min-height: 2.75rem; align-items: center; text-decoration: none; font-size: .9rem; }
nav a { color: var(--muted); }
nav a:hover, .language:hover { text-decoration: underline; }
.language { border: 1px solid #55535c; padding-inline: .75rem; }
.hero { min-height: clamp(32rem, 70vh, 53rem); position: relative; display: grid; align-items: center; overflow: hidden; isolation: isolate; background: #242631; }
.hero picture, .hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture { z-index: -2; }
.hero-image { object-fit: cover; object-position: 58% center; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #101014f2 0%, #101014be 38%, #10101424 100%), linear-gradient(0deg, #101013c9, transparent 48%); }
.hero-inner { padding-block: 5rem; }
.eyebrow { margin: 0 0 .7rem; color: var(--muted); font-size: .83rem; font-weight: 700; letter-spacing: .15em; }
h1, h2, h3 { margin: 0; font: 400 1rem/1.03 var(--serif); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 8.4vw, 7.9rem); letter-spacing: -.061em; }
h1 em { color: #dbd8e1; font-weight: 400; }
.tagline { max-width: 32rem; margin: 1.45rem 0 1.8rem; color: #e0dfe7; font-size: clamp(1rem, 2vw, 1.22rem); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .65rem 1rem; color: #101013; background: #e7e6ec; border: 1px solid transparent; text-decoration: none; font-weight: 690; }
.button:hover { color: #101013; background: #fff; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
h2 { font-size: clamp(2.35rem, 6vw, 5rem); letter-spacing: -.052em; }
.project-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.25rem); }
.project { border: 1px solid var(--line); background: #18181d; }
.project figure { position: relative; }
.project img { display: block; width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; background: #2d2521; }
.zumblooz img { background: #2e2342; }
figcaption { position: absolute; bottom: .65rem; right: .65rem; background: #15151a; color: #f4f3f5; padding: .22rem .48rem; font-size: .75rem; }
.project-copy { padding: clamp(1.15rem, 3vw, 2rem); }
.chronicles .eyebrow { color: #eec391; }
.zumblooz .eyebrow { color: #d3b5ff; }
h3 { font-size: clamp(1.8rem, 3.5vw, 3.25rem); letter-spacing: -.04em; }
.project-copy p:last-child { margin: .85rem 0 0; color: var(--muted); }
.studio { background: #19191e; border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr .8fr; gap: 2rem; align-items: center; }
.body-copy { max-width: 36rem; margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .5rem; font-size: .9rem; }
.footer-inner a { padding-block: .75rem; }
.missing { min-height: 60vh; padding-block: 5rem; }
.missing .button { margin-top: 1rem; }
dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 1rem; border: 0; color: var(--ink); background: radial-gradient(ellipse at center, #28282f, #08080a 73%); }
dialog[open] { display: grid; place-items: center; }
dialog::backdrop { background: #08080a; }
.intro-inner { display: grid; justify-items: center; gap: .65rem; text-align: center; font-size: clamp(1.5rem, 6vw, 4rem); animation: reveal 1.5s ease-out both; }
.intro-inner p { font: italic clamp(1rem, 3vw, 1.55rem) var(--serif); letter-spacing: 0; color: var(--muted); margin: 0; }
#skip-intro { position: absolute; right: 1rem; bottom: 1rem; min-height: 2.75rem; padding: .5rem 1rem; border: 1px solid #a6a4ad; background: #17171a; color: var(--ink); font: inherit; cursor: pointer; }
@keyframes reveal { from { opacity: 0; transform: translateY(.55rem); } to { opacity: 1; transform: none; } }
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: .65rem .3rem; gap: .2rem .55rem; }
  .brand { grid-column: 1 / -1; min-height: 2.75rem; }
  nav { flex-wrap: wrap; gap: 0 clamp(.7rem, 3vw, 1.1rem); }
  .hero { min-height: 32rem; }
  .hero::after { background: linear-gradient(90deg, #101014e6, #1010144f), linear-gradient(0deg, #101013d9, transparent 60%); }
  .project-grid, .split { grid-template-columns: 1fr; }
  .split { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-inner { animation: none; }
}
