:root {
  --bg: #f3f0e8;
  --text: #161616;
  --muted: #4e4b46;
  --line: rgba(22, 22, 22, 0.16);
  --accent: #5a1731;
  --max: 1120px;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--text);
  color: var(--bg);
}
.skip:focus { top: 10px; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 58px;
}
.brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 18px;
  font-size: 14px;
}
.nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover { color: var(--accent); }

main { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }

.hero { padding: 54px 0 18px; }
.kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker span { display: block; margin-top: 6px; }
.hero h1 {
  max-width: 16em;
  margin: 26px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero-copy {
  max-width: 38rem;
  margin-top: 28px;
}
.hero-copy p,
.approach-copy p,
.about-copy p,
.contact-lead {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.45;
}
.hero-copy p:last-child,
.approach-copy p:last-child,
.about-copy p:last-child { margin-bottom: 0; }
.territories {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section h2 {
  max-width: 14em;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.approach-copy { max-width: 40rem; margin-top: 22px; }

.aims,
.steps {
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
  display: grid;
  gap: 28px 32px;
}
.aims { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; }
.aims h3,
.steps h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aims p,
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.works {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 240px));
  justify-content: start;
  gap: 22px 18px;
}
.work { margin: 0; min-width: 0; }
.thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ddd8cf;
}
.thumb img,
.thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb video { opacity: 0; }
.thumb.is-playing video { opacity: 1; }
.sound {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 14, 14, 0.62);
  color: #fff;
  cursor: pointer;
}
.sound svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sound .icon-on { display: none; }
.sound.is-on .icon-off { display: none; }
.sound.is-on .icon-on { display: block; }
.work figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding-top: 8px;
  font-size: 13px;
  line-height: 1.3;
}
.work figcaption span:last-child { color: var(--muted); }

.about {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.portrait { margin: 8px 0 0; }
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}
.about h2 { margin-bottom: 18px; }
.marks {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

#contact h2 { max-width: none; }
.contact-lead { max-width: 34rem; margin-top: 18px; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  margin-top: 8px;
}
.contact-actions a,
.contact-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 18px;
  text-underline-offset: 5px;
  cursor: pointer;
}
.contact-actions button { font-size: 14px; color: var(--muted); }
.contact-actions a:hover,
.contact-actions button:hover { color: var(--accent); }
.where {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer { border-top: 1px solid var(--line); }
.footer .bar {
  min-height: 64px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .aims { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .works {
    display: flex;
    gap: 14px;
    margin-right: calc(50% - 50vw);
    padding-right: max(16px, calc(50vw - 50%));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .works::-webkit-scrollbar { display: none; }
  .work {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .bar, main { width: min(var(--max), calc(100% - 32px)); }
  .nav { gap: 2px 12px; font-size: 13px; }
  .hero { padding-top: 32px; }
  .hero-copy p,
  .approach-copy p,
  .about-copy p,
  .contact-lead { font-size: 17px; }
  .section { padding: 48px 0; }
  .aims, .steps { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .hero h1 { font-size: 32px; }
  .about { grid-template-columns: 1fr; gap: 18px; }
  .portrait { width: 148px; margin-top: 0; }
  .work { flex-basis: 68vw; max-width: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
