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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #FFFFFF;
  background-color: #0A0A0A;
  background-image:
    linear-gradient(rgba(184, 184, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 184, 184, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  padding-top: 84px;
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  list-style: none;
}

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

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

h1, h2, h3 {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 900;
  line-height: 1.2;
}

main {
  display: block;
}

#main-content {
  outline: none;
  min-height: 70vh;
}

:root {
  --c-red: #D40000;
  --c-black: #0A0A0A;
  --c-white: #FFFFFF;
  --c-silver: #B8B8B8;
  --c-night: #0E2239;
  --c-dark: #333333;
  --c-light: #E0E0E0;
  --c-warn: #F5A623;
  --font-title: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Roboto Mono', 'JetBrains Mono', monospace;
  --header-h: 84px;
  --container-w: 1280px;
  --speed: 0.25s;
}

:focus-visible {
  outline: 2px solid #D40000;
  outline-offset: 3px;
}

::selection {
  background: #D40000;
  color: #FFFFFF;
}

.c-skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 2000;
  background: #FFFFFF;
  color: #0A0A0A;
  padding: 10px 20px;
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
  font-size: 14px;
  transition: top 0.2s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.c-skip-link:focus-visible {
  top: 16px;
}

.c-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #D40000;
  z-index: 1500;
  transition: width 0.2s linear;
}

.c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  justify-content: center;
  padding: 14px 16px 0;
  pointer-events: none;
}

.c-header__float {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(184, 184, 184, 0.18);
  border-radius: 20px;
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.c-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  white-space: nowrap;
  flex-shrink: 0;
}

.c-brand__mark {
  font-weight: 700;
}

