:root {
  --bg: #f3efe8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --ink: #121212;
  --muted: #5d5b57;
  --line: rgba(18, 18, 18, 0.09);
  --line-strong: rgba(18, 18, 18, 0.16);
  --white: #ffffff;
  --black: #0f0f0f;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 16px 34px rgba(0, 0, 0, 0.05);
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: 'Montserrat', system-ui, sans-serif;
  background: linear-gradient(180deg, #f7f4ee 0%, #f0ebe3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(18, 18, 18, 0.022) 0.8px, transparent 0.8px);
  background-size: 8px 8px;
  opacity: 0.35;
}

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

.site-frame {
  position: relative;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0;
  background: rgba(247, 244, 238, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 18, 18, 0.05);
}

.brand img {
  width: 190px;
  filter: brightness(0);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a,
.footer-links a {
  font-size: 0.93rem;
  color: var(--muted);
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 42px 0 72px;
}

.eyebrow,
.section-kicker,
.card-kicker,
.archive-meta,
.fallback-copy span,
.footer-note {
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a675f;
}

h1,
h2,
h3,
.fallback-copy strong {
  margin: 0;
  font-family: 'Roboto', system-ui, sans-serif;
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3.4rem, 9vw, 6.3rem);
  max-width: 8.7ch;
}

.hero-text,
.section-text p,
.service-card p,
.footer-note,
.archive-controls .single-line {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 50ch;
  margin-top: 24px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--black); color: var(--white); }
.button-light { background: rgba(255,255,255,0.5); border-color: var(--line-strong); }

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-notes span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.52);
  color: #4f4d49;
  font-size: 0.82rem;
}

.hero-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #111;
  box-shadow: var(--shadow-lg);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section {
  padding: 96px 0;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
}

.section-topless { border-top: none; }

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 38px;
  align-items: start;
}

.compact-head { margin-bottom: 30px; }
.centered-head { text-align: center; }
.centered-head h2 { max-width: none; }
.clients-section .compact-head { margin-bottom: 24px; }

.section h2,
.site-footer h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 11ch;
}

.section-text {
  display: grid;
  gap: 16px;
  max-width: 64ch;
}

.service-grid,
.archive-grid,
.client-logo-grid {
  display: grid;
  gap: 22px;
}

.service-grid,
.client-logo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.archive-card,
.client-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.service-card,
.client-card {
  padding: 30px;
}

.service-card h3,
.archive-card h3 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.campaign-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 132px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(18, 18, 18, 0.06);
}

.campaign-logo {
  width: min(100%, 230px);
  max-height: 72px;
  object-fit: contain;
}

.worten-logo { max-height: 66px; }
.disa-logo { max-height: 70px; }
.fred-logo { max-height: 58px; }

.archive-top { margin-bottom: 36px; }
.archive-controls { display: grid; gap: 18px; justify-items: start; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }

.filter {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.58);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter.active,
.filter:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-card {
  overflow: hidden;
}

.archive-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #171717;
}

.archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-image-soft {
  background: #d9d3c8;
}

.archive-content { padding: 20px 24px 24px; }
.archive-content h3 { margin: 0; font-size: 1.9rem; }

.fallback-image::before,
.fallback-image::after {
  content: "";
  position: absolute;
  inset: 0;
}

.fallback-image::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.18), transparent 24%),
    radial-gradient(circle at 82% 26%, rgba(255,255,255,0.12), transparent 20%),
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  mix-blend-mode: screen;
}

.fallback-image::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.58) 100%);
}

.warm-1 { background: linear-gradient(135deg, #241714 0%, #6d473b 48%, #b98a64 100%); }

.fallback-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
}

.fallback-copy span,
.fallback-copy strong {
  color: var(--white);
}

.fallback-copy strong {
  display: block;
  font-size: 1.62rem;
  line-height: 1.02;
}

.light { color: var(--white); }
.site-footer {
  margin: 38px 0 32px;
  padding: 48px 42px;
  border-radius: var(--radius-xl);
  background: #0f0f0f;
  color: var(--white);
}

.site-footer .section-kicker,
.site-footer .footer-note,
.site-footer .footer-links a {
  color: rgba(255,255,255,0.76);
}


.footer-email {
  margin: 14px 0 0;
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.footer-email a {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.footer-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.24);
}

@media (max-width: 1100px) {
  .hero,
  .split-head,
  .service-grid,
  .client-logo-grid,
  .archive-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .split-head {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }
}

@media (max-width: 760px) {
  .site-frame {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .brand img { width: 168px; }

  .hero {
    gap: 28px;
    padding-bottom: 56px;
  }

  .section {
    padding: 74px 0;
  }

  .service-grid,
  .client-logo-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .section h2,
  .site-footer h2 {
    max-width: none;
  }

  .site-footer {
    padding: 34px 22px;
    border-radius: 24px;
  }
}
