:root {
  --brand-red: #d42519;
  --black: #000000;
  --white: #ffffff;
  --font-stack: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --menu-button-color: var(--black);
  --menu-overlay-background: rgba(0, 0, 0, 0.98);
  --menu-overlay-link: var(--brand-red);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-stack);
  transition: background-color 220ms ease, color 220ms ease;
}

body.menu-open {
  overflow: hidden;
}

body[data-menu-theme="hero"] {
  --menu-button-color: var(--black);
  --menu-overlay-background: rgba(0, 0, 0, 0.98);
  --menu-overlay-link: var(--brand-red);
}

body[data-menu-theme="about"] {
  --menu-button-color: var(--brand-red);
  --menu-overlay-background: rgba(212, 37, 25, 0.98);
  --menu-overlay-link: var(--black);
}

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

.page-shell {
  width: 100%;
}

.panel {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: clip;
}

.hero {
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.08), transparent 28%),
    var(--brand-red);
  color: var(--black);
}

.hero__nav {
  position: absolute;
  top: 50%;
  left: clamp(28px, 5.8vw, 92px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(-28%);
}

.hero__nav-link {
  width: fit-content;
  font-size: clamp(2rem, 1.65rem + 1vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero__brand {
  position: absolute;
  top: clamp(34px, 4.6vw, 58px);
  left: 50%;
  z-index: 2;
  width: clamp(290px, 31vw, 470px);
  transform: translateX(-50%);
}

.hero__logo,
.hero__portrait,
.about__wolf {
  display: block;
  width: 100%;
  height: auto;
}

.hero__figure {
  position: absolute;
  bottom: 0;
  right: clamp(18px, 5vw, 72px);
  z-index: 2;
  width: clamp(520px, 41vw, 760px);
}

.hero__card {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: min(39vw, 460px);
  padding: 36px 40px 38px;
  background: var(--black);
  color: var(--white);
}

.hero__name,
.hero__title {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero__name {
  font-size: clamp(1.65rem, 1.18rem + 0.65vw, 2.3rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero__title {
  margin-top: 6px;
  font-size: clamp(1rem, 0.82rem + 0.3vw, 1.35rem);
  font-weight: 300;
  line-height: 1.08;
}

.site-menu-toggle {
  position: fixed;
  top: clamp(16px, 2vw, 28px);
  right: clamp(14px, 2vw, 28px);
  z-index: 45;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.site-menu-toggle span {
  display: block;
  width: 30px;
  height: 5px;
  margin-left: auto;
  background: var(--menu-button-color);
  transition: background-color 180ms ease;
}

body[data-active-panel="hero"] .site-menu-toggle {
  opacity: 0;
  pointer-events: none;
}

body.menu-open .site-menu-toggle {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .site-menu-toggle span {
  background: var(--menu-overlay-link);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 28px 48px;
  background: var(--menu-overlay-background);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, background-color 220ms ease;
}

body.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.menu-overlay__link {
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--menu-overlay-link);
  transition: color 220ms ease;
}

.about {
  background:
    radial-gradient(circle at 50% 45%, rgba(212, 37, 25, 0.14), transparent 26%),
    var(--black);
  color: var(--white);
}

.about__content {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(280px, 0.8fr) minmax(300px, 1fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    ". wolf tags"
    "copy wolf tags";
  min-height: inherit;
  padding: clamp(40px, 4vw, 64px) clamp(28px, 4vw, 64px) clamp(40px, 4vw, 46px);
}

.about__copy {
  grid-area: copy;
  align-self: end;
  max-width: 430px;
  padding-left: 4px;
}

.about__title {
  margin: 0;
  font-size: clamp(2.25rem, 1.7rem + 0.9vw, 3.35rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.about__description {
  margin: 8px 0 0;
  max-width: 400px;
  font-size: clamp(1.02rem, 0.94rem + 0.14vw, 1.16rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.about__wolf-wrap {
  grid-area: wolf;
  align-self: center;
  justify-self: center;
  width: clamp(250px, 21vw, 355px);
  transform: translateY(-8px);
}

.about__tags {
  grid-area: tags;
  align-self: center;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 42px);
  padding-right: 2px;
  transform: translateY(4px);
}

.about__tag {
  font-size: clamp(1.1rem, 0.95rem + 0.24vw, 1.45rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
}

.about__tag--stacked {
  white-space: normal;
}

.section-anchor {
  height: 0;
}

.who-section {
  background: var(--black);
  color: var(--white);
}

.who-section__content {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  min-height: inherit;
  padding: clamp(40px, 4vw, 64px) clamp(32px, 4vw, 76px);
  gap: clamp(28px, 4vw, 72px);
}

.who-section__copy {
  max-width: 440px;
  padding-left: clamp(8px, 2vw, 22px);
}

.who-section__title {
  margin: 0;
  color: var(--brand-red);
  font-size: clamp(4rem, 3.1rem + 1.9vw, 5.9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.who-section__lead,
.who-section__text {
  margin: 0;
  max-width: 370px;
  font-size: clamp(1rem, 0.92rem + 0.16vw, 1.14rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.who-section__lead {
  margin-top: 34px;
}

.who-section__text {
  margin-top: 18px;
}

.who-section__art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.who-section__wolf {
  display: block;
  width: clamp(330px, 39vw, 620px);
  height: auto;
}

.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
}

.portfolio-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(-1.5vh);
}

.portfolio-cta__title {
  margin: 0;
  color: var(--brand-red);
  font-size: clamp(4rem, 3rem + 2.2vw, 6.4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.portfolio-cta__button {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: clamp(0.95rem, 0.88rem + 0.08vw, 1.05rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

@media (max-width: 920px) {
  body[data-active-panel="hero"] .site-menu-toggle {
    opacity: 1;
    pointer-events: auto;
  }

  .hero__nav {
    display: none;
  }

  .site-menu-toggle {
    top: 18px;
    right: 16px;
    width: 44px;
    height: 44px;
    gap: 6px;
  }

  .site-menu-toggle span {
    width: 31px;
  }

  .hero__brand {
    top: 126px;
    width: min(50vw, 240px);
  }

  .hero__figure {
    right: auto;
    left: 50%;
    width: min(103vw, 410px);
    transform: translateX(-50%);
  }

  .hero__card {
    right: 18px;
    bottom: 22px;
    width: auto;
    max-width: 190px;
    padding: 12px 14px;
  }

  .hero__name {
    font-size: 0.92rem;
  }

  .hero__title {
    margin-top: 2px;
    font-size: 0.56rem;
  }

  .about__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "wolf"
      "copy"
      "."
      "tags";
    align-items: start;
    min-height: 100svh;
    padding: 74px 18px 18px;
  }

  .about__wolf-wrap {
    width: min(51vw, 178px);
    transform: none;
    margin: 38px auto 0;
  }

  .about__copy {
    max-width: 100%;
    padding: 0;
    margin-top: 54px;
    text-align: center;
  }

  .about__title {
    font-size: clamp(3.25rem, 11vw, 4.2rem);
  }

  .about__description {
    margin: 8px auto 0;
    max-width: 242px;
    font-size: 0.88rem;
    line-height: 0.88;
    text-align: center;
  }

  .about__tags {
    width: 100%;
    justify-content: center;
    justify-self: center;
    gap: 14px;
    padding: 0 0 10px;
    transform: none;
  }

  .about__tag {
    font-size: 0.82rem;
  }

  .about__tag--stacked {
    width: 54px;
  }

  .menu-overlay__nav {
    align-items: flex-start;
    width: 100%;
    max-width: 290px;
  }

  .menu-overlay__link {
    font-size: clamp(3rem, 10vw, 4.2rem);
  }

  .who-section__content {
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: center;
    gap: 0;
    padding: 74px 18px 28px;
  }

  .who-section__art {
    margin-top: 24px;
  }

  .who-section__wolf {
    width: min(66vw, 220px);
  }

  .who-section__copy {
    max-width: 100%;
    padding-left: 0;
    margin-top: 26px;
    text-align: center;
  }

  .who-section__title {
    font-size: clamp(3.6rem, 12vw, 4.8rem);
  }

  .who-section__lead,
  .who-section__text {
    max-width: 252px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    line-height: 0.9;
    text-align: center;
  }

  .who-section__lead {
    margin-top: 24px;
  }

  .who-section__text {
    margin-top: 18px;
  }

  .portfolio-cta__content {
    transform: none;
  }

  .portfolio-cta__title {
    font-size: clamp(3.2rem, 12vw, 4.9rem);
  }

  .portfolio-cta__button {
    margin-top: 10px;
    font-size: 0.9rem;
  }
}
