:root {
  color-scheme: light;
  --ink: #0c343d;
  --gold: #f9bf4b;
  --line: #d9e0dd;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

img,
svg,
canvas {
  max-width: 100%;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 16px;
  z-index: 10000;
  padding: 12px 16px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font: 600 15px/1 'Instrument Sans', sans-serif;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.page-wrap {
  display: block !important;
}

.site-shell {
  width: 100% !important;
  max-width: 1440px;
  margin: 0 auto;
}

.site-header a,
.pill {
  transition: color 160ms ease, background-color 160ms ease;
}

.mobile-hero-services {
  display: none;
}

.hero-motion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.hero-motion[data-playing="true"] .motion-play,
.hero-motion[data-playing="false"] .motion-pause,
.hero-motion[hidden],
.claim-motion[hidden] {
  display: none;
}

.claim-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

#ln-zoom {
  display: none;
}

.claim-zoom-hint {
  margin-right: auto;
  color: #cfe0dc;
}

.claim-motion {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #64817f;
  border-radius: 4px;
  color: #cfe0dc;
  background: transparent;
  cursor: pointer;
}

.claim-motion:hover {
  color: #fff;
  border-color: var(--gold);
}

.video-section {
  position: relative;
  padding: 80px 100px;
  border-top: 1px solid var(--line);
  background: #f8faf7;
}

.video-intro {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: end;
  max-width: 880px;
  margin: 0 auto 36px;
}

.video-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.video-intro h2 {
  font-size: 56px;
}

.video-intro > p {
  max-width: 350px;
  margin: 0 0 4px auto;
}

.video-feature {
  max-width: 880px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #cad8d0;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: 0 16px 40px -24px rgba(12, 52, 61, .3);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .22), 0 8px 28px rgba(12, 52, 61, .2);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.video-play svg {
  margin-left: -3px;
}

.video-play:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 10px;
}

@media (hover: hover) {
  .video-play:hover {
    background: #ffd071;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .22), 0 10px 32px rgba(12, 52, 61, .24);
    transform: translate(-50%, -50%) scale(1.04);
  }
}

.overview-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-frame > [hidden] {
  display: none;
}

