:root {
  --bg: #060606;
  --fg: #f5f5f5;
  --muted: #8a8a8a;
  --line: #262626;
  --accent: #ff5a1f;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
}

.eyebrow--muted {
  color: var(--muted);
  margin-top: 0.35rem;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--gutter);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  mix-blend-mode: difference;
}

.nav__brand span {
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.35rem;
}

.nav__links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.85;
}

.hero__name {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) 4vw;
  line-height: 0.85;
}

.hero__name span {
  display: block;
  font-size: clamp(3rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__name .fill {
  color: var(--fg);
}

.hero__name .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
  text-stroke: 1.5px var(--fg);
}

/* Work */
.work {
  padding: 6rem var(--gutter);
}

.work__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8rem;
}

.scroll-cue {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: right;
}

.scroll-cue span {
  display: block;
  margin-top: 0.25rem;
}

.work__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.work__heading h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
}

.work hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0 3rem;
}

.work__list {
  display: grid;
  gap: 4rem;
}

.work__group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}

.work__group-head h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.work__item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "eyebrow eyebrow"
    "title link";
  align-items: center;
  gap: 0.25rem 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.2s ease;
}

.work__item .eyebrow {
  grid-area: eyebrow;
  color: var(--muted);
}

.work__item .work__title {
  grid-area: title;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 800;
}

.work__item .work__link {
  grid-area: link;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  justify-self: end;
}

.work__item:hover {
  opacity: 0.7;
}

.work__item--pending {
  cursor: default;
}

.work__item--pending:hover {
  opacity: 1;
}

.work__item--pending .work__link {
  color: var(--muted);
}

@media (min-width: 640px) {
  .work__item {
    grid-template-columns: 1fr 2fr auto;
    grid-template-areas: "eyebrow title link";
  }
}

/* About */
.about {
  padding: 6rem var(--gutter);
  display: grid;
  gap: 3rem;
  border-top: 1px solid var(--line);
}

.about__name {
  line-height: 0.9;
  margin-bottom: 2rem;
}

.about__name span {
  display: block;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
}

.about__name .fill {
  color: var(--fg);
}

.about__name .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
}

.about__topics {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.about__topics .eyebrow {
  display: inline;
  color: var(--muted);
  margin-right: 0.5rem;
}

.about__copy {
  display: grid;
  gap: 1.75rem;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  color: #d0d0d0;
  max-width: 40rem;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 1fr 1.4fr;
  }
}

/* Contact */
.contact {
  padding: 6rem var(--gutter);
  border-top: 1px solid var(--line);
}

.contact .eyebrow {
  margin-bottom: 2rem;
}

.contact__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.2s ease;
}

.contact__item:hover {
  opacity: 0.7;
}

.contact__label {
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 800;
}

.contact__value {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

/* Footer */
.footer {
  padding: 3rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
}

.footer__medium {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 2rem;
}

.footer__medium span:first-child {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 800;
}

.footer__medium--pending .work__link {
  color: var(--muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
