:root {
  --color-bg: #080808;
  --color-panel: #111111;
  --color-text: #f5f2ec;
  --color-muted: #a7a29a;
  --color-line: rgba(245, 242, 236, 0.16);
  --color-accent: #d8ff3e;
  --color-hot: #ff5a3d;
  --radius-sm: 4px;
  --radius-md: 8px;
  --space-page: clamp(18px, 4vw, 56px);
  --space-section: clamp(72px, 10vw, 150px);
  --font-sans: "Inter", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
}

body.light {
  --color-bg: #f4f1ea;
  --color-panel: #ffffff;
  --color-text: #101010;
  --color-muted: #67635d;
  --color-line: rgba(16, 16, 16, 0.14);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 20px var(--space-page);
  color: #f5f2ec;
  transition: background 260ms ease, border-color 260ms ease, padding 260ms ease;
}

.site-header.is-scrolled,
body.light .site-header {
  background: rgba(8, 8, 8, 0.76);
  border-bottom: 1px solid rgba(245, 242, 236, 0.12);
  backdrop-filter: blur(18px);
}

body.light .site-header {
  color: #f5f2ec;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  margin-left: clamp(8px, 1.4vw, 22px);
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 36px;
  border: 1px solid rgba(245, 242, 236, 0.36);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 4px;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text span {
  color: rgba(245, 242, 236, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.brand-text strong {
  font-size: 23px;
  line-height: 1.05;
}

.desktop-nav {
  display: flex;
  gap: clamp(14px, 2.1vw, 30px);
  align-items: center;
  font-size: 15px;
  color: rgba(245, 242, 236, 0.78);
  white-space: nowrap;
}

.desktop-nav a,
.text-link {
  position: relative;
  width: max-content;
}

.desktop-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.desktop-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 242, 236, 0.22);
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.26);
  color: #f5f2ec;
  cursor: pointer;
}

.theme-toggle span {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 7px 0 0 currentColor;
}

.header-cta,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  background: var(--color-accent);
  color: #080808;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.header-cta:hover,
.submit-btn:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--color-accent);
}

.menu-toggle {
  display: none;
  gap: 5px;
}

.menu-toggle span {
  width: 16px;
  height: 1px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 96px var(--space-page) var(--space-page);
  background: rgba(8, 8, 8, 0.96);
  color: #f5f2ec;
  font-size: clamp(42px, 14vw, 84px);
  font-weight: 800;
  line-height: 1;
  transform: translateY(-100%);
  transition: transform 360ms cubic-bezier(0.77, 0, 0.18, 1);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  /*background: #080808 url("image/阿莱mini.png") center / cover no-repeat;*/
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.hero-shade {
  background:
    linear-gradient(rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.66)),
    rgba(0, 0, 0, 0.18);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px var(--space-page) 42px;
  color: #f5f2ec;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  max-width: 1200px;
  margin: 0;
  font-size: clamp(62px, 13vw, 176px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(34px, 6vw, 70px);
  border-top: 1px solid rgba(245, 242, 236, 0.24);
  padding-top: 22px;
}

.hero-bottom p {
  max-width: 560px;
  margin: 0;
  color: rgba(245, 242, 236, 0.86);
  font-size: clamp(16px, 2vw, 22px);
}

.text-link {
  flex: 0 0 auto;
  color: #f5f2ec;
  font-weight: 800;
}

.hero-meta {
  position: absolute;
  right: var(--space-page);
  bottom: 42px;
  z-index: 1;
  display: none;
  gap: 10px;
  color: rgba(245, 242, 236, 0.72);
  font-size: 12px;
  text-transform: uppercase;
}

.section {
  padding: var(--space-section) var(--space-page);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 32px;
  align-items: end;
  max-width: 1440px;
  margin: 0 auto 48px;
}

.section-head.compact {
  display: block;
}

.section-head h2,
.contact h2 {
  margin: 0;
  font-size: clamp(42px, 8vw, 112px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(16px, 2vw, 20px);
}

.manifest {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.manifest .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.statement {
  display: grid;
  gap: 0.04em;
  margin: 0;
  max-width: 940px;
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.statement span {
  display: block;
  white-space: nowrap;
}

.manifest-copy {
  display: grid;
  gap: 18px;
  color: var(--color-muted);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.75;
}

.manifest-copy p {
  margin: 0;
}

.work-grid,
.solutions-grid,
.gear-grid,
.process-track,
.partner-grid,
.contact-panel {
  max-width: 1440px;
  margin: 0 auto;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 36px);
}

.work-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  min-height: 360px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.media-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.01);
  transition: transform 700ms ease, opacity 300ms ease;
}

.case-shot {
  pointer-events: none;
}

.work-item:hover .media-frame video,
.work-item:hover .media-frame img {
  opacity: 1;
  transform: scale(1.06);
}

.work-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #f5f2ec;
}

.work-info span,
.gear-card span,
.process-step span {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-info h3,
.gear-card h3,
.service-row h3,
.process-step h3 {
  margin: 8px 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.06;
}

.work-info p,
.gear-card p,
.service-row p,
.process-step p {
  max-width: 520px;
  margin: 0;
  color: rgba(245, 242, 236, 0.78);
}

body.light .service-row p,
body.light .process-step p,
body.light .gear-card p {
  color: var(--color-muted);
}

.service-list {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid var(--color-line);
}

.service-row {
  display: grid;
  grid-template-columns: 80px minmax(220px, 0.7fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--color-line);
  padding: 32px 0;
}

.service-row span {
  color: var(--color-hot);
  font-weight: 900;
}

.service-row h3 {
  margin: 0;
}

.service-row p {
  color: var(--color-muted);
  font-size: 18px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 36px);
}

