:root {
  --bg: #000;
  --fg: #fff;
  --muted: #a3a3a3;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

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

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
}

body.home {
  overflow: hidden;
  height: 100%;
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: pointer;
}

.site-nav {
  position: fixed;
  top: 1.5rem;
  right: 1.75rem;
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  /* baseline stays put — underdot is absolute, no layout shift */
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: rgba(255, 255, 255, 0.72);
}

.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 4px;
  height: 4px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 700px) {
  .site-nav {
    top: 1.15rem;
    right: 1.15rem;
    gap: 1.2rem;
  }
  .site-nav a {
    font-size: 13px;
  }
}




.wordmark {
  position: fixed;
  top: 1.5rem;
  left: 2.75rem;
  z-index: 4;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: #fff;
}

@media (max-width: 700px) {
  .wordmark {
    top: 1.1rem;
    left: 2.4rem;
    font-size: 11px;
    letter-spacing: 0.16em;
    max-width: 42vw;
  }
  .site-nav {
    top: 1.1rem;
    right: 1rem;
    gap: 0.95rem;
    max-width: 52vw;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  .site-nav a {
    font-size: 12px;
  }
}


.nav-toggle {
  display: none;
  position: fixed;
  top: 1.2rem;
  right: 1.1rem;
  z-index: 6;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (max-width: 700px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    padding: 4.25rem 1.25rem 1.25rem;
    gap: 0;
    flex-direction: column;
    align-items: flex-end;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .site-nav a {
    font-size: 15px;
    letter-spacing: 0.08em;
    padding: 0.7rem 0.15rem;
  }
}

.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;
}

body.page {
  min-height: 100vh;
}

.page-wrap {
  max-width: 36rem;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 4rem;
}


.page-wrap h1 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.page-wrap h2 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.page-wrap p,
.page-wrap li {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.page-wrap a {
  color: var(--fg);
}

.stack {
  display: grid;
  gap: 1.75rem;
}

.stack article {
  display: grid;
  gap: 0.45rem;
}

.stack article.work-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.work-item > div {
  display: grid;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.work-thumb {
  display: block;
  flex: 0 0 81px;
  width: 81px;
  height: 176px;
  object-fit: fill;
  border-radius: 6px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 28px;
}

.socials a {
  display: flex;
  width: 24px;
  height: 24px;
  color: var(--fg);
}

.socials svg {
  display: block;
  width: 24px;
  height: 24px;
}

.studio-home {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  padding: 6.5rem 1.75rem 2rem;
}

.kicker {
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.studio-home h1 {
  max-width: 11ch;
  font-size: clamp(2.4rem, 7vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.studio-home p {
  margin-top: 1.15rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

body.home {
  display: flex;
  align-items: flex-end;
}

body.portrait {
  overflow: hidden;
  height: 100%;
}

.portrait-copy {
  position: fixed;
  z-index: 3;
  left: 2.75rem;
  bottom: 2.25rem;
  max-width: 24rem;
}

.portrait-copy h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.portrait-copy p {
  margin-top: 0.55rem;
  color: var(--muted);
  line-height: 1.55;
}

.lede {
  margin-top: -1.2rem;
  margin-bottom: 1.6rem;
}

@media (max-width: 700px) {
  .studio-home {
    padding: 6rem 1.35rem 2rem;
  }
  .portrait-copy {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.35rem;
    max-width: none;
  }
}

.home-links {
  display: flex;
  gap: 1.25rem;
}

.home-links a,
.portrait-copy a {
  color: var(--fg);
  text-decoration: none;
}

.home-links a:hover,
.portrait-copy a:hover {
  text-decoration: underline;
}
