:root {
  --paper: #F1EDE6;
  --paper-2: #E7E1D7;
  --ink: #1C1A17;
  --muted: #6A655C;
  --accent: #B12B3A;
  --rule: rgba(28, 26, 23, 0.12);
  --gutter: clamp(20px, 4.5vw, 56px);
  --max: 1180px;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  overflow-x: clip;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}
body::before {
  opacity: 0.42;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0.55'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
body::after {
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0 3px,
      rgba(28, 26, 23, 0.03) 3px 4px
    );
  background-size: 100% 48px;
}

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

a { color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -40px;
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  font-size: 13px;
  text-decoration: none;
}
.skip:focus {
  top: calc(8px + env(safe-area-inset-top, 0px));
  outline: 2px solid var(--accent);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.display {
  font-family: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-weight: 800;
  font-synthesis: none;
  letter-spacing: -0.02em;
  line-height: 0.98;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

header.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: nowrap;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  min-height: var(--nav-h);
}
.wordmark {
  font-family: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 13px;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] { color: var(--ink); }

/* ---- HOME ---- */
.hero {
  padding: clamp(56px, 10vw, 112px) 0 clamp(48px, 7vw, 80px);
}
.hero-title {
  width: 100%;
  max-width: none;
  font-size: clamp(52px, 11vw, 148px);
  line-height: 0.9;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line > span {
  display: inline-block;
  animation: hero-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-line:nth-child(2) > span { animation-delay: 0.1s; }
.hero-line:nth-child(3) > span { animation-delay: 0.2s; }
.hero-title em {
  font-style: normal;
  color: var(--accent);
  display: inline-block;
  animation: hero-accent 0.9s 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-rise {
  from { transform: translateY(108%); }
  to { transform: translateY(0); }
}
@keyframes hero-accent {
  from { transform: translateY(0.12em); opacity: 0.35; }
  to { transform: none; opacity: 1; }
}
.work { padding-bottom: clamp(48px, 8vw, 96px); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.section-head h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 28px;
  padding-top: 36px;
}
a.case {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.case-visual {
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow:
    0 1px 0 rgba(28, 26, 23, 0.12),
    0 12px 28px rgba(28, 26, 23, 0.14);
}
.case-visual img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}
a.case:hover .case-visual img,
a.case:focus-visible .case-visual img { transform: scale(1.025); }
.case-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.case-num {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
}
.case-client {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}
a.case h3 {
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1;
  margin-bottom: 8px;
}
a.case .blurb {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 42ch;
}
a.case .more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}
a.case:hover h3,
a.case:hover .more { color: var(--accent); }

.about {
  padding: clamp(56px, 9vw, 104px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  grid-template-areas:
    "head head"
    "photo copy"
    "practice practice";
  column-gap: 48px;
  row-gap: 16px;
  align-items: center;
}
.about h2 {
  grid-area: head;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about-photo {
  grid-area: photo;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 18%;
  background: var(--paper-2);
  box-shadow:
    0 1px 0 rgba(28, 26, 23, 0.12),
    0 12px 28px rgba(28, 26, 23, 0.14);
}
.about-copy { grid-area: copy; }
.about p {
  color: var(--muted);
  font-size: 16px;
  max-width: 58ch;
}
.about p + p { margin-top: 16px; }
.about p strong { color: var(--ink); font-weight: 600; }
.practice {
  grid-area: practice;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.practice h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.practice p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: none;
}

.contact {
  padding: clamp(64px, 10vw, 120px) 0 calc(48px + env(safe-area-inset-bottom, 0px));
}
.contact h2 {
  font-size: clamp(28px, 5.6vw, 72px);
  max-width: none;
  white-space: nowrap;
  margin-bottom: 28px;
}
.contact-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
  max-width: 820px;
}
.contact-links a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  min-width: 0;
}
.contact-links .label {
  color: var(--muted);
}
.contact-links strong {
  font-size: 16px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-links a:hover,
.contact-links a:hover .label { color: var(--accent); }

footer {
  padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  max-width: var(--max);
  margin: 0 auto;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
footer a {
  color: inherit;
  text-decoration: none;
}
footer a:hover { color: var(--ink); }

/* ---- PROJECT ---- */
.project-hero {
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: 32px;
}
.project-hero .crumb {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 20px;
}
.project-hero .crumb:hover { color: var(--ink); }

.work-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 500;
}
.work-switch a {
  text-decoration: none;
  color: var(--muted);
}
.work-switch a:hover,
.work-switch a:focus-visible { color: var(--ink); }
.work-switch a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--ink);
}

.project-hero .kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.project-hero h1 {
  font-size: clamp(36px, 8vw, 84px);
  max-width: 16ch;
}
.project-hero .lede {
  margin-top: 20px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
  padding: 22px 24px;
  margin-top: 36px;
  border: 1px solid var(--ink);
}
.meta dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.meta dd {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.block {
  padding-top: 8px;
  padding-bottom: 48px;
}
.block h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.block h2.block-title {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.02em;
  text-transform: none;
}
.block p {
  max-width: 62ch;
  color: var(--muted);
  margin-bottom: 24px;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.gallery figure {
  margin: 0;
  min-width: 0;
}
.gallery img,
.gallery video {
  display: block;
  width: 100%;
  max-width: 100%;
  background: var(--paper-2);
  box-shadow:
    0 1px 0 rgba(28, 26, 23, 0.1),
    0 10px 22px rgba(28, 26, 23, 0.1);
}
.gallery .carousel-track img {
  height: 100%;
  object-fit: cover;
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
  align-items: stretch;
}
.gallery .duo img {
  min-width: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.duo.sq img { aspect-ratio: 1 / 1; }

.row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.row-3 img {
  width: 100%;
  height: auto;
  background: transparent;
}
.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.merch-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--paper-2);
}

.trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.trio img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.marks {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.marks img { background: transparent; }

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-width: 0;
}
.video-grid figure { margin: 0; }
.video-grid video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
}

.carousel {
  position: relative;
  outline: none;
}
.carousel-viewport {
  overflow: hidden;
  min-width: 0;
}
.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  transition: transform 0.45s ease;
  will-change: transform;
}
.carousel-track.is-jumping { transition: none; }
.carousel-track > * {
  flex: 0 0 86%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-2);
}
.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-btn {
  appearance: none;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 4px 18px rgba(28, 26, 23, 0.28);
}
.carousel-btn::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  margin: 0 auto;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
}
.carousel-btn[data-carousel-prev] { left: 16px; }
.carousel-btn[data-carousel-prev]::before { transform: translateX(2px) rotate(45deg); }
.carousel-btn[data-carousel-next] { right: 16px; }
.carousel-btn[data-carousel-next]::before { transform: translateX(-2px) rotate(-135deg); }
.carousel-btn:hover { background: var(--accent); }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 64px;
  border-top: 1px solid var(--rule);
  margin-top: 24px;
  font-size: 14px;
}
.pager a {
  text-decoration: none;
  color: var(--muted);
  max-width: 46%;
}
.pager a:hover { color: var(--ink); }
.pager strong {
  display: block;
  color: var(--ink);
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.pager .next { text-align: right; margin-left: auto; }

.ext {
  color: var(--ink);
  text-underline-offset: 3px;
}
.ext:hover { color: var(--accent); }

.not-found {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.not-found h1 {
  font-size: clamp(48px, 8vw, 88px);
  margin-bottom: 16px;
}
.not-found p {
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 24px;
}

@media (max-width: 980px) {
  .index { gap: 32px 20px; }
  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "photo"
      "copy"
      "practice";
    gap: 16px;
  }
  .practice { grid-template-columns: 1fr 1fr; }
  .meta { grid-template-columns: 1fr 1fr; }
  .project-hero .lede { font-size: 16px; }
}

@media (max-width: 760px) {
  .nav-inner { flex-wrap: wrap; }
  .index { grid-template-columns: 1fr; gap: 32px; }
  .case-client { text-align: left; }
  .practice { grid-template-columns: 1fr; gap: 20px; }
  .contact-links { grid-template-columns: 1fr; }
  .meta { grid-template-columns: 1fr; gap: 18px; }
  .duo, .trio, .video-grid, .merch-grid { grid-template-columns: 1fr; }
  .carousel-track > * { flex: 0 0 84%; }
  .carousel-btn { width: 44px; height: 44px; }
  .pager { flex-direction: column; gap: 20px; }
  .pager a, .pager .next { max-width: none; text-align: left; margin-left: 0; }
  .hero { padding: 40px 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .case-visual img { transition: none; }
  a.case:hover .case-visual img,
  a.case:focus-visible .case-visual img { transform: none; }
  .hero-line > span,
  .hero-title em { animation: none; }
  .carousel-track { transition: none; }
}
