:root {
  --black: #000;
  --muted: #676767;
  --white: #fff;
  --font: Inter, system-ui, sans-serif;
  --header-h: 104px;
  --pad: clamp(24px, 4.7vw, 90px);
  --pad-s: clamp(20px, 2.3vw, 44px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 18px var(--pad-s) 16px;
  background: var(--white);
  border-bottom: 1px solid var(--black);
}

.logo {
  display: flex;
  align-items: center;
  z-index: 2;
}

.logo img {
  height: 66px;
  width: auto;
}

.header-spacer {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 3;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

body.menu-open .menu-toggle span {
  background: transparent;
}

body.menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  gap: clamp(22px, 4vw, 72px);
  align-items: center;
  padding: 0 var(--pad-s);
  background: transparent;
}

.site-nav a {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

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

/* Footer */
.site-footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px var(--pad);
  border-top: 1px solid var(--black);
  font-size: 18px;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer .copy {
  color: var(--muted);
  text-align: center;
  text-transform: none;
}

.site-footer .imprint {
  text-align: right;
}

.site-footer .imprint:hover {
  text-decoration: underline;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: reveal 0.9s ease forwards;
}

.reveal-d1 { animation-delay: 0.08s; }
.reveal-d2 { animation-delay: 0.18s; }
.reveal-d3 { animation-delay: 0.3s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Home */
.hero {
  padding: clamp(48px, 5.2vw, 100px) var(--pad-s) clamp(40px, 6vw, 80px);
}

.hero-title {
  font-size: clamp(42px, 6.875vw, 132px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero-mobile {
  display: none;
}

.hero p {
  margin-top: clamp(28px, 2.6vw, 50px);
  max-width: 32em;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.3;
  font-weight: 400;
}

.work-section {
  padding-top: clamp(80px, 10vw, 180px);
  padding-bottom: 80px;
}

.work-label {
  font-size: clamp(40px, 3.75vw, 72px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  padding: 0 0 18px clamp(24px, 12.7vw, 244px);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.work-card {
  display: block;
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 701 / 466;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover img {
  transform: scale(1.08);
}

/* About */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(40px, 6vw, 120px) var(--pad);
  align-items: start;
}

.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-intro h1 {
  font-size: clamp(40px, 5vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.about-intro p {
  font-size: clamp(18px, 1.56vw, 30px);
  line-height: 1.3;
}

.section-title {
  font-size: clamp(42px, 6.25vw, 120px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  padding: 40px var(--pad) 36px;
}

.exp-list,
.skill-list {
  padding: 0 var(--pad) 80px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.exp-row,
.skill-row {
  display: grid;
  grid-template-columns: 160px minmax(180px, 1.1fr) minmax(0, 2.1fr);
  gap: 24px 32px;
  align-items: start;
}

.exp-row .date,
.skill-row .label {
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.exp-row h3,
.skill-row h3 {
  font-size: clamp(22px, 1.875vw, 36px);
  font-weight: 900;
  line-height: 1.1;
}

.exp-row p {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.3;
}

.skill-row h3 {
  grid-column: 2 / -1;
}

/* Contact */
.contact-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 140px) clamp(24px, 12.7vw, 244px) 80px;
  min-height: calc(100vh - var(--header-h) - 80px);
}

.contact-page h1 {
  font-size: clamp(48px, 6.25vw, 120px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 12ch;
  color: var(--black);
}

.contact-links {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: clamp(20px, 1.56vw, 30px);
  line-height: 1.3;
}

.contact-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.contact-links a:hover {
  opacity: 0.55;
}

.contact-links .sep {
  text-decoration: none;
}

/* Project */
.project-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 5.2vw, 100px) var(--pad) 48px;
  align-items: start;
}

.project-copy h1 {
  font-size: clamp(40px, 4.375vw, 84px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 8ch;
}

.project-copy h2 {
  font-size: clamp(28px, 2.8vw, 54px);
  font-weight: 900;
  line-height: 1;
  margin: 18px 0 22px;
}

.project-copy p {
  font-size: clamp(18px, 1.56vw, 30px);
  line-height: 1.3;
}

.project-copy p + p {
  margin-top: 1.15em;
}

.project-hero-text {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.beauty-logo {
  width: min(100%, 280px) !important;
}

.project-media img,
.project-media video {
  width: 100%;
  height: auto;
}

.video-wrap {
  position: relative;
  background: #111;
  overflow: hidden;
}

.video-wrap video {
  width: 100%;
  height: auto;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.play-btn span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}

.play-btn span::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 18px solid #111;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

.play-btn:hover span {
  transform: scale(1.06);
}

.video-wrap.is-playing .play-btn {
  display: none;
}

.project-gallery {
  padding: 0 0 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-full img,
.gallery-full video {
  width: 100%;
  height: auto;
}

.gallery-pad {
  padding: 24px var(--pad) 0;
}

.gallery-pad img {
  width: min(100%, 700px);
  height: auto;
}

.gallery-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gallery-quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 8px var(--pad) 0;
  max-width: 980px;
}

.imprint-page {
  padding: clamp(48px, 6vw, 100px) var(--pad) 80px;
  max-width: 820px;
}

.imprint-page h1 {
  font-size: clamp(40px, 4.375vw, 84px);
  font-weight: 900;
  margin-bottom: 28px;
}

.imprint-page p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .site-header {
    width: 100%;
    min-height: var(--header-h);
    padding: 10px 16px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
  }

  .header-spacer {
    display: block;
    width: 44px;
    height: 44px;
  }

  .logo {
    justify-content: center;
  }

  .logo img {
    height: 42px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    grid-column: 3;
    justify-self: end;
    z-index: 60;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    background: var(--white);
    padding: 80px 24px 40px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.04em;
    border-bottom: 0;
  }

  .hero {
    padding: 18px 18px 48px;
  }

  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
  }

  .hero-title {
    font-size: clamp(52px, 13.8vw, 64px);
    line-height: 0.86;
    letter-spacing: -0.045em;
    max-width: none;
  }

  .hero p {
    margin-top: 22px;
    max-width: none;
    font-size: 18px;
    line-height: 1.28;
  }

  .work-grid,
  .gallery-split,
  .project-hero,
  .about-intro,
  .exp-row,
  .skill-row,
  .gallery-quad {
    grid-template-columns: 1fr;
  }
  .skill-row h3 { grid-column: auto; }
  .site-footer {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 8px;
  }
  .site-footer .copy,
  .site-footer .imprint { text-align: left; }
  .work-label { padding-left: var(--pad-s); }
}
