:root {
  --paper: #f5f2ea;
  --ink: #090909;
  --pad: clamp(1.25rem, 3vw, 3rem);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { background: var(--ink); }
body {
  margin: 0;
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  background: var(--ink);
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; text-transform: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
  z-index: 0;
}

.shade {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.32), transparent 35%, rgba(0,0,0,.48));
}
.shade--heavy { background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.25) 70%), rgba(0,0,0,.18); }
.shade--about { background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.28) 42%, rgba(0,0,0,.06) 72%), linear-gradient(0deg, rgba(0,0,0,.5), transparent 38%); }
.about-portrait { object-position: center center; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--pad);
}

.wordmark { display: block; width: clamp(10rem, 17vw, 16rem); height: auto; line-height: 0; }
.wordmark img { display: block; width: 100%; height: auto; mix-blend-mode: screen; opacity: .96; }

.site-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3.25rem); padding-top: .65rem; }
.header-actions { display: flex; align-items: flex-start; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.language-toggle { display: flex; align-items: center; gap: .3rem; padding-top: .6rem; font-size: .66rem; letter-spacing: .1em; }
.language-toggle button { padding: 0; border: 0; background: transparent; cursor: pointer; opacity: .42; }
.language-toggle button.active { opacity: 1; }
.language-toggle span { opacity: .35; }
.site-nav a, .site-footer, .eyebrow, .reel-note, .clients { font-size: .72rem; letter-spacing: .15em; }
.site-nav a { position: relative; opacity: .6; transition: opacity .25s ease; }
.site-nav a:hover, .site-nav a.active { opacity: 1; }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: .15em; bottom: -.45rem; height: 1px; background: currentColor; }

.menu-toggle { display: none; position: relative; z-index: 12; width: 2rem; height: 2rem; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: .65rem; }
.menu-toggle span:nth-child(2) { top: 1.3rem; }

.work-hero, .text-page { position: relative; z-index: 2; min-height: 100svh; padding: clamp(8rem, 17vh, 11rem) var(--pad) clamp(5rem, 10vh, 7rem); }
.work-hero { display: flex; align-items: flex-end; justify-content: space-between; }
.hero-copy h1, .text-page h1 { margin: .15em 0 0; font-size: clamp(4.2rem, 12vw, 11rem); line-height: .78; letter-spacing: -.075em; font-weight: 900; }
.eyebrow { margin: 0; }
.reel-note { display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; padding-bottom: .6rem; }
.work-meta { position: absolute; right: var(--pad); bottom: clamp(5rem, 10vh, 7rem); display: flex; flex-direction: column; align-items: flex-end; gap: 1.5rem; width: min(34vw, 31rem); padding-bottom: .6rem; }
html[lang="de"] .hero-copy h1 { font-size: clamp(4.2rem, 9vw, 8rem); }
.clients { width: 100%; text-align: right; }
.clients > span { font-size: .72rem; letter-spacing: .15em; opacity: .78; }
.client-logo-lockup { display: block; width: 100%; margin-top: .75rem; filter: grayscale(1) invert(1) brightness(1.35) contrast(1.15); opacity: .92; }
.sound-toggle { padding: 0 0 .25rem; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; font-size: .72rem; letter-spacing: .12em; }
.client-toggle { display: none; padding: 0 0 .3rem; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-size: .72rem; letter-spacing: .15em; }
.client-panel { display: none; }
.client-panel.is-open { opacity: 1; visibility: visible; }
.client-close { position: absolute; top: var(--pad); right: var(--pad); padding: 0 0 .25rem; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; font-size: .68rem; letter-spacing: .15em; }