.c-brand__dot {
  width: 7px;
  height: 7px;
  background: #D40000;
  display: inline-block;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.c-brand__name {
  font-weight: 400;
  color: #D40000;
}

.c-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  border: 1px solid rgba(184, 184, 184, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
}

.c-nav-toggle__bar {
  display: block;
  height: 2px;
  background: #FFFFFF;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.c-nav-toggle[aria-expanded="true"] .c-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.c-nav-toggle[aria-expanded="true"] .c-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.c-nav-toggle[aria-expanded="true"] .c-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.c-pill-nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(10, 10, 10, 0.97);
  border: 1px solid rgba(184, 184, 184, 0.18);
  border-radius: 16px;
  padding: 12px;
  z-index: 100;
}

.c-pill-nav[data-open] {
  display: flex;
}

.c-pill-nav__link {
  position: relative;
  display: block;
  padding: 12px 18px;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.c-pill-nav__link:hover {
  background: rgba(212, 0, 0, 0.12);
  color: #FFFFFF;
}

.c-pill-nav__link[aria-current="page"] {
  background: #D40000;
  color: #FFFFFF;
}

.c-footer {
  background-color: #0A0A0A;
  background-image:
    linear-gradient(rgba(184, 184, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 184, 184, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  border-top: 1px solid rgba(184, 184, 184, 0.12);
  color: #FFFFFF;
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden;
}

.c-footer::before {
  content: 'MILAN';
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.04em;
  pointer-events: none;
}

.c-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.c-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 48px;
}

.c-footer__column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-footer__brand {
  gap: 12px;
}

.c-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.c-footer__dot {
  width: 7px;
  height: 7px;
  background: #D40000;
  display: inline-block;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.c-footer__desc {
  font-size: 14px;
  color: #B8B8B8;
  max-width: 280px;
}

.c-footer__heading {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-footer__heading::before {
  content: '';
  width: 16px;
  height: 2px;
  background: #D40000;
  flex-shrink: 0;
}

.c-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-footer__list a {
  font-size: 14px;
  color: #B8B8B8;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.c-footer__list a:hover {
  color: #D40000;
  padding-left: 4px;
}

.c-footer__list--contact {
  gap: 14px;
}

.c-footer__item-email,
.c-footer__item-phone,
.c-footer__item-address {
  font-size: 14px;
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
  color: #B8B8B8;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.c-footer__item-email::before,
.c-footer__item-phone::before,
.c-footer__item-address::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #D40000;
  flex-shrink: 0;
  margin-top: 8px;
}

.c-footer__bottom {
  border-top: 1px solid rgba(184, 184, 184, 0.12);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #B8B8B8;
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
}

.c-footer__icp {
  opacity: 0.7;
}

.c-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.c-section {
  padding: 80px 0;
}

.c-section--compact {
  padding: 48px 0;
}

.c-section-head {
  margin-bottom: 40px;
  max-width: 720px;
}

.c-kicker {
  display: inline-block;
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D40000;
  background: rgba(212, 0, 0, 0.08);
  padding: 4px 12px;
  margin-bottom: 16px;
  border-left: 3px solid #D40000;
}

.c-section-title {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 28px;
  background: #D40000;
  color: #FFFFFF;
  border: 1px solid #D40000;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s ease, color 0.2s ease;
}

.c-btn:hover {
  background: #FFFFFF;
  color: #D40000;
}

.c-btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.c-btn--ghost:hover {
  background: #FFFFFF;
  color: #0A0A0A;
}

.c-breadcrumb {
  margin-bottom: 32px;
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #B8B8B8;
}

.c-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c-breadcrumb__item::after {
  content: '/';
  color: #B8B8B8;
  margin-left: 8px;
}

.c-breadcrumb__item:last-child::after {
  content: '';
}

.c-breadcrumb__link {
  color: #B8B8B8;
  transition: color 0.2s ease;
}

.c-breadcrumb__link:hover {
  color: #D40000;
}

.c-breadcrumb__current {
  color: #FFFFFF;
  font-weight: 700;
}

.c-image {
  position: relative;
  overflow: hidden;
  background: #0E2239;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.c-image--portrait {
  aspect-ratio: 4 / 5;
}

.c-image--wide {
  aspect-ratio: 21 / 9;
}

.c-image::before {
  content: 'IMAGE';
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
  z-index: 1;
}

.c-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 0, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.c-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.c-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.c-table-wrap {
  overflow-x: auto;
  background: #0A0A0A;
  border: 1px solid rgba(184, 184, 184, 0.15);
}

.c-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Roboto Mono', 'JetBrains Mono', monospace;
  font-size: 14px;
}

.c-table th,
.c-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(184, 184, 184, 0.12);
  white-space: nowrap;
}

.c-table th {
  background: #0E2239;
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.c-table td {
  color: #B8B8B8;
}

.c-panel {
  border-bottom: 1px solid rgba(184, 184, 184, 0.2);
}

.c-panel__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  color: #FFFFFF;
}

.c-panel__summary::-webkit-details-marker {
  display: none;
}

.c-panel__summary::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #D40000;
  flex-shrink: 0;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transition: transform 0.25s ease;
}

details[open] .c-panel__summary::before {
  transform: rotate(45deg);
}

.c-panel__body {
  padding: 0 0 20px;
  color: #B8B8B8;
}

.c-speed-lines {
  height: 44px;
  background: repeating-linear-gradient(
    -45deg,
    #D40000 0,
    #D40000 2px,
    transparent 2px,
    transparent 14px
  );
  opacity: 0.85;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
}

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

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

@media (min-width: 768px) {
  :root {
    --header-h: 80px;
  }

  body {
    padding-top: 80px;
  }

  .c-header__float {
    width: auto;
    max-width: 1160px;
    gap: 24px;
    padding: 8px 12px 8px 24px;
    border-radius: 999px;
  }

  .c-nav-toggle {
    display: none;
  }

  .c-pill-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 2px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
  }

  .c-pill-nav__link {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 999px;
  }

  .c-pill-nav__link::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: #D40000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .c-pill-nav__link:hover::after {
    transform: scaleX(1);
  }

  .c-pill-nav__link[aria-current="page"]::after {
    display: none;
  }

  .c-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
  }

  .c-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

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

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

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

  .c-scroll-progress {
    transition: none;
  }

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