:root {
  --black: #000;
  --cream: #edeae1;
  --ink: #000;
  --red: #c61412;
  --text-light: #edeae1;
  --text-dim: #bdbbb5;
  --line-dark: #393939;
  --line-light: #c9c5bb;
  --muted-light: #67645e;
  --card-dark: #0b0b0b;
  --pad: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--black);
  color: var(--text-light);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11";
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.red { color: var(--red); }
.dark { background: var(--black); color: var(--text-light); }
.light { background: var(--cream); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  height: 52px; padding: 0 20px;
  font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap;
  border-radius: 7px;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn svg { width: 14px; height: 14px; margin-top: -6px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #a80f0d; }
.btn--ghost { border: 1px solid rgba(237, 234, 225, .45); color: var(--text-light); background: rgba(0,0,0,.25); }
.btn--ghost:hover { border-color: var(--text-light); }
.btn--nav { width: 156px; border-radius: 1px; padding: 0 22px; gap: 0; }
.btn--lg { width: 156px; }

/* ---------- Section label row ---------- */
.label-row {
  display: flex; justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 12.5px; line-height: 16px; letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.light .label-row { border-color: var(--line-light); color: #4c4a45; }
.label-row__num { color: var(--red); }

.display {
  margin-top: 47px;
  font-size: 104px; line-height: .962; font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text-light);
}
.light .display { color: var(--ink); }
.light .display.red { color: var(--red); }

.section { padding-top: 115px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 900px;
  background: #000 url("assets/hero.jpg") center top / cover no-repeat;
}
.nav {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  height: 108px; padding-top: 0;
}
.nav__logo { margin-top: 0; padding-left: 1px; }
.nav__links { display: flex; gap: 26.5px; margin-left: auto; margin-right: 26px; }
.nav__links a { font-size: 15px; color: var(--text-light); transition: color .2s; }
.nav__links a:hover { color: #fff; opacity: .7; }

.hero__content { text-align: center; padding-top: 277px; }
.hero__title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400; font-size: 80px; line-height: 97px;
  letter-spacing: -0.045em;
  color: var(--text-light);
}
.hero__title > span { display: block; }
.hero__line1 { display: flex !important; justify-content: center; gap: 317px; }
.hero__sub {
  max-width: 700px; margin: 82.5px auto 0;
  font-size: 28px; line-height: 42px; font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text-dim);
}
.hero__ctas { display: flex; justify-content: center; gap: 12px; margin-top: 46px; }
.hero__ctas .btn--red { width: 140px; }
.hero__ctas .btn--ghost { width: 199px; }

/* ---------- Brands ---------- */
.brands { padding: 205px 0 68px; background: #000; }
.brands__label {
  font-size: 13px; line-height: 16px; letter-spacing: .01em;
  text-transform: uppercase; color: var(--text-dim);
}
.brands__viewport { margin-top: 37px; overflow: hidden; }
.brands__track {
  display: flex; gap: 24px; width: max-content;
  animation: marquee 40s linear infinite;
}
.brands__viewport:hover .brands__track { animation-play-state: paused; }
.brands__track img { width: 150px; height: 80px; flex: none; }
.brands__word {
  width: 150px; height: 80px; flex: none;
  display: flex; align-items: center; padding-left: 7px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 25px; letter-spacing: .17em; color: #fff;
}
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) { .brands__track { animation: none; } }

/* ---------- About ---------- */
.about { padding-bottom: 114px; }
.about .display { margin-top: 40px; }
.about__grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 88px;
  align-items: center; margin-top: 40px;
}
.about__photo { width: 380px; height: 440px; object-fit: cover; }
.about__lead {
  max-width: 760px;
  font-size: 41.5px; line-height: 50px; font-weight: 600;
  letter-spacing: -0.055em; color: var(--ink);
}
.about__byline {
  margin-top: 31px;
  font-size: 12px; line-height: 16px; text-transform: uppercase; color: var(--ink);
}

/* ---------- Case studies ---------- */
.cases { padding-top: 113px; padding-bottom: 112px; }
.cases__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 25px 24px; margin-top: 48px;
}
.card {
  position: relative; display: flex; flex-direction: column;
  height: 372px;
  background: var(--card-dark);
  border: 1px solid var(--line-dark);
  border-radius: 8px; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: #666; transform: translateY(-3px); }
.card--wide { grid-column: span 2; }
.card__media { position: relative; height: 239px; flex: none; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.03); }
.badge {
  position: absolute; left: 18px; top: 18px;
  min-width: 35px; height: 26px; padding: 0 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; border-radius: 3px;
  font-size: 13px; font-weight: 600;
}
.card__body { position: relative; padding: 21px 24px 24px; }
.card__body h3 { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--text-light); }
.card__body p { margin-top: 13px; font-size: 14px; line-height: 21px; color: var(--text-dim); }
.card__arrow { position: absolute; right: 25px; top: 30px; width: 16px; height: 16px; color: var(--red); stroke-width: .3px; }

