@font-face {
  font-family: "Archivo Black";
  src: url("assets/fonts/archivo-black.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "League Spartan";
  src: url("assets/fonts/league-spartan.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Josefin Sans";
  src: url("assets/fonts/josefin-sans.ttf") format("truetype");
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --paper: #f3f1ec;
  --ink: #242226;
  --purple: #57006c;
  --violet: #6d59d9;
  --line: rgba(36, 34, 38, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "League Spartan", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }

.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(255,255,255,.35);
  color: white;
}

.brand {
  width: 46px;
  height: 48px;
  display: block;
}

.brand img { width: 100%; height: 100%; display: block; object-fit: contain; }

.desktop-nav { display: flex; gap: 34px; }

.desktop-nav a,
.header-cta {
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a:hover { opacity: .6; }

.header-cta { justify-self: end; display: flex; gap: 22px; }

.menu-toggle,
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: white;
  background: #161218;
}

.hero-media,
.hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(24,8,30,.83) 0%, rgba(46,8,57,.55) 52%, rgba(0,0,0,.2) 100%),
    linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 4vw 112px;
}

.hero-kicker,
.section-label,
.hero-tags,
.work-filters {
  font-family: "Josefin Sans", Arial, sans-serif;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0 0 28px;
  font-size: 13px;
  letter-spacing: .08em;
}

.hero h1 {
  max-width: 1100px;
  margin: 0;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(72px, 9.6vw, 150px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 2px white;
}

.hero-bottom {
  max-width: 960px;
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-bottom > p {
  max-width: 540px;
  margin: 0;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.1;
}

.pill-cta {
  min-width: 220px;
  display: flex;
  justify-content: space-between;
  padding: 15px 20px 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), #a54c8b);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-tags {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 28px;
  display: flex;
  gap: 7px;
}

.hero-tags span,
.work-filters span {
  padding: 8px 13px 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .04em;
}

.agency,
.work {
  padding: clamp(82px, 9vw, 140px) 4vw;
}

.work {
  padding-bottom: 24px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .06em;
}

.section-label span { opacity: .5; }
.section-label p { margin: 0; }
.section-label.light { color: white; }

.agency h2,
.service-heading h2,
.work-heading h2,
.contact h2 {
  margin: 64px 0 0;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(58px, 7.5vw, 116px);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.agency h2 span,
.service-heading h2 span,
.work-heading h2 span,
.contact h2 span {
  color: transparent;
  -webkit-text-stroke: 2px currentColor;
}

.agency-copy {
  width: 67%;
  margin: 90px 0 0 auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 8vw;
}

.agency-copy p { margin: 0; }

.agency-lead {
  font-size: clamp(28px, 3vw, 46px);
  line-height: .98;
}

.agency-detail {
  display: flex;
  flex-direction: column;
  gap: 34px;
  font-size: 18px;
  line-height: 1.15;
}

.agency-detail a {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.service-section {
  padding: clamp(76px, 8vw, 120px) 4vw 4vw;
  background: #1d1b1f;
  color: white;
}

.service-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
}

.service-heading h2 { margin: 0; }

.service-cards {
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.service-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #333;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform .7s ease, filter .35s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.85));
}

.service-card:hover img { transform: scale(1.035); filter: grayscale(0); }

.service-card-copy {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
}

.service-card-copy span {
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 12px;
}

.service-card-copy h3 {
  margin: 0;
  font-family: "Archivo Black", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 400;
  line-height: .9;
  text-transform: uppercase;
}

.service-card-copy p {
  grid-column: 2;
  max-width: 32ch;
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 1.08;
}

.capability-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.capability-band > div {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 4vw;
  border-right: 1px solid var(--line);
}

.capability-band > div:last-child { border-right: 0; }
.capability-band span { font-family: "Josefin Sans", Arial, sans-serif; font-size: 12px; opacity: .5; }
.capability-band p { margin: 0; font-family: "Archivo Black", Arial, sans-serif; font-size: clamp(24px, 2.5vw, 38px); text-transform: uppercase; }

.work-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: start;
}

.work-heading h2 { margin: 0; }

.work-filters {
  grid-column: 2;
  margin-top: 42px;
  display: flex;
  gap: 7px;
}

.work-filters span:first-child { background: var(--purple); color: white; border-color: var(--purple); }

.work-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.work-card {
  position: relative;
  min-height: 520px;
  grid-column: span 5;
  overflow: hidden;
  background: #ccc;
}

.work-card.wide { grid-column: span 7; }

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform .7s ease, filter .35s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75));
}

