:root {
  --color-bg: #f2f2f2;
  --color-text: #1D1D1B;
  --color-red: #DC002E;
  --color-red-hover: #a90023;
  --color-muted: #555555;
  --color-footer-bg: #e5e5e5;
  --color-border: rgba(0, 0, 0, 0.1);
  --max-width: 720px;
  --header-height: 70px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1D1D1B;
    --color-text: #ffffff;
    --color-muted: #989799;
    --color-border: rgba(255, 255, 255, 0.1);
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "proxima-nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Header ─────────────────────────────────────── */

.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
}

.site-header__logo-link:hover {
  opacity: 0.85;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.site-nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--color-red);
  text-decoration: none;
}

.site-nav__link[aria-current="page"] {
  color: var(--color-red);
}

.header-logo {
  height: 18px;
  width: auto;
  display: block;
  fill: currentColor;
}

/* ─── Main / Content ─────────────────────────────── */

main {
  padding: 4rem 1.25rem 2rem;
}

.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ─── Hero logo (large, in content area) ─────────── */

.hero-logo-wrap {
  margin-bottom: 3rem;
}

.hero-logo {
  height: 36px;
  width: auto;
  display: block;
  fill: currentColor;
  color: var(--color-text);
}

/* ─── Typography ─────────────────────────────────── */

h1 {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--color-red);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.45;
  margin-bottom: 2.5rem;
}

/* ─── Links ──────────────────────────────────────── */

a {
  color: var(--color-red);
  text-decoration: none;
}

a:hover {
  color: var(--color-red-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ─── Button ─────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--color-red);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: inherit;
  padding: 0.75rem 2rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-top: 2.5rem;
  transition: background 0.2s ease;
  border-radius: 0;
}

.btn-primary:hover {
  background: var(--color-red-hover);
  color: #ffffff;
  text-decoration: none;
}

.btn-primary:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* ─── Footer ─────────────────────────────────────── */

.site-footer {
  background: #f5f5f5;
  padding: 2.5rem 1.5rem 0;
  margin-top: 3rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-address-block {
  font-style: normal;
}

.footer-address-block p,
.footer-address-block a {
  display: block;
  color: var(--color-red);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0;
  text-decoration: none;
}

.footer-address-block a:hover {
  color: var(--color-red-hover);
  text-decoration: underline;
}

.footer-address-block .address-city {
  font-weight: 500;
  color: var(--color-red);
  margin-bottom: 0;
}

.footer-address-block .address-gap {
  margin-top: 0.75rem;
}

.footer-copyright {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
}

.footer-copyright p {
  color: #555555;
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
  line-height: 1.6;
}

/* ─── Hero image (Doctored Truths) ───────────────── */

.hero-image-wrap {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  max-height: 70vh;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}


/* ─── Brevo form wrapper ─────────────────────────── */

.form-wrap {
  margin: 0 auto;
  max-width: var(--max-width);
  padding-top: 3.5rem;
  padding-bottom: 1rem;
}

/* ─── SVG logo paths (suppress inherited stroke) ─── */

.header-logo path,
.hero-logo path {
  stroke-width: 0;
}

/* ─── Desktop overrides ──────────────────────────── */

@media (min-width: 768px) {
  main {
    padding: 5rem 2rem 3rem;
  }

  h1 {
    font-size: 2.375rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .tagline {
    font-size: 1.375rem;
  }

  .hero-logo {
    height: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .site-header {
    padding: 0 2.5rem;
  }

  .site-footer {
    padding: 4rem 2.5rem 0;
    margin-top: 5rem;
  }
}

@media (min-width: 1024px) {
  .header-logo {
    height: 20px;
  }
}

/* ─── Our Work grid ──────────────────────────────── */

.work-main {
  padding: 0;
  margin: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-border);
}

@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ─── Work card ──────────────────────────────────── */

.work-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #1D1D1B;
  display: block;
  text-decoration: none;
}

.work-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover .work-card__image,
.work-card:focus-visible .work-card__image {
  transform: scale(1.04);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 27, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-card:hover .work-card__overlay,
.work-card:focus-visible .work-card__overlay {
  opacity: 1;
}

.work-card__title {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 0.35rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.work-card__tag {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
}

.work-card:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {

  .work-card__image,
  .work-card__overlay {
    transition: none;
  }
}

/* ─── Case study campaign images ─────────────────── */

.case-figure {
  margin: 2rem 0;
  line-height: 0;
}

.case-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Case study page ────────────────────────────── */

.case-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  text-decoration: none;
  margin-bottom: 2.5rem;
}

.case-back:hover {
  color: var(--color-red);
  text-decoration: none;
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.case-meta__tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
}

.case-meta__year {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.case-lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}