:root {
  --ink: #111111;
  --ink-soft: #3f3f39;
  --paper: #f7f8f3;
  --paper-bright: #ffffff;
  --line: rgba(17, 17, 17, 0.14);
  --line-strong: rgba(17, 17, 17, 0.3);
  --coral: #ff6f61;
  --blue: #4b9ad8;
  --green: #cdeb57;
  --teal: #1aa6a6;
  --violet: #7c5cff;
  --shadow: 0 20px 70px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 52px 52px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

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

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper-bright);
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 160ms ease;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 243, 0.82);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper-bright);
  font-weight: 850;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nav-links a {
  min-height: 2.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--line-strong);
  background: var(--paper-bright);
  color: var(--ink);
  outline: none;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(22rem, 0.94fr);
  gap: 2rem;
  align-items: center;
  max-width: 1500px;
  min-height: 720px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
}

.hero-copy {
  display: grid;
  gap: 1.35rem;
  max-width: 55rem;
}

.eyebrow,
.section-kicker,
.project-number {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: 6.35rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.92;
}

.hero-lede {
  max-width: 42rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.28rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.14);
  outline: none;
}

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

.button-secondary {
  background: var(--green);
  color: var(--ink);
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(20rem, 1fr) minmax(10.5rem, 0.44fr);
  gap: 0.75rem;
  min-height: 34rem;
}

.image-slot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 111, 97, 0.22), rgba(75, 154, 216, 0.16)),
    var(--paper-bright);
  box-shadow: var(--shadow);
}

.image-slot::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.image-slot img {
  position: relative;
  z-index: 0;
  opacity: 0;
  transition: opacity 240ms ease;
}

.image-slot.is-loaded img {
  opacity: 1;
}

.image-slot figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  max-width: calc(100% - 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: #ffffff;
  padding: 0.36rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-frame-main {
  grid-column: 1 / 3;
  min-height: 23rem;
}

.hero-frame-accent {
  background-color: var(--blue);
}

.hero-frame-accent img {
  object-position: center top;
}

.hero-frame-tall {
  background-color: var(--coral);
}

.hero-frame-main img,
.project-image img {
  object-fit: contain;
  background: #f7f8f3;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
}

.ticker span {
  display: grid;
  place-items: center;
  min-height: 4.25rem;
  border-right: 1px solid var(--line);
  padding: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.ticker span:nth-child(2) {
  background: var(--green);
}

.ticker span:nth-child(4) {
  background: #d8edff;
}

.ticker span:last-child {
  border-right: 0;
  background: #ffd8d2;
}

.intro-band,
.work-section,
.range-section,
.contact-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 6.5rem 1.25rem;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(18rem, 0.58fr);
  gap: 2rem;
  align-items: start;
}

.intro-band h2,
.section-heading h2,
.contact-section h2 {
  margin: 0.55rem 0 0;
  font-size: 3.1rem;
  font-weight: 920;
  letter-spacing: 0;
  line-height: 1;
}

.intro-band p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.project {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1rem 0;
  border-top: 1px solid var(--line-strong);
}

.project:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.project-featured {
  grid-template-columns: minmax(0, 0.72fr) minmax(18rem, 1.28fr);
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 24rem;
  border-radius: 8px;
  background: var(--paper-bright);
  padding: 1.35rem;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.08);
}

.project-copy h3 {
  max-width: 15ch;
  margin: auto 0 0.8rem;
  font-size: 2.75rem;
  font-weight: 920;
  letter-spacing: 0;
  line-height: 1;
}

.project-copy p:not(.project-number) {
  max-width: 38rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.project-image {
  min-height: 24rem;
  background: #f7f8f3;
}

.project-featured .project-image {
  min-height: 34rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #f2f5f7;
  padding: 0.42rem 0.68rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.range-section {
  border-top: 1px solid var(--line);
}

.range-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.range-item {
  min-height: 17rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-bright);
  padding: 1.15rem;
}

.range-item:nth-child(1) {
  border-top: 0.55rem solid var(--blue);
}

.range-item:nth-child(2) {
  border-top: 0.55rem solid var(--coral);
}

.range-item:nth-child(3) {
  border-top: 0.55rem solid var(--teal);
}

.range-item h3 {
  margin: 0 0 5rem;
  font-size: 1.45rem;
  line-height: 1.1;
}

.range-item p {
  margin: 0;
  color: var(--ink-soft);
}

.reel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 14rem;
  gap: 0.75rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem 6.5rem;
}

.reel-image {
  min-height: 14rem;
}

.reel-image img {
  object-fit: contain;
  background: #f7f8f3;
}

.reel-wide {
  grid-column: span 2;
}

.reel-tall {
  grid-row: span 2;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.55fr);
  gap: 2rem;
  align-items: end;
  border-top: 1px solid var(--ink);
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(205, 235, 87, 0.36) 24% 45%, transparent 45%),
    var(--paper);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.2rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper-bright);
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: var(--coral);
  color: var(--ink);
  outline: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.1rem 1.25rem 2rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3.5rem;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .hero-gallery {
    min-height: 32rem;
  }

  .hero-frame-main {
    min-height: 20rem;
  }

  .ticker {
    grid-template-columns: repeat(3, 1fr);
  }

  .ticker span:nth-child(3) {
    border-right: 0;
  }

  .intro-band,
  .project,
  .project-featured,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .project:nth-of-type(even) .project-image {
    order: 2;
  }

  .range-grid {
    grid-template-columns: 1fr;
  }

  .range-item {
    min-height: 12rem;
  }

  .range-item h3 {
    margin-bottom: 2.5rem;
  }

  .reel {
    grid-template-columns: 1fr 1fr;
  }

  .reel-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.25rem;
  }

  .nav-links a {
    padding-inline: 0.55rem;
    font-size: 0.82rem;
  }

  .hero {
    gap: 1.5rem;
    padding: 2.5rem 1rem 2rem;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: 3.35rem;
    line-height: 0.98;
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .hero-frame-main,
  .hero-frame-tall,
  .hero-frame-accent {
    grid-column: auto;
    grid-row: auto;
    min-height: 15rem;
  }

  .ticker {
    grid-template-columns: repeat(2, 1fr);
  }

  .ticker span:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .ticker span:nth-child(2n) {
    border-right: 0;
  }

  .intro-band,
  .work-section,
  .range-section,
  .contact-section {
    padding: 4.25rem 1rem;
  }

  .intro-band h2,
  .section-heading h2,
  .contact-section h2 {
    font-size: 2.25rem;
  }

  .project-copy,
  .project-image,
  .project-featured .project-image {
    min-height: 18rem;
  }

  .project-copy h3 {
    font-size: 2.2rem;
  }

  .reel {
    grid-template-columns: 1fr;
    grid-auto-rows: 13rem;
    padding: 0 1rem 4.25rem;
  }

  .reel-wide,
  .reel-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-link {
    width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
