:root {
  color-scheme: only light;
  --ink: #171717;
  --muted: #707070;
  --soft: #d8d8d2;
  --panel: #b9bab4;
  --panel-deep: #8f918b;
  --paper: #f3f2ed;
  --olive: #707767;
  --clay: #a8745d;
  --line: rgba(23, 23, 23, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Calibri, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  forced-color-adjust: none;
}

main {
  isolation: isolate;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

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

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

section {
  scroll-margin-top: 76px;
}

main > section:not(.hero-section) {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 58px);
  color: #dadad4;
  mix-blend-mode: difference;
}

.header-logo {
  display: inline-flex;
  width: clamp(82px, 9.6vw, 140px);
  opacity: 0.84;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 34px);
  margin-left: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.9vw, 30px);
  font-size: clamp(0.82rem, 1.18vw, 1.04rem);
  text-transform: lowercase;
  white-space: nowrap;
}

.main-nav a {
  color: #d8d8d2;
  opacity: 0.8;
  transition: opacity 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

.language-switcher {
  position: relative;
  color: #d8d8d2;
  font-size: clamp(0.82rem, 1.18vw, 1.04rem);
  line-height: 1;
}

.language-switcher button {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.language-current {
  min-width: 22px;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  gap: 10px;
  min-width: 42px;
  padding: 10px 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-switcher.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu button {
  opacity: 0.72;
  text-align: left;
  text-decoration: none;
  transition: opacity 160ms ease, text-decoration-color 160ms ease;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button[data-active="true"] {
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero-section {
  position: sticky;
  z-index: 0;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #1c1c1a;
}

.video-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1c1c1a;
}

.video-play-toggle {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: none;
  place-items: center;
  border: 1px solid rgba(235, 235, 229, 0.72);
  border-radius: 50%;
  background: rgba(12, 12, 10, 0.22);
  color: rgba(245, 245, 240, 0.9);
  font: inherit;
  font-size: 1.2rem;
  transform: translate(-50%, -50%);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.video-play-toggle.is-visible {
  display: grid;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.32)),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.08), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 1120px);
  min-height: 44svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2.2vw, 26px);
  text-align: center;
  color: #deded8;
  padding: 96px 0 60px;
  transform: translateY(-2svh);
}

.hero-logo {
  width: min(72.8vw, 644px);
  min-width: 308px;
  opacity: 0.92;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.22));
}

.hero-tagline {
  margin: 0;
  max-width: min(92vw, 1120px);
  font-size: clamp(1.55rem, 4vw, 3.85rem);
  line-height: 1.02;
  font-weight: 300;
  color: rgba(222, 222, 216, 0.86);
  white-space: nowrap;
}

.slogan-section,
.text-band {
  background: var(--panel);
}

.section-inner {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 82px) 0;
}

.section-inner.narrow {
  width: min(100% - 40px, 940px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.14vw, 1.18rem);
  font-weight: 500;
  text-transform: uppercase;
}

.slogan-section .eyebrow {
  margin-bottom: clamp(24px, 3vw, 42px);
}

.copy-inner {
  width: auto;
  max-width: 980px;
  margin-left: clamp(20px, 4vw, 58px);
  margin-right: clamp(20px, 4vw, 58px);
}

.copy-lead,
.slogan-section h1 {
  margin: 0;
  color: #3c3d39;
  font-size: clamp(1.7rem, 3.1vw, 3.55rem);
  line-height: 1.04;
  font-weight: 700;
}

.copy-body {
  margin: clamp(18px, 2.4vw, 34px) 0 0;
  max-width: 840px;
  color: #454641;
  font-size: clamp(1.28rem, 1.78vw, 1.96rem);
  line-height: 1.3;
  font-weight: 400;
}

.brand-term {
  font-style: italic;
}

.media-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  background: #20201e;
}

.media-half {
  margin: 0;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.media-half img,
.media-half video,
.project-tile img,
.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-band .copy-lead {
  color: #2c2d29;
}

.text-band .copy-body {
  margin: 0;
  margin-top: clamp(18px, 2.4vw, 34px);
  color: #2c2d29;
  font-weight: 400;
}

.text-band.alternate {
  background: var(--panel);
}

.projects-section {
  background: #151513;
  color: var(--soft);
}

.section-title-row {
  padding: clamp(34px, 6vw, 74px) clamp(20px, 4vw, 58px) clamp(18px, 3vw, 28px);
}

.section-title-row .eyebrow {
  color: rgba(222, 222, 216, 0.72);
  margin: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.project-tile {
  position: relative;
  margin: 0;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #252522;
}

.project-tile img {
  transition: transform 900ms ease, filter 900ms ease;
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.56));
  opacity: 0;
  transition: opacity 320ms ease;
}

