/* ==========================================================================
   Champlion site styles
   Colors and type come from the brand guide. Layout follows the sidebar
   dashboard. Cards, spacing, shadow and motion follow the design reference.
   ========================================================================== */

@font-face {
  font-family: "Cinzel";
  src: url("/assets/fonts/cinzel-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@view-transition {
  navigation: auto;
}

:root {
  /* Brand palette */
  --black: #000000;
  --black-1: #1a1a1a;
  --black-2: #333333;
  --gray-666: #666666;
  --gray-a8: #a8a8a8;
  --gray-c7: #c7c7c7;
  --gray-e0: #e0e0e0;
  --canvas: #f2f2f2;
  --white: #ffffff;
  --gold: #d4a23c;
  --gold-deep: #8a5a17;
  --gold-light: #f5d27a;

  /* Type */
  --font-display: "Cinzel", "Times New Roman", Times, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape and depth */
  --radius-sm: 6px;
  --radius: 8px;
  --shadow-frame:
    0 0.8px 0.8px -0.5px rgba(0, 0, 0, 0.1),
    0 2.4px 2.4px -1px rgba(0, 0, 0, 0.1),
    0 6.4px 6.4px -1.5px rgba(0, 0, 0, 0.09),
    0 20px 20px -2.5px rgba(0, 0, 0, 0.05);

  /* Layout */
  --sidebar-width: 288px;
  --panel-inset: 12px;
  --topbar-height: 64px;
  --gutter: 20px;
  --section-y: 72px;

  /* Motion */
  --ease-reveal: cubic-bezier(0.44, 0, 0.56, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base
   ========================================================================== */

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

html {
  background: var(--black);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--black);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  font-weight: 500;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Type styles
   ========================================================================== */

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.title-xl {
  font-size: clamp(2.875rem, 10.5cqi, 6.5rem);
}

.title-lg {
  font-size: clamp(2.125rem, 11cqi, 4.75rem);
}

.title-md {
  font-size: clamp(1.75rem, 4.4cqi, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.title-sm {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.0625rem, 1.9cqi, 1.25rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.muted {
  color: var(--gray-666);
}

/* Buttons
   ========================================================================== */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-align: center;
  transition: opacity 0.15s var(--ease), background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.pill:hover {
  opacity: 0.85;
}

.pill--black {
  background: var(--black);
  color: var(--white);
}

.pill--gold {
  background: var(--gold);
  color: var(--black);
}

.pill--outline {
  background: transparent;
  border-color: var(--black-2);
  color: var(--white);
}

.pill--outline:hover {
  opacity: 1;
  border-color: var(--gold);
  color: var(--gold-light);
}

.pill--outline-dark {
  background: transparent;
  border-color: var(--gray-c7);
  color: var(--black);
}

.pill--outline-dark:hover {
  opacity: 1;
  background: var(--canvas);
}

/* App shell: black page, sidebar, light content panel
   ========================================================================== */

.panel {
  container-type: inline-size;
  min-width: 0;
  background: var(--canvas);
  color: var(--black);
  color-scheme: light;
  padding: 8px;
}

.page-footer {
  position: relative;
  overflow: hidden;
  margin: 16px -8px -8px;
  padding: 44px var(--gutter) 22px;
  color: var(--gray-666);
  font-size: 14px;
}

.page-footer__wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--gray-e0);
  opacity: 0.6;
}

.page-footer__row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
}

/* Sidebar */

.sidebar {
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--black);
  view-transition-name: sidebar;
}

.sidebar__logo {
  display: block;
  width: 176px;
}

.sidebar__logo img {
  width: 100%;
  height: auto;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 28px;
}

.profile__photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  padding: 3px;
  object-fit: cover;
}

.profile__name {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.profile__role {
  margin-top: 4px;
  font-size: 14px;
  color: var(--gray-a8);
}

.profile .pill {
  margin-top: 16px;
  min-height: 44px;
  padding: 11px 22px;
  font-size: 13px;
}

.nav {
  margin-top: 28px;
}

.nav__list {
  display: grid;
  gap: 2px;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gray-c7);
  text-align: left;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

@media (hover: hover) {
  .nav__link:hover {
    background: var(--black-1);
    color: var(--white);
  }
}

.nav__link[aria-current="page"],
.nav__link.is-active {
  background: var(--black-1);
  color: var(--gold-light);
}

.nav__chevron {
  margin-left: auto;
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.nav__toggle[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

.nav__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.js .nav__toggle[aria-expanded="false"] + .nav__panel {
  grid-template-rows: 0fr;
}

.js .nav__toggle[aria-expanded="false"] + .nav__panel .nav__sublist {
  visibility: hidden;
}

.nav__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.nav__sublist {
  display: grid;
  gap: 2px;
  padding: 2px 0 2px 42px;
  transition: visibility 0.3s;
}

.nav__sublink {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-a8);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

@media (hover: hover) {
  .nav__sublink:hover {
    background: var(--black-1);
    color: var(--white);
  }
}

.nav__sublink[aria-current="page"] {
  color: var(--gold-light);
}

.sidebar__tagline {
  margin-top: auto;
  padding-top: 24px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
}

/* Mobile top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-height);
  padding: 0 12px 0 20px;
  background: var(--black);
  view-transition-name: topbar;
}

.topbar__logo img {
  width: auto;
  height: 40px;
}

html:not(.js) .hamburger {
  display: none;
}

.hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s linear;
}

.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Under the desktop breakpoint the sidebar becomes the slide-in menu. */
@media (max-width: 1023.98px) {
  .sidebar {
    padding: 24px 20px 32px;
  }

  .sidebar__logo {
    display: none;
  }

  .js .sidebar {
    position: fixed;
    inset: var(--topbar-height) 0 0 0;
    z-index: 30;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0.3s;
  }

  .js .sidebar.is-open {
    transform: none;
    visibility: visible;
  }

  .profile {
    margin-top: 0;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  .topbar {
    display: none;
  }

  .shell {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    align-items: start;
  }

  .sidebar {
    position: sticky;
    top: 0;
    height: 100dvh;
    overflow-y: auto;
    scrollbar-width: none;
    padding: 24px 20px 24px 24px;
  }

  .sidebar__logo {
    margin-inline: auto;
  }

  .panel {
    margin: var(--panel-inset) var(--panel-inset) var(--panel-inset) 0;
    min-height: calc(100dvh - var(--panel-inset) * 2);
    border-radius: var(--radius);
    overflow: clip;
    display: flex;
    flex-direction: column;
  }

  .page-footer {
    margin-top: auto;
  }

  .panel__body {
    padding-bottom: 16px;
  }
}

@media (min-width: 1024px) and (max-height: 700px) {
  .profile {
    margin-top: 16px;
  }

  .profile__photo {
    width: 88px;
    height: 88px;
  }

  .nav {
    margin-top: 16px;
  }

  .sidebar__tagline {
    display: none;
  }
}

/* Black brand panels: hero, page heads, closing call to action
   ========================================================================== */

.stage {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  isolation: isolate;
}

.stage .eyebrow {
  color: var(--gold);
}

.stage .muted {
  color: var(--gray-c7);
}

.stage__lion {
  position: absolute;
  z-index: -1;
  opacity: 0.09;
  pointer-events: none;
  user-select: none;
}

.stage__wave {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 72px;
}

.rule {
  display: flex;
  align-items: center;
  height: 3px;
  margin-top: 16px;
}

.rule::before {
  content: "";
  width: min(128px, 30%);
  height: 3px;
  background: var(--gold);
}

.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--black-2);
}

/* Home hero */

.hero {
  min-height: max(560px, calc(100svh - var(--topbar-height) - 16px));
  padding: 24px 20px 56px;
  justify-content: space-between;
  gap: 48px;
}

.hero .stage__lion {
  width: min(92cqi, 620px);
  right: -8%;
  top: 8%;
}

.hero__intro {
  max-width: 420px;
  margin-top: 28px;
}

.hero__intro .pill {
  margin-top: 24px;
}

/* Inner page head */

.page-head {
  padding: 28px 20px 72px;
}

.page-head .stage__wave {
  height: 48px;
}

.page-head + .section {
  margin-top: 40px;
}

.page-head .stage__lion {
  width: min(62cqi, 360px);
  right: -4%;
  top: -24%;
}

.page-head h1 {
  margin-top: 40px;
}

.page-head__text {
  max-width: 560px;
  margin-top: 16px;
}

/* Closing call to action */

.cta {
  margin-top: var(--section-y);
  padding: 44px 20px 72px;
  align-items: flex-start;
}

.cta .stage__lion {
  width: min(66cqi, 400px);
  right: -6%;
  top: -18%;
}

.cta__text {
  max-width: 440px;
  margin-top: 14px;
}

.cta .pill {
  margin-top: 28px;
}

/* Sections
   ========================================================================== */

.section {
  margin-top: var(--section-y);
  padding-inline: 12px;
}

.wrap {
  max-width: 1120px;
  margin-inline: auto;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head .display {
  margin-top: 14px;
}

.section-head p {
  margin-top: 12px;
}

/* Framed card */

.frame {
  padding: 8px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-frame);
}

.frame__body {
  padding: 16px 12px 14px;
}

/* About split */

.about {
  display: grid;
  gap: 28px;
  align-items: center;
}

.portrait {
  position: relative;
  max-width: 460px;
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--gray-e0);
}

.portrait__tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.about__copy .display {
  margin-top: 14px;
}

.about__copy .lead {
  margin-top: 20px;
}

.about__copy .lead + .lead {
  margin-top: 14px;
}

/* Skills marquee */

.marquee {
  margin: var(--section-y) -8px 0;
  padding: 20px 0;
  overflow: hidden;
  background: var(--gray-e0);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 90s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__list {
  display: flex;
  align-items: center;
}

.marquee__list li {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.4cqi, 1.5rem);
  font-weight: 600;
  white-space: nowrap;
}

.marquee__list li::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 24px;
  border-radius: 50%;
  background: var(--gold);
}

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

/* Service link cards */

.service-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  display: block;
}

