:root {
  --ink: #111312;
  --muted: #5c635f;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #d8ded8;
  --mint: #b9f3d1;
  --teal: #036c68;
  --red: #d44732;
  --gold: #edb849;
  --blue: #255fba;
  --shadow: 0 18px 50px rgba(17, 19, 18, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(17, 19, 18, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(3, 108, 104, 0.1);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  column-gap: clamp(30px, 5vw, 78px);
  row-gap: 0;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  min-height: min(860px, calc(100vh - 74px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 68px) 0 clamp(22px, 3vw, 34px);
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.eyebrow,
.section-kicker,
.case-meta {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 740px;
  font-size: clamp(40px, 5.7vw, 72px);
}

h2 {
  font-size: clamp(28px, 3vw, 38px);
}

h3 {
  font-size: clamp(22px, 3vw, 34px);
}

p {
  margin: 0;
}

.hero-intro {
  max-width: 720px;
  margin-top: 24px;
  color: #303633;
  font-size: clamp(18px, 2.2vw, 23px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 19, 18, 0.14);
  outline: none;
}

.impact-strip {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 42px 0 0;
  align-self: start;
}

.impact-strip div {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.impact-strip dt {
  font-size: 22px;
  font-weight: 900;
}

.impact-strip dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-tile,
.gallery button,
.archive-card button,
.mini-grid button,
.press-grid button {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #e7ebe5;
  border: 1px solid rgba(17, 19, 18, 0.12);
  border-radius: var(--radius);
}

.hero-tile img,
.hero-portrait img,
.gallery img,
.archive-card img,
.mini-grid img,
.press-grid img,
.publicity-hero-image img,
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.hero-portrait {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  align-self: center;
}

.hero-portrait img {
  width: min(100%, 430px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 19, 18, 0.12);
  border-radius: var(--radius);
}

.hero-portrait img {
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.lightbox-trigger::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-width: 42px;
  padding: 7px 9px;
  color: #fff;
  background: rgba(17, 19, 18, 0.78);
  border-radius: 999px;
  content: "View";
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.lightbox-trigger:hover img,
.lightbox-trigger:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.03);
}

.lightbox-trigger:hover::after,
.lightbox-trigger:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-trigger:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 110px) 0;
}

.intro-band {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.intro-band .section-kicker {
  color: var(--gold);
}

.intro-band p:not(.section-kicker) {
  color: #d7ddd8;
  font-size: clamp(17px, 2vw, 21px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(25px, 2.25vw, 32px);
  line-height: 1.08;
  white-space: nowrap;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.expertise-grid article {
  min-height: 194px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.expertise-grid h3 {
  font-size: 23px;
}

.expertise-grid p,
.case-copy p,
.archive-card p,
.publicity p:not(.section-kicker),
.about-copy p {
  margin-top: 14px;
  color: var(--muted);
}

.work-section {
  padding-top: 40px;
}

.case-list {
  display: grid;
  gap: 18px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(17, 19, 18, 0.06);
}

.case-study.featured {
  border-color: rgba(3, 108, 104, 0.32);
}

.case-copy {
  align-self: center;
  padding: clamp(10px, 3vw, 24px);
}

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

.tag-list li,
.tool-stack span {
  padding: 7px 10px;
  color: #21342b;
  background: rgba(185, 243, 209, 0.62);
  border: 1px solid rgba(3, 108, 104, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.gallery {
  display: grid;
  min-height: 320px;
  gap: 10px;
}

.gallery.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.gallery.four-up {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(170px, 1fr);
}

.gallery button {
  min-height: 260px;
}

.compact-gallery {
  min-height: 240px;
  align-self: center;
}

.compact-gallery button {
  min-height: 220px;
  max-height: 280px;
}

.compact-gallery img {
  object-fit: contain;
  object-position: center top;
  padding: 4px;
  transform: scale(1.34);
  transform-origin: top center;
  background: #f4f7f3;
}

.miblue-gallery button {
  height: 520px;
  min-height: 520px;
  background: #f4f7f3;
}

.miblue-gallery button:first-child img {
  object-fit: contain;
  padding: 12px;
}

.miblue-gallery button:last-child img {
  object-fit: cover;
  object-position: center top;
}

.archive-section {
  width: 100%;
  max-width: none;
  padding-top: clamp(30px, 4.5vw, 58px);
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  background: #eef4ee;
}

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

.archive-card {
  display: grid;
  grid-template-rows: 250px auto;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.archive-card > div {
  padding: 20px;
}

.publicity {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 62px;
}

.publicity-media {
  display: grid;
  gap: 10px;
}

.mini-grid,
.press-grid,
.video-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mini-grid button {
  display: grid;
  min-height: 150px;
  grid-template-rows: 1fr auto;
  text-align: left;
}

.mini-grid span {
  padding: 10px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

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

.press-grid button {
  min-height: 150px;
}

.publicity-hero-image {
  display: block;
  width: min(100%, 300px);
  min-height: 0;
  margin: 20px 0 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 19, 18, 0.12);
  border-radius: var(--radius);
}

.publicity-hero-image img {
  height: auto;
  object-fit: contain;
  padding: 10px;
}

.publicity h3 {
  font-size: clamp(25px, 2.25vw, 32px);
  line-height: 1.08;
}

.video-links {
  margin-top: 10px;
}

.video-card {
  display: grid;
  min-height: 150px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}

.video-card img {
  width: 100%;
  height: 116px;
  object-fit: cover;
}

.video-card span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 10px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.22;
}

.video-card:hover,
.video-card:focus-visible {
  box-shadow: 0 10px 28px rgba(17, 19, 18, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.82fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding-top: clamp(30px, 4.5vw, 58px);
  padding-bottom: clamp(30px, 4.5vw, 58px);
}

.portrait img {
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  object-fit: cover;
}

.about-copy p {
  font-size: 18px;
}

.tool-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) auto;
  gap: 22px;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin-bottom: 46px;
  padding: clamp(30px, 5vw, 46px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.contact-section .section-kicker {
  color: var(--gold);
}

.contact-section h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  max-width: 820px;
}

.contact-section .button.primary {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
}

.contact-section .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 11, 10, 0.84);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(1100px, 100%);
  max-height: calc(100vh - 84px);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 132px);
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox figcaption {
  margin-top: 12px;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 960px) {
  .hero,
  .case-study,
  .split,
  .publicity,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    row-gap: 30px;
  }

  .hero-copy,
  .hero-portrait,
  .hero > .impact-strip {
    grid-column: 1;
    grid-row: auto;
  }

  .hero > .impact-strip {
    margin-top: 0;
  }

  .hero-tile.large {
    min-height: 320px;
  }

  .impact-strip,
  .expertise-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    white-space: normal;
  }

  .mini-grid,
  .press-grid,
  .video-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    width: min(100% - 28px, var(--max));
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .impact-strip,
  .gallery.two-up,
  .gallery.four-up {
    grid-template-columns: 1fr;
  }

  .hero-tile,
  .hero-tile.large,
  .gallery button {
    min-height: 230px;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 56px 0;
  }

  .intro-band,
  .archive-section {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .case-study {
    padding: 12px;
  }

  .archive-card {
    grid-template-rows: 220px auto;
  }

  .mini-grid,
  .press-grid,
  .video-links {
    grid-template-columns: 1fr;
  }

  .contact-section {
    width: min(100% - 28px, var(--max));
    padding: 26px 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}
