@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

:root {
  --bg-1: #061426;
  --bg-2: #0d2036;
  --panel: #102a45;
  --panel-2: #14385d;
  --line: rgba(173, 213, 255, 0.2);
  --text: #e9f4ff;
  --muted: #a9c6e4;
  --accent: #2de2c4;
  --accent-2: #00c2ff;
  --warm: #ff7a59;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans SC", "Manrope", sans-serif;
  background:
    radial-gradient(700px 420px at 92% -8%, rgba(0, 194, 255, 0.24), transparent 58%),
    radial-gradient(640px 400px at 8% -12%, rgba(45, 226, 196, 0.18), transparent 55%),
    linear-gradient(165deg, var(--bg-1), var(--bg-2));
  line-height: 1.6;
}

a {
  color: #90e6ff;
  text-decoration: none;
}

a:hover {
  color: #d2f4ff;
}

.rev-shell {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 26px 0 72px;
}

.rev-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 22px;
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  background: rgba(10, 30, 52, 0.72);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rev-brand {
  font-size: 0.95rem;
  color: #c6e8ff;
  letter-spacing: 0.02em;
}

.rev-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rev-nav a {
  border: 1px solid rgba(0, 194, 255, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  color: #bdeeff;
  background: rgba(8, 43, 74, 0.6);
}

.hero {
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(16, 42, 69, 0.95), rgba(20, 56, 93, 0.92));
  border-radius: 18px;
  padding: clamp(18px, 2vw, 28px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.9vw, 2.6rem);
  line-height: 1.16;
}

.hero p {
  margin: 0 0 14px;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.78rem;
  border: 1px solid rgba(45, 226, 196, 0.4);
  background: rgba(8, 74, 86, 0.32);
  color: #c7fff4;
  border-radius: 999px;
  padding: 5px 10px;
}

.hero-visual {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 220px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-card {
  border: 1px solid var(--line);
  background: rgba(13, 32, 54, 0.86);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 24px);
  margin-bottom: 16px;
}

.section-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.lead {
  color: #b7d5ee;
}

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

.mini {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(155deg, #113454, #0e2944);
  border-radius: 12px;
  padding: 14px;
}

.mini h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.mini p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.step {
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 89, 0.34);
  background: linear-gradient(170deg, rgba(255, 122, 89, 0.16), rgba(13, 32, 54, 0.5));
  padding: 14px;
  overflow: hidden;
}

.step .num {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 8px;
  background: var(--warm);
  color: #fff;
  font-weight: 800;
}

.step img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.shot {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #0d233b;
}

.board-shot {
  margin: 0;
}

.shot img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.shot figcaption {
  padding: 9px 10px;
  font-size: 0.8rem;
  color: #bdd7f0;
}

.targets {
  margin: 0;
  padding-left: 18px;
}

.targets li {
  margin-bottom: 6px;
  color: #c4dbef;
}

.rev-footer {
  margin-top: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 24, 42, 0.85);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
}

.rev-footer small {
  color: #9bb9d5;
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

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

  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .rev-shell {
    width: 100%;
    padding: 0 0 48px;
  }

  .rev-topbar {
    position: static;
    margin-bottom: 14px;
    padding: 12px 10px 10px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }

  .rev-brand {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .rev-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .rev-nav::-webkit-scrollbar {
    display: none;
  }

  .rev-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 14px;
  }

  .hero,
  .section-card,
  .rev-footer {
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .hero {
    padding: 18px 10px 20px;
    gap: 16px;
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.35rem);
    line-height: 1.18;
  }

  .section-card {
    padding: 18px 10px;
    margin-bottom: 12px;
  }

  .rev-footer {
    padding: 14px 10px;
  }

  .eyebrow {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero .hero-visual {
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding: 0 !important;
    background: transparent !important;
    aspect-ratio: auto !important;
  }

  [class*="board-main"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .flow-grid,
  .flow-foot {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .flow-node,
  .flow-hub {
    min-height: 0 !important;
  }

  .hub-mark {
    width: auto !important;
    height: auto !important;
    min-width: 88px !important;
    min-height: 62px !important;
    padding: 10px 14px !important;
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