.text-page { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 72rem; }
.about-page { justify-content: flex-end; max-width: 46rem; padding-bottom: clamp(6.5rem, 14vh, 9rem); }
.text-page.about-page h1 { font-size: clamp(2.65rem, 3.4vw, 3.4rem); line-height: .88; }
.about-page .intro { max-width: 32rem; }
.team-story { line-height: 1.4; }
.capabilities { margin: 1rem 0 0; font-size: .68rem; line-height: 1.5; letter-spacing: .13em; }
.team-toggle { margin-top: 1.25rem; padding: 0 0 .3rem; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-size: .68rem; letter-spacing: .14em; }
.team-panel { position: fixed; z-index: 12; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(5rem, 11vh, 8rem) var(--pad) 4rem; background: rgba(7,7,7,.97); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.team-panel.is-open { opacity: 1; visibility: visible; }
.team-close { position: absolute; top: var(--pad); right: var(--pad); padding: 0 0 .25rem; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; font-size: .68rem; letter-spacing: .15em; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 6rem); margin-top: clamp(2.5rem, 6vh, 5rem); }
.team-grid article { border-top: 1px solid rgba(255,255,255,.45); padding-top: 1.25rem; }
.team-grid h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 2.8vw, 2.8rem); line-height: .95; letter-spacing: -.04em; }
.team-grid article p { margin: 0; max-width: 27rem; font-size: clamp(.85rem, 1.1vw, 1rem); line-height: 1.55; text-transform: none; }
.text-page h1 { font-size: clamp(4.5rem, 10vw, 9rem); }
.intro { max-width: 37rem; margin: 2.25rem 0 0; font-size: clamp(1rem, 1.6vw, 1.45rem); line-height: 1.45; letter-spacing: .015em; text-transform: none; }
.contact-links { display: flex; gap: 2rem; margin-top: 2.6rem; font-size: clamp(.85rem, 1.3vw, 1.1rem); letter-spacing: .05em; text-transform: none; }
.contact-links a { border-bottom: 1px solid rgba(255,255,255,.65); padding-bottom: .3rem; }

.site-footer { position: fixed; z-index: 3; left: var(--pad); right: var(--pad); bottom: var(--pad); display: flex; justify-content: space-between; pointer-events: none; }

body.is-loading::after { content: "Loading film"; position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; background: #000; font-size: .7rem; letter-spacing: .2em; }

@media (max-width: 700px) {
  .site-header { justify-content: flex-start; }
  .wordmark { width: 10rem; height: auto; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-actions { width: 0; }
  .language-toggle { position: fixed; z-index: 13; top: calc(var(--pad) + .62rem); right: calc(var(--pad) + 3rem); padding: 0; }
  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .8rem;
    padding: 5rem var(--pad);
    background: #080808;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .site-nav a { font-size: clamp(3.5rem, 18vw, 6rem); line-height: .95; font-weight: 900; letter-spacing: -.06em; }
  .site-nav a.active::after { display: none; }
  body.menu-open .site-nav { opacity: 1; visibility: visible; }
  body.menu-open .menu-toggle span:first-child { top: 1rem; transform: rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { top: 1rem; transform: rotate(-45deg); }
  .work-hero { align-items: flex-end; }
  .hero-copy h1 { font-size: clamp(4rem, 18vw, 5.25rem); letter-spacing: -.085em; }
  .work-meta { display: flex; position: absolute; right: var(--pad); bottom: 5.8rem; width: auto; padding: 0; }
  .work-meta .clients, .work-meta .reel-note { display: none; }
  .client-toggle { display: block; font-size: .68rem; }
  .client-panel { position: fixed; z-index: 14; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 5rem var(--pad) 3rem; background: rgba(7,7,7,.97); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .client-panel > p { margin: 0 0 2rem; font-size: .7rem; letter-spacing: .15em; }
  .client-logo-lockup--panel { width: 100%; margin: 0; }
  .text-page h1 { font-size: clamp(4.5rem, 22vw, 7rem); }
  .intro { max-width: 90%; }
  .about-portrait { object-position: 52% center; }
  .shade--about { background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.22) 62%, rgba(0,0,0,.24)); }
  .about-page { padding-bottom: 6rem; }
  .text-page.about-page h1 { font-size: clamp(2.6rem, 10.5vw, 3.35rem); }
  .about-page .intro { max-width: 100%; margin-top: 1rem; font-size: .86rem; }
  .capabilities { max-width: 20rem; margin-top: .75rem; font-size: .6rem; }
  .team-toggle { margin-top: .85rem; }
  .team-panel { justify-content: flex-start; overflow-y: auto; padding-top: 6rem; }
  .team-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; padding-bottom: 2rem; }
  .team-grid h2 { font-size: 2rem; }
  .contact-links { flex-direction: column; gap: 1rem; }
  .site-footer span:first-child { display: none; }
  .site-footer { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .backdrop { display: none; }
  body { background: #111; }
}
