:root {
  --ink: #1a1a17;
  --paper: #f5f2ea;
  --accent: #0000b8;
  --pink: #d5a6bd;
  --grey: #9e9e9e;
  --hairline: #e1dcd0;
  --body-font: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --display-font: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.page-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.page-shell--narrow {
  max-width: 44rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-copy,
.hero-media {
  min-width: 0;
}

.hero-copy {
  container-type: inline-size;
  text-align: right;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  border: 1px solid var(--hairline);
  border-radius: 0.25rem;
  box-shadow: 0 20px 50px rgba(26, 26, 23, 0.08);
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--body-font);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.display {
  font-family: var(--display-font);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.9rem, 8cqi, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--accent);
  text-wrap: balance;
}

.page-title {
  font-family: var(--display-font);
  font-style: normal;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.15;
  margin: 2rem 0 2.5rem;
  color: var(--ink);
}

.supporting-text {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
}

.text-link {
  color: var(--ink);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

.info-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--hairline);
}

.info-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.row-label {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--accent);
}

.row-content {
  max-width: 42rem;
}

.row-content p {
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.row-content p:last-child {
  margin-bottom: 0;
}

.row-content h3 {
  margin: 0 0 0.5rem;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.row-content h3:not(:first-child) {
  margin-top: 1.75rem;
}

.placeholder-text {
  color: var(--grey);
}

/* Same column widths as every other .info-row, so this section's text
   starts at the exact same position as About / Ways to work together —
   never its own, wider column. */
.work-item {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* A media rail: one photo/video today, stacks to two or three
   (photos and/or video snippets) as more are added — always in
   this left-hand column, never full-bleed across the text. Sticky
   so it stays in view instead of scrolling out above longer copy.
   Bleeds partway into the column gap for a bit more size, but stops
   well short of the text so there's still real breathing room. */
.work-media {
  grid-column: 1;
  width: calc(100% + 1rem);
  position: sticky;
  top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
}

.work-caption {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--grey);
}

/* Explicit column so copy still lines up correctly for work items
   that don't have a photo/video yet. */
.work-copy {
  grid-column: 2;
  max-width: 42rem;
}

.work-media img,
.work-media video {
  display: block;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--hairline);
  border-radius: 0.25rem;
  box-shadow: 0 20px 50px rgba(26, 26, 23, 0.08);
}

/* Photos crop to a consistent 3:2; video keeps its native 16:9 so
   nothing gets cut off the sides. */
.work-media img {
  aspect-ratio: 3 / 2;
}

.work-media video {
  aspect-ratio: 16 / 9;
}

@media (max-width: 760px) {
  .work-item {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .work-media,
  .work-copy {
    grid-column: 1;
  }

  .work-media {
    width: 100%;
    position: static;
  }
}

.work-copy .work-title {
  margin: 0 0 0.5rem;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.button {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.35rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.back-link {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.imprint-block {
  margin: 0 0 2rem;
}

.imprint-block .eyebrow {
  margin-bottom: 0.6rem;
}

.imprint-block p {
  margin: 0;
  font-weight: 400;
  color: var(--ink);
}

.imprint-block a.text-link {
  color: var(--ink);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--hairline);
}

.imprint-block a.text-link:hover,
.imprint-block a.text-link:focus-visible {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.site-footer .text-link {
  font-size: 0.9rem;
  color: var(--grey);
}

.site-footer .text-link:hover,
.site-footer .text-link:focus-visible {
  color: var(--accent);
}

.footer-copyright {
  margin: 0;
  font-size: 0.85rem;
  color: var(--grey);
}

@media (max-width: 760px) {
  .page-shell {
    padding: 2.5rem 1rem 2.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .hero-media img {
    max-width: 100%;
    margin: 0;
  }

  .display {
    max-width: 100%;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 2rem 0;
  }
}
