:root {
  --graphite: #26242c;
  --graphite-2: #1c1b22;
  --accent: #ffef65;
  --paper: #f7f5ef;
  --white: #ffffff;
  --ink: #26242c;
  --muted: rgba(38, 36, 44, 0.55);
  --line: rgba(38, 36, 44, 0.14);
  --container: 1328px;
  --pad: clamp(24px, 4.6vw, 64px);
  font-family: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--graphite);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 84px;
  background: var(--graphite);
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header--light {
  background: rgba(247, 245, 239, 0.94);
  color: var(--graphite);
  border-bottom: 1px solid rgba(38, 36, 44, 0.08);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  height: 100%;
  width: min(var(--container), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 218px;
  height: 44px;
}

.brand__logo {
  position: absolute;
  inset: auto;
  width: 218px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
  transition: opacity 160ms ease;
}

.brand__logo--dark,
.site-header--light .brand__logo--light {
  opacity: 0;
}

.site-header--light .brand__logo--dark {
  opacity: 1;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 52px);
  font-size: 13px;
  font-weight: 500;
}

.desktop-nav a {
  opacity: 0.72;
  transition: opacity 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 40px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.site-header--light .header-cta {
  color: var(--graphite);
  border-color: var(--graphite);
}

.nav-toggle {
  display: none;
  width: 28px;
  height: 24px;
  border: 0;
  background: transparent;
  padding: 0;
  color: currentColor;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 858px;
  padding-top: 84px;
  background: var(--graphite);
  color: var(--white);
}

.hero__grid {
  min-height: calc(858px - 84px);
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(440px, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 82px);
  padding-bottom: 120px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-top: 26px;
}

.eyebrow {
  margin: 0 0 30px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: 0;
}

.hero__copy > p:last-child {
  margin: 30px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.48;
}

.hero__wordmark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.09em;
  z-index: 1;
  color: rgba(255, 255, 255, 0.1);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  font-size: clamp(92px, 18.2vw, 262px);
  line-height: 0.72;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.hero-visual {
  position: relative;
  z-index: 2;
  height: clamp(480px, 48vw, 680px);
  min-width: 0;
}

.hero-visual__mask,
.hero-visual__outline {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 100%, 0 0, 26% 0, 26% 64%, 73% 0, 100% 0, 100% 100%, 74% 100%, 74% 36%, 27% 100%);
}

