:root {
  color-scheme: light;
  --ink: #20201e;
  --muted: #77756f;
  --line: #deddd8;
  --paper: #fff;
  --placeholder: #e9e8e4;
  --accent: #a24b36;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 7.2%;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.site-header {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.wordmark { font-weight: 700; text-decoration: none; }
.site-header nav { display: flex; gap: 27px; }
.site-header nav a, .site-footer a { text-decoration: none; }

.intro { padding: clamp(76px, 12vw, 158px) 0 120px; }
.eyebrow, .project-number, .section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 25px 0 23px;
  font-size: clamp(48px, 7.8vw, 96px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .98;
}
h1 span { color: #77756f; }
.intro-copy { max-width: 370px; margin-bottom: 28px; color: #55534e; font-size: 17px; }
.text-link { display: inline-block; font-size: 13px; text-decoration: none; }
.text-link span { margin-left: 5px; color: var(--accent); }

.section-rule { border-top: 1px solid var(--line); }
.work { padding: 28px 0 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 34px; }
.section-heading h2, .case-heading h2 { margin-bottom: 0; font-size: 22px; font-weight: 500; letter-spacing: -.035em; }
.project-card + .project-card { margin-top: 88px; }
.project-image-link { display: block; }
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--placeholder);
  color: #77756f;
  text-align: center;
  font-size: 12px;
}
.image-placeholder span { padding: 12px; }
.project-image { width: 100%; aspect-ratio: 1.72 / 1; }
.pet-cover { background: #eeede9; }
.project-details { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-top: 19px; }
.project-number { margin-bottom: 7px; }
.project-details h3 { margin-bottom: 3px; font-size: 21px; font-weight: 500; letter-spacing: -.035em; }
.project-type { margin: 0; color: var(--muted); font-size: 12px; }
.project-details > .text-link { flex: none; margin-bottom: 3px; }
.project-description { max-width: 580px; margin: 18px 0 0; color: #55534e; font-size: 14px; }

.case-study { display: grid; grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.5fr); gap: 9%; padding: 76px 0 98px; scroll-margin-top: 18px; }
.case-heading { align-self: start; }
.case-heading .eyebrow { margin-bottom: 14px; }
.case-heading h2 { margin-bottom: 5px; font-size: 28px; }
.case-content { min-width: 0; display: grid; gap: 26px; }
.case-image { width: 100%; aspect-ratio: 1.5 / 1; }
.case-copy { max-width: 560px; padding: 3px 0 11px; }
.case-copy h3 { margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.case-copy p { max-width: 540px; margin: 0; color: #55534e; font-size: 14px; }
.case-copy-last { padding-bottom: 0; }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.image-pair .case-image { aspect-ratio: 1 / 1; }
.monochrome { background: #d4d3cf; color: #5e5c57; }
.mockup-placeholder { aspect-ratio: 1.75 / 1; background: #eeede9; }

.about, .contact { display: grid; grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.5fr); gap: 9%; padding: 29px 0 72px; }
.about .section-heading, .contact .section-heading { margin: 0; }
.about-copy { max-width: 530px; }
.about-copy p { margin: 0 0 12px; color: #55534e; }
.contact { padding-bottom: 82px; }
.contact-copy p { margin-bottom: 5px; color: var(--muted); font-size: 13px; }
.email-link { font-size: 19px; text-decoration-color: var(--line); }
.site-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 18px 0 24px; color: var(--muted); font-size: 11px; }
.site-footer p { margin: 0; }

@media (max-width: 700px) {
  body { padding-right: 6%; padding-left: 6%; font-size: 14px; }
  .site-header { min-height: 60px; }
  .site-header nav { gap: 16px; }
  .intro { padding: 82px 0 86px; }
  .intro-copy { max-width: 320px; font-size: 16px; }
  .work { padding-bottom: 76px; }
  .project-card + .project-card { margin-top: 64px; }
  .project-image { aspect-ratio: 1.2 / 1; }
  .project-details { align-items: start; flex-direction: column; gap: 13px; }
  .project-details h3 { font-size: 19px; }
  .case-study { grid-template-columns: 1fr; gap: 28px; padding: 54px 0 70px; }
  .case-heading { position: static; }
  .case-heading h2 { font-size: 25px; }
  .case-content { gap: 20px; }
  .case-image { aspect-ratio: 1.22 / 1; }
  .image-pair { gap: 10px; }
  .image-pair .case-image { aspect-ratio: .92 / 1; font-size: 11px; }
  .about, .contact { grid-template-columns: 1fr; gap: 18px; padding: 26px 0 54px; }
  .contact { padding-bottom: 64px; }
}

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