:root {
  --ink: #1c1916;
  --ink-soft: #3d3832;
  --paper: #f7f4ef;
  --paper-pure: #ffffff;
  --soil: #2c2821;
  --soil-deep: #221f1a;
  --clay: #a0522d;
  --clay-hot: #b85d34;
  --line: rgba(28, 25, 22, 0.12);
  --line-strong: rgba(28, 25, 22, 0.22);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --wrap: min(1120px, calc(100% - 2 * var(--space)));
  --header-h: 4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper-pure);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.75rem, 10vw, 5.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--clay);
  color: white;
  text-decoration: none;
  border-radius: 0.35rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--soil) 92%, transparent);
  backdrop-filter: blur(12px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--soil) 96%, transparent);
}

.site-header__inner {
  width: var(--wrap);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle__label {
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem var(--space) 1.5rem;
  background: var(--soil-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav.is-open {
  display: flex;
}

.nav a {
  text-decoration: none;
  padding: 0.7rem 0.2rem;
  font-weight: 500;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}

.nav__cta {
  color: var(--clay-hot) !important;
  font-weight: 700 !important;
}

/* Hero */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  background:
    radial-gradient(120% 80% at 80% 20%, rgba(160, 82, 45, 0.18), transparent 55%),
    linear-gradient(160deg, var(--soil) 0%, var(--soil-deep) 100%);
  color: #fff;
  overflow: hidden;
}

.hero__media {
  order: -1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 1.5rem;
  max-height: 48svh;
}

.hero__media img {
  width: min(420px, 78vw);
  max-height: 48svh;
  object-fit: contain;
  object-position: bottom center;
  filter: contrast(1.04);
  animation: rise 1s var(--ease) both;
}

.hero__copy {
  padding: 1.5rem var(--space) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: rise 0.9s var(--ease) 0.12s both;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--clay-hot);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero__lead {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

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

.btn--accent {
  background: var(--clay);
  color: #fff;
}

.btn--accent:hover {
  background: var(--clay-hot);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section__head {
  margin-bottom: 2rem;
}

.section__head p {
  color: var(--ink-soft);
  max-width: 36rem;
}

.accent-link {
  color: var(--clay);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.about {
  background: var(--paper);
}

.about__grid {
  display: grid;
  gap: 2rem;
}

.creds {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.creds li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  padding-left: 1rem;
  border-left: 3px solid var(--clay);
}

.about__body {
  color: var(--ink-soft);
  max-width: 40rem;
}

.about__body a {
  color: var(--clay);
  font-weight: 600;
}

.quote {
  margin: 0 0 2.5rem;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 42rem;
  color: var(--ink);
}

.pillars {
  display: grid;
  gap: 1.5rem;
}

.pillar {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.pillar p {
  color: var(--ink-soft);
  margin: 0;
}

.pillar a {
  color: var(--clay);
  font-weight: 600;
}

.pillar strong {
  color: var(--clay);
  font-weight: 700;
}

.publications h2,
.clients h2,
.specialties h2,
.audiovisual h2 {
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-strong);
}

.logo-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.75rem;
  height: 100%;
  padding: 0.35rem;
  text-decoration: none;
  background: transparent;
  overflow: hidden;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.logo-tile--light {
  background: transparent;
  border: 0;
}

.logo-tile img {
  width: 100%;
  height: auto;
  max-height: 5.5rem;
  object-fit: contain;
  border-radius: 0.2rem;
}

.logo-tile:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.audiovisual {
  background: var(--paper);
}

.av-grid {
  display: grid;
  gap: 1.25rem;
}

.av-card {
  padding: 0;
}

.av-card__media {
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 16 / 10;
}

.av-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
}

.av-card p {
  color: var(--ink-soft);
  margin: 0;
}

.services {
  background: var(--paper-pure);
}

.services__grid {
  display: grid;
  gap: 2rem;
}

.services__list {
  display: grid;
  gap: 0;
}

.services__list article {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.services__list article:last-child {
  border-bottom: 1px solid var(--line);
}

.services__list h3 {
  color: var(--clay);
  margin-bottom: 0.55rem;
}

.services__list p {
  margin: 0;
  color: var(--ink-soft);
}

.specialty-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 36rem;
  text-align: center;
  display: grid;
  gap: 0.85rem;
}

.specialty-list li {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--ink-soft);
}

.specialty-list li::before,
.specialty-list li::after {
  content: " · ";
  color: var(--clay);
  font-weight: 700;
}

.client-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.client-list li {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.logo-grid--clients .logo-tile {
  min-height: 6.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.logo-grid--clients .logo-tile img {
  max-height: 4.25rem;
}

.contact {
  background:
    radial-gradient(90% 70% at 10% 90%, rgba(160, 82, 45, 0.22), transparent 50%),
    var(--soil);
  color: #fff;
  min-height: 70svh;
  display: flex;
  align-items: flex-end;
}

.contact__inner {
  padding-bottom: 1rem;
  max-width: 40rem;
}

.contact h2 {
  margin-bottom: 0.5rem;
}

.contact__kicker {
  color: var(--clay-hot);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.contact__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.contact__email {
  display: inline-block;
  color: var(--clay-hot);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  text-underline-offset: 0.2em;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact__actions a {
  color: var(--clay-hot);
  font-weight: 600;
  text-underline-offset: 0.2em;
  width: fit-content;
}

.site-footer {
  background: var(--soil-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 1.25rem 0;
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.1rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav a {
    padding: 0;
    font-size: 0.92rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .hero__media {
    order: 2;
    max-height: none;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0 2vw 0 0;
  }

  .hero__media img {
    width: min(520px, 42vw);
    max-height: calc(100svh - var(--header-h));
  }

  .hero__copy {
    order: 1;
    padding: 4rem clamp(2rem, 5vw, 4.5rem) 4.5rem;
    justify-content: center;
  }

  .about__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 3rem;
  }

  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

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

  .logo-grid--clients {
    gap: 1rem;
  }

  .av-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .services__grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 3rem;
    align-items: start;
  }

  .contact__actions {
    flex-direction: row;
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__media img,
  .hero__copy,
  .btn {
    animation: none;
    transition: none;
  }
}
