:root {
  color-scheme: light;
  --ink: #111513;
  --muted: #59615d;
  --paper: #f4f7f2;
  --paper-strong: #fbfcf8;
  --line: rgba(17, 21, 19, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --green: #b8f24d;
  --green-dark: #6aa900;
  --blue: #2457ff;
  --coral: #ff674a;
  --charcoal: #101412;
  --charcoal-2: #171d1a;
  --radius: 8px;
  --max: 1180px;
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --font-body: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(17, 21, 19, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 19, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
}

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

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

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 10px 14px;
  color: var(--ink);
  transition: transform 520ms var(--spring);
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 12;
  padding: 0 18px;
  pointer-events: none;
}

.nav-shell {
  width: min(100%, 980px);
  min-height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(16, 20, 18, 0.76);
  padding: 7px 8px 7px 12px;
  color: #f8fbf5;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 999px;
  padding: 11px 14px;
  color: rgba(248, 251, 245, 0.76);
  font-size: 14px;
  line-height: 1;
  transition:
    color 520ms var(--spring),
    background-color 520ms var(--spring),
    transform 520ms var(--spring);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
}

.nav-links .nav-contact {
  background: #f8fbf5;
  color: #101412;
}

.nav-toggle {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: 88dvh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 144px 24px 48px;
  background:
    linear-gradient(140deg, rgba(16, 20, 18, 0.94), rgba(20, 31, 25, 0.9) 48%, rgba(19, 21, 28, 0.94)),
    #101412;
  color: #f7fbf2;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  z-index: -1;
  background: linear-gradient(to top, rgba(184, 242, 77, 0.16), transparent);
}

.hero-canvas,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-grid {
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 82%, transparent);
}

.hero-content {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-bottom: 36px;
}

.eyebrow {
  width: max-content;
  max-width: 100%;
  margin: 0 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 11px;
  color: inherit;
  font-size: 12px;
  line-height: 1.1;
}

.hero .eyebrow {
  border-color: rgba(184, 242, 77, 0.58);
  color: #d7ff86;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: 74px;
  line-height: 1.04;
  font-weight: 800;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(248, 251, 245, 0.76);
  font-size: 22px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 520ms var(--spring),
    background-color 520ms var(--spring),
    color 520ms var(--spring),
    border-color 520ms var(--spring);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition:
    transform 520ms var(--spring),
    background-color 520ms var(--spring);
}

.btn:hover .btn-icon,
.btn:focus-visible .btn-icon {
  transform: translate(3px, -1px) scale(1.04);
}

.btn-primary {
  background: var(--green);
  color: #111513;
}

.btn-primary .btn-icon {
  background: rgba(17, 21, 19, 0.12);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #f7fbf2;
}

.btn-secondary .btn-icon {
  background: rgba(255, 255, 255, 0.12);
}

.hero-status {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(248, 251, 245, 0.72);
}

.hero-status span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 13px;
  font-size: 13px;
}

.section-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.intro-band,
.showcase-section,
.services-section,
.scenes-section,
.process-section,
.contact-section {
  padding: 112px 0;
}

.intro-band {
  background: var(--paper-strong);
}

.two-column,
.contact-layout,
.scenes-layout,
.showcase-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 72px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 48px;
  line-height: 1.15;
}

.intro-text {
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.86;
}

.intro-text p {
  margin-bottom: 0;
}

.showcase-section {
  background: #e9eee8;
}

.showcase-layout {
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
}

.showcase-media {
  border: 1px solid rgba(17, 21, 19, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.36);
  padding: 8px;
}

.showcase-media img {
  width: 100%;
  border-radius: var(--radius);
}

.showcase-panel {
  border: 1px solid rgba(17, 21, 19, 0.1);
  border-radius: var(--radius);
  background: rgba(251, 252, 248, 0.72);
  padding: 8px;
}

.standard-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.standard-list li {
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 24px;
}

.standard-list span,
.service-index,
.process-step span {
  color: var(--blue);
  font-weight: 800;
}

.standard-list strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 20px;
}

.standard-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 46px;
}

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

.service-card {
  border: 1px solid rgba(17, 21, 19, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
  padding: 7px;
  min-height: 306px;
  transition:
    transform 620ms var(--spring),
    background-color 620ms var(--spring);
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.8);
}

.service-card__inner {
  min-height: 292px;
  display: grid;
  align-content: space-between;
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 26px;
}