@media (max-width: 1399px) {
  .site-header {
    padding-inline: clamp(48px, 6.9vw, 100px) !important;
  }

  .hero,
  .what-we-do,
  .video-section,
  .claim-section,
  .proof,
  .contact,
  .site-footer {
    padding-left: clamp(48px, 6.9vw, 100px) !important;
    padding-right: clamp(48px, 6.9vw, 100px) !important;
  }

  .hero > h1 {
    width: auto !important;
    max-width: 1135px;
    font-size: clamp(68px, 7vw, 100px) !important;
  }

  .hero > div:last-child > div:last-child,
  .hero > div:last-child > div:last-child > div,
  .hero > div:last-child > div:last-child > .mono {
    width: 100% !important;
  }

  #t-panel {
    height: auto !important;
    aspect-ratio: 760 / 560;
  }

  #t-svg {
    width: 100%;
    height: auto;
  }

  #lnWrap {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1240 / 440;
  }

  #lnSvg,
  #lnCv {
    width: 100% !important;
    height: auto !important;
  }


  .proof .h[style*="font-size: 160px"] {
    font-size: clamp(92px, 11vw, 160px) !important;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 12px;
  }

  .site-header {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-rows: 82px auto;
    height: auto !important;
    padding-inline: 24px !important;
    padding-bottom: 14px !important;
  }

  .site-header > a {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header img {
    width: 150px !important;
  }

  .nav-wrap {
    display: contents !important;
  }

  .nav-links {
    display: flex !important;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-end;
    gap: 24px !important;
    padding-top: 13px;
    border-top: 1px solid var(--line);
    font-size: 14px !important;
  }

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 0 !important;
  }

  .nav-actions .pill {
    height: 44px !important;
    padding-inline: 18px !important;
    font-size: 15px;
  }

  .hero,
  .what-we-do,
  .video-section,
  .claim-section,
  .proof,
  .contact,
  .site-footer {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .hero {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
    gap: 26px !important;
  }

  .video-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .video-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .video-intro h2 {
    font-size: clamp(40px, 7vw, 64px);
  }

  .video-intro > p {
    max-width: 480px;
    margin: 0;
  }

  .hero > h1 {
    font-size: clamp(49px, 13.5vw, 76px) !important;
    line-height: .96 !important;
  }

  .hero > div:last-child {
    display: flex !important;
    flex-direction: column;
    gap: 38px !important;
  }

  .hero > div:last-child > div:first-child {
    gap: 28px !important;
    padding-top: 4px !important;
  }

  .hero > div:last-child > div:first-child > div:nth-child(2) {
    flex-wrap: wrap;
    gap: 12px 24px !important;
  }

  .hero > div:last-child > div:first-child > div:last-child {
    width: 100% !important;
  }

  .hero > div:last-child > div:first-child > div:last-child > div:last-child {
    flex-wrap: wrap;
    gap: 10px 12px !important;
  }

  .hero > div:last-child > div:last-child {
    margin-top: 0 !important;
  }

  #t-panel {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    aspect-ratio: auto;
  }

  #t-toggle {
    position: static !important;
    width: max-content;
    margin-top: 12px;
  }

  #t-toggle button {
    font-size: 11px !important;
  }

  .side {
    display: none !important;
  }

  .what-we-do,
  .proof {
    padding-top: 68px !important;
    padding-bottom: 68px !important;
    gap: 42px !important;
  }

  .what-we-do-intro,
  .claim-intro,
  .contact > div:first-child {
    display: flex !important;
    flex-direction: column;
    gap: 24px !important;
    align-items: flex-start !important;
  }

  .what-we-do h2,
  .claim-section h2,
  .contact h2 {
    font-size: clamp(44px, 11vw, 64px) !important;
  }

  .what-we-do-audiences {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .what-we-do > div:last-child {
    justify-content: flex-start !important;
    flex-wrap: wrap;
  }

  .what-we-do > div:last-child .dot {
    margin-right: 4px;
  }

  .claim-section {
    min-height: 0 !important;
    padding-top: 68px !important;
    padding-bottom: 68px !important;
    gap: 36px !important;
  }

  .claim-instrument {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 6px;
  }

  .claim-instrument.is-zoomed #lnWrap {
    width: 1240px !important;
    height: 440px !important;
  }

  #ln-zoom:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .claim-instrument:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
  }

  .proof-testimonial > div {
    grid-column: 1 / -1 !important;
  }

  .proof blockquote {
    font-size: clamp(29px, 7.5vw, 44px) !important;
  }

  .proof-stats > div {
    display: flex !important;
    flex-direction: column;
    gap: 14px !important;
    align-items: flex-start !important;
    padding-block: 24px !important;
  }

  .proof .h[style*="font-size: 160px"] {
    font-size: clamp(59px, 18vw, 110px) !important;
    overflow-wrap: anywhere;
  }

  .proof-summary > p {
    grid-column: 1 / -1 !important;
  }

  .contact {
    padding-top: 68px !important;
    padding-bottom: 68px !important;
  }

  .contact > div:last-child {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 28px !important;
  }

  .contact a.h {
    font-size: clamp(23px, 7vw, 32px) !important;
    overflow-wrap: anywhere;
  }

  .site-footer {
    padding-top: 48px !important;
    padding-bottom: 36px !important;
    gap: 40px !important;
  }

  .site-footer > div:first-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px 24px !important;
  }

  .site-footer > div:first-child > div:first-child {
    grid-column: 1 / -1 !important;
  }

  .site-footer > div:first-child > div:nth-child(2),
  .site-footer > div:first-child > div:nth-child(3) {
    grid-column: auto !important;
  }

  .site-footer p {
    width: auto !important;
  }
}

@media (max-width: 520px) {
  .site-header img {
    width: 132px !important;
  }

  .nav-links {
    justify-content: space-between;
    gap: 16px !important;
  }

  .nav-actions .pill {
    padding-inline: 15px !important;
    font-size: 14px;
  }

  .hero .mono,
  .what-we-do .mono,
  .video-section .mono,
  .claim-section .mono,
  .proof .mono,
  .site-footer .mono {
    letter-spacing: .1em;
  }

  .hero > div:last-child > div:last-child > .mono {
    text-align: left !important;
  }

  #t-svg text {
    display: none !important;
  }

  .mobile-hero-services {
    display: block;
    width: 100%;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .mobile-hero-services > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    margin-top: 14px;
    color: var(--ink);
    font: 500 13px/1.35 'Instrument Sans', sans-serif;
  }

  .mobile-hero-services span::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 8px 2px 0;
    border-radius: 50%;
    background: var(--gold);
  }

  .pill {
    padding-inline: 22px;
  }

  .video-play {
    width: 60px;
    height: 60px;
  }

  .site-footer > div:first-child {
    grid-template-columns: 1fr !important;
  }

  .site-footer > div:first-child > div:nth-child(2),
  .site-footer > div:first-child > div:nth-child(3) {
    grid-column: 1 / -1 !important;
  }
}

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

  *:not(.motion-enabled *),
  *:not(.motion-enabled *)::before,
  *:not(.motion-enabled *)::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