.project-tile figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 38px);
  color: #eeeeea;
  font-size: clamp(1.25rem, 2.4vw, 2.2rem);
  font-weight: 300;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.project-tile:hover img,
.project-tile:focus-visible img {
  transform: scale(1.035);
  filter: saturate(0.92) brightness(0.82);
}

.project-tile:hover::after,
.project-tile:focus-visible::after,
.project-tile:hover figcaption,
.project-tile:focus-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}

.team-section {
  background: var(--panel);
  color: #252621;
  padding: clamp(46px, 6vw, 78px) clamp(20px, 4vw, 58px) clamp(62px, 8vw, 104px);
}

.team-heading {
  margin-bottom: clamp(34px, 5vw, 74px);
}

.team-heading .eyebrow {
  color: #4c4d48;
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 28px);
}

.team-member {
  min-width: 0;
}

.team-member img {
  aspect-ratio: 1;
  filter: grayscale(1);
  background: #9d9f98;
}

.team-member h2 {
  margin: 12px 0 4px;
  font-size: clamp(0.86rem, 1vw, 1.08rem);
  font-weight: 400;
  line-height: 1.15;
}

.team-member p {
  margin: 0;
  color: #565852;
  font-size: clamp(0.72rem, 0.86vw, 0.92rem);
  line-height: 1.28;
}

.youtube-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(1.22);
  transform-origin: center;
  pointer-events: none;
  background: #1c1c1a;
}

.video-roll {
  position: relative;
  min-height: 138svh;
  background: #171715;
  color: var(--soft);
}

.roll-background {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.roll-copy {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 7vw, 110px);
  right: clamp(20px, 11vw, 180px);
  top: 48svh;
}

.roll-copy p {
  margin: 0;
  max-width: 980px;
  font-size: clamp(1.45rem, 3.9vw, 4.55rem);
  line-height: 1.04;
  font-weight: 500;
  color: rgba(232, 232, 226, 0.84);
}

.partners-contact {
  background: #c7c8c1;
  padding: clamp(38px, 5.5vw, 74px) clamp(20px, 4vw, 58px) clamp(46px, 6.5vw, 88px);
}

.logo-group + .logo-group {
  margin-top: clamp(34px, 4.8vw, 62px);
}

.logo-heading,
.contact-heading,
.form-heading .eyebrow {
  color: #4c4d48;
}

.logo-heading,
.contact-heading {
  margin: 0 0 clamp(18px, 2.8vw, 32px);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
}

.logo-carousel {
  --logo-gap: clamp(42px, 4vw, 72px);
  overflow: hidden;
  width: min(calc(100% - 80px), 1010px);
  margin: 0 auto;
}

.logo-track {
  --logo-size: 160px;
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  width: max-content;
  opacity: 0;
  transform: translateX(0);
  transition: transform 780ms cubic-bezier(0.55, 0, 0.2, 1);
  will-change: transform;
}

.logo-track.is-ready {
  opacity: 1;
}

.logo-track img {
  flex: 0 0 var(--logo-size);
  width: var(--logo-size);
  height: var(--logo-size);
  padding: 0;
  box-sizing: border-box;
  object-fit: contain;
  opacity: 1;
  filter: none;
}

@media (max-width: 700px) {
  .logo-carousel {
    --logo-gap: clamp(18px, 4vw, 32px);
    width: min(calc(100% - 32px), 1010px);
  }
}

.contact-form {
  margin: 0 auto;
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
  align-items: end;
}

.form-heading {
  grid-column: 1 / -1;
  max-width: 920px;
  justify-self: center;
  text-align: center;
  margin-bottom: clamp(14px, 2vw, 32px);
}

.form-heading h2 {
  margin: 0;
  font-size: clamp(1.82rem, 4.1vw, 4.55rem);
  line-height: 1;
  font-weight: 300;
  color: #282923;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: #4f514b;
  font-size: 0.96rem;
  text-transform: lowercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.15rem;
  padding: 8px 0 12px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(23, 23, 23, 0.72);
}

.message-field {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: center;
  border: 1px solid rgba(23, 23, 23, 0.56);
  background: transparent;
  color: var(--ink);
  padding: 13px 26px;
  min-width: 144px;
  border-radius: 0;
  font: inherit;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: -16px 0 0;
  color: rgba(239, 245, 242, 0.82);
  text-align: center;
  font-size: 0.96rem;
}

