@font-face{font-family:"Archivo Variable";font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(../fonts/archivo-latin-wdth.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans Variable";font-style:normal;font-display:swap;font-weight:400 700;font-stretch:100%;src:url(../fonts/instrument-sans-latin-wght.woff2) format("woff2")}


/* ==========================================================================
   ELBLAB Agency — design system
   Layout concept: wide editorial grid, asymmetric 12-column placements, one
   typeface family (Archivo) used at three widths so the three brands read as
   related but distinct: condensed (Agency), ultra-condensed (ELBLAB),
   expanded (RENNER MEDIA).
   ========================================================================== */

:root {
  /* type */
  --font-display: "Archivo Variable", "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Instrument Sans Variable", "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* fixed brand palettes (never theme-dependent) */
  --ag-black: #0b0c0d;
  --ag-ink: #0f1113;
  --ag-steel: #9db7cf;
  --ag-steel-deep: #35566f;
  --ag-bone: #ecece8;
  --el-bg: #0d0a12;
  --el-bg-2: #17131f;
  --el-flare: #ff5b2e;
  --el-bone: #f2eee9;
  --rm-black: #140d09;
  --rm-dark: #1b120d;
  --rm-brown: #2c1c12;
  --rm-brown-2: #5a3a25;
  --rm-lime: #c6e385;
  --rm-bone: #efeae0;

  /* 1 = logo shown light (on dark surfaces), 0 = logo shown dark */
  --logo-inv: 1;

  /* layout */
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1480px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  /* theme tokens — dark first */
  --bg: #0b0c0d;
  --bg-2: #15171a;
  --fg: #ecece8;
  --muted: #a1a3a0;
  --line: rgba(236, 236, 232, 0.18);
  --accent: #9db7cf;
  --accent-ink: #0b0c0d;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #ecece8;
    --bg-2: #e0e0da;
    --fg: #0e0f10;
    --muted: #55585a;
    --line: rgba(14, 15, 16, 0.2);
    --accent: #35566f;
    --accent-ink: #ecece8;
    color-scheme: light;
    --logo-inv: 0;
  }
}

:root[data-theme="light"] {
  --bg: #ecece8;
  --bg-2: #e0e0da;
  --fg: #0e0f10;
  --muted: #55585a;
  --line: rgba(14, 15, 16, 0.2);
  --accent: #35566f;
  --accent-ink: #ecece8;
  color-scheme: light;
  --logo-inv: 0;
}

/* brand worlds: fixed palettes, independent of the viewer's theme */
body[data-world="elblab"] {
  --logo-inv: 1;
  --bg: var(--el-bg);
  --bg-2: var(--el-bg-2);
  --fg: var(--el-bone);
  --muted: #a8a1b3;
  --line: rgba(242, 238, 233, 0.18);
  --accent: var(--el-flare);
  --accent-ink: var(--el-bg);
}

body[data-world="renner"] {
  --logo-inv: 1;
  --bg: var(--rm-dark);
  --bg-2: var(--rm-brown);
  --fg: var(--rm-bone);
  --muted: #b3a798;
  --line: rgba(239, 234, 224, 0.2);
  --accent: var(--rm-lime);
  --accent-ink: var(--rm-dark);
}

/* surface tones for full-width bands */
.tone-dark { --logo-inv: 1; --bg: var(--ag-black); --bg-2: #15171a; --fg: #ecece8; --muted: #a1a3a0; --line: rgba(236, 236, 232, 0.18); --accent: var(--ag-steel); --accent-ink: var(--ag-black); }
.tone-steel { --logo-inv: 0; --bg: #f6f4f0; --bg-2: #ebe9e3; --fg: #0e0f10; --muted: #55585a; --line: rgba(14, 15, 16, 0.2); --accent: #044bca; --accent-ink: #f6f4f0; }
.tone-bone { --logo-inv: 0; --bg: var(--ag-bone); --bg-2: #e0e0da; --fg: #0e0f10; --muted: #55585a; --line: rgba(14, 15, 16, 0.2); --accent: var(--ag-steel-deep); --accent-ink: var(--ag-bone); }
.tone-elblab { --logo-inv: 1; --bg: var(--el-bg); --bg-2: var(--el-bg-2); --fg: var(--el-bone); --muted: #a8a1b3; --line: rgba(242, 238, 233, 0.18); --accent: var(--el-flare); --accent-ink: var(--el-bg); }
.tone-flare { --logo-inv: 0; --bg: var(--el-flare); --bg-2: #e84a1e; --fg: var(--el-bg); --muted: #3b1a10; --line: rgba(13, 10, 18, 0.3); --accent: var(--el-bg); --accent-ink: var(--el-flare); }
.tone-rm-dark { --logo-inv: 1; --bg: var(--rm-dark); --bg-2: var(--rm-brown); --fg: var(--rm-bone); --muted: #b3a798; --line: rgba(239, 234, 224, 0.2); --accent: var(--rm-lime); --accent-ink: var(--rm-dark); }
.tone-rm-brown { --logo-inv: 1; --bg: var(--rm-brown); --bg-2: #3a2518; --fg: var(--rm-bone); --muted: #bfb3a3; --line: rgba(239, 234, 224, 0.22); --accent: var(--rm-lime); --accent-ink: var(--rm-dark); }
.tone-rm-black { --logo-inv: 1; --bg: var(--rm-black); --bg-2: var(--rm-dark); --fg: var(--rm-bone); --muted: #b3a798; --line: rgba(239, 234, 224, 0.2); --accent: var(--rm-lime); --accent-ink: var(--rm-dark); }
.tone-rm-bone { --logo-inv: 0; --bg: var(--rm-bone); --bg-2: #e3dccd; --fg: var(--rm-dark); --muted: #5f5242; --line: rgba(27, 18, 13, 0.25); --accent: var(--rm-lime); --accent-ink: var(--rm-dark); }
.tone-rm-lime { --logo-inv: 0; --bg: #c6e385; --bg-2: #b5d572; --fg: var(--rm-dark); --muted: #3d4a0a; --line: rgba(27, 18, 13, 0.3); --accent: var(--rm-dark); --accent-ink: #c6e385; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.menu-open { overflow: hidden; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 0.8rem 1.1rem; background: var(--fg); color: var(--bg); font-weight: 600; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.band { background: var(--bg); color: var(--fg); padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }
.band-tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- type ---------- */
.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.label-fg { color: var(--fg); }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.5; max-width: 34em; }
.prose { max-width: 62ch; }
.muted { color: var(--muted); }

.d-ag, .d-el, .d-rm {
  font-family: var(--font-display);
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0;
}
.d-ag { font-stretch: 76%; font-weight: 800; line-height: 0.9; letter-spacing: -0.005em; font-size: clamp(2.4rem, 10vw, 9.5rem); }
.d-el { font-stretch: 62%; font-weight: 900; line-height: 0.86; letter-spacing: 0; font-size: clamp(2.8rem, 11vw, 10.5rem); }
.d-rm { font-stretch: 125%; font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; font-size: clamp(1.9rem, 5.6vw, 5.4rem); }
.h2-ag { font-size: clamp(2.2rem, 7vw, 6.5rem); }
.h2-el { font-size: clamp(2.6rem, 8vw, 7.5rem); }
.h2-rm { font-size: clamp(1.6rem, 4.2vw, 3.8rem); }
.h3 { font-family: var(--font-display); font-stretch: 85%; font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: 0; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.h3-rm { font-stretch: 125%; font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.3rem, 2.4vw, 2rem); }
.h3-el { font-stretch: 62%; font-weight: 900; font-size: clamp(2rem, 4vw, 3.4rem); }

/* line-mask entrance */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.lines .line > span { display: block; transform: translateY(0); }
.js .lines .line > span { animation: rise 0.95s var(--ease) both; }
.js .lines .line:nth-child(2) > span { animation-delay: 0.1s; }
.js .lines .line:nth-child(3) > span { animation-delay: 0.2s; }
.js .lines .line:nth-child(4) > span { animation-delay: 0.3s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.enter { animation: fade 0.9s var(--ease) 0.45s both; }

/* scroll reveal: position only, content is always fully visible */
.reveal { transition: transform 1s var(--ease); }
.reveal.pre { transform: translateY(36px); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8em;
  min-height: 52px; padding: 0.9rem 1.5rem;
  border: 1px solid currentColor; border-radius: 2px;
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  background: transparent; color: var(--fg);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn .arr { width: 1.25em; height: 1.25em; transition: transform 0.35s var(--ease); }
.btn:hover .arr, .link-arrow:hover .arr { transform: translateX(5px); }
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-solid:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-lg { min-height: 64px; padding: 1.1rem 2rem; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.75em; min-height: 48px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.link-arrow .arr { width: 1.3em; height: 1.3em; transition: transform 0.35s var(--ease); }
.link-arrow .dot { width: 0.7em; height: 0.7em; background: var(--dot, var(--accent)); display: inline-block; }
.link-arrow .lbl { display: inline-flex; align-items: center; gap: 0.75em; }
.link-arrow .u { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
#el-events, #rm-work { scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--fg);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.on-dark { --logo-inv: 1; --bg: var(--ag-black); --fg: #ecece8; --line: rgba(236, 236, 232, 0.18); --accent: var(--ag-steel); --accent-ink: var(--ag-black); }
body[data-world="elblab"] .site-header.on-dark { --logo-inv: 1; --bg: var(--el-bg); --fg: var(--el-bone); --accent: var(--el-flare); --accent-ink: var(--el-bg); }
body[data-world="renner"] .site-header.on-dark { --logo-inv: 1; --bg: var(--rm-dark); --fg: var(--rm-bone); --accent: var(--rm-lime); --accent-ink: var(--rm-dark); }
.site-header.is-solid { background: var(--bg); border-bottom-color: var(--line); box-shadow: 0 1px 18px rgba(0, 0, 0, 0.12); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { display: inline-flex; align-items: baseline; gap: 0.5rem; min-height: 48px; align-items: center; }
.logo-mark { display: block; height: 50px; width: auto; aspect-ratio: 3345 / 1213; filter: brightness(0) invert(var(--logo-inv)); }
.logo-mark-lg { height: clamp(60px, 6.5vw, 88px); }
.logo-rm { display: block; height: auto; }
/* header: one logo per world */
.header-in .logo-el, .header-in .logo-rm { display: none; }
.header-in .logo-ag { height: 50px; width: auto; }
.header-in .logo-el { width: 175px; height: auto; aspect-ratio: 900 / 139; }
.header-in .logo-rm { height: 17px; width: auto; aspect-ratio: 1200 / 95; }
body[data-world="elblab"] .header-in .logo-ag, body[data-world="renner"] .header-in .logo-ag { display: none; }
body[data-world="elblab"] .header-in .logo-el, body[data-world="renner"] .header-in .logo-rm { display: block; }
@media (max-width: 859px) { .header-in .logo-ag { height: 44px; } .header-in .logo-el { width: 148px; } .header-in .logo-rm { height: 14px; } }
/* brand logos in the "Our Worlds" tiles */
.world-name img { display: block; height: auto; max-width: 100%; }
.world-name .logo-el, .world-name .logo-rm { width: clamp(210px, 26vw, 380px); height: auto; }
.world-name .logo-el { aspect-ratio: 900 / 139; }

.nav-list { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.75rem); }
.nav-link {
  display: inline-flex; align-items: center; min-height: 48px; position: relative;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: 0 1.2rem; border: 1px solid currentColor; border-radius: 2px; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.nav-cta::after { display: none; }
.nav-cta:hover, .nav-cta[aria-current="page"] { background: var(--fg); color: var(--bg); }
.menu-btn { display: none; align-items: center; gap: 0.7rem; min-height: 48px; min-width: 48px; padding: 0 0.25rem; background: none; border: 0; cursor: pointer; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.menu-icon { width: 26px; height: 10px; position: relative; display: inline-block; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.menu-icon::before { top: 0; }
.menu-icon::after { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 859px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1; display: none;
    background: var(--bg); color: var(--fg);
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem);
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
    overflow-y: auto;
  }
  .site-header.menu-on .nav { display: block; }
  .site-header.menu-on { background: var(--bg); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
  .nav-link { min-height: 76px; font-family: var(--font-display); font-stretch: 76%; font-weight: 800; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-cta { padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta:hover, .nav-cta[aria-current="page"] { background: none; color: var(--fg); }
  .nav-link[aria-current="page"] { color: var(--accent); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: clamp(560px, 80svh, 820px);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 3rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  background: var(--bg); color: var(--fg);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { position: absolute; inset: 0; }
.hero-media { background: var(--bg); }
.hero-media.has-video > img { visibility: hidden; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: rgba(5, 5, 6, 0.52); }
.hero-media[data-video-key="home"] + .hero-scrim { background: rgba(5, 5, 6, 0.68); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.75rem 2rem; align-items: end; width: 100%; }
.hero-eyebrow { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--fg); }
.hero-eyebrow .label { color: inherit; }
.hero-title { grid-column: 1 / -1; }
.hero-sub { grid-column: 1 / span 5; max-width: 30em; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.45; }
.hero-cta { grid-column: 8 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; justify-self: end; width: min(100%, 22rem); }
.hero-cta .link-arrow { width: 100%; justify-content: space-between; border-top: 1px solid var(--line); min-height: 56px; }
.hero-cta .link-arrow:last-child { border-bottom: 1px solid var(--line); }

/* viewfinder HUD (RENNER MEDIA) */
.hud { position: absolute; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem) max(var(--gutter), env(safe-area-inset-right, 0px)) auto max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; justify-content: space-between; gap: 1rem; pointer-events: none; font-variant-numeric: tabular-nums; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rm-bone); z-index: 1; }
.hud .rec { display: inline-flex; align-items: center; gap: 0.6rem; }
.hud .rec i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--rm-lime); display: inline-block; animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

@media (max-width: 859px) {
  .hero-sub, .hero-cta { grid-column: 1 / -1; }
  .hero-cta { justify-self: stretch; width: 100%; }
  .hud .hud-r { display: none; }
}

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; background: var(--bg-2); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph::after {
  content: "Placeholder"; position: absolute; right: 0.6rem; top: 0.6rem; z-index: 2; pointer-events: none;
  padding: 0.35rem 0.5rem; background: rgba(5, 5, 6, 0.6); color: #fff;
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
}

/* ---------- home: introduction ---------- */
.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem) 2rem; }
.intro-title { grid-column: 1 / span 10; }
.intro-media { grid-column: 1 / span 5; grid-row: 2; aspect-ratio: 4 / 5; }
.intro-text { grid-column: 7 / -1; grid-row: 2; align-self: end; display: grid; gap: 1.5rem; }
.intro-text .lead { max-width: 28em; }

/* ---------- home: our worlds ---------- */
.worlds { display: flex; min-height: clamp(520px, 78svh, 780px); }
.world {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1.25rem, 2.4vw, 2.25rem);
  background: var(--bg); color: var(--fg);
  transition: flex-grow 0.8s var(--ease);
  border-left: 1px solid var(--line);
}
.world:first-child { border-left: 0; }
.world .media { position: absolute; inset: 0; z-index: -2; }
.world .media img { transform: scale(1.04); }
.world::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 5, 6, 0.82) 0%, rgba(5, 5, 6, 0.55) 40%, rgba(5, 5, 6, 0.28) 100%); transition: opacity 0.6s var(--ease); }
.world.tone-steel::before { background: transparent; }
.worlds:hover .world:hover { flex-grow: 1.7; }
.world:hover .media img, .world:focus-within .media img { transform: scale(1); }
.world:hover::before { opacity: 0.8; }
.world-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.world-idx { font-family: var(--font-display); font-stretch: 100%; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.14em; }
.world-tags { text-align: right; }
.world-tags .label { color: inherit; opacity: 0.85; }
.world-body { display: grid; gap: 1.1rem; }
.world-name { font-family: var(--font-display); text-transform: uppercase; line-height: 0.9; font-size: clamp(2.2rem, 4.2vw, 4rem); }
.world-name.w-el { font-stretch: 62%; font-weight: 900; font-size: clamp(2.8rem, 5.4vw, 5rem); }
.world-name.w-rm { font-stretch: 125%; font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.05; }
.world-name.w-ag { font-stretch: 76%; font-weight: 800; }
.world p { max-width: 24em; }
.world .link-arrow::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.world .link-arrow { position: static; }

@media (max-width: 859px) {
  .worlds { flex-direction: column; min-height: 0; }
  .world { min-height: 440px; border-left: 0; border-top: 1px solid var(--line); }
  .world:first-child { border-top: 0; }
  .worlds:hover .world:hover { flex-grow: 1; }
}

/* ---------- section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head .label { margin-bottom: 1rem; display: block; }
.sec-head .side { max-width: 26em; }

/* ---------- home: selected work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4.5rem) 1.5rem; align-items: start; }
.work { position: relative; min-width: 0; }
.work .media { width: 100%; }
.work .media img { transition: transform 1.2s var(--ease); }
.work:hover .media img, .work:focus-within .media img { transform: scale(1.04); }
.w1 { grid-column: 1 / 8; } .w1 .media { aspect-ratio: 3 / 2; }
.w2 { grid-column: 9 / 13; margin-top: clamp(0rem, 9vw, 8rem); } .w2 .media { aspect-ratio: 4 / 5; }
.w3 { grid-column: 2 / 6; } .w3 .media { aspect-ratio: 1; }
.w4 { grid-column: 6 / 13; margin-top: clamp(0rem, 6vw, 5rem); } .w4 .media { aspect-ratio: 16 / 9; }
.w5 { grid-column: 1 / 4; } .w5 .media { aspect-ratio: 9 / 16; }
.w6 { grid-column: 5 / 11; margin-top: clamp(0rem, 10vw, 9rem); } .w6 .media { aspect-ratio: 3 / 2; }
.work-info { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); margin-top: 0.9rem; }
.work-title { font-family: var(--font-display); font-stretch: 85%; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; line-height: 1.1; }
.work-cat { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.work-link { position: absolute; inset: 0; z-index: 2; }
.demo-tag { display: inline-block; margin-left: 0.6rem; padding: 0.2rem 0.4rem; border: 1px solid currentColor; font-size: 0.625rem; letter-spacing: 0.14em; vertical-align: 0.15em; opacity: 0.8; }

@media (hover: hover) and (min-width: 860px) {
  .work-info { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.1rem 1.1rem 1.2rem; border: 0; background: rgba(5, 5, 6, 0.82); color: #ecece8; transform: translateY(101%); transition: transform 0.55s var(--ease); z-index: 1; }
  .work .media-wrap { position: relative; overflow: hidden; }
  .work:hover .work-info, .work:focus-within .work-info { transform: translateY(0); }
  .work-cat { color: #b7b9b6; }
}

@media (max-width: 859px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-grid .work { grid-column: 1 / -1; margin-top: 0; }
  .w5 { max-width: 72%; }
}

/* ---------- collaboration / CTA band ---------- */
.cta-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 2rem; align-items: end; }
.cta-title { grid-column: 1 / span 9; }
.cta-side { grid-column: 10 / -1; display: grid; gap: 1.75rem; justify-items: start; }
.cta-side .lead { max-width: 20em; }
@media (max-width: 1099px) {
  .cta-title, .cta-side { grid-column: 1 / -1; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--bg); color: var(--fg); padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.foot-brand { grid-column: 1 / span 5; display: grid; gap: 1.25rem; align-content: start; }
.foot-claim { font-family: var(--font-display); font-stretch: 76%; font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; color: var(--muted); }
.foot-col { grid-column: span 2; display: grid; gap: 0.35rem; align-content: start; min-width: 0; }
.foot-col:nth-of-type(2) { grid-column: 7 / span 2; }
.foot-col:nth-of-type(3) { grid-column: 9 / span 2; }
.foot-col:nth-of-type(4) { grid-column: 11 / span 2; }
.foot-col .label { margin-bottom: 0.6rem; }
.foot-col a, .foot-col span.item { display: inline-flex; align-items: center; min-height: 36px; overflow-wrap: anywhere; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.is-placeholder { color: var(--muted); font-style: italic; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.foot-bottom ul { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-bottom a { display: inline-flex; min-height: 40px; align-items: center; }
.foot-bottom a:hover { color: var(--fg); }
@media (max-width: 999px) {
  .foot-brand { grid-column: 1 / -1; }
  .foot-col, .foot-col:nth-of-type(n) { grid-column: span 6; }
}
@media (max-width: 559px) {
  .foot-col, .foot-col:nth-of-type(n) { grid-column: 1 / -1; }
}

/* ==========================================================================
   ELBLAB page
   ========================================================================== */
.el-hero .hero-title { max-width: 16ch; }
.el-hero .hero-sub { grid-column: 1 / span 6; }
.el-hero .hero-cta { grid-column: 9 / -1; }
@media (max-width: 859px) {
  .el-hero .hero-sub, .el-hero .hero-cta, .rm-hero .hero-sub, .rm-hero .hero-cta { grid-column: 1 / -1; }
  .el-hero .hero-cta, .rm-hero .hero-cta { justify-self: stretch; width: 100%; }
}
.el-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem) 2rem; align-items: start; }
.el-intro-title { grid-column: 1 / span 8; }
.el-intro-text { grid-column: 9 / -1; padding-top: 1rem; display: grid; gap: 1.25rem; }
.el-intro-media { grid-column: 3 / -1; aspect-ratio: 21 / 9; }
.el-intro-media img { object-position: 50% 52%; }

.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.cat { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1rem, 2vw, 1.75rem); min-height: 340px; color: var(--el-bone); }
.cat .media { position: absolute; inset: 0; z-index: -2; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 5, 6, 0.32); transition: background-color 0.5s var(--ease); }
.cat:hover .media img { transform: scale(1.06); }
.cat:hover::before { background: rgba(5, 5, 6, 0.1); }
.cat-1 { grid-column: 1 / span 4; min-height: clamp(380px, 42vw, 560px); }
.cat-2 { grid-column: 5 / span 2; min-height: clamp(380px, 42vw, 560px); }
.cat-3, .cat-4, .cat-5 { grid-column: span 2; }
.cat-name { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: 0.88; font-size: clamp(2.2rem, 4.4vw, 4.2rem); transition: color 0.3s var(--ease); }
.cat-1 .cat-name { font-size: clamp(3rem, 7vw, 6.5rem); }
.cat-desc { margin-top: 0.7rem; max-width: 22em; font-size: 0.95rem; line-height: 1.45; }
.cat:hover .cat-name { color: var(--el-flare); }
.cat-note { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); max-width: 52em; }
@media (max-width: 859px) {
  .cats { grid-template-columns: minmax(0, 1fr); }
  .cat-1, .cat-2, .cat-3, .cat-4, .cat-5 { grid-column: 1 / -1; min-height: 320px; }
}

.coming-soon { margin-top: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1.75rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: clamp(2rem, 6vw, 5rem); line-height: 0.9; text-transform: uppercase; color: var(--accent); }
.events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) 1.5rem; align-items: start; }
.ev { min-width: 0; display: grid; gap: 1rem; position: relative; }
.ev:nth-child(even) { margin-top: clamp(0rem, 5vw, 4rem); }
.ev .media { aspect-ratio: 4 / 5; }
.ev:hover .media img, .ev:focus-within .media img { transform: scale(1.05); }
.ev-type { display: flex; align-items: center; gap: 0.6rem; }
.ev-type i { width: 0.7rem; height: 0.7rem; background: var(--ev, var(--accent)); display: inline-block; }
.ev-name { font-family: var(--font-display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: 0.92; font-size: clamp(1.8rem, 2.6vw, 2.6rem); transition: color 0.3s var(--ease); }
.ev:hover .ev-name { color: var(--ev, var(--accent)); }
.ev-meta { display: grid; gap: 0.15rem; font-size: 0.9375rem; color: var(--muted); }
.ev-link { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1099px) { .events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .events { grid-template-columns: minmax(0, 1fr); } .ev:nth-child(even) { margin-top: 0; } }

/* ==========================================================================
   RENNER MEDIA page
   ========================================================================== */
.rm-hero .hero-sub { grid-column: 1 / span 6; }
.rm-hero .hero-cta { grid-column: 9 / -1; }
.rm-hero .hero-scrim { background: rgba(14, 8, 5, 0.4); }

.focus-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.focus-head { grid-column: 1 / span 4; display: grid; gap: 1rem; align-content: start; }
.focus-list { grid-column: 6 / -1; border-top: 1px solid var(--line); counter-reset: none; }
.focus-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-stretch: 125%; font-weight: 700; font-size: clamp(1.1rem, 2.1vw, 1.7rem); letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.1; }
.focus-list li span { font-family: var(--font-body); font-stretch: 100%; font-size: 0.75rem; letter-spacing: 0.16em; font-weight: 600; color: var(--muted); }

.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: center; }
.svc + .svc { margin-top: clamp(3.5rem, 7vw, 6.5rem); }
.svc .media { grid-column: 1 / span 7; aspect-ratio: 7 / 5; }
.svc-body { grid-column: 9 / -1; display: grid; gap: 1.25rem; align-content: center; }
.svc:nth-child(even) .media { grid-column: 6 / -1; grid-row: 1; }
.svc:nth-child(even) .svc-body { grid-column: 1 / span 4; grid-row: 1; }
.svc:hover .media img { transform: scale(1.04); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { padding: 0.4rem 0.7rem; border: 1px solid var(--accent); color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; }
.svc-focus { display: flex; align-items: center; gap: 0.7rem; }
.svc-focus i { width: 2.2rem; height: 1px; background: var(--accent); display: inline-block; }
/* photography: text on top, full-bleed clickable collage below */
.svc.svc-stack { row-gap: clamp(1.75rem, 3.5vw, 2.75rem); align-items: start; }
.svc.svc-stack .svc-body { grid-column: 1 / -1; grid-row: 1; max-width: 40rem; }
.svc.svc-stack .media { grid-column: 1 / span 7; grid-row: 2; }
.media-soon { display: grid; place-items: center; text-align: center; background: var(--bg-2); border: 1px solid var(--line); }
.media-soon p { margin: 0; padding: 1.5rem; font-size: clamp(1.75rem, 5vw, 4.25rem); line-height: 0.95; text-transform: uppercase; color: var(--accent); }
.collage { --rh: clamp(150px, 19.6vw, 520px); grid-column: 1 / -1; grid-row: 2; width: 100vw; margin-inline: calc(50% - 50vw); display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--gap, 6px); }
.collage::after { content: ""; flex: 1000000 1 0; height: 0; margin-left: calc(-1 * var(--gap, 6px)); }
.svc-files { grid-column: 1 / -1; grid-row: 2; display: grid; gap: 6px; }
.svc-files .collage { grid-row: auto; }
.cl-item { flex: var(--ar) 1 calc(var(--ar) * var(--rh)); height: auto; aspect-ratio: var(--ar); min-width: 0; padding: 0; border: 0; background: var(--rm-brown); cursor: zoom-in; overflow: hidden; position: relative; }
.cl-item img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.9s var(--ease), opacity 0.3s; }
.cl-vitem::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 8, 5, 0.55), rgba(14, 8, 5, 0.05) 55%); z-index: 1; transition: opacity 0.3s; }
.cl-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(3.25rem, 5vw, 4.5rem); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--rm-lime); transition: transform 0.35s var(--ease); }
.cl-play::after { content: ""; position: absolute; left: 53%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 0.7rem 0 0.7rem 1.1rem; border-color: transparent transparent transparent var(--rm-dark); }
.cl-vitem:hover .cl-play, .cl-vitem:focus-visible .cl-play { transform: translate(-50%, -50%) scale(1.1); }
.cl-vid { background: #000; }
.cl-thumb { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; background: var(--rm-brown); }
.cl-item:hover img { transform: scale(1.04); }
.cl-item:focus-visible { outline: 3px solid var(--rm-lime); outline-offset: -3px; z-index: 1; }
@media (max-width: 599px) { .collage { --rh: 44vw; --gap: 4px; } }
.collage-video { --rh: 17.6vw; }
@media (max-width: 859px) { .collage-video { --rh: 31vw; } }
@media (min-width: 600px) and (max-width: 859px) { .collage { --rh: 28vw; } }
.cl { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: rgba(14, 8, 5, 0.97); color: var(--rm-bone); }
.cl::backdrop { background: rgba(14, 8, 5, 0.9); }
.cl[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.cl-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: calc(env(safe-area-inset-top, 0px) + 0.75rem) max(16px, env(safe-area-inset-right, 0px)) 0.75rem max(16px, env(safe-area-inset-left, 0px)); }
.cl-count { font-variant-numeric: tabular-nums; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #b3a798; }
.cl-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-bottom, 0px)); }
.cl-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; min-height: 0; }
.cl-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(14, 8, 5, 0.6); }
.cl-prev { left: max(8px, env(safe-area-inset-left, 0px)); }
.cl-next { right: max(8px, env(safe-area-inset-right, 0px)); }
@media (max-width: 859px) {
  .svc .media, .svc:nth-child(even) .media { grid-column: 1 / -1; grid-row: auto; }
  .svc-body, .svc:nth-child(even) .svc-body { grid-column: 1 / -1; grid-row: auto; }
  .svc.svc-stack .svc-body { grid-row: 1; }
  .svc.svc-stack .media { grid-column: 1 / -1; grid-row: 2; }
}

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter { min-height: 48px; padding: 0 1.25rem; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.filter:hover { border-color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.gallery { column-count: 3; column-gap: 1.25rem; }
.gi { break-inside: avoid; margin-bottom: 1.25rem; display: block; }
.gi-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.gi .media { width: 100%; }
.gi[data-ratio="3/2"] .media { aspect-ratio: 3 / 2; }
.gi[data-ratio="4/5"] .media { aspect-ratio: 4 / 5; }
.gi[data-ratio="16/9"] .media { aspect-ratio: 16 / 9; }
.gi[data-ratio="9/16"] .media { aspect-ratio: 9 / 16; }
.gi[data-ratio="1/1"] .media { aspect-ratio: 1; }
.gi-btn:hover .media img { transform: scale(1.04); }
.gi-cap { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding-top: 0.7rem; }
.gi-title { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.15; }
.gi-kind { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.play { position: absolute; left: 50%; top: 50%; z-index: 3; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--rm-lime); color: var(--rm-dark); display: grid; place-items: center; transition: transform 0.4s var(--ease); pointer-events: none; }
.play svg { width: 28px; height: 28px; margin-left: 4px; }
.gi-btn:hover .play, .gi-btn:focus-visible .play { transform: scale(1.12); }
.gi-note { margin-top: 2rem; font-size: 0.875rem; color: var(--muted); max-width: 52em; }
@media (max-width: 899px) { .gallery { column-count: 2; } }
@media (max-width: 559px) { .gallery { column-count: 1; } }

.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--fg); }
.step { padding: 1.75rem clamp(1rem, 2.5vw, 2.5rem) 0 0; display: grid; gap: 1.1rem; align-content: start; }
.step + .step { padding-left: clamp(1rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line); }
.step-n { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.step p { max-width: 20em; }
@media (max-width: 799px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 1.75rem 0 2rem; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: rgba(14, 8, 5, 0.97); color: var(--rm-bone); }
.lb::backdrop { background: rgba(14, 8, 5, 0.9); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: calc(env(safe-area-inset-top, 0px) + 0.75rem) max(16px, env(safe-area-inset-right, 0px)) 0.75rem max(16px, env(safe-area-inset-left, 0px)); }
.lb-count { font-variant-numeric: tabular-nums; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #b3a798; }
.lb-btn { display: inline-grid; place-items: center; min-width: 48px; min-height: 48px; padding: 0 0.9rem; background: none; border: 1px solid rgba(239, 234, 224, 0.35); color: inherit; cursor: pointer; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.lb-btn:hover { background: var(--rm-lime); color: var(--rm-dark); border-color: var(--rm-lime); }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #000; }
.lb-media { position: relative; display: grid; place-items: center; max-width: min(100%, 1280px); max-height: 100%; min-height: 0; }
.lb-flag { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.5rem 0.7rem; background: rgba(5, 5, 6, 0.75); color: #fff; font-size: 0.75rem; letter-spacing: 0.04em; max-width: calc(100% - 1.5rem); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(14, 8, 5, 0.6); }
.lb-prev { left: max(8px, env(safe-area-inset-left, 0px)); }
.lb-next { right: max(8px, env(safe-area-inset-right, 0px)); }
.lb-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; padding: 1rem max(16px, env(safe-area-inset-right, 0px)) max(1.25rem, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lb-title { font-family: var(--font-display); font-stretch: 125%; font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.6rem); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; }
.lb-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.75rem; font-size: 0.875rem; }
.lb-meta div { display: flex; gap: 0.5rem; }
.lb-meta dt { color: #b3a798; }
.lb-meta dd { margin: 0; }

/* ==========================================================================
   Contact + legal
   ========================================================================== */
.page-top { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(3rem, 7vw, 6rem)); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem 2rem; align-items: start; }
.contact-intro { grid-column: 1 / span 5; display: grid; gap: 1.75rem; }
.contact-details { display: grid; gap: 1.4rem; margin-top: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.contact-details div { display: grid; gap: 0.2rem; }
.contact-details .val { overflow-wrap: anywhere; }
.form { grid-column: 7 / -1; display: grid; gap: 1.75rem; }
.field { display: grid; gap: 0.5rem; min-width: 0; }
.field > label, .field > .legend { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.field .opt { color: var(--muted); letter-spacing: 0.08em; margin-left: 0.4rem; text-transform: none; font-weight: 500; }
.input, .select, .textarea {
  width: 100%; min-height: 56px; padding: 0.9rem 1rem; border-radius: 2px;
  border: 1px solid var(--line); background: transparent; color: var(--fg);
  font: inherit; font-size: 1.0625rem; transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-color: var(--fg); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 3rem; }
.select option, .select optgroup { background: var(--bg); color: var(--fg); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.choice { position: relative; min-width: 0; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 0.6rem; border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.choice:hover span { border-color: var(--fg); }
.choice input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.choice input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 3px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.check input { width: 24px; height: 24px; margin: 0.1rem 0 0; accent-color: var(--accent); }
.check label { font-size: 0.9375rem; line-height: 1.5; text-transform: none; letter-spacing: 0; font-weight: 400; }
.check label a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { display: none; font-size: 0.875rem; font-weight: 500; color: var(--err); }
.field[data-invalid="true"] .err { display: block; }
.field[data-invalid="true"] .input, .field[data-invalid="true"] .select, .field[data-invalid="true"] .textarea, .field[data-invalid="true"] .choice span { border-color: var(--err); }
.form { --err: #d92d20; }
body:not([data-world]) .form { --err: #ff8a7d; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) body:not([data-world]) .form { --err: #b42318; } }
:root[data-theme="light"] body:not([data-world]) .form { --err: #b42318; }
.form-status { display: none; padding: 1.1rem 1.25rem; border: 1px solid var(--line); font-size: 1rem; line-height: 1.5; }
.form-status[data-state] { display: block; }
.form-status[data-state="error"] { border-color: var(--err); }
.form-status[data-state="success"], .form-status[data-state="demo"] { border-color: var(--fg); background: var(--bg-2); }
.form-status strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-display); font-stretch: 85%; font-weight: 800; text-transform: uppercase; font-size: 1.15rem; }
.form-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-hint { font-size: 0.875rem; color: var(--muted); }
@media (max-width: 999px) {
  .contact-intro, .form { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .choices { grid-template-columns: minmax(0, 1fr); }
}

.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
.legal-head { grid-column: 1 / span 5; min-width: 0; }
.legal-head h1 { font-size: clamp(2.2rem, 5.4vw, 5rem); overflow-wrap: anywhere; hyphens: auto; }
.legal-body { grid-column: 6 / -1; display: grid; gap: 2.25rem; max-width: 46rem; }
.legal-body h2 { font-family: var(--font-display); font-stretch: 85%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; margin-bottom: 0.6rem; }
.legal-body p + p { margin-top: 0.8rem; }
.ph-fill { background: var(--bg-2); padding: 0.05rem 0.4rem; border: 1px dashed var(--muted); font-style: normal; overflow-wrap: anywhere; }
.notice { padding: 1rem 1.25rem; border: 1px solid var(--fg); font-size: 0.9375rem; }
@media (max-width: 999px) { .legal-head, .legal-body { grid-column: 1 / -1; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal.pre { transform: none; }
  .worlds:hover .world:hover { flex-grow: 1; }
}
