@font-face {
  font-family: "Joebed Display";
  src: url("assets/fonts/display.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Joebed Body";
  src: url("assets/fonts/body.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0b0c10;
  --ink-soft: #151720;
  --paper: #f4ead8;
  --white: #fbfaf5;
  --muted: #c9c4b8;
  --gold: #e7b45c;
  --gold-light: #f8d58b;
  --blue: #78d4da;
  --purple-deep: #27233e;
  --press-link: #63222c;
  --display: "Joebed Display", "Arial Narrow", sans-serif;
  --body: "Joebed Body", "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  display: flex;
  min-width: 320px;
  min-height: 100svh;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 0.1em;
}

a:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: 1rem;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 0.75rem;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: #57458b;
  border: 3px solid var(--ink);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  background: var(--gold-light);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-width,
.site-header__inner,
.intro-band__inner {
  width: min(calc(100% - 1rem), 78rem);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(244, 234, 216, 0.18);
  background: var(--ink);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 3.5rem;
  flex-wrap: wrap;
  padding-block: 0.2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav,
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav {
  justify-content: flex-end;
  min-width: 0;
  flex: 1 1 14rem;
  gap: 0.05rem;
}

.site-nav a,
.social-links a,
.inline-link,
.download-link,
.hero-link,
.contact-block__email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-nav a {
  min-width: 44px;
  justify-content: center;
  padding-inline: 0.35rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.social-links a:hover,
.social-links a:focus-visible,
.inline-link:hover,
.inline-link:focus-visible {
  color: var(--gold-light);
}

.hero {
  display: flex;
  flex-direction: column;
}

.hero__banner {
  width: 100%;
  border-bottom: 1px solid rgba(231, 180, 92, 0.65);
  background: var(--ink-soft);
}

.hero__banner img {
  width: 100%;
  height: auto;
  max-width: none;
}

.intro-band {
  background: var(--gold);
  color: var(--ink);
}

.intro-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: end;
  padding-block: clamp(2rem, 4vw, 3rem);
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  margin-block-end: 0;
}

h1,
h2,
h3 {
  color: currentColor;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.45rem, 7vw, 4rem);
}

.hero h1 {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.92;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

.heading-label {
  margin-block: 0.85rem 0;
  color: currentColor;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.intro-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.intro-band__copy {
  max-width: 36ch;
  margin-block-end: 0;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  line-height: 1.5;
}

.hero-link {
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.hero-link:hover,
.hero-link:focus-visible {
  background: var(--ink-soft);
  color: var(--gold-light);
}

.page-main {
  display: flex;
}

.projects {
  width: 100%;
  background: var(--ink);
}

.projects .content-width {
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(3rem, 5vw, 4.5rem);
}

.projects__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-block-end: clamp(1.75rem, 4vw, 3rem);
}

.projects__heading .heading-label {
  margin-block: 0;
  color: var(--blue);
}

.project {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-top: 1px solid var(--gold);
}

.project__art {
  margin: 0;
  overflow: hidden;
}

.project__art--square {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  background: #1c1c24;
}

.project__art--square img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.project--maxie .project__copy {
  padding: clamp(1.75rem, 4vw, 3.5rem);
  background: #271b17;
  color: var(--white);
}

.project__label {
  margin-block: 0.75rem 1.1rem;
  color: currentColor;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.project--maxie .project__label {
  color: var(--gold-light);
}

.project__summary {
  max-width: 34ch;
  margin-block-end: 1.25rem;
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);
  line-height: 1.45;
}

.project__links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 1.1rem;
}

.inline-link {
  gap: 0.45rem;
  color: inherit;
  font-weight: 700;
  text-decoration-thickness: 0.11em;
}

.social-links {
  gap: 0.1rem 0.75rem;
}

.social-links a {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration-thickness: 0.1em;
}

.project--qball {
  grid-template-columns: 1fr;
  margin-block-start: clamp(1.25rem, 3vw, 2rem);
  border-top-color: var(--blue);
  background: var(--purple-deep);
}

.project--qball .project__art--qball {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: #121326;
}

.project__art--qball img {
  width: 100%;
  max-width: 42rem;
  height: auto;
}

.project--qball .project__copy {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: #282442;
}

.project--qball .project__label {
  color: var(--blue);
}

.art-gallery {
  width: 100%;
  border-block: 1px solid rgba(244, 234, 216, 0.16);
  background: #12151b;
  color: var(--white);
}

.art-gallery__inner {
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(3.5rem, 6vw, 5.5rem);
}

.art-gallery__heading {
  margin-block-end: clamp(2rem, 4vw, 3.5rem);
}

.art-gallery__heading h1 {
  max-width: 12ch;
  margin: 0;
}

.art-gallery__group + .art-gallery__group {
  margin-block-start: clamp(3rem, 6vw, 5rem);
}

.art-gallery__group > h2 {
  margin-block-end: 1.25rem;
  color: var(--gold-light);
  font-size: clamp(1.15rem, 1rem + 0.45vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.art-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.25rem);
}

.art-piece {
  min-width: 0;
  margin: 0;
}

.art-piece__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  background: #1b1e26;
  text-decoration: none;
}

.art-piece__link:hover,
.art-piece__link:focus-visible {
  background: #242832;
}

.art-piece__link img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.studio {
  width: 100%;
  border-block: 1px solid rgba(120, 212, 218, 0.6);
  background: var(--purple-deep);
}

.studio__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.studio__art {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.studio__art img {
  width: min(100%, 31rem);
  height: auto;
  max-height: 31rem;
  object-fit: contain;
}

.studio__art figcaption {
  padding-top: 0.9rem;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.studio__copy {
  max-width: 40rem;
}

.studio__copy .heading-label {
  color: var(--blue);
}

.studio__copy > p:not(.heading-label) {
  max-width: 42ch;
  margin-block: 1.3rem 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.studio__copy .inline-link {
  margin-top: 1.25rem;
}

.inline-link--light {
  color: var(--gold-light);
}

.press {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
}

.press__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.press__copy > p:not(.heading-label) {
  max-width: 40ch;
  margin-block: 1.3rem 1.75rem;
}

.press__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
}

.download-link {
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.download-link span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.download-link--primary {
  background: var(--gold-light);
}

.download-link:hover,
.download-link:focus-visible {
  border-color: var(--ink);
  background: var(--gold);
  color: var(--ink);
}

.press .inline-link:hover,
.press .inline-link:focus-visible,
.press .social-links a:hover,
.press .social-links a:focus-visible,
.contact-block__email:hover,
.contact-block__email:focus-visible {
  color: var(--press-link);
}

.press a:focus-visible {
  outline-color: var(--ink);
}

.contact-block {
  align-self: center;
  border-top: 1px solid rgba(11, 12, 16, 0.4);
  padding-top: 1rem;
}

.contact-block__label {
  margin-block-end: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-block__email {
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.45rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.social-links--press {
  margin-top: 0.55rem;
}

.site-footer {
  border-top: 1px solid rgba(244, 234, 216, 0.18);
  background: var(--ink);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem 1.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 44rem) {
  .content-width,
  .site-header__inner,
  .intro-band__inner {
    width: min(calc(100% - 4rem), 78rem);
  }

  .site-header__inner {
    min-height: 4.25rem;
  }

  .site-nav {
    gap: 0.35rem;
  }

  .site-nav a {
    padding-inline: 0.55rem;
    font-size: 0.9rem;
  }

  .intro-band__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: clamp(2rem, 6vw, 5.5rem);
  }

  .project--maxie,
  .project--qball {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .project--qball .project__copy {
    border-left: 1px solid var(--blue);
  }

  .studio__inner,
  .press__inner {
    grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
    min-height: min(70svh, 44rem);
  }

  .art-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 70rem) {
  .content-width,
  .site-header__inner,
  .intro-band__inner {
    width: min(calc(100% - 6rem), 78rem);
  }
}

@media (max-width: 27rem) {
  .brand {
    font-size: 0.98rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    padding-inline: 0.22rem;
    font-size: 0.875rem;
  }

  .hero h1 {
    max-width: 15ch;
    font-size: clamp(2.5rem, 10vw, 3rem);
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .press__links,
  .project__links {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-link {
    width: 100%;
    justify-content: space-between;
  }
}

.studio h1 { max-width: none; font-size: clamp(2rem, 4vw, 3.3rem); }
