:root {
  --black: #050505;
  --white: #f7f7f2;
  --paper: #ffffff;
  --ink: #0b0b0b;
  --muted-dark: #b8b8b2;
  --muted-light: #555;
  --line-dark: rgba(255, 255, 255, 0.22);
  --line-light: rgba(0, 0, 0, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
ul {
  margin: 0;
}

strong {
  color: inherit;
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.nav-toggle {
  display: grid;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  place-content: center;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-dark);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: currentColor;
}

.site-nav {
  position: fixed;
  inset: 4.8rem 1rem auto 1rem;
  display: none;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line-light);
  color: var(--ink);
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--muted-light);
  font-size: clamp(1.5rem, 8vw, 3rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav a:last-child {
  border-bottom: 0;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.language-switch {
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0;
  border: 1px solid var(--line-light);
  font-size: 0.78rem;
}

.home-hero {
  display: grid;
  min-height: calc(100svh - 4.75rem);
  background: var(--black);
}

.home-hero__copy {
  display: grid;
  align-content: end;
  gap: 1.1rem;
  padding: clamp(3rem, 8vw, 7rem) max(1rem, calc((100vw - var(--max)) / 2));
  min-height: 62svh;
}

.home-hero__image {
  position: relative;
  min-height: 55svh;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0), var(--black)),
    linear-gradient(135deg, #222, #080808);
}

.home-hero__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.78));
  pointer-events: none;
}

.home-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
}

.kicker,
.number,
.section-head span,
.tile span,
.case-study > span,
.preview-item span,
.timeline span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker {
  color: currentColor;
  opacity: 0.68;
}

h1 {
  max-width: 1050px;
  font-size: clamp(3.5rem, 13vw, 10rem);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
}

.hero-line {
  max-width: 840px;
  font-size: clamp(1.75rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.98;
}

.lead,
.statement {
  max-width: 760px;
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.25rem;
  border: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.button--dark {
  background: var(--black);
  color: var(--white);
}

.band,
.page-hero {
  padding: clamp(4.5rem, 10vw, 8rem) max(1rem, calc((100vw - var(--max)) / 2));
}

.band--light,
.page-hero--light {
  background: var(--white);
  color: var(--ink);
}

.band--dark,
.page-hero--dark {
  background: var(--black);
  color: var(--white);
}

.page-hero {
  display: grid;
  gap: 1.25rem;
  min-height: 48svh;
  align-content: end;
  border-bottom: 1px solid currentColor;
}

.page-hero h1 {
  font-size: clamp(3rem, 9vw, 7.5rem);
}

.section-head {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  max-width: 920px;
  margin-bottom: 2rem;
  border-top: 1px solid currentColor;
  padding-top: 1rem;
}

.section-head h2,
.cta h2,
.resume-grid h2,
.contact-panel h2 {
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.bauhaus-grid {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.tile {
  min-height: 16rem;
  padding: 1.25rem;
  background: var(--black);
}

.tile h3 {
  margin: 2.5rem 0 0.8rem;
  font-size: clamp(1.55rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.tile p,
.story p,
.case-study p,
.resume-grid p,
.timeline p,
.panel p,
.contact-form span {
  color: currentColor;
  opacity: 0.72;
}

.preview-list,
.case-list,
.timeline,
.story {
  display: grid;
}

.preview-item,
.case-study,
.timeline article {
  display: grid;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid currentColor;
}

.preview-item strong {
  font-size: clamp(1.4rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.preview-item:hover strong {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.cta {
  display: grid;
  gap: 1.25rem;
}

.story-layout,
.split-page,
.contact-panel {
  display: grid;
  gap: 2rem;
}

.story {
  gap: 1.1rem;
  max-width: 820px;
}

.story p {
  font-size: clamp(1.08rem, 2.3vw, 1.35rem);
}

.story__statement {
  margin-top: 1.6rem;
  color: currentColor !important;
  opacity: 1 !important;
  font-size: clamp(2rem, 6vw, 4rem) !important;
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.case-study {
  grid-template-columns: 3rem 1fr;
}

.case-study h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.resume-grid {
  display: grid;
  gap: 2rem;
}

.resume-grid article,
.panel {
  padding-top: 1rem;
  border-top: 1px solid currentColor;
}

.clean-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-left: 1.1rem;
  opacity: 0.78;
}

.timeline article {
  grid-template-columns: 1fr;
}

.timeline h3 {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.panel--light {
  border-color: var(--line-light);
}

.contact-hero .button {
  width: fit-content;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: #111;
  color: var(--white);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.site-footer {
  display: grid;
  gap: 1.5rem;
  padding: 2rem max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 0.85rem;
}

.site-footer p:first-child {
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

@media (min-width: 780px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--white);
  }

  .site-nav a {
    padding: 0;
    border: 0;
    color: var(--muted-dark);
    font-size: 0.74rem;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    color: var(--white);
  }

  .language-switch {
    padding-top: 0;
    padding-left: 0.35rem;
    border-left: 1px solid var(--line-dark);
  }

  .language-switch a {
    min-width: 2rem;
    min-height: 2rem;
    border-color: var(--line-dark);
    color: var(--muted-dark);
  }

  .language-switch a.is-active {
    background: var(--white);
    color: var(--ink);
  }

  .home-hero {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: calc(100svh - 4.75rem);
  }

  .home-hero__copy,
  .home-hero__image {
    min-height: calc(100svh - 4.75rem);
  }

  .home-hero__image {
    border-left: 1px solid var(--line-dark);
  }

  .home-hero__image::after {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.62));
  }

  .bauhaus-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bauhaus-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preview-item,
  .timeline article {
    grid-template-columns: 12rem 1fr;
  }

  .story-layout,
  .split-page,
  .contact-panel,
  .resume-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .section-head--sticky {
    position: sticky;
    top: 6rem;
    align-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr auto auto;
    align-items: end;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 3.25rem;
  }

  .hero-line {
    font-size: 1.75rem;
  }

  .button {
    width: 100%;
  }

  .case-study {
    grid-template-columns: 2.25rem 1fr;
  }
}