/* ---------- Challenge ---------- */
.challenge__intro {
  max-width: 780px; margin-top: 33.5px;
  font-size: 24px; line-height: 36px; color: var(--text-dim);
}
.problems { margin-top: 50px; border-top: 1px solid var(--line-dark); }
.problems li {
  display: grid; grid-template-columns: 72px 600px 1fr;
  padding: 30px 0 33px;
  border-bottom: 1px solid var(--line-dark);
}
.problems__num { padding-top: 4px; font-size: 13px; line-height: 16px; color: var(--red); }
.problems h3 { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--text-light); }
.problems p { font-size: 20px; line-height: 30px; color: var(--text-dim); }
.challenge__statement {
  max-width: 1160px; margin-top: 47px;
  font-size: 40px; line-height: 48px; font-weight: 500;
  letter-spacing: -0.025em; color: var(--text-light);
}

/* ---------- Approach ---------- */
.challenge { padding-bottom: 108px; }
.approach { padding-bottom: 112px; }
.approach .display { margin-top: 63.5px; }
.approach__intro {
  display: grid; grid-template-columns: 576px 1fr; gap: 112px;
  margin-top: 64px;
}
.approach__lead { font-size: 32px; line-height: 40px; font-weight: 500; letter-spacing: -0.015em; color: var(--text-light); }
.approach__copy { max-width: 600px; font-size: 21px; line-height: 33px; color: var(--text-light); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
.step { border-top: 1px solid var(--line-dark); padding-top: 23px; }
.step__num { display: block; font-size: 64px; line-height: 1; font-weight: 400; color: var(--red); }
.step h3 { margin-top: 23px; font-size: 28px; line-height: 1.2; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; color: var(--text-light); }
.step p { margin-top: 13px; font-size: 20px; line-height: 30px; color: var(--text-light); }
.approach__close {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 64px; padding-top: 47px;
  border-top: 1px solid var(--line-dark);
}
.approach__close p { max-width: 930px; font-size: 22px; line-height: 33px; color: var(--text-light); }
.link-cta {
  width: 300px; padding-bottom: 20px;
  border-bottom: 2px solid var(--red);
  font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em;
  color: var(--text-light);
  transition: color .2s;
}
.link-cta:hover { color: var(--red); }

/* ---------- Testimonials ---------- */
.testimonials { padding-top: 116px; padding-bottom: 107px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; margin-top: 48px; }
.quote {
  padding: 42px 36px 35px;
  border: 1px solid var(--line-light); border-radius: 10px;
}
.stars { display: block; width: 118px; height: 23px; margin-top: -1px; margin-bottom: 2px; }
.quote blockquote {
  margin-top: 34px;
  font-size: 23px; line-height: 32px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
}
.quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 37px; }
.quote figcaption img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.quote strong { display: block; font-size: 19px; line-height: 24px; font-weight: 500; color: var(--ink); }
.quote figcaption span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 16px; color: #67645e; letter-spacing: .01em; }

