:root {
  --ch-black: #050505;
  --ch-white: #f7f7f4;
  --ch-paper: #fafafa;
  --ch-light-beige: #e2ded4;
  --ch-beige: #c6c4b5;
  --ch-light-ochre: #ddbb89;
  --ch-light-brown: #b5a396;
  --ch-light-green: #c8d383;
  --ch-aqua: #8cd2cb;
  --ch-text: #111111;
  --ch-line-light: rgba(255, 255, 255, 0.2);
  --ch-max: 1320px;
  --ch-nav-height: 66px;
  --ch-accent: var(--ch-aqua);
}

/* PAGE THEMES */

.ch-theme-aqua { --ch-accent: var(--ch-aqua); }
.ch-theme-ochre { --ch-accent: var(--ch-light-ochre); }
.ch-theme-brown { --ch-accent: var(--ch-light-brown); }
.ch-theme-green { --ch-accent: var(--ch-light-green); }

/* BASE */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ch-paper);
  color: var(--ch-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

/* LOGOS */

.ch-logo-eye,
.ch-logo-type {
  display: block;
  background-color: var(--ch-accent);
  transition: background-color 180ms ease;
}

.ch-logo-eye {
  position: relative;
  z-index: 90;
  width: 25px;
  height: 25px;
  mask: url('/img/curious-humans-eye.svg') center / contain no-repeat;
  -webkit-mask: url('/img/curious-humans-eye.svg') center / contain no-repeat;
}

.ch-logo-type {
  width: 178px;
  height: 60px;
  margin-top: 120px;
  mask: url('/img/curious-humans-logo-type.svg') left center / contain no-repeat;
  -webkit-mask: url('/img/curious-humans-logo-type.svg') left center / contain no-repeat;
}

/* NAV */

.ch-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: var(--ch-nav-height);
  background: var(--ch-light-beige);
  border-bottom: 1px solid var(--ch-beige);
}

.ch-nav-wrap {
  width: min(calc(100% - 48px), var(--ch-max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ch-nav {
  display: flex;
  gap: clamp(18px, 2.2vw, 32px);
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.ch-nav a {
  opacity: 0.72;
  transition: opacity 180ms ease, color 180ms ease;
}

.ch-nav a:hover {
  opacity: 1;
  color: var(--ch-accent);
}

/* MOBILE NAV */

.ch-menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ch-menu-button {
  position: relative;
  z-index: 90;
  display: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.ch-menu-button span {
  position: absolute;
  left: 8px;
  width: 26px;
  height: 1px;
  background: var(--ch-text);
  transition: transform 220ms ease, top 220ms ease;
}

.ch-menu-button span:first-child {
  top: 16px;
}

.ch-menu-button span:last-child {
  top: 25px;
}

.ch-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ch-light-beige);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease;
}

.ch-mobile-nav-inner {
  width: min(calc(100% - 48px), var(--ch-max));
  min-height: 100%;
  margin: 0 auto;
  padding: calc(var(--ch-nav-height) + 52px) 0 34px;
  display: flex;
  flex-direction: column;
}

.ch-mobile-nav a {
  width: fit-content;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(56px, 16vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: var(--ch-text);
}

.ch-mobile-nav a + a {
  margin-top: 8px;
}

.ch-mobile-nav a:hover {
  color: var(--ch-accent);
}

.ch-mobile-nav-footer {
  margin-top: auto;
  padding-top: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--ch-beige);
}

.ch-mobile-nav-footer span {
  max-width: 260px;
  font-size: 14px;
  line-height: 1.35;
}

.ch-mobile-nav-footer a {
  font-size: 32px;
  line-height: 0.95;
  color: var(--ch-accent);
}

.ch-menu-toggle:checked ~ .ch-menu-button span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.ch-menu-toggle:checked ~ .ch-menu-button span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.ch-menu-toggle:checked ~ .ch-mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* HERO */

.ch-hero,
.ch-page-hero,
.ch-case-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  background: var(--ch-black);
  overflow: hidden;
}

.ch-hero-video,
.ch-page-hero img,
.ch-case-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ch-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.2));
}

.ch-hero-content,
.ch-page-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--ch-nav-height) + 30px) 24px 48px;
  text-align: center;
}

.ch-hero-content p,
.ch-page-hero-content p {
  margin: 0;
}

