:root {
  --paper: #f2f0e9;
  --ink: #0b2a55;
  --teal: #1e8c8d;
  --blue: #3c7fb7;
  --green: #3f6a4a;
  --gold: #e2a021;
  --coral: #e96855;
  --line: rgba(11, 42, 85, 0.18);
  --white: #fffef9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(11, 42, 85, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 42, 85, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

main {
  width: min(1500px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.site-header {
  min-height: 104px;
  padding: 24px clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: clamp(180px, 18vw, 238px);
}

.project-count {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 2px;
  font: 700 12px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.12em;
}

.project-count b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.project-count:hover b {
  color: var(--white);
  background: var(--ink);
  transform: translateY(3px);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(30, 140, 141, 0.12);
}

.hero {
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(74px, 9vw, 132px) clamp(22px, 7vw, 110px);
  border-right: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 28px;
  font: 700 12px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(62px, 8.8vw, 132px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.075em;
}

.hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.hero-intro {
  max-width: 630px;
  margin: 42px 0 0;
  color: rgba(11, 42, 85, 0.74);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.9;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
  padding: 15px 22px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: gap 180ms ease, color 180ms ease, background 180ms ease;
}

.hero-cta:hover {
  gap: 38px;
  color: var(--ink);
  background: transparent;
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
  background:
    radial-gradient(circle at 50% 47%, rgba(226, 160, 33, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 254, 249, 0.5), transparent);
  isolation: isolate;
}

.hero-mark img {
  width: min(56%, 310px);
  filter: drop-shadow(0 26px 42px rgba(11, 42, 85, 0.12));
  animation: slow-turn 28s linear infinite;
}

.hero-mark p {
  position: absolute;
  right: 34px;
  bottom: 32px;
  left: 34px;
  display: flex;
  justify-content: space-between;
  margin: 0;
  font: 700 10px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.18em;
}

.mark-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(11, 42, 85, 0.16);
  border-radius: 50%;
}

.orbit-one {
  width: min(77%, 470px);
  aspect-ratio: 1;
}

.orbit-two {
  width: min(94%, 580px);
  aspect-ratio: 1;
  border-style: dashed;
}

.projects {
  padding: clamp(76px, 9vw, 126px) clamp(22px, 4vw, 64px) 120px;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) 1.4fr minmax(230px, 0.8fr);
  gap: 42px;
  align-items: end;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--ink);
}

.section-intro .eyebrow {
  margin: 0;
  align-self: start;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.section-intro > p:last-child {
  max-width: 300px;
  margin: 0 0 6px auto;
  color: rgba(11, 42, 85, 0.66);
  line-height: 1.8;
}

.project-group {
  padding: 68px 0 84px;
  border-bottom: 1px solid var(--line);
}

.group-header {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: start;
  margin-bottom: 34px;
}

.group-header > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font: 700 12px/1 "SFMono-Regular", Consolas, monospace;
}

.group-header h3 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.group-header p {
  margin: 0;
  color: rgba(11, 42, 85, 0.54);
  font: 700 11px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.project-card {
  min-height: 620px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(22px, 2.5vw, 36px);
  border: 1px solid rgba(11, 42, 85, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18), transparent 68%);
  transform: translateX(-80%);
  transition: opacity 180ms ease, transform 600ms ease;
}

.project-card:hover {
  z-index: 1;
  transform: translateY(-8px);
  box-shadow: 0 26px 58px rgba(11, 42, 85, 0.16);
}

.project-card:hover::after {
  opacity: 1;
  transform: translateX(80%);
}

.card-menu {
  color: var(--ink);
  background: #efd0c5;
}

.card-time {
  color: var(--white);
  background: var(--ink);
}

.card-dino {
  color: #392800;
  background: var(--gold);
}

.card-pallet {
  color: var(--white);
  background: var(--green);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 700 10px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.15em;
}

.card-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.card-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.visual {
  height: 286px;
  position: relative;
  margin: 42px 0 28px;
  overflow: hidden;
}

.visual-menu {
  display: grid;
  place-items: center;
}

.menu-ticket {
  width: min(78%, 360px);
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--coral);
  transform: rotate(-4deg);
}

.ticket-label {
  font: 700 10px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.16em;
}

.menu-ticket strong {
  display: block;
  margin: 26px 0;
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: -0.06em;
}

.ticket-lines {
  display: grid;
  gap: 8px;
}

.ticket-lines i {
  height: 1px;
  background: rgba(11, 42, 85, 0.38);
}

.ticket-lines i:nth-child(2) { width: 76%; }
.ticket-lines i:nth-child(3) { width: 52%; }

