:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #191915;
  --muted: #51514a;
  --line: #d3d0c6;
  --accent: #7146d7;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
a:hover { color: var(--accent); }
p, h1, h2, h3, figure { margin: 0; }
img, video { display: block; width: 100%; }
.shell { width: min(1280px, calc(100% - 104px)); margin-inline: auto; }
.header { display: flex; align-items: center; justify-content: space-between; min-height: 80px; border-bottom: 1px solid var(--line); }
.logo { font-size: 27px; font-weight: 750; letter-spacing: -.075em; }
.logo span, h1 span { color: var(--accent); }
nav { display: flex; gap: 30px; font-size: 15px; }
.intro { display: grid; grid-template-columns: 1fr minmax(200px, 280px); gap: 24px; align-items: end; padding-block: 70px 78px; }
h1 { font-size: clamp(62px, 9.6vw, 145px); line-height: .9; letter-spacing: -.085em; font-weight: 750; }
.intro p { font-size: 19px; line-height: 1.45; padding-bottom: 5px; color: var(--muted); max-width: 28ch; }
.section-heading { border-top: 1px solid var(--line); padding-block: 17px 24px; }
.section-heading h2 { font-size: 17px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
.card { display: block; min-width: 0; }
.cover { overflow: hidden; border-radius: 12px; }
.card .cover { aspect-ratio: 1.65; }
.purple { background: #63249b; }
.green { background: #505956; }
.gold { background: #25211b; }
.orange { background: #b23622; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.card .cover img { transition: transform .3s ease; }
.card:hover img { transform: scale(1.035); }
.card .gold img { object-position: center 39%; }
.card-caption { padding-top: 13px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.card-caption h3 { font-size: clamp(25px, 3vw, 37px); letter-spacing: -.055em; }
.card-caption p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.arrow { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; }
.card:hover .arrow { background: var(--ink); color: var(--paper); }
.footer { border-top: 1px solid var(--line); margin-top: 76px; padding-block: 30px 50px; display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.footer h2 { font-size: clamp(30px, 5vw, 60px); letter-spacing: -.065em; }
.contact { display: flex; flex-wrap: wrap; gap: 13px 22px; padding-bottom: 5px; }
.contact a, .case-links a { text-decoration: underline; text-underline-offset: .25em; }
.eyebrow, .back { font-size: 15px; color: var(--muted); }
.case { max-width: 1100px; }
.back { display: inline-block; margin-block: 31px; }
.case-title { display: grid; gap: 12px; padding-bottom: 25px; }
.case-title h1 { font-size: clamp(55px, 9vw, 112px); overflow-wrap: anywhere; }
.case-cover { aspect-ratio: 2; }
.case-cover.gold img { object-position: center 36%; }
.case-details { display: grid; grid-template-columns: 1fr 1.35fr; gap: 36px; margin-block: 44px 52px; }
.case h2 { font-size: clamp(26px, 4vw, 42px); line-height: 1.1; letter-spacing: -.05em; margin-bottom: 16px; }
.case-details p, .case-details li, .idea p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.case-details ul { margin: 0; padding-left: 1.1em; }
.case-details li + li { margin-top: 8px; }
.section { margin-top: 48px; }
.section img, video { border-radius: 10px; }
.section video { background: #111; max-height: 70vh; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; align-items: start; }
.gallery.ads { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case figure img { height: auto; max-height: 550px; width: auto; max-width: 100%; }
figcaption { padding-top: 11px; display: grid; gap: 4px; }
figcaption span { color: var(--muted); font-size: 14px; }
.idea { margin-top: 42px; padding: 24px; background: #eae4f7; border-radius: 10px; }
.idea p { max-width: 70ch; }
.case-links { margin-top: 38px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .intro { grid-template-columns: 1fr; padding-block: 52px 45px; }
  .intro p { font-size: 17px; }
  .footer { align-items: flex-start; flex-direction: column; margin-top: 52px; }
}
@media (max-width: 540px) {
  .header { min-height: 65px; }
  nav { gap: 17px; }
  .grid, .case-details, .gallery.ads { grid-template-columns: 1fr; }
  .grid { gap: 27px; }
  .case-details { gap: 27px; margin-block: 30px 38px; }
  .case-cover { aspect-ratio: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  .card .cover img { transition: none; }
}
