@import "tailwindcss";

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --blue: #0071e3;
  --surface: #f5f5f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-geist-sans), -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(720px, calc(100% - 32px));
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(22px) saturate(180%);
  transform: translateX(-50%);
}

.brand {
  font-weight: 750;
  letter-spacing: -0.05em;
}

.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  color: #444448;
}

.site-header nav a,
.text-link,
footer a {
  transition: color 180ms ease;
}

.site-header nav a:hover,
.text-link:hover,
footer a:hover {
  color: var(--blue);
}

.header-cta {
  padding: 10px 17px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 150px max(6vw, 24px) 90px;
  background:
    radial-gradient(circle at 75% 25%, rgba(232, 240, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfbfd 100%);
}

.hero > *:not(.hero-orb) {
  position: relative;
  z-index: 2;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  right: -3vw;
  top: 14%;
  width: clamp(240px, 32vw, 520px);
  height: clamp(240px, 32vw, 520px);
  background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(129, 178, 255, .44));
  box-shadow: inset 24px 20px 55px rgba(255,255,255,.8), 0 50px 120px rgba(42, 114, 255, .15);
}

.orb-two {
  right: 29vw;
  bottom: 2%;
  width: clamp(85px, 11vw, 180px);
  height: clamp(85px, 11vw, 180px);
  background: linear-gradient(145deg, #fff, rgba(198, 177, 255, .5));
  box-shadow: 0 30px 80px rgba(91, 59, 255, .13);
}

.eyebrow,
.section-label {
  margin: 0 0 24px;
  font-family: var(--font-geist-mono), monospace;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(58px, 9.5vw, 148px);
  font-weight: 650;
  letter-spacing: -.075em;
  line-height: .91;
}

.accent {
  color: var(--blue);
}

.hero-copy {
  max-width: 620px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.55;
  letter-spacing: -.025em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 620;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 30px rgba(29, 29, 31, .16);
}

.text-link {
  font-size: 15px;
  font-weight: 580;
}

.scroll-note {
  position: absolute !important;
  right: 6vw;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a8a8f;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: .16em;
}

.scroll-note span {
  width: 36px;
  height: 1px;
  background: #b4b4b8;
}

.section-shell {
  padding: 140px max(6vw, 24px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}

.about h2,
.services h2,
.contact h2 {
  margin: 0;
  font-size: clamp(46px, 6.8vw, 104px);
  line-height: .98;
  letter-spacing: -.065em;
}

.about-copy {
  padding-top: 8px;
}

.about-identity {
  min-width: 0;
}

.profile-card {
  max-width: 440px;
  margin: 64px 0 0;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, .08);
  border-radius: 34px;
  background: #f5f5f7;
  box-shadow: 0 28px 80px rgba(29, 29, 31, .12);
}

.profile-card img {
  display: block;
  width: 100%;
  height: auto;
}

.profile-card figcaption {
  padding: 16px 20px 18px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-copy > p {
  margin: 0 0 24px;
  color: #48484c;
  font-size: clamp(18px, 1.75vw, 24px);
  line-height: 1.65;
  letter-spacing: -.025em;
}

.quick-facts {
  margin: 56px 0 0;
  border-top: 1px solid var(--line);
}

.quick-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.quick-facts dt {
  color: var(--muted);
}

.quick-facts dd {
  margin: 0;
  font-weight: 580;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 4px rgba(48, 209, 88, .12);
}

.work {
  background: var(--surface);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 68px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(46px, 6vw, 86px);
  letter-spacing: -.06em;
  line-height: 1;
}

.section-heading > p {
  max-width: 400px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.project-grid {
  display: grid;
  gap: 26px;
}

.project-card {
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
}

.project-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.project-card.blue .project-visual {
  background: radial-gradient(circle at 72% 30%, #8ec5ff, transparent 35%),
    linear-gradient(135deg, #dbeaff, #f7fbff 52%, #98bfff);
}

.project-card.violet .project-visual {
  background: radial-gradient(circle at 30% 26%, #f9dcff, transparent 32%),
    linear-gradient(145deg, #d7c5ff, #faf7ff 56%, #b8a1ff);
}

.project-card.orange .project-visual {
  background: radial-gradient(circle at 74% 24%, #ffe6b7, transparent 35%),
    linear-gradient(145deg, #ffc99c, #fff8ef 54%, #ff9f66);
}

.project-number {
  position: absolute;
  top: 32px;
  left: 36px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
  letter-spacing: .12em;
}

.visual-window {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(68%, 620px);
  height: 56%;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 34px 80px rgba(37, 52, 92, .17);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -46%) rotate(-3deg);
}

.violet .visual-window {
  transform: translate(-50%, -46%) rotate(3deg);
}

.visual-window h3 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.project-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 34px 38px 42px;
}

.project-info p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.project-info h3 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -.045em;
}

.services {
  background: #fff;
}

.services > h2 {
  max-width: 900px;
}

.service-list {
  margin-top: 90px;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 80px minmax(220px, .7fr) 1fr;
  gap: 30px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.service-list span {
  padding-top: 7px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
}

.service-list h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.035em;
}

.service-list p {
  max-width: 520px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.contact {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #050505;
  color: white;
  text-align: center;
}

.contact > *:not(.contact-glow) {
  position: relative;
  z-index: 2;
}

.contact-glow {
  position: absolute;
  right: 50%;
  bottom: -420px;
  width: min(1000px, 100vw);
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,113,227,.65), rgba(73,52,255,.22) 42%, transparent 70%);
  filter: blur(24px);
  transform: translateX(50%);
}

.contact .section-label {
  color: #9a9aa0;
}

.contact > p:not(.section-label) {
  max-width: 650px;
  margin: 34px 0;
  color: #a1a1a6;
  font-size: 18px;
  line-height: 1.6;
}

.button-light {
  background: #fff;
  color: #050505;
  box-shadow: 0 14px 36px rgba(0,0,0,.2);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.wechat-contact {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #d1d1d6;
  font-size: 14px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(6vw, 24px);
  background: #050505;
  border-top: 1px solid #202024;
  color: #8a8a8f;
  font-size: 12px;
}

footer div {
  display: flex;
  gap: 24px;
}

.reveal {
  animation: rise 700ms both cubic-bezier(.22, 1, .36, 1);
}

.delay-one { animation-delay: 80ms; }
.delay-two { animation-delay: 160ms; }
.delay-three { animation-delay: 240ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 800px) {
  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding-top: 120px;
  }

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

  .orb-one {
    right: -35%;
    top: 22%;
  }

  .orb-two {
    right: 12%;
    bottom: 7%;
  }

  .scroll-note {
    display: none;
  }

  .section-shell {
    padding-top: 96px;
    padding-bottom: 96px;
  }

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

  .about-grid {
    gap: 56px;
  }

  .profile-card {
    margin-top: 42px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 24px;
  }

  .project-visual {
    min-height: 360px;
  }

  .project-info {
    gap: 22px;
  }

  .visual-window {
    width: 78%;
    padding: 24px;
  }

  .service-list article {
    grid-template-columns: 44px 1fr;
  }

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

  .contact {
    min-height: 680px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .button-light {
    max-width: 100%;
    font-size: 13px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .reveal {
    animation: none;
  }

  .button {
    transition: none;
  }
}