.hero-visual__mask {
  background:
    linear-gradient(120deg, rgba(255, 239, 101, 0.7), rgba(255, 239, 101, 0) 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 44px),
    linear-gradient(150deg, #55535e, #25232c 42%, #747079);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hero-visual__texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 32% 16%, rgba(255, 255, 255, 0.5), transparent 7%),
    linear-gradient(90deg, transparent 0 41%, rgba(255, 239, 101, 0.28) 41% 43%, transparent 43% 100%),
    linear-gradient(0deg, transparent 0 58%, rgba(255, 255, 255, 0.22) 58% 60%, transparent 60% 100%);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.hero-visual__line {
  position: absolute;
  width: 3px;
  height: 120%;
  top: -10%;
  background: rgba(255, 239, 101, 0.86);
  transform-origin: center;
}

.hero-visual__line--one {
  left: 25%;
}

.hero-visual__line--two {
  right: 25%;
}

.hero-visual__outline {
  transform: translate(18px, 18px);
  border: 2px solid var(--accent);
  background: transparent;
  opacity: 0.9;
}

.section {
  position: relative;
  padding: clamp(78px, 8vw, 128px) 0;
}

.section--white {
  background: var(--paper);
  color: var(--graphite);
}

.section--projects {
  background: var(--paper);
  color: var(--graphite);
  padding-top: clamp(76px, 8vw, 124px);
}

.section--tight {
  padding-top: 0;
}

.section-layout {
  display: grid;
  grid-template-columns: minmax(140px, 0.22fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 112px);
}

.section-label {
  color: rgba(38, 36, 44, 0.46);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}

.section-main h2,
.band h2 {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(42px, 6.25vw, 92px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

.section-lead {
  margin: 32px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: clamp(52px, 6vw, 88px);
}

.approach-card {
  min-height: 246px;
  padding: 34px 34px 40px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 78px 1fr;
  column-gap: 24px;
}

.approach-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.approach-card:nth-child(even) {
  padding-left: 34px;
}

.approach-card span {
  color: rgba(38, 36, 44, 0.36);
  font-size: 13px;
  font-weight: 600;
}

.approach-card h3 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.06;
  font-weight: 500;
}

.approach-card p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.band {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 96px) 0;
}

.band--accent {
  background: var(--accent);
  color: var(--graphite);
}

.band--dark {
  background: var(--graphite);
  color: var(--white);
}

.band__grid {
  display: grid;
  grid-template-columns: minmax(140px, 0.22fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 112px);
}

.band p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: currentColor;
  opacity: 0.66;
}

.projects-head {
  padding-bottom: 28px;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  color: rgba(38, 36, 44, 0.42);
  font-size: 12px;
  font-weight: 700;
}

.project-tabs span:first-child {
  color: var(--graphite);
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-row {
  display: grid;
  grid-template-columns: 46px minmax(236px, 0.44fr) minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 52px);
  padding: clamp(34px, 4.5vw, 58px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.project-row--compact {
  grid-template-columns: 42px minmax(220px, 0.38fr) minmax(0, 1fr);
}

.project-row__number {
  color: rgba(38, 36, 44, 0.34);
  font-size: 13px;
  font-weight: 700;
  padding-top: 4px;
}

.project-row__media {
  position: relative;
  min-height: 154px;
  aspect-ratio: 1.42 / 1;
  background:
    linear-gradient(135deg, rgba(255, 239, 101, 0.2), transparent 44%),
    repeating-linear-gradient(90deg, rgba(38, 36, 44, 0.08) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(38, 36, 44, 0.08) 0 1px, transparent 1px 31px),
    #ece8dd;
  clip-path: polygon(0 100%, 0 0, 32% 0, 32% 66%, 78% 0, 100% 0, 100% 100%, 72% 100%, 72% 35%, 28% 100%);
}

.project-row__media::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 2px solid var(--accent);
  clip-path: inherit;
  opacity: 0.86;
}

.project-row__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: rgba(38, 36, 44, 0.52);
}

.camera-icon {
  width: 34px;
  height: 34px;
  opacity: 0.52;
}

.project-row__placeholder span {
  font-size: 11px;
  font-weight: 700;
  color: rgba(38, 36, 44, 0.54);
}

.project-row__content h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 4.1vw, 60px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.project-country {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 34px;
  color: rgba(38, 36, 44, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.flag-icon {
  width: 20px;
  height: 12px;
  box-shadow: 0 0 0 1px rgba(38, 36, 44, 0.14);
}

.project-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.fact-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.fact-row dt,
.fact-row dd {
  margin: 0;
}

.fact-row dt {
  color: rgba(38, 36, 44, 0.48);
  font-size: 12px;
  font-weight: 700;
}

.fact-row dd {
  justify-self: end;
  text-align: right;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  margin-top: 42px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.ticker {
  overflow: hidden;
  background: var(--accent);
  color: var(--graphite);
  padding: 30px 0 34px;
}

.ticker div {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker span {
  padding-right: 56px;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.86;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.statement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: 62px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.statement-grid p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.24;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 0.64fr);
  gap: clamp(42px, 6vw, 90px);
}

.contact-card {
  margin-top: 48px;
  font-style: normal;
  color: rgba(38, 36, 44, 0.68);
  font-size: 18px;
  line-height: 1.58;
}

.contact-card strong,
.contact-card a {
  color: var(--graphite);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding-top: 10px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(38, 36, 44, 0.56);
  font-size: 12px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 13px 0 15px;
  color: var(--graphite);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--graphite);
}

.contact-form .check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px;
  color: rgba(38, 36, 44, 0.62);
  font-weight: 500;
  line-height: 1.4;
}

.contact-form .check input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 1px 0 0;
  accent-color: var(--graphite);
}

.contact-form button {
  justify-self: start;
  margin-top: 12px;
  border: 1px solid var(--graphite);
  border-radius: 999px;
  background: transparent;
  color: var(--graphite);
  padding: 13px 22px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.legal {
  max-width: 900px;
}

.legal-stack {
  display: grid;
  gap: 38px;
}

.legal-stack h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.legal-stack p,
.legal-stack li {
  color: rgba(38, 36, 44, 0.68);
  font-size: 17px;
  line-height: 1.62;
}

.legal-stack p,
.legal-stack ul {
  margin: 0;
}

.legal-stack a {
  border-bottom: 1px solid currentColor;
}

.footer {
  background: var(--graphite);
  color: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.75fr) minmax(150px, 0.45fr) minmax(150px, 0.45fr);
  gap: clamp(34px, 5vw, 74px);
  padding: 80px 0;
}

.footer__brand img {
  width: 258px;
  max-width: 100%;
  height: auto;
  margin-bottom: 28px;
}

.footer p,
.footer address,
.footer li {
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
  line-height: 1.58;
}

.footer__brand p {
  max-width: 430px;
  margin: 0;
}

.footer__label {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.34) !important;
  font-size: 12px;
  font-weight: 700;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer a:hover {
  color: var(--white);
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 12px;
}

@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: 210px 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .mobile-nav {
    position: fixed;
    inset: 84px 0 auto;
    display: grid;
    gap: 0;
    background: var(--graphite);
    color: var(--white);
    padding: 18px var(--pad) 30px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-open .mobile-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 22px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 36px;
  }

  .hero-visual {
    width: min(100%, 680px);
    height: 420px;
    justify-self: end;
  }

  .section-layout,
  .band__grid {
    grid-template-columns: 1fr;
  }

  .section-label {
    position: static;
  }

  .project-row,
  .project-row--compact {
    grid-template-columns: 40px minmax(180px, 0.46fr) minmax(0, 1fr);
  }

  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 20px;
  }

  .site-header {
    height: 76px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .brand,
  .brand__logo {
    width: 174px;
  }

  .mobile-nav {
    inset-top: 76px;
  }

  .hero {
    min-height: 760px;
    padding-top: 76px;
  }

  .hero__grid {
    min-height: calc(760px - 76px);
    gap: 34px;
    padding-bottom: 86px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 72px);
  }

  .hero__copy > p:last-child {
    font-size: 18px;
  }

  .hero-visual {
    height: 286px;
  }

  .hero__wordmark {
    font-size: clamp(58px, 20vw, 92px);
  }

  .section {
    padding: 72px 0;
  }

  .section-main h2,
  .band h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .approach-grid,
  .statement-grid {
    grid-template-columns: 1fr;
  }

  .approach-card,
  .approach-card:nth-child(even) {
    grid-template-columns: 48px 1fr;
    padding: 26px 0 30px;
    border-right: 0;
  }

  .project-tabs {
    gap: 12px 18px;
  }

  .project-row,
  .project-row--compact {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-row__number {
    padding-top: 0;
  }

  .project-row__media {
    width: min(100%, 420px);
    min-height: 220px;
  }

  .fact-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .fact-row dd {
    justify-self: start;
    text-align: left;
  }

  .ticker span {
    font-size: clamp(46px, 16vw, 68px);
  }

  .footer__bar .container {
    flex-direction: column;
  }
}