.menu-stamp {
  position: absolute;
  right: 4%;
  bottom: 10%;
  font: 900 74px/1 Arial, sans-serif;
  opacity: 0.12;
}

.visual-time {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.time-line {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: baseline;
  gap: 18px;
}

.time-line span {
  color: #76dfe0;
  font: 700 11px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.15em;
}

.time-line b {
  font: 500 clamp(54px, 6.8vw, 100px)/0.95 "Arial Narrow", Arial, sans-serif;
  letter-spacing: -0.08em;
}

.muted-time {
  opacity: 0.26;
}

.timezone-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.timezone-rule span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.timezone-rule i {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.visual-dino {
  border: 1px solid rgba(57, 40, 0, 0.38);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.25), transparent 72%),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(57, 40, 0, 0.05) 36px 37px);
}

.sun {
  position: absolute;
  top: 28px;
  right: 36px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--coral);
}

.dino-word {
  position: absolute;
  left: 24px;
  bottom: 24px;
  font: 900 clamp(72px, 9vw, 136px)/0.8 Arial, sans-serif;
  letter-spacing: -0.09em;
}

.dino-ground {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: end;
  gap: 8px;
}

.dino-ground span {
  width: 12px;
  height: 42px;
  background: #392800;
}

.dino-ground span:nth-child(2) { height: 72px; }
.dino-ground span:nth-child(3) { height: 28px; }

.visual-pallet {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 8px;
}

.tile {
  display: block;
  border: 1px solid rgba(255,255,255,0.28);
}

.tile-a { grid-column: 1 / 4; grid-row: 1 / 4; background: var(--teal); }
.tile-b { grid-column: 4 / 7; grid-row: 1 / 3; background: var(--blue); }
.tile-c { grid-column: 7 / 9; grid-row: 1 / 5; background: var(--coral); }
.tile-d { grid-column: 1 / 5; grid-row: 4 / 6; background: var(--gold); }
.tile-e { grid-column: 5 / 9; grid-row: 3 / 6; background: var(--ink); }

.pallet-word {
  position: absolute;
  right: 22px;
  bottom: 16px;
  color: var(--white);
  font: 900 clamp(48px, 6vw, 84px)/1 Arial, sans-serif;
  letter-spacing: -0.08em;
}

.card-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-top: auto;
}

.card-copy p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.card-copy h4 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.card-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 24px;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.project-card:hover .card-arrow {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  transform: rotate(45deg);
}

.card-time:hover .card-arrow,
.card-pallet:hover .card-arrow {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.card-description {
  max-width: 520px;
  min-height: 52px;
  margin: 24px 0 30px;
  opacity: 0.75;
  font-size: 15px;
  line-height: 1.7;
}

.card-domain {
  padding-top: 16px;
  border-top: 1px solid currentColor;
  opacity: 0.58;
  font: 700 10px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}

footer {
  min-height: 220px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 42px clamp(22px, 4vw, 64px);
  color: var(--white);
  background: var(--ink);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  padding: 4px;
  background: var(--white);
  border-radius: 50%;
}

.footer-brand div {
  display: grid;
  gap: 6px;
}

.footer-brand strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.footer-brand span,
footer > p,
footer > a {
  font: 600 10px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.12em;
}

footer > p {
  margin: 0;
  opacity: 0.55;
  text-align: center;
}

footer > a {
  justify-self: end;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.45);
}

@keyframes slow-turn {
  to { transform: rotate(360deg); }
}

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

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

  .hero-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-mark {
    min-height: 520px;
  }

  .section-intro {
    grid-template-columns: 1fr 2fr;
  }

  .section-intro > p:last-child {
    grid-column: 2;
    margin-left: 0;
  }

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

  .project-card {
    min-height: 590px;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 82px;
  }

  .brand {
    width: 158px;
  }

  .project-count > span:not(.live-dot) {
    display: none;
  }

  .hero-copy {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 82px);
  }

  .hero-intro {
    margin-top: 34px;
    font-size: 16px;
  }

  .hero-mark {
    min-height: 420px;
  }

  .projects {
    padding-bottom: 70px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-intro > p:last-child {
    grid-column: 1;
    margin: 0;
  }

  .group-header {
    grid-template-columns: 62px 1fr;
  }

  .project-card {
    min-height: 540px;
  }

  .visual {
    height: 230px;
  }

  .time-line {
    grid-template-columns: 52px 1fr;
  }

  .time-line b {
    font-size: 60px;
  }

  .card-copy h4 {
    font-size: 42px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  footer > p {
    text-align: left;
  }

  footer > a {
    justify-self: start;
  }
}