.service-card__media {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--gold);
}

.service-card__media .stage__lion {
  z-index: 0;
  width: 56%;
  right: -6%;
  top: -10%;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .stage__lion {
  transform: scale(1.04);
}

.service-card__media > .icon {
  position: relative;
  width: 44px;
  height: 44px;
  stroke-width: 1.4;
}

.service-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-card__title .icon {
  color: var(--gold-deep);
  transition: transform 0.2s var(--ease);
}

.service-card:hover .service-card__title .icon {
  transform: translateX(4px);
}

.service-card p {
  margin-top: 6px;
  color: var(--gray-666);
}

/* Skills and platforms */

.capabilities {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.capability {
  padding: 20px 14px;
}

.capability h2 {
  margin: 0 2px 16px;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--canvas);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.chip__tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--gold);
}

.chip__tile .icon {
  width: 20px;
  height: 20px;
}

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

.chip__tile--mark {
  background: var(--white);
  padding: 3px;
}

.chip__tile--mark img {
  object-fit: contain;
}

/* Video cards */

.video-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-grid--three {
  grid-template-columns: minmax(0, 340px);
  justify-content: center;
  gap: 20px;
}

.video-grid--single {
  grid-template-columns: minmax(0, 340px);
  justify-content: center;
}

.video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  background: var(--black);
}

