:root {
  --black: #060606;
  --white: #f5f5f5;
  --line: #1c1c1c;
  --muted: #b8b8b8;
  --sidebar-w: min(36vw, 440px);
  --page-pad: clamp(20px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Clash Display", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.menu-toggle {
  display: none;
}

.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  background: #0b0b0b;
  z-index: 50;
}

.side-row {
  padding: clamp(20px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-row:last-child {
  border-bottom: 0;
}

.row-label {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
}

.side-row p,
.contact-list p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  margin: 0;
  font-size: clamp(1rem, 1.25rem, 1.25rem);
  line-height: 1.45;
  max-width: 100%;
}

.contact-list {
  display: grid;
  gap: 6px;
}

.contact-list span {
  color: var(--muted);
}

.contact-list a {
  overflow-wrap: anywhere;
}

.canvas {
  width: calc(100% - var(--sidebar-w));
  min-height: 100vh;
  padding: 0 var(--page-pad);
}

.intro {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0;
}

.kicker {
  margin: 0 0 20px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-size: 7.4rem;
  line-height: 0.9;
  text-transform: uppercase;
  max-width: 7ch;
}

.intro-copy {
  margin: 28px 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.4rem, 1.4rem);
  line-height: 1.45;
}

.gallery-wrap {
  padding: 4vh 0 56px;
}

.gallery-track {
  display: grid;
  gap: 18px;
  width: min(66vw, 880px);
}

.img-card {
  margin: 0;
  width: 100%;
  border: 1px solid #2b2b2b;
  background: #0f0f0f;
  overflow: hidden;
}

.img-card img {
  display: block;
  width: 100%;
  height: clamp(190px, 26vw, 340px);
  object-fit: cover;
}

.work-text {
  max-width: 42rem;
  padding: 0 0 18vh;
}

.work-text p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  :root {
    --sidebar-w: 360px;
    --page-pad: 28px;
  }

  h1 {
    font-size: 5.8rem;
  }
}

@media (max-width: 820px) {
  .sidebar {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    border: 0;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .menu-toggle {
    position: fixed;
    right: 14px;
    top: 14px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 44px;
    border: 1px solid var(--white);
    border-radius: 0;
    background: var(--white);
    color: var(--black);
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
  }

  body.menu-open {
    overflow: hidden;
  }

  .canvas {
    width: 100%;
    padding: 0 16px;
  }

  .intro {
    min-height: 78svh;
    padding-top: 72px;
  }

  .gallery-track {
    width: 100%;
  }

  .work-text {
    max-width: 100%;
  }

  h1 {
    font-size: 4.8rem;
  }
}

@media (max-width: 520px) {
  .side-row {
    padding: 22px;
  }

  .side-row p {
    max-width: none;
    font-size: 1.05rem;
  }

  .intro {
    min-height: 76svh;
  }

  .kicker {
    max-width: 16rem;
    line-height: 1.5;
  }

  h1 {
    font-size: 3.2rem;
  }

  .intro-copy {
    font-size: 1.12rem;
  }

  .work-text p:last-child {
    font-size: 1.12rem;
  }

  .gallery-wrap {
    min-height: 190vh;
  }

  .img-card img {
    height: 230px;
  }
}

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