@font-face {
  font-family: "Inter Tight";
  src: url("/assets/inter-tight-500-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/inter-tight-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/font-d.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root { --orange: #ff3c00; --black: #000; --white: #fff; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--black);
  background: var(--white);
  font-family: "Inter Tight", Arial, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
h1, h2, dl, dd { margin: 0; }

.home-link {
  position: absolute;
  z-index: 10;
  top: 48px;
  left: 48px;
  display: flex;
  width: 112px;
  height: 112px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 23px 0 0 31px;
  border-radius: 36px;
  background: var(--white);
  font-size: 16px;
  line-height: 16px;
}

.qr-shell {
  display: block;
  position: absolute;
  z-index: 10;
  top: 48px;
  right: 48px;
  width: 112px;
  height: 112px;
  padding: 16px;
  border-radius: 36px;
  background: var(--white);
}

.hero-qr { display: block; width: 80px; height: 80px; }

.works-page { padding: 210px 48px 0; }

.works-page > h1 {
  max-width: 1450px;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(86px, 13.2vw, 252px);
  font-weight: 700;
  line-height: .77;
  letter-spacing: -.068em;
}

#works-list {
  margin-top: clamp(120px, 11vw, 210px);
  border-top: 1px solid #d7d7d2;
}

.work-entry {
  --panel: #f2f2ee;
  --signal: #fff;
  --signal-ink: #000;
  position: relative;
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(360px, .78fr) minmax(560px, 1.22fr);
  gap: clamp(52px, 7vw, 140px);
  align-items: center;
  padding: 76px clamp(24px, 5vw, 100px);
  border-bottom: 1px solid #d7d7d2;
  overflow: hidden;
}

.work-entry:nth-child(3n + 2) { --panel: #000; --signal: #ff3c00; --signal-ink: #000; }
.work-entry:nth-child(3n) { --panel: #ff3c00; --signal: #000; --signal-ink: #fff; }
.work-entry:nth-child(even) .work-entry__copy { order: 2; }
.work-entry:nth-child(even) .work-entry__media { order: 1; }

.work-entry__copy,
.work-entry__media {
  min-width: 0;
  opacity: 0;
  transition: opacity .8s ease, transform .95s cubic-bezier(.16, 1, .3, 1);
}

.work-entry__copy { transform: translateX(-64px); }
.work-entry:nth-child(even) .work-entry__copy { transform: translateX(64px); }
.work-entry__media { transform: translateY(54px) scale(.96); }
.work-entry__copy.is-visible,
.work-entry__media.is-visible { opacity: 1; transform: none; }

.work-entry__topline {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 17px;
  border-bottom: 1px solid #bdbdb8;
  color: #777;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.work-entry__topline span:last-child { max-width: 58%; text-align: right; }

.work-entry h2 {
  margin-top: 34px;
  font-size: clamp(54px, 5.2vw, 100px);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.055em;
}

.work-entry__story {
  max-width: 590px;
  margin: 34px 0 0;
  color: #333;
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.08;
}

.work-entry__impact {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 7px 16px;
  align-items: end;
  margin-top: 46px;
  padding: 24px 0 20px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.work-entry__impact small {
  grid-column: 1 / -1;
  color: var(--orange);
  font-size: 10px;
  letter-spacing: .1em;
}

.work-entry__impact strong {
  color: var(--orange);
  font-size: clamp(42px, 3.2vw, 62px);
  line-height: .88;
  letter-spacing: -.045em;
}

.work-entry__impact span { padding-bottom: 5px; font-size: 14px; line-height: 1; }
.work-entry__impact b { align-self: center; color: var(--orange); font-size: 14px; font-weight: 500; }

.work-entry__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
  font-size: 12px;
}

.work-entry__meta > div { display: flex; justify-content: space-between; gap: 16px; }
.work-entry__meta dt { color: #777; }
.work-entry__meta dd { text-align: right; }

.work-entry__view {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  color: var(--orange);
  font-size: 12px;
  letter-spacing: .08em;
}

.work-entry__view i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
  font-style: normal;
  transition: color .25s ease, background .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}

.work-entry:hover .work-entry__view i { color: #fff; background: var(--orange); transform: rotate(45deg); }

.work-entry__media {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 54px 46px 150px;
  border-radius: 40px;
  overflow: hidden;
  background: var(--panel);
}

.work-entry__media::before {
  content: "";
  position: absolute;
  top: 36px;
  right: 36px;
  width: 18px;
  height: 18px;
  background: var(--orange);
  transform: rotate(13deg);
}

.work-entry:nth-child(3n) .work-entry__media::before { background: #fff; }

.work-entry__image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 780px);
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 28px 24px rgba(0, 0, 0, .16));
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.work-entry:hover .work-entry__image { transform: translateY(-12px) scale(1.025); }

.work-entry__signal {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  min-height: 132px;
  padding: 22px 24px 17px;
  border-radius: 24px;
  color: var(--signal-ink);
  background: var(--signal);
}

.work-entry__signal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.work-entry__signal-head span { color: currentColor; font-size: 9px; letter-spacing: .1em; opacity: .58; }
.work-entry__signal-head strong { max-width: 55%; font-size: 13px; font-weight: 500; text-align: right; }

.work-entry__signal svg { display: block; width: 100%; height: 60px; margin-top: 5px; overflow: visible; }
.work-entry__signal line { stroke: currentColor; stroke-width: .7; opacity: .16; }
.work-entry__signal polyline { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.work-entry:nth-child(3n + 2) .work-entry__signal polyline { stroke: #000; }
.work-entry__signal circle { fill: var(--signal); stroke: var(--orange); stroke-width: 2; }
.work-entry:nth-child(3n + 2) .work-entry__signal circle { stroke: #000; }
.work-entry__periods { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: -1px; font-size: 8px; opacity: .5; }
.work-entry__periods span { text-align: center; }
.work-entry__periods span:first-child { text-align: left; }
.work-entry__periods span:last-child { text-align: right; }

.footer {
  position: relative;
  height: 976.84375px;
  padding: 24px 24px 0;
  overflow: hidden;
  background: var(--white);
}

.footer-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 60px 60px 0 0;
  color: var(--white);
  background: var(--black);
}

.footer-grid {
  position: absolute;
  top: 160px;
  right: 136px;
  left: 136px;
  display: grid;
  grid-template-columns: 780.5px 378.25px 378.25px;
  gap: 24px;
  height: 192px;
}

.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid span { margin-bottom: 48px; color: #e6e6e6; font-size: 16px; line-height: 16px; }
.footer-contact a { font-size: 48px; font-weight: 700; line-height: 38.4px; }
.footer-contact a + a { margin-top: 49.6px; }
.footer-links a { font-size: 16px; line-height: 12.8px; }
.footer-links a + a { margin-top: 25.2px; }

.footer-meta {
  position: absolute;
  right: 24px;
  bottom: 500px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  line-height: 16px;
}

.footer-meta a { color: var(--orange); }
.footer-meta__made { margin-left: 18px; }

.footer-wordmark {
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 284.594px;
  color: var(--orange);
  font-size: 350px;
  font-weight: 900;
  line-height: 280px;
  letter-spacing: 0;
  white-space: nowrap;
}

.footer-wordmark span { font-size: inherit; }

.footer-wordmark.brand-wordmark {
  bottom: 24px;
  display: flex;
  height: min(22.9vw, 440px);
  flex-direction: column;
  justify-content: flex-end;
  font-size: min(15.4vw, 296px);
  line-height: .72;
  letter-spacing: -3px;
  transform: none;
}

.brand-wordmark .brand-wordmark__line { display: block; width: 100%; font-size: inherit; line-height: inherit; letter-spacing: inherit; }
.brand-wordmark .brand-wordmark__line--end { text-align: right; }

@media (min-width: 1201px) and (max-width: 1904px) {
  .footer { height: max(976.84375px, calc(620px + 31vw)); }
  .footer-grid {
    right: clamp(64px, 7vw, 136px);
    left: clamp(64px, 7vw, 136px);
    height: auto;
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, .5fr));
  }
  .footer-grid > div { min-width: 0; }
  .footer-contact a {
    max-width: 100%;
    font-size: clamp(34px, 2.6vw, 48px);
    overflow-wrap: anywhere;
  }
  .footer-wordmark.brand-wordmark { right: 2vw; bottom: 3vw; left: 2vw; height: 31vw; font-size: 16.2vw; line-height: .72; letter-spacing: -.17vw; }
  .footer-meta { bottom: 37vw; }
}

@media (max-width: 1200px) {
  .works-page { padding: 170px 24px 0; }
  .works-page > h1 { font-size: clamp(76px, 15vw, 175px); }
  #works-list { margin-top: 110px; }
  .work-entry {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 4vw;
  }
  .work-entry:nth-child(even) .work-entry__copy,
  .work-entry:nth-child(even) .work-entry__media { order: initial; }
  .work-entry:nth-child(even) .work-entry__copy { transform: translateX(-64px); }
  .work-entry:nth-child(even) .work-entry__copy.is-visible { transform: none; }
  .work-entry__story { max-width: 760px; margin-top: 28px; }
  .work-entry__impact { margin-top: 36px; }
  .work-entry__meta { margin-top: 24px; }
  .work-entry__view { margin-top: 34px; }
  .work-entry__media {
    min-height: clamp(360px, 42vw, 460px);
    padding: 36px 32px 128px;
  }
  .work-entry__image { max-height: clamp(230px, 31vw, 330px); }
  .footer-grid { right: 7vw; left: 7vw; grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, .5fr)); }
  .footer-grid > div { min-width: 0; }
  .footer-contact a { max-width: 100%; overflow-wrap: anywhere; }
  .footer-wordmark { font-size: 17.5vw; line-height: .8; }
  .footer-wordmark.brand-wordmark { right: 2vw; bottom: 3vw; left: 2vw; height: 31vw; font-size: 16.2vw; line-height: .72; letter-spacing: -.17vw; }
  .footer-meta { bottom: 37vw; }
}

@media (max-width: 1024px) and (min-width: 721px) {
  .works-page { overflow-x: clip; }
  .footer { height: max(976.84375px, calc(720px + 31vw)); }
  .footer-grid {
    top: 80px;
    right: 48px;
    left: 48px;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 48px;
  }
  .footer-grid > div { min-width: 0; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-contact a {
    max-width: 100%;
    font-size: clamp(30px, 5.8vw, 46px);
    line-height: 1;
    overflow-wrap: anywhere;
  }
  .footer-contact a + a { margin-top: 28px; }
  .footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
  .footer-links a + a { margin-top: 4px; }
}

@media (max-width: 720px) {
  .home-link { top: 8px; left: 18px; display: inline-flex; width: auto; min-width: 54px; height: 44px; align-items: center; padding: 0; overflow: visible; }
  .qr-shell { display: none; }
  .works-page { padding: 112px 18px 0; }
  .works-page > h1 { font-size: clamp(42px, 13.5vw, 76px); line-height: .84; letter-spacing: -.06em; }
  #works-list { margin-top: 72px; }
  .work-entry { gap: 22px; padding: 24px 0; }
  .work-entry__copy { padding: 0 6px; }
  .work-entry__topline { gap: 12px; }
  .work-entry h2 { margin-top: 24px; font-size: 14vw; }
  .work-entry__story { margin-top: 20px; font-size: 18px; }
  .work-entry__impact { grid-template-columns: auto 1fr auto; margin-top: 28px; padding: 18px 0 16px; }
  .work-entry__impact strong { font-size: 46px; }
  .work-entry__impact span { font-size: 12px; }
  .work-entry__meta { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .work-entry__view { min-height: 44px; margin-top: 24px; }
  .work-entry__media { min-height: 320px; padding: 26px 18px 112px; border-radius: 28px; }
  .work-entry__media::before { top: 24px; right: 24px; }
  .work-entry__image { max-height: 180px; }
  .work-entry__signal { right: 12px; bottom: 12px; left: 12px; min-height: 106px; padding: 15px 16px 11px; border-radius: 19px; }
  .work-entry__signal-head { gap: 12px; }
  .work-entry__signal-head strong { max-width: 62%; }
  .work-entry__signal svg { height: 44px; }
  .work-entry__copy,
  .work-entry__media,
  .work-entry:nth-child(even) .work-entry__copy { opacity: 1; transform: none; }
  .footer { height: 850px; padding: 12px 12px 0; }
  .footer-inner { border-radius: 30px 30px 0 0; }
  .footer-grid { top: 80px; right: 24px; left: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .footer-grid > div { min-width: 0; }
  .footer-contact { grid-column: 1 / -1; margin-bottom: 50px; }
  .footer-contact a { display: inline-flex; max-width: 100%; min-height: 44px; align-items: center; font-size: 30px; line-height: 1; overflow-wrap: anywhere; }
  .footer-contact a:first-of-type { font-size: clamp(16px, 5vw, 24px); white-space: normal; }
  .footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
  .footer-links a + a { margin-top: 4px; }
  .footer-meta { right: 24px; bottom: calc(31vw + 42px); left: 24px; flex-wrap: wrap; justify-content: flex-end; gap: 4px; font-size: 10px; }
  .footer-meta__made { margin-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
