:root {
  --bg: #fafaf8;
  --text: #111111;
  --muted: #5c5c5c;
  --rule: #dcdcd6;
  --accent: #111111;
  --max: 1080px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.site-name { font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0 80px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.tags { margin-top: 24px; font-size: .95rem; font-weight: 500; letter-spacing: .01em; }
.hero-img img { border-radius: 4px; width: 100%; object-fit: cover; }

/* Section labels */
.eyebrow {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Project list */
.projects { list-style: none; border-top: 1px solid var(--rule); }
.projects li { border-bottom: 1px solid var(--rule); }
.projects a {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  text-decoration: none;
  transition: padding-left .2s;
}
.projects a:hover { padding-left: 12px; }
.projects h3 { font-size: 1.5rem; letter-spacing: -0.02em; font-weight: 700; }
.projects p { color: var(--muted); }
.projects .arrow { white-space: nowrap; font-weight: 500; }

.more { display: inline-block; margin-top: 28px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Page intro */
.page-intro { padding: 64px 0 48px; max-width: 720px; }
.page-intro h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.page-intro p { color: var(--muted); font-size: 1.1rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; padding: 32px 0 64px; align-items: start; }
.about img { border-radius: 4px; }
.about h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 16px; }
.about h3 { font-size: 1.15rem; margin: 36px 0 10px; }
.about p + p { margin-top: 16px; }
.about .links { margin-top: 20px; font-weight: 500; }
.about .links a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* Case study */
.case-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; padding: 56px 0 48px; border-bottom: 1px solid var(--rule); }
.case-head .meta { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.case-head h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.035em; margin-bottom: 14px; }
.case-head .client { font-size: 1.15rem; }
.case-head .note { font-style: italic; color: var(--muted); font-size: .95rem; }
.case-head .art { display: flex; gap: 16px; justify-content: flex-end; }
.case-head .art img { max-height: 240px; width: auto; }

.case-body { max-width: 760px; padding: 48px 0 32px; }
.case-body section { margin-bottom: 48px; }
.case-body h2 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.case-body h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.case-body p + p, .case-body p + ul, .case-body ul + p, .case-body p + ol { margin-top: 12px; }
.case-body ul, .case-body ol { padding-left: 1.3em; }
.case-body li { margin: 6px 0; }
.case-body li ul { margin-top: 6px; }

.impact { list-style: none; padding: 0 !important; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.impact li { padding: 14px 0; border-bottom: 1px solid var(--rule); margin: 0 !important; }

blockquote {
  border-left: 3px solid var(--text);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-size: 1.15rem;
  line-height: 1.55;
}
.quote-by { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.quote-by img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote-by strong { display: block; }
.quote-by span { color: var(--muted); font-size: .95rem; }

.gallery { display: grid; gap: 48px; padding: 16px 0 48px; }
.gallery figure { margin: 0; }
.gallery img { border: 1px solid var(--rule); border-radius: 4px; width: 100%; }
.gallery figcaption { margin-top: 12px; }
.gallery figcaption strong { display: block; }
.gallery figcaption span { color: var(--muted); }

/* Footer CTA */
.cta { padding: 72px 0 56px; border-top: 1px solid var(--rule); margin-top: 48px; text-align: center; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-2px); }
.site-footer { padding: 24px 0 40px; color: var(--muted); font-size: .85rem; text-align: center; }

@media (max-width: 760px) {
  .hero, .about, .case-head { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 32px 0 56px; }
  .case-head .art { justify-content: flex-start; }
  .projects a { grid-template-columns: 1fr; gap: 8px; }
  .site-nav { gap: 20px; }
}
.impact li ul { list-style: disc; padding-left: 1.3em !important; margin-top: 8px; }
.impact li li { padding: 2px 0; border: none; }