.ch-mega {
  color: var(--ch-accent);
  font-family: 'Climate Crisis', Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(55px, 12vw, 190px);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ch-mega-2 {
  color: var(--ch-white);
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* INTRO */

.ch-intro {
  background: var(--ch-paper);
  padding: clamp(64px, 8vw, 120px) 24px clamp(72px, 9vw, 140px);
}

.ch-container {
  width: min(100%, var(--ch-max));
  margin: 0 auto;
}

.ch-intro-line {
  width: min(760px, 100%);
  margin: 0 auto;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4.4vw, 70px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-align: center;
}

.ch-intro-location {
  width: min(560px, 100%);
  margin: 24px auto 0;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.42;
  text-align: center;
}

/* SERVICES */

.ch-services {
  background: var(--ch-paper);
  padding: 0 24px clamp(70px, 8vw, 120px);
}

.ch-services-inner {
  width: min(760px, 100%);
  margin: 0 auto;
}

.ch-services h2,
.ch-closing h2,
.ch-work h2,
.ch-page-intro h1,
.ch-page-intro h2,
.ch-about-intro h1 {
  margin: 0;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-align: center;
}

.ch-rollover-services {
  margin-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--ch-beige);
}

.ch-rollover-item {
  position: relative;
  display: block;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--ch-beige);
  color: var(--ch-beige);
  transition: color 180ms ease, padding 180ms ease;
}

.ch-rollover-item::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--ch-text);
  transition: width 260ms ease;
}

.ch-rollover-item:hover {
  color: var(--ch-text);
  padding-left: 10px;
}

.ch-rollover-item:hover::before {
  width: 100%;
}

