:root {
  --black: #020202;
  --off-black: #090909;
  --white: #f8f8f8;
  --soft-white: #dfdfdf;
  --line: #505050;
  --text-block-gap: clamp(2.1rem, 7vw, 5rem);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Schibsted Grotesk", sans-serif;
  background: var(--black);
  color: var(--white);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: min(84vh, 720px);
  background: #ececec;
  color: #161616;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -90px;
  height: 180px;
  border-radius: 50%;
  background: var(--black);
  z-index: 2;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background: rgba(245, 245, 245, 0.76);
}

.hero--dark {
  background: #0a0a0a;
  color: #fff;
}

.hero--dark .hero__wash {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.hero--dark .brand,
.hero--dark h1 {
  color: #fff;
}

.hero--jane h1 {
  font-size: clamp(2.8rem, 11.5vw, 10rem);
  line-height: 0.88;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: clamp(2rem, 4.5vw, 3.6rem);
  padding-bottom: clamp(4rem, 10vw, 7rem);
  width: min(1320px, 96vw);
  min-height: inherit;
  display: flex;
  flex-direction: column;
}

.brand {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.home-nav {
  position: absolute;
  top: clamp(1.4rem, 3vw, 2.4rem);
  left: 50%;
  right: auto;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: min(1320px, 96vw);
  gap: 1rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.home-nav > * {
  pointer-events: auto;
}

.home-nav__logo {
  display: inline-flex;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(0.92rem, 1.56vw, 1.98rem);
  letter-spacing: 0.02em;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.home-nav__logo-img {
  display: block;
  height: 1em;
  width: auto;
  filter: brightness(0) invert(1);
}

.home-nav__menu {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.8rem, 1.8vw, 1.35rem);
}

.home-nav__link {
  color: #f4f4f4;
  text-decoration: none;
  font-family: "Schibsted Grotesk", sans-serif;
  font-size: clamp(0.82rem, 1.05vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1;
  transform: translateY(-1px);
}

.home-nav__link--active {
  text-decoration: none;
}

.home-nav__icon {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(1rem, 1.7vw, 2.15rem);
  line-height: 1;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.home-nav__icons {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.4rem;
  margin-left: 0.25rem;
}

.home-nav__icon svg {
  width: 1em;
  height: 1em;
}

.home-nav__icon--resume {
  line-height: 1;
}

.home-nav__icon--resume svg {
  display: block;
  height: calc(1em - 1px);
  transform: translateY(calc(-0.04em - 2px));
}

.home-nav__icon svg path {
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__headline-group {
  margin: auto 0;
}

.hero__headline-group .brand {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 600;
}

.hero__headline-group h1 {
  margin-top: 0.5rem;
}

h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  margin: clamp(1rem, 2vw, 1.6rem) 0 0;
  max-width: none;
  font-size: clamp(2.2rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.project {
  background: var(--black);
  padding-block: clamp(2.2rem, 6vw, 6rem);
}

.project__intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "title ."
    "body accordion";
  column-gap: clamp(1.3rem, 3vw, 3rem);
  row-gap: clamp(0.8rem, 1.8vw, 1.4rem);
  align-items: start;
}

h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.project__intro p {
  margin: 1rem 0 0;
  max-width: 55ch;
  color: #b9b9b9;
  line-height: 1.45;
}

.project__intro h2 {
  font-size: clamp(2.05rem, 5.15vw, 4.35rem);
  max-width: 17ch;
}

.project__title {
  grid-area: title;
}

.project__body {
  grid-area: body;
}

.project__body p:first-child {
  margin-top: 0;
}

.meta-accordion {
  margin: 0;
  grid-area: accordion;
  align-self: start;
  margin-left: auto;
  width: min(20rem, 72%);
}

.meta-item {
  margin: 0;
  padding: 0.2rem 0 0.7rem;
  border-bottom: 1px solid var(--line);
}

.meta-item + .meta-item {
  padding-top: 0.55rem;
}

.meta-item summary {
  list-style: none;
  cursor: pointer;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8e8e8e;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meta-item summary::-webkit-details-marker {
  display: none;
}

.meta-item summary::after {
  content: "+";
  font-size: 1rem;
  line-height: 1;
  color: #9b9b9b;
}

.meta-item[open] summary::after {
  content: "-";
}

.meta-item p {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.4;
}

.gallery {
  display: grid;
  gap: 0.7rem;
  margin-top: clamp(1.4rem, 4vw, 3rem);
}

.gallery--top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery--stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery--welink-videos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery--welink-lower {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  align-items: stretch;
}

.gallery--welink-lower .shot {
  min-height: 0;
}

.gallery--welink-lower .shot--welink-desktop {
  grid-column: 1 / -1;
  grid-row: 1;
}

.gallery--welink-lower .shot--welink-van {
  grid-column: 1;
  grid-row: 2;
}

.gallery--welink-lower .shot--welink-postcards {
  grid-column: 1;
  grid-row: 3;
}

.gallery--welink-lower .shot--welink-social {
  grid-column: 2;
  grid-row: 2 / span 2;
  height: 100%;
}

.gallery--welink-lower .shot--welink-social img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery--centerpoint-showcase {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.gallery--centerpoint-showcase .shot--full {
  grid-column: 1 / -1;
}

.gallery--centerpoint-showcase .shot--half {
  grid-column: span 6;
}

.gallery--centerpoint-showcase .shot--tall {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.gallery--centerpoint-showcase .shot--tall img {
  object-position: center top;
}

.shot {
  margin: 0;
  border-radius: 4px;
  min-height: 170px;
  background: #141414;
  border: 1px solid #303030;
  overflow: hidden;
}

.shot--wide {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.shot--full {
  grid-column: 1 / -1;
  min-height: 340px;
}

.shot--video-hero {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.shot--scroll {
  min-height: 0;
  height: auto;
}

.shot--scroll img {
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: top center;
  background: #0d0d0d;
}

.gallery--pharma-duo {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.gallery--pharma-duo .shot--pharma-half {
  grid-column: span 6;
  margin: 0;
  position: relative;
  height: 0;
  padding-bottom: 135%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.gallery--pharma-duo .shot--pharma-half img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.gallery--jane-top {
  margin-bottom: clamp(0.4rem, 1.2vw, 1rem);
}

.gallery--jane-bottom {
  margin-top: calc(var(--text-block-gap) * 1.5);
}

body.layout-option--together .gallery--option-separated {
  display: none;
}

body.layout-option--separated .gallery--option-together {
  display: none;
}

.shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.shot iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.shot video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-tile {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #000;
  cursor: pointer;
}

.video-tile iframe {
  pointer-events: none;
}

.video-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.video-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.1));
}

.video-tile__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 3.2rem;
  height: 3.2rem;
  border: 1.5px solid rgba(243, 243, 243, 0.82);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.video-tile__play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.14rem;
  border-top: 0.44rem solid transparent;
  border-bottom: 0.44rem solid transparent;
  border-left: 0.68rem solid #f3f3f3;
}

body.lightbox-open {
  overflow: hidden;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.video-lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox__frame {
  width: min(1100px, 92vw);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-lightbox__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox__frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-lightbox__close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.text-block {
  margin: var(--text-block-gap) auto 0;
  max-width: 56ch;
}

.text-block--challenge {
  margin-top: calc(var(--text-block-gap) * 2);
}

.text-block--approach {
  margin-bottom: calc(var(--text-block-gap) * 2);
}

.text-block--impact {
  margin-top: calc((var(--text-block-gap) * 2) - 30px);
  margin-bottom: 0;
}

.impact-metrics {
  margin-top: calc(clamp(1.8rem, 6vw, 4rem) + 20px);
  margin-bottom: calc(var(--text-block-gap) - 30px);
  width: min(1100px, 86%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.2rem, 4vw, 3rem);
  row-gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 761px) {
  .impact-metrics {
    padding-left: 80px;
  }
}

.impact-metrics__item {
  margin: 0;
}

.impact-metrics__value {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: #f2eee5;
  font-size: clamp(3.6rem, 11vw, 9.1rem);
}

.impact-metrics__label {
  margin: clamp(0.55rem, 1.6vw, 1rem) 0 0;
  max-width: 22ch;
  color: #efeee8;
  font-family: "Schibsted Grotesk", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-size: clamp(1rem, 1.55vw, 2rem);
}

.label {
  font-family: "Bricolage Grotesque", sans-serif;
  margin: 0;
  color: #9c9c9c;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.1;
  font-weight: 700;
}

.text-block p {
  margin: 0.65rem 0 0;
  color: #c4c4c4;
  line-height: 1.5;
}

.text-block p + p:not(.label) {
  margin-top: 0.85rem;
}

.scroll-banner {
  overflow: hidden;
  white-space: nowrap;
  background: var(--black);
}

.next-project {
  padding: 60px 0 clamp(1.2rem, 3.2vw, 2rem);
}

.next-project .container {
  width: min(1320px, 96vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.next-project__link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  text-decoration: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  letter-spacing: 0.02em;
  text-transform: none;
}

.next-project__arrow {
  width: 1rem;
  height: 1.35rem;
  position: relative;
  display: inline-block;
  transform: translateY(0);
}

.next-project__arrow--left {
  transform: translateY(0) scaleX(-1);
}

.next-project__arrow::before,
.next-project__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  width: 0.95rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: right center;
}

.next-project__arrow::before {
  top: 49%;
  transform: rotate(49deg);
}

.next-project__arrow::after {
  top: 49%;
  transform: rotate(-49deg);
}

.scroll-banner__track {
  display: inline-flex;
  min-width: 200%;
  animation: marquee 20s linear infinite;
}

.scroll-banner p {
  font-family: "Bricolage Grotesque", sans-serif;
  margin: 0;
  padding: 0.35rem 1.2rem 0.5rem 0;
  font-size: clamp(2rem, 8vw, 7rem);
  line-height: 1.05;
  font-weight: 900;
  color: #e9e9e9;
  letter-spacing: -0.03em;
}

.br-desktop {
  display: inline;
}

.contact {
  padding-block: clamp(2rem, 6vw, 4rem);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.contact__grid h2 {
  font-size: clamp(1.6rem, 4vw, 3.2rem);
}

.contact__form label {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8f8f8f;
  margin-bottom: 0.65rem;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  padding: 0.25rem 0;
  font: inherit;
}

.contact__form textarea {
  resize: vertical;
}

.contact__form button {
  margin-top: 0.8rem;
  border: 1px solid #707070;
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
}

.footer {
  padding: 1.5rem 0;
  border-top: 1px solid #1a1a1a;
}

.footer__inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__copy {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #555;
}

.footer__links {
  display: flex;
  gap: 1.2rem;
}

.footer__links a {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #555;
  text-decoration: none;
  transition: color 200ms;
}

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

@media (max-width: 760px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .home-nav {
    gap: 0.6rem;
  }

  .home-nav__menu {
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .home-nav__link {
    font-size: 1rem;
  }

  .home-nav__icon {
    font-size: 1.22rem;
  }

  .home-nav__logo {
    font-size: 1.12rem;
  }

  .home-nav__icons {
    gap: 0.28rem;
  }

  .home-nav__icon svg {
    width: 1em;
    height: 1em;
  }

  .hero {
    min-height: 300px;
  }

  .hero::after {
    bottom: -62px;
    height: 124px;
  }

  .br-desktop {
    display: none;
  }

  .project__intro,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .project__intro {
    grid-template-areas:
      "title"
      "body"
      "accordion";
    row-gap: 1rem;
  }

  .project__intro p {
    font-size: 0.93rem;
  }

  .meta-accordion {
    margin-top: 0.2rem;
    width: 100%;
  }


  .shot {
    min-height: 92px;
  }

  .shot--wide {
    min-height: 0;
  }

  .shot--full {
    min-height: 178px;
  }

  .shot--full.shot--scroll {
    min-height: 0;
  }

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

  .gallery--pharma-duo .shot--pharma-half {
    grid-column: 1 / -1;
  }

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

  .gallery--centerpoint-showcase .shot--half {
    grid-column: 1 / -1;
  }

  .gallery--centerpoint-showcase .shot--tall {
    aspect-ratio: auto;
  }

  .gallery--welink-lower {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

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

  .gallery--welink-lower .shot--welink-van,
  .gallery--welink-lower .shot--welink-social,
  .gallery--welink-lower .shot--welink-postcards,
  .gallery--welink-lower .shot--welink-desktop {
    grid-column: 1 / -1;
  }

  .gallery--welink-lower .shot--welink-desktop {
    grid-row: 1;
  }

  .gallery--welink-lower .shot--welink-van {
    grid-row: 2;
  }

  .gallery--welink-lower .shot--welink-postcards {
    grid-row: 3;
  }

  .gallery--welink-lower .shot--welink-social {
    grid-row: 4;
  }

  .gallery--welink-lower .shot--welink-social {
    height: auto;
  }

  .gallery--welink-lower .shot--welink-social img {
    height: auto;
    object-fit: cover;
  }

  .impact-metrics {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .impact-metrics__label {
    max-width: 22ch;
    font-size: clamp(0.9rem, 3.5vw, 1.15rem);
  }
}
