:root {
  --bg: #f6f1e8;
  --panel: #fffdf7;
  --text: #17211c;
  --text-muted: #637067;
  --accent: #2f7d5a;
  --accent-soft: rgba(47, 125, 90, 0.1);
  --border: rgba(23, 33, 28, 0.14);
  --border-accent: rgba(47, 125, 90, 0.22);
  --radius-lg: 28px;
  --radius-xl: 34px;
  --font-sans: "Atkinson Hyperlegible", sans-serif;
  --font-serif: "Source Serif 4", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
}

h1, h2, h3, p, ul {
  margin: 0;
}

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

a {
  color: inherit;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.btn-primary {
  background: var(--text);
  color: var(--panel);
}

.btn-outline {
  background: rgba(255, 253, 247, 0.72);
  border-color: var(--border);
  color: var(--text);
}

.btn-light {
  background: var(--panel);
  color: var(--text);
}

/* ===== Top bar ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 0;
}

.name {
  font-weight: 700;
  font-size: 14px;
}

.section-links {
  display: flex;
  gap: 20px;
}

.section-links a {
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.section-links a:hover {
  color: var(--accent);
}

/* ===== Intro ===== */
.intro-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 36px;
  padding: 48px 0 64px;
}

.label,
.panel-label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.positioning {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.headline {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.summary {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.snapshot-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 25px 28px;
  box-shadow: 0 12px 40px rgba(23, 33, 28, 0.06);
  align-self: center;
}

.focus-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 24px;
}

.focus-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  color: var(--text);
}

.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ===== Section heading ===== */
.section-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 32px;
  padding: 0 0 16px;
}

.section-heading h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading-stacked {
  grid-template-columns: 1fr;
  gap: 10px;
}

.work {
  padding-bottom: 32px;
}

/* ===== Case studies ===== */
.case-study-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.case-study {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 28px;
}

.case-media {
  grid-row: span 1;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 22px;
  overflow: hidden;
  background: #121b16;
  aspect-ratio: 340 / 240;
}

.case-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-visual {
  min-width: 0;
}

.media-note {
  margin-top: 9px;
  padding: 0 4px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  font-style: italic;
}

.case-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-text h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.case-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.tags {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  background: linear-gradient(135deg, rgba(47, 125, 90, 0.14) 0%, rgba(23, 33, 28, 0.06) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(47, 125, 90, 0.14) 0%, rgba(23, 33, 28, 0.06) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 20px 18px;
}

.insight > div {
  flex: 1;
  min-width: 0;
}

.icon-insight {
  order: 2;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 10px;
  margin-left: auto;
  color: #fffdf7;
  background: var(--accent);
  border-radius: 999px;
}

.insight p:last-child {
  font-size: 16px;
  color: var(--text);
}

/* ===== Independent project comparison ===== */
.comparison {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.comparison-before {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.media-action {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.comparison-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.comparison-thumbs {
  display: flex;
  gap: 8px;
}

.comparison-thumbs a {
  display: block;
  width: 112px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Contact ===== */
.contact {
  padding: 32px 0 56px;
}

.contact-panel {
  background: var(--text);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.contact-copy h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.015em;
  color: var(--panel);
}

.contact-copy p {
  color: rgba(255, 253, 247, 0.76);
  font-size: 16px;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.btn-contact-outline {
  background: transparent;
  border-color: rgba(255, 253, 247, 0.36);
  color: var(--panel);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 780px) {
  .intro-content,
  .section-heading,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .case-study {
    grid-template-columns: 1fr;
  }

  .headline {
    font-size: 32px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .comparison {
    align-items: flex-start;
  }
}

/* ===== Snapshot footer ===== */
.snapshot-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.snapshot-panel {
  padding: 25px 28px 32px;
}






/* ===== Impact callout ===== */
.impact-callout {
  grid-column: 1 / -1;
  width: 100%;
  margin: 4px 0 14px;
  padding: 0 0 0 15px;
  border-left: 4px solid #8f3b3b;
}

.impact-label {
  margin: 0 0 4px;
  color: #8f3b3b;
}

.impact-metric {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
}

.impact-metric strong {
  font-weight: 700;
  font-size: inherit;
  line-height: inherit;
}


.quote-attribution {
  font-size: 0.9em;
  color: var(--text-muted);
  font-style: italic;
}


.impact-metric p {
  margin: 0;
}

.impact-metric p + p {
  margin-top: 14px;
}