.solution-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.solution-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.solution-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 260ms ease, transform 700ms ease;
}

.solution-card:hover .solution-media video {
  opacity: 1;
  transform: scale(1.04);
}

.solution-copy {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
}

.solution-copy span {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-copy h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.solution-copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.8;
}

.solution-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.solution-copy li {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-text);
  padding: 8px 12px;
  font-size: 13px;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.gear-card {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.gear-card {
  position: relative;
  display: grid;
  grid-template-rows: 220px 1fr;
  min-height: 420px;
}

.gear-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 20px;
  background: #050505;
  transition: transform 360ms ease;
}

.gear-card:hover img {
  transform: scale(1.05);
}

.gear-card div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
}

.gear-card span {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gear-card h3 {
  margin: 0;
  font-size: clamp(21px, 1.7vw, 26px);
  line-height: 1.08;
}

.gear-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}

.process-step {
  min-height: 280px;
  padding: 24px;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.process-step p {
  color: var(--color-muted);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}

.partner-grid img {
  width: 100%;
  height: 110px;
  object-fit: fill;
  padding: 28px 34px;
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  filter: grayscale(1);
  opacity: 0.64;
  transition: opacity 220ms ease, filter 220ms ease;
}

.partner-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.contact {
  background: #080808;
  color: var(--color-text);
}

.contact-heading {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto clamp(48px, 6vw, 88px);
  text-align: center;
}

.contact-heading p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.32em;
}

.contact-heading h2 {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1;
}

.contact-heading h2::before,
.contact-heading h2::after {
  width: clamp(70px, 8vw, 120px);
  height: 1px;
  background: rgba(245, 242, 236, 0.34);
  content: "";
}

.contact-map {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(245, 242, 236, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(173, 204, 218, 0.1) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(173, 204, 218, 0.1) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(135deg, #050607 0%, #0a0d12 52%, #05080b 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.contact-map::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 25, 37, 0.28), transparent 18%),
    radial-gradient(circle at 78% 12%, rgba(67, 173, 217, 0.14), transparent 28%),
    radial-gradient(circle at 16% 14%, rgba(255, 25, 37, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  content: "";
}

.contact-map::after {
  position: absolute;
  inset: 24px;
  z-index: 1;
  border: 1px solid rgba(245, 242, 236, 0.12);
  content: "";
  pointer-events: none;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #f5f2ec;
  font-weight: 700;
  text-align: center;
  transform: translate(-50%, -50%);
}

.map-pin span {
  position: relative;
  width: 58px;
  height: 58px;
  border: 6px solid #ff1e2d;
  border-radius: 50% 50% 50% 0;
  background: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 30, 45, 0.46));
  transform: rotate(-45deg);
}

.map-pin span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff1e2d;
  content: "";
  transform: translate(-50%, -50%);
}

.map-pin strong {
  margin-top: 8px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

.map-pin em {
  color: rgba(245, 242, 236, 0.64);
  font-size: clamp(16px, 1.7vw, 22px);
  font-style: normal;
  font-weight: 500;
}

.contact-card {
  color: var(--color-muted);
  padding-top: 6px;
}

.contact-card h3 {
  margin: 0 0 24px;
  color: var(--color-text);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.contact-card p {
  max-width: 520px;
  margin: 0 0 34px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.contact-list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 16px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list span {
  color: var(--color-accent);
  font-size: 14px;
}

.contact-list strong,
.contact-list a {
  color: var(--color-text);
  font-weight: 600;
  word-break: break-word;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px var(--space-page);
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
}

.site-footer p,
.site-footer span {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (min-width: 1100px) {
  .hero-meta {
    display: flex;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .section-head,
  .manifest,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .solutions-grid {
    grid-template-columns: 1fr;
  }

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

  .work-item {
    min-height: 320px;
  }

  .service-row {
    grid-template-columns: 54px 1fr;
  }

  .service-row p {
    grid-column: 2;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand {
    gap: 10px;
    margin-left: 0;
  }

  .brand-mark {
    width: 28px;
    height: 29px;
  }

  .brand-text span {
    font-size: 11px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    padding-top: 96px;
    padding-bottom: 28px;
  }

  .hero-title {
    font-size: clamp(56px, 18vw, 92px);
  }

  .statement {
    font-size: clamp(44px, 14vw, 72px);
  }

  .statement span {
    white-space: normal;
  }

  .hero-bottom {
    display: grid;
    gap: 18px;
  }

  .contact-map {
    min-height: 360px;
  }

  .contact-heading h2 {
    gap: 16px;
  }

  .contact-heading h2::before,
  .contact-heading h2::after {
    width: 58px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-item {
    min-height: 280px;
  }

  .work-info {
    padding: 20px;
  }

  .service-row {
    gap: 14px;
    padding: 24px 0;
  }

  .gear-grid {
    grid-template-columns: 1fr;
  }

  .gear-card img {
    height: 210px;
    padding: 18px;
  }

  .partner-grid img {
    height: 92px;
    padding: 18px;
  }

  .site-footer {
    display: grid;
  }
}

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

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