:root {
  --black: #050505;
  --ink: #111111;
  --charcoal: #2a2a2a;
  --muted: #686868;
  --line: #d8d8d8;
  --soft: #f5f5f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px clamp(20px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 300;
  letter-spacing: 0.12em;
}

.mark-brand {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 6vw, 78px) clamp(20px, 5vw, 76px);
  border-bottom: 1px solid var(--black);
}

.home-hero {
  background: var(--white);
}

.home-hero h1 {
  color: var(--black);
}

.hero-kicker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.hero-kicker span,
.hero-kicker a {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--black);
  border-right: 1px solid var(--black);
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 400;
  letter-spacing: 0.095em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-kicker span:last-child,
.hero-kicker a:last-child {
  border-right: 0;
}

.hero-kicker a:hover {
  color: var(--white);
  background: var(--black);
}

.page-kicker {
  margin: 24px clamp(20px, 5vw, 76px) 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.32fr) minmax(260px, 0.68fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
  padding-top: clamp(60px, 10vw, 150px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--charcoal);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p,
li,
.agency-list a,
.agency-list .text-item,
.site-footer {
  letter-spacing: 0.01em;
  line-height: 1.65;
}

h1,
h2 {
  margin-bottom: 0;
  font-weight: 100;
  letter-spacing: 0.105em;
  line-height: 1.08;
}

h1 {
  max-width: 1180px;
  font-size: clamp(46px, 7vw, 104px);
  text-transform: uppercase;
}

.hero-copy {
  max-width: 480px;
  padding-bottom: 10px;
}

.hero-copy p {
  margin-bottom: 26px;
  color: var(--charcoal);
  font-size: clamp(17px, 1.8vw, 22px);
  letter-spacing: 0.015em;
  line-height: 1.65;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button.light {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.statement {
  padding: clamp(82px, 11vw, 158px) clamp(20px, 8vw, 128px);
  background: var(--black);
}

.statement p {
  max-width: 1040px;
  margin: 0;
  color: var(--white);
  font-size: clamp(24px, 3.1vw, 46px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.14;
  text-transform: uppercase;
}

.work,
.services,
.process,
.contact {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 76px);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 86px);
  align-items: end;
  margin-bottom: 30px;
}

.section-title h2,
.process h2,
.contact h2 {
  max-width: 980px;
  font-size: clamp(40px, 5.2vw, 82px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.logo-grid a {
  min-height: clamp(190px, 20vw, 290px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(22px, 3vw, 38px);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--white);
  transition: color 180ms ease, background 180ms ease;
}

.logo-grid a:hover {
  color: var(--white);
  background: var(--black);
}

.logo-grid span {
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.logo-grid small {
  color: var(--black);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-grid a:hover small {
  color: #cfcfcf;
}

.service-list span {
  display: block;
  margin-bottom: 16px;
  color: var(--black);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services {
  background: var(--soft);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.service-list article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--white);
}

.service-list h3 {
  margin-bottom: 14px;
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.service-list p {
  margin-bottom: 0;
  color: #262626;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

.process {
  border-top: 1px solid var(--black);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

.process-steps {
  display: grid;
  gap: 18px;
  padding-top: 10px;
}

.process-steps p {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: #1f1f1f;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

.contact {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: var(--black);
  color: var(--white);
}

.contact .eyebrow {
  color: #b9b9b9;
}

.contact h2 {
  margin-bottom: 30px;
}

.site-footer {
  padding: 22px clamp(20px, 5vw, 76px);
  color: var(--black);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

.site-footer p {
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

.gallery-hero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(76px, 10vw, 148px) clamp(20px, 8vw, 128px);
  border-bottom: 1px solid var(--black);
}

.gallery-hero h1 {
  max-width: 1120px;
  font-size: clamp(46px, 6.8vw, 104px);
}

.gallery-hero.dark-hero {
  color: var(--white);
  background: var(--black);
}

.gallery-hero.dark-hero .eyebrow {
  color: #b9b9b9;
}

.contact-hero {
  min-height: 42vh;
}

.contact-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 112px) clamp(20px, 8vw, 128px);
  border-top: 1px solid var(--black);
}

.contact-intro p {
  max-width: 620px;
  color: var(--black);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.5;
}

.contact-intro {
  margin-bottom: 28px;
}

.contact-intro a {
  display: inline-block;
  margin-top: 18px;
  color: var(--black);
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--black);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-message {
  display: none;
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--black);
  color: var(--black);
  background: var(--white);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.form-message.is-error {
  color: var(--white);
  background: var(--black);
}

.hidden-field {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 7px;
}

.cf-label {
  color: var(--black);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.cf {
  width: 100%;
  border: 1px solid var(--black);
  border-radius: 0;
  padding: 14px 14px;
  color: var(--black);
  background: var(--white);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.contact-form select {
  appearance: none;
}

.contact-form textarea,
textarea.cf {
  min-height: 126px;
  resize: vertical;
}

.cf-submit {
  min-height: 46px;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  border-radius: 0;
  padding: 0 22px;
  color: var(--white);
  background: var(--black);
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form .button {
  justify-self: start;
  cursor: pointer;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--black);
  border-bottom: 1px solid var(--black);
}

.image-gallery img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: var(--white);
}

.image-gallery img:nth-child(5n),
.image-gallery img:nth-child(7n) {
  aspect-ratio: 4 / 5;
}

.website-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.website-list a {
  min-height: clamp(180px, 18vw, 270px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(22px, 3vw, 38px);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--white);
  transition: color 180ms ease, background 180ms ease;
}

.website-list a:hover {
  color: var(--white);
  background: var(--black);
}

.website-list span {
  font-size: clamp(30px, 3.5vw, 54px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.website-list small {
  color: var(--black);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.website-list a:hover small {
  color: #cfcfcf;
}

.gtm-statement {
  padding: clamp(82px, 11vw, 158px) clamp(20px, 8vw, 128px);
  border-bottom: 1px solid var(--black);
}

.gtm-statement p {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(24px, 3.1vw, 46px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.gtm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--black);
}

.gtm-grid article {
  min-height: clamp(300px, 28vw, 420px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3vw, 38px);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.gtm-grid span {
  margin-bottom: auto;
  color: var(--black);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.gtm-grid h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.gtm-grid p {
  margin: 0;
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

.gtm-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 96px);
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 76px);
  background: var(--black);
  color: var(--white);
}

.gtm-band .eyebrow {
  color: #b9b9b9;
}

.gtm-band h2 {
  font-size: clamp(40px, 5vw, 78px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.gtm-band ul {
  display: grid;
  gap: 16px;
  align-self: end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gtm-band li {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: clamp(17px, 1.8vw, 22px);
}

.agency-work {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 76px);
  background: var(--soft);
}

.agency-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.agency-list article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background: var(--white);
}

.agency-list h3 {
  margin: 0 0 auto;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.agency-list a,
.agency-list .text-item {
  display: block;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #1f1f1f;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

.agency-list a:hover {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero-kicker,
  .hero-grid,
  .section-title,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-kicker span,
  .hero-kicker a {
    border-right: 0;
    border-bottom: 1px solid var(--black);
  }

  .hero-kicker span:last-child,
  .hero-kicker a:last-child {
    border-bottom: 0;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .image-gallery {
    grid-template-columns: 1fr;
  }

  .website-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gtm-band {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .agency-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 16px;
  }

  .main-nav {
    gap: 18px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(42px, 11vw, 68px);
  }

  .statement p {
    font-size: clamp(23px, 6.8vw, 34px);
  }

  .logo-grid,
  .website-list,
  .agency-list,
  .gtm-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list article {
    min-height: 250px;
  }
}