.service-card h3 {
  margin: 34px 0 16px;
  font-size: 24px;
  line-height: 1.25;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.scenes-section {
  background: var(--charcoal);
  color: #f7fbf2;
}

.scenes-section .eyebrow {
  color: #d7ff86;
  border-color: rgba(184, 242, 77, 0.52);
}

.scene-list {
  display: grid;
  gap: 10px;
}

.scene-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
  transition:
    transform 620ms var(--spring),
    border-color 620ms var(--spring),
    background-color 620ms var(--spring);
}

.scene-item:hover {
  transform: translateX(6px);
  border-color: rgba(184, 242, 77, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.scene-item span {
  color: #d7ff86;
  font-size: 20px;
  font-weight: 800;
}

.scene-item p {
  margin-bottom: 0;
  color: rgba(247, 251, 242, 0.72);
  line-height: 1.76;
}

.process-section {
  background: var(--paper-strong);
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  counter-reset: process;
}

.process-step {
  min-height: 244px;
  border: 1px solid rgba(17, 21, 19, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 26px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(36, 87, 255, 0.1);
}

.process-step h3 {
  margin: 48px 0 14px;
  font-size: 23px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  background: var(--charcoal-2);
  color: #f7fbf2;
}

.contact-layout {
  align-items: center;
}

.contact-copy p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(247, 251, 242, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 8px;
}

.contact-line {
  display: grid;
  gap: 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 22px;
}

.contact-line + .contact-line {
  margin-top: 8px;
}

.contact-line span {
  color: rgba(247, 251, 242, 0.58);
  font-size: 14px;
}

.contact-line strong {
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.45;
}

.contact-btn {
  width: 100%;
  margin-top: 8px;
}

.site-footer {
  background: #0d100f;
  color: rgba(247, 251, 242, 0.64);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.footer-inner a {
  color: #d7ff86;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  filter: blur(8px);
  transition:
    opacity 820ms var(--spring),
    transform 820ms var(--spring),
    filter 820ms var(--spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 980px) {
  .nav-shell {
    width: min(100%, 680px);
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
  }

  .nav-toggle::before,
  .nav-toggle::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: #ffffff;
    transition:
      transform 520ms var(--spring),
      opacity 520ms var(--spring);
  }

  .nav-toggle::before {
    transform: translateY(-4px);
  }

  .nav-toggle::after {
    transform: translateY(4px);
  }

  .nav-shell.is-open .nav-toggle::before {
    transform: rotate(45deg);
  }

  .nav-shell.is-open .nav-toggle::after {
    transform: rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 14px;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(16, 20, 18, 0.92);
    padding: 92px 24px 28px;
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
    pointer-events: none;
    backdrop-filter: blur(22px);
    transition:
      opacity 620ms var(--spring),
      transform 620ms var(--spring);
  }

  .nav-shell.is-open .nav-links {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-links a {
    transform: translateY(20px);
    opacity: 0;
    border-radius: var(--radius);
    padding: 18px 16px;
    font-size: 22px;
    transition:
      opacity 680ms var(--spring),
      transform 680ms var(--spring),
      background-color 520ms var(--spring),
      color 520ms var(--spring);
  }

  .nav-shell.is-open .nav-links a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-shell.is-open .nav-links a:nth-child(2) {
    transition-delay: 40ms;
  }

  .nav-shell.is-open .nav-links a:nth-child(3) {
    transition-delay: 80ms;
  }

  .nav-shell.is-open .nav-links a:nth-child(4) {
    transition-delay: 120ms;
  }

  .nav-shell.is-open .nav-links a:nth-child(5) {
    transition-delay: 160ms;
  }

  h1 {
    font-size: 56px;
  }

  .hero-lede {
    font-size: 20px;
  }

  .two-column,
  .contact-layout,
  .scenes-layout,
  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

@media (max-width: 680px) {
  .site-header {
    top: 12px;
    padding: 0 12px;
  }

  .nav-shell {
    min-height: 58px;
    padding-left: 10px;
  }

  .brand span {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 86dvh;
    padding: 118px 18px 38px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.12;
  }

  .hero-lede {
    font-size: 17px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

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

  .intro-band,
  .showcase-section,
  .services-section,
  .scenes-section,
  .process-section,
  .contact-section {
    padding: 78px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .contact-copy h2 {
    font-size: 34px;
    line-height: 1.22;
  }

  .intro-text {
    font-size: 17px;
  }

  .service-grid,
  .process-rail {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card__inner {
    min-height: 240px;
  }

  .scene-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