.site-footer {
  width: min(100%, 980px);
  margin: clamp(42px, 6vw, 78px) auto 0;
  padding-top: clamp(26px, 3vw, 42px);
  border-top: 1px solid rgba(180, 211, 212, 0.38);
  color: rgba(239, 245, 242, 0.78);
  text-align: center;
}

.footer-legal,
.footer-copy {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.45;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px clamp(18px, 2.6vw, 34px);
  margin-top: clamp(18px, 2.5vw, 28px);
  font-size: 0.95rem;
}

.footer-links a {
  color: rgba(239, 245, 242, 0.82);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 34px);
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(213, 233, 232, 0.64);
  border-radius: 50%;
  color: #eef0eb;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: lowercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: #eef0eb;
  border-color: #eef0eb;
  color: #253033;
}

.footer-copy {
  margin-top: clamp(22px, 3vw, 34px);
  color: rgba(239, 245, 242, 0.66);
}

.contact-section {
  background: #687072;
  color: #eef0eb;
  padding: clamp(62px, 8vw, 112px) clamp(20px, 4vw, 58px) clamp(70px, 9vw, 124px);
}

.contact-section .contact-heading {
  color: rgba(239, 245, 242, 0.88);
}

.contact-section .form-heading h2 {
  color: #eef0eb;
}

.contact-section .contact-form label {
  color: rgba(222, 232, 230, 0.82);
}

.contact-section .contact-form input,
.contact-section .contact-form textarea {
  border-bottom-color: rgba(180, 211, 212, 0.56);
  color: #f5f7f2;
}

.contact-section .contact-form input:focus,
.contact-section .contact-form textarea:focus {
  border-bottom-color: rgba(215, 239, 237, 0.94);
}

.contact-section .contact-form button {
  border-color: rgba(213, 233, 232, 0.76);
  color: #eef0eb;
}

.contact-section .contact-form button:hover,
.contact-section .contact-form button:focus-visible {
  background: #eef0eb;
  color: #253033;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    padding-top: 18px;
  }

  .main-nav {
    flex-wrap: nowrap;
    row-gap: 0;
    max-width: none;
  }

  .header-actions {
    gap: 18px;
  }

  .media-split,
  .projects-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 10px;
  }

}

@media (max-width: 700px) {
  .slogan-section,
  .text-band,
  .text-band.alternate,
  .team-section {
    background: #b9bab4 !important;
    color: #20211d !important;
    color-scheme: only light;
    forced-color-adjust: none;
  }

  .partners-contact {
    background: #c7c8c1 !important;
    color-scheme: only light;
    forced-color-adjust: none;
  }

  .slogan-section .eyebrow,
  .text-band .eyebrow,
  .copy-lead,
  .slogan-section h1,
  .copy-body,
  .text-band .copy-lead,
  .text-band .copy-body,
  .team-heading .eyebrow,
  .team-member h2,
  .team-member p {
    color: #20211d !important;
    -webkit-text-fill-color: #20211d;
    forced-color-adjust: none;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
  }

  .copy-body,
  .text-band .copy-body,
  .team-member p {
    color: #3f413b !important;
    -webkit-text-fill-color: #3f413b;
    forced-color-adjust: none;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
  }

  .team-section {
    padding-top: clamp(44px, 10vw, 68px);
    padding-bottom: clamp(58px, 13vw, 92px);
  }

  .team-heading {
    margin-bottom: clamp(30px, 8vw, 48px);
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(42px, 9vw, 64px) 18px;
    align-items: start;
  }

  .team-member h2 {
    margin-top: 16px;
    margin-bottom: 5px;
    font-size: clamp(0.92rem, 3.2vw, 1.05rem);
  }

  .team-member p {
    font-size: clamp(0.8rem, 2.8vw, 0.94rem);
    line-height: 1.34;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
    padding-inline: 16px;
  }

  .header-logo {
    width: 74px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.76rem;
    max-width: 190px;
  }

  .language-switcher {
    font-size: 0.76rem;
  }

  .hero-section {
    min-height: 92svh;
  }

  .hero-logo {
    min-width: 249px;
  }

  .hero-tagline {
    white-space: normal;
    max-width: 620px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 18px;
  }

  .media-half,
  .project-tile {
    min-height: 0;
  }

  .section-inner {
    width: min(100% - 32px, 1080px);
  }

  .section-inner.copy-inner {
    margin-left: 16px;
    margin-right: 16px;
  }
}
