:root {
  --ink: #171714;
  --paper: #f4f0e8;
  --white: #fffdf7;
  --orange: #ef6a3a;
  --lime: #d9f23f;
  --violet: #8d75f5;
  --line: rgba(23, 23, 20, 0.18);
  --container: 1180px;
  --radius: 1.25rem;
  --shadow: 0 18px 50px rgba(23, 23, 20, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(244, 240, 232, 0.88);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(23, 23, 20, 0.05);
}

.header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand img {
  width: 2.3rem;
  height: 2.8rem;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.84rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a:not(.nav-cta) {
  border-bottom: 1px solid transparent;
}

.site-nav a:not(.nav-cta):hover {
  border-color: currentColor;
}

.nav-cta {
  padding: 0.72rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.28rem 0;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow span {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--orange);
  border-radius: 50%;
}

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

h1,
h2,
h3 {
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 9ch;
  margin-bottom: 2rem;
  font-size: clamp(4.2rem, 9.4vw, 8rem);
  font-weight: 850;
}

h1 em,
h2 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 38rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 3.4rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(23, 23, 20, 0.16);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.text-link,
.card-copy a {
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.hero-mark {
  position: relative;
  min-height: 32rem;
  isolation: isolate;
}

.logo-disc {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(25rem, 85%);
  aspect-ratio: 1;
  place-items: center;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 1.25rem 1.25rem 0 var(--ink);
  transform: translate(-55%, -54%) rotate(-5deg);
}

.logo-disc img {
  width: 54%;
  height: 68%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(23, 23, 20, 0.14));
}

.orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 120%;
  aspect-ratio: 1;
}

.orbit-two {
  width: 150%;
  aspect-ratio: 1;
}

.die {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 4.7rem;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0.45rem 0.45rem 0 var(--ink);
}

.die-one {
  top: 6%;
  right: 2%;
  background: var(--orange);
  transform: rotate(12deg);
  clip-path: polygon(50% 0, 96% 28%, 80% 88%, 20% 88%, 4% 28%);
}

.die-two {
  bottom: 2%;
  left: 4%;
  background: var(--violet);
  transform: rotate(-9deg);
}

.spark {
  position: absolute;
  top: 13%;
  left: 4%;
  color: var(--orange);
  font-size: 3.5rem;
}

.ticker {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker b {
  color: var(--orange);
}

.section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.5fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2,
.about h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.section-heading > p {
  margin-bottom: 0.35rem;
  font-size: 1.06rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 0 0 transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-card-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.35fr 0.65fr;
}

.card-visual {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

.project-card-featured .card-visual {
  border-right: 1px solid var(--ink);
  border-bottom: 0;
}

.visual-project-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.card-copy {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.project-card-featured .card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.card-copy p {
  max-width: 32rem;
  margin-bottom: 2rem;
}

.card-copy a {
  align-self: flex-start;
  font-size: 0.88rem;
}

.visual-sparks {
  display: grid;
  place-items: center;
  background: var(--orange);
}

.prompt-card {
  position: absolute;
  display: grid;
  width: 9.2rem;
  height: 12rem;
  padding: 1rem;
  place-content: center;
  text-align: center;
  border: 2px solid var(--ink);
  background: var(--white);
  border-radius: 0.65rem;
  box-shadow: 0.5rem 0.5rem 0 rgba(23, 23, 20, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.15;
}

.prompt-one { transform: translateX(-6.5rem) rotate(-12deg); }
.prompt-two { z-index: 2; background: var(--lime); transform: translateY(-0.65rem); }
.prompt-three { transform: translateX(6.5rem) rotate(12deg); }

.about {
  color: var(--white);
  background: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 9vw, 8rem);
  align-items: end;
}

.eyebrow-light span {
  background: var(--lime);
}

.about h2 {
  color: var(--lime);
}

.about-copy p {
  max-width: 33rem;
  margin-bottom: 2rem;
  color: rgba(255, 253, 247, 0.78);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.site-footer {
  padding: 4.5rem 0 1.5rem;
  background: var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-top > div:first-child img {
  width: 4.75rem;
  height: 5.8rem;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-top > div:first-child p {
  max-width: 18rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-links h2 {
  margin-bottom: 1.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a {
  display: table;
  margin-bottom: 0.55rem;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-color: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 850px) {
  .hero-grid,
  .section-heading,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    min-height: 29rem;
    width: min(100%, 34rem);
    margin-inline: auto;
  }

  .section-heading {
    gap: 1.5rem;
  }

  .section-heading > p {
    max-width: 34rem;
  }

  .project-card-featured {
    grid-template-columns: 1fr;
  }

  .project-card-featured .card-visual {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .about-grid {
    align-items: start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .nav-toggle {
    display: block;
  }

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

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0.75rem;
    left: 0.75rem;
    display: none;
    padding: 1rem;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--ink);
    background: var(--paper);
    border-radius: 0.8rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: clamp(3.8rem, 20vw, 5.8rem);
  }

  .hero-mark {
    min-height: 24rem;
  }

  .logo-disc {
    width: min(19rem, 75%);
    box-shadow: 0.8rem 0.8rem 0 var(--ink);
  }

  .die {
    width: 3.8rem;
  }

  .ticker {
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .ticker span:nth-of-type(n + 3),
  .ticker b:nth-of-type(n + 2) {
    display: none;
  }

  .project-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .card-visual {
    min-height: 20rem;
  }

  .footer-top {
    gap: 2rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