/* ---------- Tools ---------- */
.tools { padding-top: 116px; padding-bottom: 117px; }
.tools__list { margin-top: 48px; border-top: 1px solid var(--line-light); }
.tool-row {
  display: grid; grid-template-columns: 296px repeat(5, 1fr); gap: 0 24px;
  padding: 31.25px 0;
  border-bottom: 1px solid var(--line-light);
}
.tool-row:last-child { border-bottom: 0; }
.tool-row__cat span { display: block; font-size: 11px; line-height: 16px; color: var(--red); }
.tool-row__cat h3 { margin-top: 13px; font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.tool-row__cat p { max-width: 285px; margin-top: 12.5px; font-size: 14px; line-height: 21px; color: var(--muted-light); }
.tool { margin-top: -6px; }
.tool img { width: 180px; height: 60px; }
.tool span { display: block; margin-top: 1.5px; font-size: 13px; line-height: 18px; color: var(--muted-light); }

/* ---------- Contact ---------- */
.contact { padding-top: 113px; padding-bottom: 112px; }
.contact__title { margin-top: 40px; font-size: 114px; line-height: 109px; letter-spacing: -0.05em; }
.contact__sub { margin-top: 40px; font-size: 18px; line-height: 28px; color: var(--text-dim); }
.contact__row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 20px; }
.contact__email { margin-bottom: 5px; }
.contact__email { font-size: 32px; line-height: 40px; font-weight: 400; letter-spacing: -0.01em; color: var(--text-light); }
.contact__email:hover { color: var(--red); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-dark); padding: 37.5px 0 0; }
.footer__grid { display: grid; grid-template-columns: 576px 516px 1fr; }
.footer__logo { font-size: 56px; line-height: 64px; font-weight: 700; letter-spacing: -0.03em; color: var(--text-light); }
.footer__tag { margin-top: 10px; font-size: 14px; line-height: 21px; color: var(--text-dim); }
.footer__head { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-top: 3px; }
.footer__nav ul { margin-top: 10px; display: grid; gap: 11px; }
.footer__nav a { font-size: 14px; line-height: 19px; }
.footer__note { font-size: 14px; }
.footer__nav a:hover, .footer__email:hover { color: var(--red); }
.footer__email { display: block; margin-top: 14px; font-size: 18px; line-height: 24px; }
.footer__note { margin-top: 11px; line-height: 21px; color: var(--text-dim); }
.footer__bottom {
  display: flex; justify-content: space-between;
  padding-top: 37px; padding-bottom: 41px;
  font-size: 14px; line-height: 19px; color: var(--text-dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .display { font-size: clamp(56px, 8.5vw, 108px); }
  .contact__title { font-size: clamp(56px, 9vw, 114px); line-height: .96; }
  .problems li { grid-template-columns: 72px 1fr 1fr; gap: 24px; }
  .approach__intro { grid-template-columns: 1fr 1fr; gap: 64px; }
  .tool-row { grid-template-columns: 240px repeat(5, 1fr); }
  .tool img { width: 100%; height: auto; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --pad: 24px; }
  .display { font-size: 11.5vw; line-height: .95; }
  .contact__title { font-size: 11.5vw; line-height: .96; }
  .hero__ctas { flex-wrap: wrap; padding: 0 var(--pad); }
  .brands__label { font-size: 11px; }
  .nav__links { display: none; }
  .nav .btn--nav { margin-left: auto; }
  .hero { height: auto; padding-bottom: 72px; background-position: 50% 0; }
  .hero__content { padding-top: 180px; }
  .hero__title { font-size: 56px; line-height: 64px; }
  .hero__line1 { gap: 40vw; }
  .hero__sub { font-size: 20px; line-height: 30px; margin-top: 160px; padding: 0 8px; }
  .brands { padding-top: 96px; }
  .about__grid, .approach__intro { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { width: 100%; max-width: 380px; height: auto; aspect-ratio: 380 / 440; }
  .about__lead { font-size: 30px; line-height: 36px; }
  .cases__grid, .quotes, .steps { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card { height: auto; }
  .card__media { height: auto; aspect-ratio: 420 / 239; }
  .card--wide .card__media { aspect-ratio: 865 / 239; }
  .problems li { grid-template-columns: 48px 1fr; row-gap: 10px; }
  .problems p { grid-column: 2; }
  .challenge__statement { font-size: 28px; line-height: 36px; }
  .approach__close { flex-direction: column; align-items: flex-start; gap: 32px; }
  .tool-row { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
  .tool-row__cat { grid-column: 1 / -1; }
  .contact__row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .contact__email { font-size: 26px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