.ch-rollover-item > span {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.ch-rollover-item p {
  max-width: 680px;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  color: var(--ch-text);
  opacity: 0;
  transform: translateY(-4px);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.42;
  letter-spacing: -0.015em;
  transition: max-height 260ms ease, opacity 220ms ease, margin 220ms ease, transform 220ms ease;
}

.ch-rollover-item:hover p {
  max-height: 170px;
  opacity: 1;
  margin-top: 12px;
  transform: translateY(0);
}

.ch-cta {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ch-accent);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.ch-rollover-item:hover .ch-cta {
  border-color: var(--ch-accent);
}

/* PAGE INTRO */

.ch-page-intro {
  background: var(--ch-paper);
  padding: clamp(74px, 9vw, 140px) 24px;
}

.ch-page-intro-tight {
  padding-top: 0;
}

.ch-page-intro-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.ch-page-intro h1,
.ch-page-intro h2 {
  margin-bottom: 30px;
}

.ch-page-intro p {
  margin: 18px auto 0;
  max-width: 680px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.48;
}

/* WORK TILES */

.ch-work {
  background: var(--ch-paper);
  padding: 0 24px clamp(82px, 10vw, 150px);
}

.ch-work-inner {
  width: min(100%, 900px);
  margin: 0 auto;
}

.ch-work h2 {
  margin-bottom: clamp(34px, 5vw, 60px);
}

.ch-work-grid {
  display: grid;
  gap: 28px;
}

.ch-work-tile {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  min-height: 245px;
  background: var(--ch-light-beige);
  overflow: hidden;
}

.ch-work-copy {
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ch-work-copy h3 {
  margin: 0;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.ch-work-copy p {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.35;
}

.ch-work-copy span {
  margin-top: auto;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 18px;
  letter-spacing: -0.04em;
  color: var(--ch-black);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.ch-work-tile:hover .ch-work-copy span {
  border-color: var(--ch-black);
}

.ch-work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ABOUT */

.ch-about-intro {
  background: var(--ch-paper);
  padding: calc(var(--ch-nav-height) + clamp(74px, 9vw, 140px)) 24px clamp(70px, 8vw, 120px);
  text-align: center;
}

.ch-about-intro h1 {
  margin-bottom: 30px;
}

.ch-about-lead {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 64px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.055em;
}

.ch-image-pair {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.ch-image-pair img {
  width: 100%;
  height: clamp(280px, 28vw, 420px);
  object-fit: cover;
}

/* CASE STUDY */

.ch-case-hero-copy {
  position: absolute;
  left: max(24px, calc((100vw - 980px) / 2));
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--ch-white);
}

.ch-case-hero-copy h1 {
  margin: 0;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.ch-case-hero-copy p {
  margin: 22px 0 0;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.3;
}

.ch-case-intro {
  background: var(--ch-paper);
  padding: clamp(64px, 8vw, 120px) 24px;
}

.ch-case-intro-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.ch-case-intro h1 {
  margin: 0;
  padding-bottom: 24px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.ch-case-intro p {
  margin: 0 auto;
  max-width: 680px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.46;
}

.ch-case-intro p + p {
  margin-top: 22px;
}

.ch-case-gallery {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.ch-case-image,
.ch-case-image-pair figure {
  margin: 0;
}

.ch-case-image img,
.ch-case-image video,
.ch-case-video video {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: var(--ch-black);
}

.ch-case-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.ch-case-image-pair img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.ch-case-video {
  width: 100%;
}

.ch-case-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.ch-case-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ch-case-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.15)
  );
  z-index: 1;
}

/* CASE NAV */

.ch-case-nav {
  width: min(980px, calc(100% - 48px));
  margin: clamp(70px, 9vw, 130px) auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.ch-case-nav a {
  display: block;
}

.ch-case-nav-next {
  text-align: right;
}

.ch-case-nav span {
  display: block;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ch-case-nav strong {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  color: var(--ch-text);
  transition: color 180ms ease;
}

.ch-case-nav a:hover strong {
  color: var(--ch-accent);
}

/* CLOSING */

.ch-closing {
  background: var(--ch-paper);
  padding: 0 24px clamp(82px, 11vw, 170px);
  text-align: center;
}

.ch-closing p {
  width: min(700px, 100%);
  margin: 24px auto 0;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.42;
}

/* FOOTER */

.ch-footer {
  background: var(--ch-black);
  color: var(--ch-white);
  padding: clamp(52px, 7vw, 96px) 24px 34px;
}

.ch-footer-grid {
  width: min(100%, var(--ch-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(46px, 8vw, 150px);
}

.ch-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.ch-footer-nav a {
  color: var(--ch-light-beige);
  transition: color 180ms ease;
}

.ch-footer-nav a:hover {
  color: var(--ch-accent);
}

.ch-footer-line {
  margin: 0 0 28px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--ch-light-beige);
}

.ch-form {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(22px, 3vw, 42px);
}

.ch-form-left,
.ch-form-right {
  display: grid;
  gap: 20px;
}

.ch-form label {
  display: block;
}

.ch-form span {
  display: block;
  margin-bottom: 8px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 20px;
  letter-spacing: -0.04em;
  color: var(--ch-light-beige);
}

.ch-form input,
.ch-form textarea {
  width: 100%;
  border: 1px solid var(--ch-line-light);
  background: transparent;
  color: var(--ch-white);
  padding: 14px 12px;
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
}

.ch-form textarea {
  min-height: 204px;
  resize: vertical;
}

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

.ch-form button {
  justify-self: end;
  border: 1px solid var(--ch-line-light);
  background: transparent;
  color: var(--ch-light-beige);
  padding: 13px 42px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}

.ch-form button:hover {
  border-color: var(--ch-accent);
  color: var(--ch-accent);
}

.ch-gotcha {
  display: none !important;
}

.ch-footer-bottom {
  width: min(100%, var(--ch-max));
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--ch-line-light);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--ch-light-beige);
}

.ch-text-link {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--ch-accent);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.ch-text-link:hover {
  border-color: var(--ch-accent);
}

/* RESPONSIVE */

@media (max-width: 980px) {

  .ch-footer-grid,
  .ch-form {
    grid-template-columns: 1fr;
  }

  .ch-logo-type {
    margin-top: 56px;
  }

  .ch-form button {
    justify-self: start;
  }
}

@media (max-width: 760px) {

  .ch-rollover-item {
    color: var(--ch-text);
    padding-left: 0;
  }

  .ch-rollover-item p {
    max-height: none;
    opacity: 1;
    margin-top: 10px;
    transform: none;
  }

  .ch-rollover-item:hover {
    padding-left: 0;
  }

  .ch-rollover-item::before {
    display: none;
  }

  .ch-cta {
    font-size: 17px;
  }

  .ch-work-tile {
    grid-template-columns: 1fr;
  }

  .ch-work-copy {
    min-height: 220px;
  }

  .ch-work-tile img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  .ch-image-pair,
  .ch-case-image-pair {
    grid-template-columns: 1fr;
  }

  .ch-image-pair img {
    height: 60vw;
    min-height: 240px;
  }

  .ch-case-image-pair img {
    aspect-ratio: 16 / 9;
  }

  .ch-case-hero-copy {
    left: 24px;
    right: 24px;
  }

  .ch-case-nav {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ch-case-nav-next {
    text-align: left;
  }
}

@media (max-width: 720px) {

  :root {
    --ch-nav-height: 60px;
  }

  .ch-nav-wrap {
    width: min(calc(100% - 32px), var(--ch-max));
  }

  .ch-nav {
    display: none;
  }

  .ch-menu-button {
    display: block;
  }

  .ch-hero,
  .ch-page-hero,
  .ch-case-hero {
    min-height: 620px;
  }

  .ch-mega {
    font-size: clamp(45px, 15vw, 65px);
    line-height: 0.9;
  }

  .ch-mega-2 {
    font-size: 30px;
  }
}

@media (max-width: 560px) {

  .ch-hero,
  .ch-page-hero,
  .ch-case-hero {
    height: 82vh;
    min-height: 520px;
  }

  .ch-mega {
    font-size: clamp(36px, 12.5vw, 56px);
  }

  .ch-mega-2 {
    font-size: 22px;
  }

  .ch-intro-line {
    font-size: clamp(32px, 10vw, 52px);
  }

  .ch-footer-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}