:root {
  --background: #ffffff;
  --foreground: #202422;
  --card: #ffffff;
  --card-foreground: #202422;
  --popover: #ffffff;
  --popover-foreground: #202422;
  --primary: #cf491c;
  --primary-foreground: #ffffff;
  --secondary: #edf3f1;
  --secondary-foreground: #17322f;
  --muted: #f3f5f4;
  --muted-foreground: #626a66;
  --accent: #e8f2ef;
  --accent-foreground: #174a45;
  --border: #dfe4e1;
  --input: #d7ddda;
  --ring: #b83b14;
  --ink: #171a19;
  --cream: #f3f5f4;
  --brand-50: #fff4ef;
  --brand-500: #cf491c;
  --brand-600: #b83b14;
  --brand-700: #a93816;
}

html {
  background: #ffffff;
}

body {
  overflow-x: hidden;
  background: #ffffff;
  color: var(--foreground);
}

body [class*="tracking-"] {
  letter-spacing: 0 !important;
}

body :focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.bg-brand-500 {
  background-color: #cf491c !important;
}

.text-brand-600 {
  color: #b83b14 !important;
}

/* Navigation */
.site-header-v2 {
  border-color: rgba(223, 228, 225, 0.9) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 8px 26px rgba(18, 26, 23, 0.06);
  backdrop-filter: blur(16px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(125%) !important;
}

.site-header-v2 nav {
  min-height: 72px;
}

.site-header-v2 nav > a:first-child img:first-child {
  height: 38px;
}

.site-header-v2 nav > a:first-child img:last-child {
  height: 25px;
}

.site-header-v2 nav > ul a {
  position: relative;
  border-radius: 0 !important;
  padding-inline: 12px;
}

.site-header-v2 nav > ul a::after {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  content: "";
  background: var(--brand-500);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header-v2 nav > ul a:hover::after,
.site-header-v2 nav > ul a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-header-v2 button,
.site-header-v2 a {
  min-height: 44px;
}

/* Home hero */
.home-hero-v2 {
  isolation: isolate;
  min-height: clamp(540px, calc(100svh - 112px), 720px);
  color: #ffffff !important;
  background-color: #141615 !important;
  background-image: url("/images/hero-operations-center.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.home-hero-v2::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 12, 11, 0.95) 0%, rgba(10, 12, 11, 0.82) 44%, rgba(10, 12, 11, 0.24) 78%, rgba(10, 12, 11, 0.12) 100%);
}

.home-hero-v2 > .absolute,
.page-hero-v2 > .absolute {
  display: none !important;
}

.home-hero-v2__inner {
  display: grid !important;
  width: 100%;
  min-height: inherit;
  grid-template-columns: minmax(0, 760px) 1fr !important;
  align-content: center;
  padding-top: 84px !important;
  padding-bottom: 96px !important;
}

.home-hero-v2__inner > :first-child {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.home-hero-v2__badge {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  color: #ffb092 !important;
  background: transparent !important;
}

.home-hero-v2__title {
  max-width: 760px;
  color: #ffffff !important;
  font-size: 56px !important;
  line-height: 1.12 !important;
}

.home-hero-v2__copy {
  max-width: 680px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
}

.home-hero-v2__actions a {
  min-width: 150px;
  min-height: 50px;
  border-radius: 6px !important;
}

.home-hero-v2__actions > :first-child {
  border-color: var(--brand-500) !important;
  background: var(--brand-500) !important;
  box-shadow: 0 14px 34px rgba(235, 95, 44, 0.28);
}

.home-hero-v2__actions > :last-child {
  border-color: rgba(255, 255, 255, 0.46) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
}

.home-hero-v2__media {
  position: static !important;
}

.home-hero-v2__visual {
  display: none !important;
}

.home-hero-v2__media > :last-child {
  position: absolute !important;
  right: max(32px, calc((100vw - 1280px) / 2));
  bottom: 36px !important;
  left: auto !important;
  transform: none !important;
}

.home-hero-v2__media > :last-child * {
  animation: none !important;
}

.home-hero-v2__media > :last-child > div {
  border-color: rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  color: #ffffff;
  background: rgba(18, 23, 21, 0.72) !important;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(16px) saturate(120%);
}

.home-hero-v2__media > :last-child .text-ink,
.home-hero-v2__media > :last-child .text-muted-foreground {
  color: #ffffff !important;
}

.home-metrics-v2 {
  border-color: var(--border) !important;
  background: #ffffff !important;
}

.home-metrics-v2 > div {
  padding-top: 44px !important;
  padding-bottom: 44px !important;
}

.home-metrics-v2 .text-brand-600 {
  color: #173f3b !important;
}

.site-main-v2[data-page="/"] > section:nth-of-type(3) {
  background: #f1f5f3 !important;
}

.site-main-v2[data-page="/"] > section:nth-of-type(4) {
  background: #ffffff !important;
}

.site-main-v2[data-page="/"] > section:nth-of-type(5) {
  color: #ffffff !important;
  background: #18332f !important;
}

.site-main-v2[data-page="/"] > section:nth-of-type(5) .text-ink,
.site-main-v2[data-page="/"] > section:nth-of-type(5) .text-foreground\/90 {
  color: #ffffff !important;
}

.site-main-v2[data-page="/"] > section:nth-of-type(5) .text-muted-foreground {
  color: rgba(255, 255, 255, 0.68) !important;
}

.site-main-v2[data-page="/"] > section:nth-of-type(5) .bg-white {
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Inner-page hero */
.page-hero-v2 {
  --page-hero-image: url("/images/hero-banner-aigc-studio.jpg");
  isolation: isolate;
  display: flex;
  min-height: 410px;
  align-items: flex-end;
  color: #ffffff !important;
  background-color: #151817 !important;
  background-image: linear-gradient(90deg, rgba(11, 14, 13, 0.92), rgba(11, 14, 13, 0.64) 55%, rgba(11, 14, 13, 0.18)), var(--page-hero-image) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.site-main-v2[data-page="/about"] .page-hero-v2 {
  --page-hero-image: url("/images/about-hero-v2.png");
}

.site-main-v2[data-page="/business"] .page-hero-v2 {
  --page-hero-image: url("/images/ecosystem-illustration.jpg");
  background-position: center 56% !important;
}

.site-main-v2[data-page="/training"] .page-hero-v2 {
  --page-hero-image: url("/images/training-classroom.jpg");
}

.site-main-v2[data-page="/cases"] .page-hero-v2 {
  --page-hero-image: url("/images/production-set.jpg");
}

.site-main-v2[data-page="/careers"] .page-hero-v2 {
  --page-hero-image: url("/images/careers-team.jpg");
}

.site-main-v2[data-page="/contact"] .page-hero-v2 {
  --page-hero-image: url("/images/contact-consult.jpg");
}

.page-hero-v2 > .relative {
  z-index: 1;
  width: 100%;
  padding-top: 112px !important;
  padding-bottom: 76px !important;
}

.page-hero-v2 h1,
.page-hero-v2 .text-ink {
  color: #ffffff !important;
}

.page-hero-v2 p,
.page-hero-v2 .text-muted-foreground {
  color: rgba(255, 255, 255, 0.76) !important;
}

.page-hero-v2 h1 {
  max-width: 820px;
  font-size: 52px !important;
  line-height: 1.14 !important;
}

.page-hero-v2 .text-brand-600 {
  color: #ffb092 !important;
}

/* Shared sections and components */
.site-main-v2 section:not(.home-hero-v2):not(.page-hero-v2):not(.cta-band-v2) > [class*="max-w-7xl"] {
  width: min(100% - 48px, 1280px);
  padding-inline: 0 !important;
}

.site-main-v2 .rounded-3xl,
.site-main-v2 .rounded-2xl {
  border-radius: 8px !important;
}

.site-main-v2 .rounded-xl,
.site-main-v2 button.rounded-lg,
.site-main-v2 input.rounded-lg,
.site-main-v2 textarea.rounded-lg {
  border-radius: 6px !important;
}

.site-main-v2 .shadow-xl,
.site-main-v2 .shadow-lg,
.site-main-v2 .shadow-md {
  box-shadow: 0 18px 44px rgba(22, 29, 26, 0.1) !important;
}

.site-main-v2 [class*="hover:-translate-y"]:hover {
  transform: translateY(-2px) !important;
}

.site-main-v2 .blur-3xl.rounded-full,
.cta-band-v2 .gradient-glow {
  display: none !important;
}

.site-main-v2 input,
.site-main-v2 textarea,
.site-main-v2 select {
  min-height: 44px;
  border-color: var(--input) !important;
  background: #ffffff !important;
}

.site-main-v2 textarea {
  min-height: 132px;
}

.site-main-v2 input:focus,
.site-main-v2 textarea:focus,
.site-main-v2 select:focus {
  border-color: var(--brand-500) !important;
  box-shadow: 0 0 0 3px rgba(235, 95, 44, 0.13) !important;
}

.cta-band-v2 {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #17423e !important;
}

.cta-band-v2 > .absolute {
  display: none !important;
}

.cta-band-v2 a {
  min-height: 48px;
  border-radius: 6px !important;
  color: #17322f !important;
}

/* Footer */
.site-footer-v2 {
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.68) !important;
  background: #141918 !important;
}

.site-footer-v2 .text-ink,
.site-footer-v2 h3 {
  color: #ffffff !important;
}

.site-footer-v2 .text-muted-foreground,
.site-footer-v2 .text-muted-foreground\/70 {
  color: rgba(255, 255, 255, 0.62) !important;
}

.site-footer-v2 img:last-child {
  filter: brightness(0) invert(1);
}

.site-footer-v2 a:hover {
  color: #ff9c76 !important;
}

.site-footer-v2 .text-brand-600 {
  color: #ff9c76 !important;
}

.site-footer-v2 [class*="border-border"] {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 1023px) {
  .site-header-v2 nav {
    min-height: 64px;
  }

  .home-hero-v2__inner {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-hero-v2__media > :last-child {
    display: none !important;
  }

  .home-hero-v2::before {
    background: rgba(10, 12, 11, 0.76);
  }
}

@media (max-width: 767px) {
  .home-hero-v2 {
    min-height: clamp(540px, calc(100svh - 88px), 650px);
    background-position: 64% center !important;
  }

  .home-hero-v2__inner {
    padding-top: 64px !important;
    padding-bottom: 70px !important;
  }

  .home-hero-v2__title {
    max-width: 620px;
    font-size: 42px !important;
  }

  .home-hero-v2__copy {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  .page-hero-v2 {
    min-height: 360px;
  }

  .page-hero-v2 > .relative {
    padding-top: 88px !important;
    padding-bottom: 58px !important;
  }

  .page-hero-v2 h1 {
    font-size: 40px !important;
  }

  .site-main-v2 section:not(.home-hero-v2):not(.page-hero-v2):not(.cta-band-v2) > [class*="max-w-7xl"] {
    width: min(100% - 32px, 1280px);
  }
}

@media (max-width: 479px) {
  .home-hero-v2__title {
    font-size: 36px !important;
  }

  .home-hero-v2__actions {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .home-hero-v2__actions > * {
    width: 100%;
  }

  .page-hero-v2 h1 {
    font-size: 34px !important;
  }

  .home-metrics-v2 > div {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