.work-card:hover img { transform: scale(1.035); filter: grayscale(0); }

.work-card > div {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: white;
}

.work-card h3 { margin: 0; font-family: "Archivo Black", Arial, sans-serif; font-size: clamp(32px, 3.5vw, 54px); font-weight: 400; text-transform: uppercase; }
.work-card p { max-width: 120px; margin: 0; font-family: "Josefin Sans", Arial, sans-serif; font-size: 12px; text-align: right; text-transform: uppercase; }

.contact {
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  padding: clamp(72px, 8vw, 120px) 4vw 34px;
  background: var(--purple);
  color: white;
}

.contact h2 { margin-top: auto; }

.contact-bottom {
  margin-top: 70px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.contact-bottom a {
  display: flex;
  gap: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid white;
  font-size: clamp(22px, 2.3vw, 36px);
  text-decoration: none;
}

.contact-bottom p { margin: 0; font-family: "Josefin Sans", Arial, sans-serif; font-size: 12px; text-transform: uppercase; }

.footer {
  min-height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 4vw;
  background: #151316;
  color: white;
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
}

.footer img { width: 48px; height: 50px; object-fit: contain; }
.footer p { margin: 0; }
.footer p:last-child { justify-self: end; }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }

  .menu-toggle {
    position: relative;
    z-index: 22;
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span { width: 30px; height: 2px; display: block; background: white; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    z-index: 21;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px 6vw 40px;
    background: var(--purple);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .mobile-menu a { font-family: "Archivo Black", Arial, sans-serif; font-size: clamp(44px, 10vw, 80px); line-height: 1.05; text-decoration: none; text-transform: uppercase; }

  .agency-copy { width: 100%; grid-template-columns: 1fr 1fr; }
  .service-heading, .work-heading { grid-template-columns: 1fr; gap: 44px; }
  .work-filters { grid-column: 1; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card { min-height: 580px; }
  .work-card, .work-card.wide { grid-column: span 6; }
}

@media (max-width: 620px) {
  .topbar { height: 66px; padding-inline: 18px; }
  .brand { width: 40px; height: 42px; }

  .hero-content { padding: 0 18px 112px; }
  .hero h1 { font-size: 18vw; }
  .hero-kicker { font-size: 10px; }
  .hero-bottom { align-items: stretch; flex-direction: column; gap: 28px; margin-top: 30px; }
  .hero-bottom > p { font-size: 18px; }
  .pill-cta { min-width: 0; width: 100%; }
  .hero-tags { left: 18px; right: 18px; bottom: 24px; flex-wrap: wrap; }
  .hero-tags span { font-size: 9px; }

  .agency, .work { padding: 64px 18px; }
  .work { padding-bottom: 18px; }
  .agency h2, .service-heading h2, .work-heading h2, .contact h2 { margin-top: 42px; font-size: 14vw; }
  .work-heading { min-width: 0; }
  .work-heading h2 { min-width: 0; font-size: 12vw; }
  .agency-copy { margin-top: 54px; grid-template-columns: 1fr; gap: 42px; }
  .agency-lead { font-size: 28px; }

  .service-section { padding: 64px 18px 18px; }
  .service-heading { gap: 0; }
  .service-cards { margin-top: 52px; gap: 8px; }
  .service-card { min-height: 460px; }

  .capability-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-band > div { min-width: 0; min-height: 120px; padding: 18px; }
  .capability-band p { font-size: 20px; }
  .capability-band > div:nth-child(2) { border-right: 0; }
  .capability-band > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .work-heading { gap: 0; }
  .work-filters { margin-top: 32px; flex-wrap: wrap; }
  .work-grid { margin-top: 42px; gap: 8px; }
  .work-card, .work-card.wide { min-height: 380px; grid-column: 1 / -1; }

  .contact { min-height: 620px; padding: 64px 18px 24px; }
  .contact-bottom { align-items: stretch; flex-direction: column; margin-top: 50px; }
  .contact-bottom a { gap: 12px; font-size: 18px; }

  .footer { grid-template-columns: auto 1fr; gap: 18px; padding-inline: 18px; }
  .footer p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media { display: none; }
  .service-card img, .work-card img, .menu-toggle span, .mobile-menu { transition: none; }
}