.video__lion {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  transform: translate(-50%, -50%);
  opacity: 0.11;
}

.video__poster,
.video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video__player {
  background: var(--black);
}

.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
}

.video__play[disabled] {
  cursor: default;
}

.video__play-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--black);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform 0.2s var(--ease);
}

.video__play:not([disabled]):hover .video__play-icon {
  transform: scale(1.05);
}

.video__play-icon svg {
  width: 24px;
  height: 24px;
}

.video__body {
  padding: 12px 8px 8px;
}

.video__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.video__meta {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--gray-666);
}

/* Contact options */

.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.contact-option {
  display: block;
  transition: transform 0.3s var(--ease);
}

.contact-option:hover {
  transform: translateY(-2px);
}

.contact-option__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  height: 100%;
  padding: 24px 20px;
}

.contact-option__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
}

.contact-option__icon .icon {
  width: 26px;
  height: 26px;
}

.contact-option__value {
  margin-top: 6px;
  color: var(--gray-666);
}

.contact-option__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-deep);
}

.contact-option__action .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.contact-option:hover .contact-option__action .icon {
  transform: translateX(4px);
}

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black-2);
  font-size: 15px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Not found page */

.not-found {
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  min-height: 560px;
  padding: 40px 20px 88px;
}

.not-found .stage__lion {
  width: min(90cqi, 560px);
  right: -6%;
  top: 6%;
}

.not-found h1 {
  margin-top: 16px;
}

.not-found p {
  max-width: 420px;
  margin-top: 16px;
}

.not-found .pill {
  margin-top: 28px;
}

/* Scroll reveal
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease-reveal), transform 0.6s var(--ease-reveal);
}

.js [data-reveal="soft"] {
  transform: translateY(12px);
  transition-duration: 0.3s;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Larger content panels
   ========================================================================== */

@container (max-width: 359px) {
  .chip-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container (min-width: 620px) {
  .hero,
  .page-head,
  .cta {
    padding-inline: 40px;
  }

  .section {
    padding-inline: 32px;
  }

  .page-footer {
    padding-inline: 40px;
  }

  .about {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
  }

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

  .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .video-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .video-grid--single {
    grid-template-columns: minmax(0, 360px);
  }

  .page-head {
    padding-top: 36px;
    padding-bottom: 84px;
  }

  .contact-option__inner {
    padding: 32px 28px;
    gap: 40px;
  }
}

@container (min-width: 740px) {
  .capability {
    padding: 24px 20px;
  }

  .chip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .chip {
    gap: 12px;
    font-size: 15px;
  }
}

@container (min-width: 860px) {
  .capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero {
    padding: 40px 48px 72px;
  }

  .hero__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 40px;
    align-items: start;
  }

  .hero__intro {
    margin-top: 0;
  }

  .cta {
    padding: 64px 48px 96px;
  }

  .video__play-icon {
    width: 64px;
    height: 64px;
  }

  .section {
    padding-inline: 48px;
  }

  .page-footer {
    padding-inline: 56px;
  }
}

@media (min-width: 1024px) {
  :root {
    --section-y: 104px;
  }

  .hero {
    min-height: max(620px, calc(100dvh - var(--panel-inset) * 2 - 16px));
  }
}

/* Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee {
    overflow-x: auto;
    scrollbar-width: none;
    padding-inline: 20px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee__track {
    animation: none;
  }

  .marquee__list[aria-hidden="true"] {
    display: none;
  }
}
